roy404 / laravel-commands
A package for custom Laravel Artisan commands
v1.0.4
2025-01-30 20:44 UTC
README
To install the package, run the following command:
composer require roy404/laravel-commands
Available Custom Commands
-
Set Up the Custom Commands Provider
To integrate the custom commands provider into your application, follow these steps:- Navigate to
bootstrap/providers.php
. - Add the following line to the array of providers:
Roy404\ArtisanCommands\ArtisanCommandsServiceProvider::class
- Navigate to
-
Setup Custom Authentication
Generates authentication scaffolding with roles, admin, and user routes by default:php artisan custom:auth
-
Clear the cache: After adding the new provider, you should clear the cache and config cache to make sure your changes are applied:
php artisan config:clear php artisan cache:clear
-
Setup Docker Environment:
Builds the project container with Docker, including MySQL, Memcached, phpMyAdmin, and Xdebug:php artisan custom:docker
After the docker configurations installed, run the following command below to generate new app key:
php artisan key:generate
You can now build the image:
docker-compose up --build