Artisan Commands
hotcoffee:install
php artisan hotcoffee:install
This will run the initial installation script. No need to run it a second time after that.
hotcoffee:make-admin
php artisan hotcoffee:make-admin
Create a new admin user. The command will ask you for a user name, e-mail and password. Alternatively you can add the user name and email as options:
php artisan hotcoffee:make-admin --name=taffo --email=contact@taffovelikoff.com
hotcoffee:delete-user
php artisan hotcoffee:delete-user user@email.com
Find user by e-mail and delete it.
hotcoffee:module
php artisan hotcoffee:module name --folder=some_folder
This will create a boilerplate for a new "module". So for example php artisan hotcoffee:module product --folder=front
will generate:
A
ProductController
inapp/Http/Controllers/Front
.A
Product
model inapp
.A
products.blade.php
template to list all of the products inresources/views/front
.A
product.blade.php
template to create/edit a product inresources/views/front
.
Last updated