Nafies Luthfi
60282b75b3
Update model stub for nameLink method
Changed $this->id to $this, so laravel will figured out
the route name key by it self
8 years ago
Nafies Luthfi
bd45d63ccc
Update form views to for syntax consistency
8 years ago
Nafies Luthfi
23d701bb31
Remove variabel that cause invalid redirection
Model variable in update method on controller.full.stub
will always return 1, so it will cause invalid redirection
on every model update action
Remove unused variable on controller update method
8 years ago
Nafies Luthfi
b00af7f027
Update feature test stub to use submitForm method
8 years ago
Nafies Luthfi
72713e74f6
Add creator relation on created model
Add creator_id on model table migration file
Update controller to add auth()->id() as model creator
8 years ago
Nafies Luthfi
b9485fefc8
Remove editableModel query on full controller stub
editableModel query only used on simple version of CRUD
8 years ago
Nafies Luthfi
eb5e4684da
Add authorization check on show and edit page
8 years ago
Nafies Luthfi
c5934ad7e8
Add authorization check on create page
8 years ago
Nafies Luthfi
a70e86e42e
Update stub files to fix usage failure tests on laravel 5.5
8 years ago
Nafies Luthfi
c9b3f8eba5
Add show and edit view stub for full crud
8 years ago
Nafies Luthfi
7c1ed11bce
Fixed after make:crud (full) usage failure on laravel 5.5
8 years ago
Nafies Luthfi
e8b6d95ab8
Update proper tests assertion after generated form view changes
8 years ago
Nafies Luthfi
633a01bf48
Add edit view stub for full crud
8 years ago
Nafies Luthfi
93c3802c2e
Add create view stub for full crud
8 years ago
Nafies Luthfi
eefaaafadf
Update view index for full crud
8 years ago
Nafies Luthfi
e11acbedcf
Separate crud-simple view generator test
8 years ago
Nafies Luthfi
276cfe2a88
Update correct make:crud test and stub for feature test generator
Separate make:crud-simple test for feature test generator
8 years ago
Nafies Luthfi
149b211446
Add make:crud-simple command with separated tests
Add crud type on BaseGenerator@generate method
Add controller.full.stub for full controller
Update ControllerGeneratorTest to adopt controller.full.stub
8 years ago
Nafies Luthfi
e90f043499
Update simple controller stub name
8 years ago
Nafies Luthfi
b64868b940
Refactor file generator classes
8 years ago
Nafies Luthfi
aa3b34b3be
Refactor CrudMake class and create CrudCommand abstract class
8 years ago
Nafies Luthfi
e7e8aba961
Fixed proper can directive on form view
8 years ago
Nafies Luthfi
8333c118cb
Add user authorization check on forms and index views
8 years ago
Nafies Luthfi
cbd79a8d63
Add authorization on store, update and destroy controller methods
8 years ago
Nafies Luthfi
ecb420d612
Fixed failed test on namespaced model class content
8 years ago
Nafies Luthfi
1a7bac77b9
Add proper form field label on view-forms stub
8 years ago
Nafies Luthfi
c9484ccce1
Remove support for laravel 5.3 and only support php >=7.0.0
Illuminate\Console\DetectsApplicationNamespace trait support for
Laravel version ^5.4
8 years ago
Nafies Luthfi
5533541c91
Add shortname for command options
8 years ago
Nafies Luthfi
bbfeeb6cfc
Add --tests-only command option and use app namespace on generators
Use --test-only command option to generate testing files only
Use app namespace, eg: Acme, instead of default App namespace
8 years ago
Nafies Luthfi
b4d7d7ad11
Prepare namespace detection trait on base generator class
8 years ago
Nafies Luthfi
d1c79adcc5
Remove phpunit 6.0 from dev-dependency
phpunit 6.0 removed from dev-dependency because it requires php >=7.0
8 years ago
Nafies Luthfi
25330c44e5
Add php version 5.6 env on .travis-yml
8 years ago
Nafies Luthfi
28e23696a4
Update readme.md file
8 years ago
Nafies Luthfi
7563d5ff82
Add support for php >=5.6.4 and laravel 5.3
8 years ago
Nafies Luthfi
d86aabad83
Generate lang app.php for "id" locale
8 years ago
Nafies Luthfi
64ece55e9f
Update readme.md for configuration info
8 years ago
Nafies Luthfi
18dd17ef79
Add lang-id stub to generate id lang file for config(['app.locale' => 'id'])
8 years ago
Nafies Luthfi
e0a2f2501b
Update lang file stub
8 years ago
Nafies Luthfi
68bce39cd9
Add nameLink method on generated model
8 years ago
Nafies Luthfi
fe872af774
Fix invalid ModelPolicyTest class name
8 years ago
Nafies Luthfi
bef1109473
Give a warning message if no default_layout_view exists
8 years ago
Nafies Luthfi
4bf9ee47a5
Fixed invalid create button position on index page
8 years ago
Nafies Luthfi
b9a6cc6811
Generate lang file within locale config
8 years ago
Nafies Luthfi
52bccfde61
Apply base_test_path and base_test_class config on test class generators
8 years ago
Nafies Luthfi
9f2920b666
Add config for the package
8 years ago
Nafies Luthfi
5c96debda7
Add composer script for test, update readme, and add .gitattributes file
8 years ago
Nafies Luthfi
9461ec1537
Update Unit model and policy test case to extends browserkit testcase
8 years ago
Nafies Luthfi
a8035bac55
Add model policy test generator
8 years ago
Nafies Luthfi
a00f91359f
Fix it detects namespaced model existance
8 years ago
Nafies Luthfi
eed7e6d075
Update AuthServiceProvider class based on created model policy object
8 years ago