PHP code example of mazdel / dayravel

1. Go to this page and download the library: Download mazdel/dayravel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mazdel / dayravel example snippets


return [
    // The base directory in which modules are created and discovered.
    'modules_path' => app_path('Modules'),

    // Settings applied to every module Routes/web.php file.
    'web' => [
        'middleware' => ['web'],
    ],

    // Settings applied to every module Routes/api.php file.
    'api' => [
        'prefix' => 'api/v1',
        'name' => 'api.v1.',
        'middleware' => ['api'],
    ],
];
bash
php artisan vendor:publish --tag=dayravel-config
bash
php artisan module:init Catalog