Skip to content

Demo of Laravel and the Spatie Laravel Query Builder using resources, policies and gates for conditionally included fields and nested resources

License

Notifications You must be signed in to change notification settings

michapietsch/laravel-api-resources-example

Repository files navigation

Demo of an API using Laravel resources, policies and gates to authorize access to fields and nested resources

You can follow the commits to review the steps taken.

Features:

I recommend this talk by TJ Miller at Laracon. I followed his code examples in parts.

License

Built on top of Laravel. Laravel is licensed under the MIT license and so is all of this code.

About

Demo of Laravel and the Spatie Laravel Query Builder using resources, policies and gates for conditionally included fields and nested resources

Resources

License

Stars

Watchers

Forks

Packages

No packages published