-
Create
packages/yourname
folder andcd
into it. -
Clone this repository:
git clone git://github.com/andyjessop/laravel5-starter-package.git starter
-
Change namespaces to your own in the following files:
src/StarterServiceProvider.php
Http/Controllers/TestController.php
e.g. YourName\Starter
-
Register service provider in
yourroot/config/app.php
:YourName\Starter\StarterServiceProvider::class
-
Publish config:
php artisan vendor:publish
-
Add folder to autoload files:
"psr-4": { "App\\": "app/", "YourName\\Starter\\": "packages/yourname/starter/src/", }
-
Composer autoload:
composer dump-autoload
-
Navigate to 'starter', and you should see "Welcome to your new package!"
-
Notifications
You must be signed in to change notification settings - Fork 0
A starter package for Laravel 5 mirroring L5 structure
License
andyjessop/laravel5-starter-package
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A starter package for Laravel 5 mirroring L5 structure
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published