Configuration

 

This is the content of the published config file located in config/administrable.php


return [

    /**
     * Used in the back office
     */
    'app_first_name'   => config('app.first_name', 'Admin'),
    'app_last_name'    => config('app.last_name', 'Admin'),
    'app_short_name'   => config('app.short_name', 'Lvl'),

    /**
     * Available theme are adminlte,theadmin,cooladmin,tabler,themekit
     * The theme should not be changed once the installation has been done
     */
    'theme' => 'themekit',

    /**
     * The guard used for the installation. By default the value is admin.
     * This value is also used to generate the crud.
     * After installation, this value should no longer be changed at the risk of farting the views of the crud
     */
    'guard' => 'admin',

    /**
     * The color useed by for the emails header background.
     */
    'notification_email_header_color' => '#33cabb',

    /**
     * The logo link to use for administration
     */
    'logo_url' => '/img/logo-administrable.png',

    /**
     * Administration routes prefix.
     */
    'auth_prefix_path' => 'administrable',

    /**
     * The name of the folder where the front office controllers will be stored in App/Http/Controller folder
     */
    'front_namespace' => 'Front',

    /**
     * The name of the folder where the back office controllers will be stored in App/Http/Controller folder
     */
    'back_namespace' => 'Back',

    /**
     * Use PHP callable syntax...
     * use App\Http\Controllers\UserController;
     * Route::get('/users', [UserController::class, 'index']);

     * Use string syntax...
     * Route::get('/users', 'App\Http\Controllers\UserController@index');
     */
    'route_controller_callable_syntax' => true,

    /**
     * Redirect when attempting to access some routes or files
     */
    'rickroll' => [
        /**
         * Url to redirect
         */
        'url' => 'http:://youtube.com',
        /**
         * Be sure that auth_prefix_path is not in the list
         */
        'routes' => [
            'wp-admin',
            'admin',
            'composer.json',
            'wp-login',
            '.htaccess',
        ],
    ],

    'storage_dump' => [
        /**
         * Dump filename
         */
        'filename' => config('app.name','storage_dump'),
        /**
         * Dumps to keep
         */
        'limit' => 5,
        /*
         * The directory where the temporary files will be stored.
         * Can not be storage path
         */
        'temporary_directory' => public_path(),
        /**
         * Where to store dumps on each disk
         */
        'dump_folder'  => 'storagedump',
        /*
        * The disk names on which the backups will be stored.
        */
        'disks' => ['ftp'],
        /*
        * You can get notified when specific events occur.
        */
        'notifications' => [
            'mail' => [
                'from' => [
                    'address' => 'backup@administrable.com',
                    'name' => config('app.name'),
                ],
                /**
                 * Notification to use
                 */
                //'class' => '\App\Notifications\Back\SuccessfulStorageFolderBackupNotification'
            ],
        ],
    ],
    'comments' => [
        /**
         * By default comments posted are marked as approved. If you want
         * to change this, set this option to true. Then, all comments
         * will need to be approved by setting the `approved` column to
         * `true` for each comment.
         * or use public $approved = true attribute on the model
         *
         *
         * To see only approved comments use this code in your view:
         *
         *     @comments([
         *         'model' => $book,
         *         'approved' => true
         *     ])
         *
         */
        'approval_required' => true,

        /**
         * Set this option to `true` to enable guest commenting.
         *
         * Visitors will be asked to provide their name and email
         * address in order to post a comment.
         */
        'guest_commenting' => true,
    ],

    /**
     * These mails are used by the conceptor to maintain the application
     */
    'emails' => [
        'rolandassale@gmail.com',
        'rolandassale@aswebagency.com',
        'contact@aswebagency.com',
    ],

];