PHP code example of linuxstreet / laravel-registry

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

    

linuxstreet / laravel-registry example snippets

 
registry('key', 'default');

Registry::get('key', 'default');

config('registry.key', 'default');
bash
$ php artisan migrate
bash
$ php artisan vendor:publish --provider="Linuxstreet\Registry\RegistryServiceProvider"
bash
$ php artisan serve
bash
$ php artisan registry:list
bash
$ php artisan registry:config
bash
$ php artisan registry:flush