You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use *singular* for entity. This will automatically create (while respecting naming conventions):
27
+
Use *singular* for entity. This will automatically create (while respecting our internal naming conventions):
28
28
29
29
* Migration
30
30
* Factory
31
31
* Seeder
32
-
* Backpack CRUD (Model, Controller, Request)
32
+
* Backpack CRUD (modified Backpack Generator):
33
+
* Model
34
+
* Request
35
+
* Controller
36
+
* Language File
37
+
* Route to Backpack CRUD in admin.php
38
+
39
+
### Open files in IDE
40
+
41
+
With `{--ide=}` option you can define your preferred IDE to open all automatically generated files. This package comes with an implementation for PhpStorm (`Webfactor\Laravel\Generators\RecipesPhpStormOpener`) which is defined in `generators.php`. The keys in the `ides`-Array are possible values for the command option. You can add other IDE-Opener classes, they have to implement `Webfactor\Laravel\Generators\Contracts\OpenInIdeInterface`.`
42
+
43
+
In your service class you have to define the path to the file generated by this service. Then add `$this->addLatestFileToIdeStack();` and all files of the stack will be opened by `Webfactor\Laravel\Generators\Services\OpenIdeService` (should be placed at the end of the `services`-array in `generators.php)
44
+
45
+
```php
46
+
<?php
47
+
48
+
namespace Webfactor\Laravel\Generators\Services;
49
+
50
+
use Webfactor\Laravel\Generators\Contracts\ServiceAbstract;
51
+
use Webfactor\Laravel\Generators\Contracts\ServiceInterface;
52
+
53
+
class SeederService extends ServiceAbstract implements ServiceInterface
0 commit comments