PHP Classes

File: config/config.php

Recommend this page to a friend!
  Classes of Bhavin Gajjar   Laravel API Generator Library   config/config.php   Download  
File: config/config.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Laravel API Generator Library
Generate API to manage records of model classes
Author: By
Last change:
Date: 3 days ago
Size: 703 bytes
 

Contents

Class file image Download
<?php

return [

   
/*
    |--------------------------------------------------------------------------
    | Path To Model Directory
    |--------------------------------------------------------------------------
    |
    | Set this value to the path of your model directory
    | this is by default "app" directory but if you created
    | Separated directory for model then give it's path
    | Example: 'app/Model' or 'app/model' or 'app/Models' or 'app/Data/Model' etc...
    |
    */

   
'model_directory_path' => is_dir(base_path('app/Models')) ? 'app/Models' : 'app',

   
'allow_cross_origin' => env('API_ALLOW_CROSS_ORIGIN', false),
   
'json_response' => env('API_JSON_RESPONSE', true),
];