☕
hotCoffee
  • Introduction
  • ⚙️ GETTING STARTED
    • Installation
    • Resources & Credits
      • Argon Dashboard Free
      • Material Kit Free
      • Font Awesome
      • Laravel Packages
  • 🗂️ Modules
    • Dashboard
    • Menus
    • Articles
    • Info Pages
    • File Manager
    • Users
    • Roles
    • Settings
  • ⚒️ CUSTOMIZATION & LOGIC
    • Routing
    • Configuration
    • Adding Settings
    • Multilanguage
    • Helper Methods
    • Searching Models
    • Exporting
    • Traits
    • Extending Modules
    • Artisan Commands
Powered by GitBook
On this page
  • hotcoffee:install
  • hotcoffee:make-admin
  • hotcoffee:delete-user
  • hotcoffee:module
  1. ⚒️ CUSTOMIZATION & LOGIC

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 in app/Http/Controllers/Front.

  • A Product model in app.

  • A products.blade.php template to list all of the products in resources/views/front.

  • A product.blade.php template to create/edit a product in resources/views/front.

PreviousExtending Modules

Last updated 4 years ago