specialtactics / laravel-api-boilerplate
An API boilerplate for Laravel
Installs: 1 407
Dependents: 0
Suggesters: 1
Security: 0
Stars: 498
Watchers: 24
Forks: 96
Open Issues: 2
Type:project
Requires
- php: ^7.3|^8.0
- fideloper/proxy: ^4.4
- fruitcake/laravel-cors: ^2.0
- guzzlehttp/guzzle: ^7.0.1
- laravel/framework: ^8.0
- laravel/tinker: ^2.5
- specialtactics/l5-api: ^3.0
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.9
- beyondcode/laravel-dump-server: ^1.4
- facade/ignition: ^2.7
- fakerphp/faker: ^1.9.1
- laravel/telescope: ^4.4
- mockery/mockery: ^1.4.1
- nunomaduro/collision: ^5.0
- phpunit/phpunit: ^9.3.3
- dev-master
- v3.x-dev
- v3.0.2
- v3.0.1
- v3.0.0
- v2.x-dev
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.x-dev
- v1.1.x-dev
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.x-dev
- v0.1.2
- v0.1.1
- 0.1.0
- dev-chore/tech-debt-from-9
- dev-fix/remove-faulty-ruby-dep
- dev-fix/fix-up-jwt-package
- dev-feature/add-testing
- dev-feature/add-travis
- dev-chore/remove-legacy-fixure
- dev-chore/styleci-update
- dev-analysis-XWdEON
- dev-specialtactics-patch-1
- dev-analysis-86P2nl
- dev-feature/extend-dingo-exception-handler
- dev-feature/add-response-case-config
This package is auto-updated.
Last update: 2024-11-13 17:27:38 UTC
README
About Laravel API Boilerplate
This is a boilerplate for writing RESTful API projects using Laravel. The aim of this boilerplate is to provide developers with scaffolding and common functionality which will make writing APIs exceedingly quick, efficient and convenient.
It is intended for this repository to be used when starting a new API project. Therefore, instead of cloning the laravel repository, you should clone this one.
The principles of this boilerplate are to;
- Save developers considerable effort by using reasonable conventions
- Allow for everything the boilerplate provides to be easily extended and entirely customised to suit developer needs, through normal PHP inheritance
- As well as allow developers to easily use the boilerplate functionality and mix it in with their own implementation
- Follow REST standards very closely
- Use existing Laravel features and existing Laravel add-on packages where possible
- Add many convenient features useful for writing APIs
- Maintain a high level of performance
Documentation
For setup, usage guidance, and all other docs - please consult the Project Wiki.
Contributing
If you would like to contribute to this project, please feel free to submit a pull request. If you plan to do any major work - it may be worthwhile messaging the author beforehand to explain your plans and get them approved.
Please keep in mind, this package is only the template portion of the boilerplate, the main portion is l5-api. Before adding any new functionality, you should consider whether it's possible at all to keep it out of this project and rather put it into l5-api, as that is preferred.
Check out the documentation of supporting projects
Every great project stands on the shoulders of giants. Check out the documentation of these key supporting packages to learn more;
Recommended Packages
I have tried to include only the packages thought absolutely necessary, so here is a list of packages I recommend checking out:
General
For Debugging
License
This boilerplate, much like the Laravel framework is open-source software licensed under the MIT license.