abdelhamiderrahmouni / useful-laravel-commands
A collection of useful commands for laravel.
Fund package maintenance!
abdelhamiderrahmouni
Requires
- php: ^8.2.0
- guzzlehttp/guzzle: ^7.5.1
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/database: ^10.0|^11.0|^12.0
- illuminate/filesystem: ^10.0|^11.0|^12.0
- illuminate/support: ^10.0|^11.0|^12.0
- laravel/framework: ^10.0|^11.0|^12.0
Requires (Dev)
- laravel/pint: ^1.13.8
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^v2.30.0
- pestphp/pest-plugin-arch: ^2.6
- pestphp/pest-plugin-type-coverage: ^2.8
- phpstan/phpstan: ^1.10.55
- rector/rector: ^1.2
README
Useful Laravel Commands
A collection of useful Laravel commands to enhance your development workflow.
Usage
Password reset
To reset the password for a user, you can use the following command:
php artisan reset-password {email}
Replace {email}
with the email address of the user whose password you want to reset.
The default password will be set to password
.
To change the default password, you can use the command as follows:
php artisan reset-password {email} {new_password}
if you want to change the login used to find the user, you can use the command as follows: The default login is email
php artisan reset-password {login} {new_password} --login={column_name}
Contributing
Thank you for considering contributing to Useful Laravel Commands
! The contribution guide can be found in the CONTRIBUTING.md file.
Useful Laravel Commands
is an open-sourced software licensed under the MIT license.