PHP Classes

File: config/config.php

Recommend this page to a friend!
  Classes of Bhavin Gajjar  >  Laravel API Generator  >  config/config.php  >  Download  
File: config/config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel API Generator
Generate a REST API from a Laravel model
Author: By
Last change:
Date: 2 years ago
Size: 653 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' => 'app',

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