Custom Artisan Commands - samuelgrant/fight-for-kidz GitHub Wiki
Please add any artisan commands that you add to this application and a short description of their purpose. Group your commands by namespace
_Artisan commands can be run from the CLI to achieve certain tasks. Use the syntax php artisan {namespace:command}
. Official Artisan documentation.
Custom Artisan Commands references:
image:default
- Copies all of the images from the/storage/app/private/images/groups
directory to the public directory/storage/app/public/images/groups
directory making them available for the groups system.image:purge
- Purges all images from the/storage/app/public/images/groups
directory. Then prompts the user asking if they want to have the default images moved back.