pepperlabs/pepper

This package is abandoned and no longer maintained. No replacement package was suggested.

Pepper is a auto-generate GraphQL API for Laravel

2.2.2 2021-01-18 08:46 UTC

README

Test

read-the-documentation-button.png

Install via composer:

composer require pepperlabs/pepper

Pepper is an automatic GraphQL exposing Laravel package. It uses your application defined models to auto define properties and relations. It supports Query and Mutation out of the box.

features:

  • Customizable validation, authentication, and authorization
  • Optional JWT support for protecting routes including login, register, forget password and reset password
  • Support all Laravel Eloquent databases (SQLite, MySQL, PostgreSQL, SQLServer)

Please note that this repo is still a work-in-progress project.

Version support

PHP: 8.1

Laravel: 9.x

Supported databases

As it uses Laravel Eloquent only, it can support all supported Laravel ORM such as: SQLite, MySQL, PostgreSQL and, SQLServer.

If you discover a security vulnerability within Pepper, please send an e-mail to Amirmasoud Sheydaei via amirmasoud.sheydaei@gmail.com. All security vulnerabilities will be promptly addressed.

Contributing

Testing

Run PHPStan:

analyse

composer analyse

test

composer test

test-coverage

composer test-coverage

format

composer format

License

The MIT License (MIT). Please see License File File for more information.