PHP code example of ilizhu / laravel-apollo
1. Go to this page and download the library: Download ilizhu/laravel-apollo 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/ */
ilizhu / laravel-apollo example snippets
'providers' => [
\ilizhu\LaravelApollo\ApolloServiceProvider::class
]
env('apollo:配置名');
shell
php artisan vendor:publish --provider="ilizhu\LaravelApollo\ApolloServiceProvider"
shell
php artisan apollo:worker