Skip to content

andyjessop/laravel5-starter-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!"

About

A starter package for Laravel 5 mirroring L5 structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages