Wallogit.com
2017 © Pedro Peláez
For Jordan, Jerry, Alex and Jackie
This command jjaj:mc means that it will generate Model(m) and Controller(c). The following directories and files will be generated:, (*1)
Constant Path: app/constants/, (*2)
php artisan jjaj:mc {name} {--admin} {--front} {--component=}, (*3)
php artisan jjaj:mc Category --admin --front --component=Cms
name (required), (*4)
Model name. Plase don't use plural form(ex: ~~Users~~)., (*5)
--admin (optional), (*6)
This param will generate admin model., (*7)
--front (optional), (*8)
This param will generate front model., (*9)
--component= (optional), (*10)
If you want to write you own package, this will help you to generate corresponding files with correct namespace. File path will be in root/packages/{package_name}., (*11)
php artisan jjaj:clear
This command will run the following three commands:, (*12)
php artisan config:clear php artisan cache:clear php artisan view:clear
This Command will help you to delete all files generated by jjaj:mc command., (*13)
This command will run the following two commands:, (*14)
php artisan migrate:refresh php artisan passport:install
This Command will help you to generate tesing files., (*15)
php artisan jjaj:test {name} {--unit} {--feature} {--type=} {--admin} {--front}
php artisan jjaj:test --unit --type=service --admin --front
name (required), (*16)
Model name. Plase don't use plural form(ex: ~~Users~~)., (*17)
--admin (optional), (*18)
This param will generate admin model test., (*19)
--front (optional), (*20)
This param will generate front model test., (*21)
--type= (optional), (*22)
There are three type you can choose!, (*23)