timefactory / apollo
apollo client for php & Laravel
1.0.0
2023-12-28 12:52 UTC
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ^7.2
README
- This is a laravel package for apollo client. It can be used to get the configuration of apollo server.
- Inspire By multilinguals/apollo-php-client.
- Read the Apollo Docs for more information.
install
composer require timefactory/apollo
config app/Console/Kernel.php
protected $commands = [ Timefactory\Apollo\Command\StartApolloAgent::class ];
start apollo agent
php artisan apollo:start --server=http://apollo.server.url --appid=demo-api --cluster=default --namespaces=application,mysql,redis --daemon=true