PHP code example of geeksdevelop / cacheconfig

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

    

geeksdevelop / cacheconfig example snippets


'providers' => [
    /*
     * Package Service Providers...
     */
    Geeksdevelop\Cacheconfig\CacheConfigServiceProvider::class,
],

    /*
    |--------------------------------------------------------------------------
    | Name of the configuration table
    |--------------------------------------------------------------------------
    */
    'table' => 'settings',

    /*
    |--------------------------------------------------------------------------
    | Cache key name
    |--------------------------------------------------------------------------
    */
    'key' => 'env',

    /*
    |--------------------------------------------------------------------------
    | Filters search
    |--------------------------------------------------------------------------
    */
    'filters' => [
      // ['id', '=', 1]
    ],
bash
  php artisan vendor:publish --provider="Geeksdevelop\Cacheconfig\CacheConfigServiceProvider"