PHP code example of datalogix / laravel-utils

1. Go to this page and download the library: Download datalogix/laravel-utils 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/ */

    

datalogix / laravel-utils example snippets


statesBR(); // ['AC' => 'Acre', 'AL' => 'Alagoas', ..., 'TO' => 'Tocantins']
bash
php artisan vendor:publish --provider="Datalogix\Utils\UtilsServiceProvider" --tag="lang"
bash
php artisan vendor:publish --tag="laravel-validation-lang"
php artisan vendor:publish --tag="error-pages-lang"