laravel.plugin.zsh 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!zsh
  2. alias artisan='php artisan'
  3. alias bob='php artisan bob::build'
  4. # Development
  5. alias pas='php artisan serve'
  6. # Database
  7. alias pam='php artisan migrate'
  8. alias pamf='php artisan migrate:fresh'
  9. alias pamfs='php artisan migrate:fresh --seed'
  10. alias pamr='php artisan migrate:rollback'
  11. alias pads='php artisan db:seed'
  12. # Makers
  13. alias pamm='php artisan make:model'
  14. alias pamc='php artisan make:controller'
  15. alias pams='php artisan make:seeder'
  16. alias pamt='php artisan make:test'
  17. alias pamfa='php artisan make:factory'
  18. alias pamp='php artisan make:policy'
  19. alias pame='php artisan make:event'
  20. alias pamj='php artisan make:job'
  21. alias paml='php artisan make:listener'
  22. alias pamn='php artisan make:notification'
  23. alias pampp='php artisan make:provider'
  24. # Clears
  25. alias pacac='php artisan cache:clear'
  26. alias pacoc='php artisan config:clear'
  27. alias pavic='php artisan view:clear'
  28. alias paroc='php artisan route:clear'
  29. # queues
  30. alias paqf='php artisan queue:failed'
  31. alias paqft='php artisan queue:failed-table'
  32. alias paql='php artisan queue:listen'
  33. alias paqr='php artisan queue:retry'
  34. alias paqt='php artisan queue:table'
  35. alias paqw='php artisan queue:work'