lackhurt/laravel-apollo is a Laravel package for apollo agent for laravel..
It currently has 13 GitHub stars and 5.087 downloads on Packagist (latest version 0.1.6).
Install it with composer require lackhurt/laravel-apollo.
Discover more Laravel packages by lackhurt
or browse all Laravel packages to compare alternatives.
Last updated
Install the package via composer
composer require lackhurt/laravel-apollo
Add serviceProvider
Lackhurt\Apollo\Providers\ApolloServiceProvider::class
Add facade
'Apollo' => Lackhurt\Apollo\Facades\Apollo::class
Publish ServiceProvider
php artisan vendor:publish --provider="Lackhurt\Apollo\Providers\ApolloServiceProvider"
Edit .env
APP_ID=your app id
CLUSTER=default
APOLLO_NAMESPACES="application, common_ns, others"
APOLLO_CONFIG_SERVER=http://apollometa:8090
Start agent as a daemon
php artisan apollo.start-agent
laravel-apollo is free software distributed under the terms of the MIT license.