Skip to content

Commit 1055f6c

Browse files
committed
Overview
1 parent df80564 commit 1055f6c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,33 @@
44

55
A toolkit to leverage **Laravel 12** as a performant and configurable microservice framework within distributed architectures.
66

7+
## Overview
8+
9+
This package provides a robust foundation for building Laravel-based microservices, focusing on stateless authentication, authorization, and distributed system best practices. Out of the box, you’ll find:
10+
11+
- **JWT Authentication Middleware:**
12+
Securely validates JWT tokens and hydrates the authenticated user for each request.
13+
14+
- **Role & Permission Middleware:**
15+
Restrict access to routes based on user roles or permissions, with support for both JWT-embedded and dynamically loaded access control.
16+
17+
- **LoadAccess Middleware:**
18+
Optionally fetches the latest roles and permissions for the authenticated user from a centralized permission service or API Gateway.
19+
20+
- **Correlation ID Middleware:**
21+
Automatically generates or propagates a unique correlation ID for every request, enabling end-to-end tracing across distributed systems.
22+
23+
- **Configurable Middleware Aliases & Groups:**
24+
Easily enable, disable, or rename middleware via configuration, and use convenient groups like `microservice.auth` group for full authentication and authorization in one step.
25+
26+
- **HTTP Client Macros:**
27+
Pre-configured HTTP clients for communicating with your API Gateway or other services.
28+
29+
- **Ready-to-publish Configuration:**
30+
All settings are customizable via a single config file, making it easy to adapt the package to your environment.
31+
32+
This toolkit is designed to be flexible, extensible, and easy to integrate into any Laravel microservice architecture.
33+
734
## Installation
835

936
Install directly from Packagist via Composer:

0 commit comments

Comments
 (0)