A little command helper for laravel artisan
A little helper for delevopers
$ composer require fitluismacedo/basher
php artisan basher:clean
clear all laravel cache's and regenerate composer executing commands:
php artisan cache:clear
php artisan route:clear
php artisan view:clear
php artisan config:clear
composer dump-autoload -o
php artisan basher:push
pushing files to git, type you commit name and branch to push, if branch is empty, content will push to master branch
php artisan basher:env [dev|testing|prod|othername]
Set .env params to a desired enviroment, type [envname] after command to re-set values; need a file .env.[envname] to copy params
php artisan basher:deploy
Install laravel project on server
- Set url to cloning and credentials to process
- If you don't remember credentials, set 'n' on 2nd question
- basher:deploy set all required permisions to run laravel on Amazon Linux ami 2
php artisan basher:revert
Revert files to a specific commit id and force to push content, type [commidID] and [branchname] to continue
php artisan basher:tag
Create a git tag and push content, type [tagname] to continue
php artisan basher:generate
Generate laravel models from mysql connection setted on .env file, type [directory] to generate
php artisan basher:ignore
Ignore a file that you do not want to commit, type [filename] with project relative path to use
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
Giftware License. Please see the license file for more information.