PHP code example of flagstudio / rmq-flag

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

    

flagstudio / rmq-flag example snippets


# /config/rmq-flag.php

return [
    #...
    'actions' => [
        # for example
        'update_users' => \App\Actions\Users\FromAuthUpdateUserAction::class,
    ]
    #...
];
shell
php artisan vendor:publish --provider="Flagstudio\RmqFlag\Providers\RmqFlagServiceProvider" --tag="config"