Installation
Before installing hotCoffee make sure you have installed Laravel 5.8 or above and PHP 7.2 or newer.
Step 1: Require the package
The installation process is really simple. Create a new Laravel application and include the package with the following command:
Step 2: Setup the database
Create a new database and add your database credentials to the .env file. Also add your application URL in the APP_URL variable:
Step 3: Run the installation script
After that you can run an artisan command to finalize the installation.
The script will ask you if you want to also install the example logic (this includes some example controllers, routes, views and dummy pages for the front-end of your app). Type "yes" or "no" and hit enter to continue.
Step 4: Extend the user model
Edit your User model (usually app/models/User.php) and make the class extend \TaffoVelikoff\HotCoffee\User instead of Authenticatable.
Step 5: Create an admin user
You can now create your first admin user with a simple artisan command:
Step 6: Make sure everything went OK
Last updated