petehouston / laio
A basic Laravel application template for quickly bootstraping websites.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- bican/roles: 1.6.*
- illuminate/html: ~5.0
- laravel/framework: 5.0.*
Requires (Dev)
- phpspec/phpspec: ~2.1
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-11-27 22:42:05 UTC
README
This is a basic Laravel application template for quickly bootstraping websites.
How to use it.
1.Create a new project using composer.
$ php composer create-project petehouston/laio YOUR_PROJECT_NAME
$ php composer install
2.Provided commands.
- Spawn a Seeder class:
$ php artisan spawn:seeder SEEDER_NAME
for example:
$ php artisan spawn:seeder User
A Seeder class will be generated at /database/seeds/
.
- Spawn an Observer class:
$ php artisan spawn:observer OBSERVER_NAME
for example:
$ php artisan spawn:observer User
An Observer class will be generated at /app/Observers/
.
- Spawn a ViewComposer class:
$ php artisan spawn:view.composer VIEWCOMPOSER_NAME
for example:
$ php artisan spawn:view.composer Navbar
A ViewComposer class will be generated at /app/Views/Composers/
.
3. Support helpers functions.
It's easy. Just create a new .php
file under /app/Helpers/
.
A template file /app/Helpers/helpers.php
is already provided for your references if you don't know how to write helpers properly.
4. Environment settings
Checkout the .env.example.php
for available keys.
Anything more?
I don't know. I just make this for my personal work.