Config File

Config File

You can configure your own by publishing the config file:

1
$ php artisan vendor:publish --provider="Luthfi\CrudGenerator\ServiceProvider" --tag=config

That will generate config/simple-crud.php file.

By default, this package have some configuration:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<?php

return [
    // The master view layout that generated views will extends
    'default_layout_view' => 'layouts.app',

    // The base test case class path for generated testing classes
    'base_test_path' => 'tests/BrowserKitTest.php',

    // The base test class full name
    'base_test_class' => 'Tests\BrowserKitTest',
];
What's on this Page