A Laravel-based micro-framework for web services
// momentum
// why it's here
- 10 watchers for 5 stars: devs are tracking it before the crowd
- Health 79/100 with only 5 stars
- Around since 2019 and still shipping
- 10 watchers, more than its 5 stars
// how to help
// readme
: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.
composer require glesys/butler-service
Replace Illuminate\Foundation\Application with Butler\Service\Foundation\Application in bootstrap/app.php.
php artisan vendor:publish --tag=butler-config --tag=butler-assets
php artisan migrate
It is optional (but recommended) to extend your TestCase (or whatever file that extends Laravels TestCase) with Butler\Service\Testing\TestCase.
use Butler\Service\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
//
}
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.