Libraries tagged by php optional

factpulse/sdk

0 Favers
79 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/

Go to Download


cloude/framework

1 Favers
168 Downloads

Minimalist PHP 8.3+ micro-framework: router, input, views, markdown and string helpers. No magic, no service container. Optional persistence: file-based (JSON, Markdown) and a thin PDO Active Record via Cloude\Model. Ships its own test runner (bin/cloude-test).

Go to Download


php-opcua/laravel-opcua

6 Favers
50 Downloads

Laravel integration for OPC UA client with optional session manager support

Go to Download


assegaiphp/orm

0 Favers
467 Downloads

AssegaiORM is a standalone ORM for modern PHP applications, with optional AssegaiPHP integration.

Go to Download


spruct/spruct

6 Favers
74 Downloads

Clean PHP struct implementation with optional strong typed fields

Go to Download


kontirol/apidoc

0 Favers
4 Downloads

Generate OpenAPI 3.0 (Swagger) documentation from PHP controller annotations, with optional framework route introspection.

Go to Download


hybridlogic/router

12 Favers
62 Downloads

A drop dead simple URI routing library for PHP, with support for optional parameters and regular expressions.

Go to Download


symbolist/piny-db

1 Favers
293 Downloads

A tiny file-based JSON database for PHP with atomic locking, queue rotation, and optional TCP server.

Go to Download


webhappens/laravel-po

0 Favers
817 Downloads

Synchronize Laravel PHP translation arrays with PO (Portable Object) files, with optional POEditor integration

Go to Download


statum/safaricom-daraja-sdk

0 Favers
26 Downloads

Production-ready, type-safe PHP 8.2+ Safaricom Daraja SDK for M-Pesa STK Push, C2B, B2B/B2C and Pochi payments, Dynamic QR, Bill Manager, Lipa na Bonga, IoT SIM Portal, Mobile Center, KYC, and GSM/network utilities across web and mobile apps, with OAuth lifecycle management and optional Laravel integration.

Go to Download


koutendb/koutendb

0 Favers
7 Downloads

PHP driver for KoutenDB with native TCP and optional embedded FFI

Go to Download


imponeer/archive-download-builder

0 Favers
28 Downloads

A PHP library for building and downloading archive files (ZIP and TAR.GZ) with optional Flysystem support for various file sources

Go to Download


elsnertechnologies/laravel-health-monitor

4 Favers
1 Downloads

Check the health of any PHP/Laravel package before you install it. Health score, Laravel compatibility check, alternatives and optional AI verdict — powered by live Packagist + GitHub data.

Go to Download


cboxdk/telemetry-native

0 Favers
4 Downloads

Deep PHP runtime telemetry for the Cbox stack: statistical CPU profiling, native operation timing, runtime counters and crash breadcrumbs. Optional companion to cboxdk/laravel-telemetry.

Go to Download


aramonc/docblock-parser

4 Favers
27 Downloads

Parses strings for docBlock like portions and then extracts the annotations, descriptions, and optional document content. This should not be used as an annotation parser for PHP code, at least not on it's own. If you're looking to do something with the docBlocks you might want to use something like https://github.com/schmittjoh/metadata better. This is more for if you're trying to get metadata from a plain text file. Look through the tests for examples.

Go to Download


<< Previous Next >>