PHP code example of rawilk / laravel-app-key-rotator

1. Go to this page and download the library: Download rawilk/laravel-app-key-rotator 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/ */

    

rawilk / laravel-app-key-rotator example snippets

bash
php artisan app-key-rotator:rotate
bash
php artisan vendor:publish --tag="app-key-rotator-config"