andyjessop / laravel5-starter-package by andyjessop

A starter package for laravel 5
36
13
6
Package Data
Maintainer Username: andyjessop
Package Create Date: 2015-07-22
Package Last Update: 2015-08-05
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-18 03:02:21
Package Statistics
Total Downloads: 36
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 13
Total Watchers: 6
Total Forks: 0
Total Open Issues: 0

Starter package for Laravel 5

Installation

  1. Create packages/yourname folder and cd into it.

  2. Clone this repository:

    git clone git://github.com/andyjessop/laravel5-starter-package.git starter

  3. Change namespaces to your own in the following files:

    src/StarterServiceProvider.php Http/Controllers/TestController.php

    e.g. YourName\Starter

  4. Register service provider in yourroot/config/app.php:

    YourName\Starter\StarterServiceProvider::class

  5. Publish config:

    php artisan vendor:publish

  6. Add folder to autoload files:

    "psr-4": { "App\\": "app/", "YourName\\Starter\\": "packages/yourname/starter/src/", }

  7. Composer autoload:

    composer dump-autoload

  8. Navigate to 'starter', and you should see "Welcome to your new package!"