PHP code example of laramate / nucid-architecture

1. Go to this page and download the library: Download laramate/nucid-architecture 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/ */

    

laramate / nucid-architecture example snippets


 php artisan nucid:install
config/app.php

 php artisan vendor:publish --tag=laramate-nucid-services
nucid_services.php

 php artisan vendor:publish --tag=laramate-nucid-config
nucid_config.php

'routes_file'         => 'routes.php',
'service_config_file' => 'service.php',

NUCID_SERVICES_ROUTES_FILE=routes.php
NUCID_SERVICES_SERVICE_CONFIG_FILE=Providers=service.php
app/User.php
config/auth.php