PHP code example of yusologia / lara-backend-service

1. Go to this page and download the library: Download yusologia/lara-backend-service 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/ */

    

yusologia / lara-backend-service example snippets


return [

    'prefix' => [

        // Base uri for website application
        'web' => env('BASE_WEB_PREFIX', 'web'),

        // Base uri for mobile application
        'mobile' => env('BASE_MOBILE_PREFIX', 'mobile'),

    ],

    'namespace' => [

        // Base namespace for website application
        'web' => env('BASE_WEB_NAMESPACE', 'Web'),

        // Base namespace for mobile application
        'mobile' => env('BASE_MOBILE_NAMESPACE', 'Mobile'),

    ]

];