Download the PHP package glesys/butler-service without Composer
On this page you can find all versions of the php package glesys/butler-service. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download glesys/butler-service
More information about glesys/butler-service
Files in glesys/butler-service
Package butler-service
Short Description Web service library based on Laravel
License MIT
Informations about the package butler-service
:construction: Not ready for production.
Butler Service
A Laravel-based micro-framework for web services using GraphQL.
Getting Started
Requires a working Laravel app with a database connection.
Replace Illuminate\Foundation\Application
with Butler\Service\Foundation\Application
in bootstrap/app.php
.
It is optional (but recommended) to extend your TestCase
(or whatever file that extends Laravels TestCase
) with Butler\Service\Testing\TestCase
.
Service Providers
All service providers in your app/Providers
directory will be registered automatically.
Config
You can use your configuration files as usual. See src/config for our defaults.
:information_source: Remember that your applications config/butler.php
only merges the first level of the default configuration.
Views
Views can be updated by publishing them:
Extra
If you dont want a config/app.php
you can use butler.service.extra
in config/butler.php
to add "config". Note that "config" will not merge with existing config.
index.php
To keep your applications "index.php" up to date you can publish the one in butler-service.
:information_source: Maintenance mode is not supported.
Authentication with OAuth
Configure butler.sso
in config/butler.php
.
Set butler.sso.fake
to true
to fake to login process.
See laravel/socialite for more information.
Authentication with butler-auth
See butler-auth for more information.
Authorization
GraphQL operations are authorized by the "graphql" Gate
ability defined in the ServiceProvider.
GraphQL with butler-graphql
See butler-graphql.
Audit with butler-audit
See butler-audit.
Health checks with butler-health
See butler-health for more information.
Testing
How To Contribute
Development happens at GitHub; any typical workflow using Pull Requests are welcome. In the same spirit, we use the GitHub issue tracker for all reports (regardless of the nature of the report, feature request, bugs, etc.).
Code standard
As the library is intended for use in Laravel applications we encourage code standard to follow upstream Laravel practices - in short that would mean PSR-2 and PSR-4.
All versions of butler-service with dependencies
bugsnag/bugsnag-laravel Version ^2.18
glesys/butler-audit Version ^0.8
glesys/butler-auth Version ^7.0
glesys/butler-graphql Version ^11.0
glesys/butler-health Version ^0.6
graylog2/gelf-php Version ^1.6
guzzlehttp/guzzle Version ^7.2
laravel/framework Version ^11.0
laravel/octane Version ^1.0 || ^2.0
laravel/socialite Version ^5.5
laravel/tinker Version ^2.9