elemenx / laravel-apollo
Apollo agent for laravel.
0.1.18
2022-04-22 08:22 UTC
Requires
- elemenx/apollo-client: ^0.1.7
- illuminate/console: 5.1.x|5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x|5.8.x|6.0.x|7.*|8.*|9.*
- illuminate/support: 5.1.x|5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x|5.8.x|6.0.x|7.*|8.*|9.*
README
Installation
Install the package via composer
composer require elemenx/laravel-apollo
Add serviceProvider
ElemenX\Apollo\Providers\ApolloServiceProvider::class
Add facade
'Apollo' => ElemenX\Apollo\Facades\Apollo::class
Publish ServiceProvider
php artisan vendor:publish --provider="ElemenX\Apollo\Providers\ApolloServiceProvider"
Edit .env
APOLLO_APPID=your app id APOLLO_CLUSTER=default APOLLO_NAMESPACES="application, common_ns, others" APOLLO_CONFIG_SERVER=http://apollometa:8090
Start agent as a daemon
php artisan apollo.start-agent
License
laravel-apollo is free software distributed under the terms of the MIT license.