PHP code example of paeire / laravel-secrets-manager

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

    

paeire / laravel-secrets-manager example snippets

bash
php artisan vendor:publish --tag=secrets-config
bash
php artisan secrets:refresh            # clear both caches
php artisan secrets:refresh --general  # only the general secret
php artisan secrets:refresh --rds      # only the RDS secret