PHP code example of yangusik / symfony-spawn

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

    

yangusik / symfony-spawn example snippets


// config/bundles.php
Spawn\Symfony\TrueAsyncBundle::class => ['all' => true],
bash
php bin/console async:serve

php bin/console async:serve --host=0.0.0.0 --port=9000