Download the PHP package codivores/laravel-modular-api without Composer
On this page you can find all versions of the php package codivores/laravel-modular-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codivores/laravel-modular-api
More information about codivores/laravel-modular-api
Files in codivores/laravel-modular-api
Package laravel-modular-api
Short Description A Laravel package for creating JSON:API-compliant REST APIs, with support for versioning and multiple sub-APIs, organized into standalone, modular services.
License proprietary
Homepage https://github.com/codivores/laravel-modular-api
Informations about the package laravel-modular-api
Laravel Modular API
Simplify the creation of Laravel REST APIs that adhere to the JSON:API specification. The package organizes the code into standalone services, promoting a modular, maintainable, and easily testable architecture.
Key Features:
- JSON:API Compliance: Generate API responses that fully comply with the JSON:API specification, ensuring data consistency and interoperability (based on timacdonald/json-api package)
- Autonomous Services: Structure your business logic into independent services, facilitating code reuse and clear separation of concerns.
- API Versioning: Easily version your API to manage changes and ensure backward compatibility.
- Sub-APIs: Create multiple sub-APIs (e.g.,
public
,protected
,private
, ...) to handle different access levels and use cases. - Localization: Serve multi-language content by processing a request header that automatically sets the locale for the entire request.
Version support
- PHP:
8.2
,8.3
- Laravel:
11.0
Installation
You can install the package via composer:
If you want to use Hashids (short unique string identifiers from numbers) for your resources, you can install the required package via composer:
If you want to customize the configuration, you can publish the config file:
This is the contents of the published config file:
Getting started
Services directory structure:
License
The DBAD License (DBAD). Please see License File for more information.