andyjessop/laravel5-starter-package

A starter package for laravel 5
36 12
Install
composer require andyjessop/laravel5-starter-package
PHP:>=5.5.9
License:MIT
Last Updated:Aug 5, 2015
Links: GitHub  ·  Packagist
Maintainer: andyjessop

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

399,241,428 4,660