LAIO: an AIO Laravel template.
This is a basic Laravel application template for quickly bootstraping websites., (*1)
How to use it.
1.Create a new project using composer., (*2)
$ php composer create-project petehouston/laio YOUR_PROJECT_NAME
$ php composer install
2.Provided commands., (*3)
$ php artisan spawn:seeder SEEDER_NAME
for example:
$ php artisan spawn:seeder User
A Seeder class will be generated at /database/seeds/
., (*4)
$ php artisan spawn:observer OBSERVER_NAME
for example:
$ php artisan spawn:observer User
An Observer class will be generated at /app/Observers/
., (*5)
- 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/
., (*6)
3. Support helpers functions., (*7)
It's easy. Just create a new .php
file under /app/Helpers/
., (*8)
A template file /app/Helpers/helpers.php
is already provided for your references if you don't know how to write helpers properly., (*9)
4. Environment settings, (*10)
Checkout the .env.example.php
for available keys., (*11)
Anything more?
I don't know. I just make this for my personal work., (*12)