laravel-api-server / core-jsonapi
This project holds the JsonApi endpoints for the core module.
dev-master
2018-02-17 17:06 UTC
Requires
- illuminate/support: ~5
- laravel-api-server/core: dev-master
- laravel-api-server/jsonapi: dev-master
- league/fractal: ^0.14.0
This package is auto-updated.
Last update: 2024-11-18 09:44:48 UTC
README
This project holds the Authorization module for the API-Server. It supports the modularization of the server.
Installation
This module provides a custom Gate class. So please remove the Illuminate\Auth\AuthServiceProvider::class
-provider from config/app.php
first.
Then activate this module by adding the ModuleServiceProvider
to the top
of your providers
-array in your config/app.php
:
ApiServer\Core\\ModuleServiceProvider::class,
Checking gate policies for guests
The custom Gate class makes policies beeing checked for non-authenticated users too. See GateServiceProvider for details.
Documentation
Contributing
Submitting patches
Patches can be submitted using the Merge-Request link of our gitlab.
License
See License