Libraries tagged by jwt php
lucinda/security
23898 Downloads
API implementing common web security patterns (eg: authentication, authorization) for PHP applications based on OWASP guidelines
localzet/lwt
99 Downloads
Localzet LWT is a library for working with Localzet Web Tokens, which are based on JWT (JSON Web Tokens). It provides functionality for creating, verifying, and handling tokens using modern technologies and standards.
light-it-labs/lightit-auth-laravel
23 Downloads
A comprehensive authentication package for Laravel projects, designed to streamline the implementation of various authentication strategies. This package supports JWT-based authentication, Google SSO, Laravel Sanctum, 2FA, OTP, and role-permission systems with standardized examples for seamless integration into your projects.
kalimeromk/slim-mvc-starter
6 Downloads
A production-ready Slim 4 MVC Starter Kit with Eloquent ORM, database migrations, JWT authentication, role-based permissions, and modular architecture
k99k5/hyperf-auth
183 Downloads
hyperf ็ auth ็ปไปถ
fluxfiles/fluxfiles
60 Downloads
Standalone PHP file manager with multi-storage support (Local/S3/R2)
factpulse/sdk
70 Downloads
REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## ๐ฏ Main Features ### ๐ Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### โ Factur-X - Validation - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) ### โ๏ธ Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification ### ๐ Flux 6 - Invoice Lifecycle (CDAR) - **CDAR Messages**: Acknowledgements, invoice statuses - **PPF Statuses**: REFUSED (210), PAID (212) ### ๐ Flux 10 - E-Reporting - **Tax Declarations**: International B2B, B2C - **Flow Types**: 10.1 (B2B transactions), 10.2 (B2B payments), 10.3 (B2C transactions), 10.4 (B2C payments) ### ๐ก AFNOR PDP/PA (XP Z12-013) - **Flow Service**: Submit and search flows to PDPs - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user ### ๐๏ธ Chorus Pro - **Public Sector Invoicing**: Complete API for Chorus Pro ### โณ Async Tasks - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **Webhooks**: Automatic notifications when tasks complete ## ๐ Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### ๐ Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \ -H "Content-Type: application/json" \ -d '{ "username": "[email protected]", "password": "your_password" }' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \ -H "Content-Type: application/json" \ -d '{ "username": "[email protected]", "password": "your_password", "client_uid": "550e8400-e29b-41d4-a716-446655440000" }' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { "access": "eyJ0eXAiOiJKV1QiLCJhbGc...", // Access token (validity: 30 min) "refresh": "eyJ0eXAiOiJKV1QiLCJhbGc..." // Refresh token (validity: 7 days) } ``` **Advantages:** - โ Full automation (CI/CD, scripts) - โ Programmatic token management - โ Refresh token support for automatic access renewal - โ Easy integration in any language/tool #### ๐ฅ๏ธ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the "Generate Test Token" or "Generate Production Token" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - โ Quick for API testing - โ No password required - โ Simple visual interface **Disadvantages:** - โ Requires manual action - โ No refresh token - โ Less suited for automation ### ๐ Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
bud/auth
31 Downloads
Jwt minimalist permission control component adapted to the hyperf framework
alancting/oauth2-microsoft-openid
1207 Downloads
Microsoft Azure Active Directory (Azure AD), Microsoft Active Directory Federation Services (ADFS) OpenId Integration for Symfony
mathieu-bour/guardian
1628 Downloads
Highly configurable JSON Web Token implementation for Laravel and Lumen.
gasparteixeira/api-boilerplate
50 Downloads
Boilerplate to create a REST API with Symfony 4.2
fizzday/fizzjwt
1147 Downloads
A simple library to encode and decode JSON Web Tokens (JWT) in PHP, based on 'firebase/jwt', add the decode() third param default 'HS256'(JWT ๆ ็ถๆ restful api ่ฎค่ฏ)
neoan3-apps/stateless
866 Downloads
stateless Json Webtoken (JWT) authentication / verification for PHP
nxt-code/seaweedfs-client
151 Downloads
A SeaweedFS implementation for PHP based on Guzzle with JWT authentication
npav/laravel-fcm-push
8 Downloads
Firebase Cloud Messaging (HTTP v1) web push for Laravel โ hand-signed OAuth2 JWT (no google/apiclient or kreait/firebase-php dependency), channel/audience-based subscriber targeting, and on-device diagnostics logging for mobile debugging.