PHP code example of santosalan / laravel-crud

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

    

santosalan / laravel-crud example snippets


/**
 * Irregulares Words
 */
'doctrine-inflector' => [
    'plural' => [
        'irregular' => [
            'traducao' => 'traducoes',
        ],
    ],

    'singular' => [
        'irregular' => [
            'traducoes' => 'traducao',
        ],
    ],
],

public function boot()
{
    // Doctrine Irregular Rules
    Inflector::rules('plural', config('app.doctrine-inflector.plural'));
    Inflector::rules('singular', config('app.doctrine-inflector.singular'));
}