Download the PHP package 1codehappy/laravel-api without Composer
On this page you can find all versions of the php package 1codehappy/laravel-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
1codehappy/laravel-api
Rate from 1 - 5
Rated 5.00 based on 1 reviews
Rated 5.00 based on 1 reviews
Informations about the package laravel-api
Laravel Api
A simple, a modern and an elegant Laravel boilerpate for your api, applying Domain Driven Design and hexagonal architecture principles based on Laravel Beyond Crud.
Features
- PHP 8.1+
- Laravel 9 Github Docs
- CircleCI Site
- Api restful
- JWT Auth
- ACL & Laravel Policies
- PestPHP tests
- OpenApi docs
Installation
Create your project using composer.
Directories
See the directory structure bellow:
Factories
Routes
GET /api-docs:
- Authentication:
- POST
/auth/login: Sign in. - POST
/auth/logout: Sign out. - POST
/auth/refresh: Refresh the JWT Token.
- POST
- User's profile:
- GET
/auth/me: Get authenticated user's profile. - PUT
/auth/me: Edit authenticated user's profile. - PUT
/auth/me/password: Change authenticated user's password.
- GET
- ACL:
- GET
/permissions: Get the permission list. - GET
/roles: Get the role list. - GET
/roles/{uuid}: Get the role. - POST
/roles: Create a new role. - PUT
/roles/{uuid}: Edit the role. - DELETE
/roles/{uuid}: Delete the role.
- GET
- Users:
- GET
/users/: Get the user list. - GET
/users/{uuid}: Get the user. - POST
/users: Create a new user. - PUT
/users/{uuid}: Edit the user. - DELETE
/users/{uuid}: Delete the user.
- GET
Api Documentation
To generate the api documentation:
PHP Libraries
- Laracasts Presenter GitHub
- Clockwork GitHub Docs
- PHP Open Source Saver JWT GitHub Docs
- Jess Archer Castable GitHub
- Spatie Data Transfer Objects GitHub
- Spatie Laravel Fractal GitHub
- Spatie Laravel Query Builder GitHub Docs
- Spatie Permissions Github Docs
- Darka On Line Swagger GitHub
- FriendsOfPHP CS Fixer GitHub Docs
- Laravel IDE Helper GitHub
- Larastan GitHub Docs
- PestPHP GitHub Docs
- Enlightn Security Checker GitHub
Composer Scripts
composer clear: Clear laravel cache.composer optimize: Optimize api.composer cs: Fix coding style.composer analyse: Run larastan.composer test: Run pestphp.composer sec: Check the php libraries.composer code: Runcs,analyse,testandsec.composer doc: Generate the api documentation.
by CodeHappy ;)
All versions of laravel-api with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
darkaonline/l5-swagger Version ^8.0
fruitcake/laravel-cors Version ^2.0
guzzlehttp/guzzle Version ^7.0.1
itsgoingd/clockwork Version ^5.1
jessarcher/laravel-castable-data-transfer-object Version ^2.1
laracasts/presenter Version dev-chore/laravel-9
laravel/framework Version ^9.0
laravel/tinker Version ^2.5
php-open-source-saver/jwt-auth Version ^1.4
spatie/data-transfer-object Version ^3.0
spatie/laravel-fractal Version ^6.0
spatie/laravel-permission Version ^5.0
spatie/laravel-query-builder Version ^5.0
darkaonline/l5-swagger Version ^8.0
fruitcake/laravel-cors Version ^2.0
guzzlehttp/guzzle Version ^7.0.1
itsgoingd/clockwork Version ^5.1
jessarcher/laravel-castable-data-transfer-object Version ^2.1
laracasts/presenter Version dev-chore/laravel-9
laravel/framework Version ^9.0
laravel/tinker Version ^2.5
php-open-source-saver/jwt-auth Version ^1.4
spatie/data-transfer-object Version ^3.0
spatie/laravel-fractal Version ^6.0
spatie/laravel-permission Version ^5.0
spatie/laravel-query-builder Version ^5.0
The package 1codehappy/laravel-api contains the following files
Loading the files please wait ...