nour-api / framework
Nour API Framework kernel
Requires
- php: ^8.2
- composer-runtime-api: ^2.2
- dragonmantank/cron-expression: ^3.4
- illuminate/auth: ^12.21
- illuminate/broadcasting: ^12.21
- illuminate/bus: ^12.21
- illuminate/cache: ^12.21
- illuminate/collections: ^12.21
- illuminate/config: ^12.21
- illuminate/console: ^12.21
- illuminate/container: ^12.21
- illuminate/contracts: ^12.21
- illuminate/database: ^12.21
- illuminate/encryption: ^12.21
- illuminate/events: ^12.21
- illuminate/filesystem: ^12.21
- illuminate/hashing: ^12.21
- illuminate/http: ^12.21
- illuminate/log: ^12.21
- illuminate/macroable: ^12.21
- illuminate/pagination: ^12.21
- illuminate/pipeline: ^12.21
- illuminate/queue: ^12.21
- illuminate/support: ^12.21
- illuminate/testing: ^12.21
- illuminate/translation: ^12.21
- illuminate/validation: ^12.21
- illuminate/view: ^12.21
- laravel/prompts: ^0.3.6
- nikic/fast-route: ^1.3
- symfony/console: ^7.3
- symfony/error-handler: ^7.3
- symfony/http-foundation: ^7.3
- symfony/http-kernel: ^7.3
- symfony/mime: ^7.3
- symfony/var-dumper: ^7.3
- vlucas/phpdotenv: ^5.6
Requires (Dev)
- mockery/mockery: ^1.6
- phpunit/phpunit: ^11.5 || ^12.3
Suggests
- illuminate/redis: Redis cache and queue connections (^12.21).
- nyholm/psr7: Optional PSR-7 request and response objects (^1.8).
- symfony/psr-http-message-bridge: Optional PSR-7 request and response conversion (^7.3).
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-06 18:36:06 UTC
README
Note: This repository contains the core code of the Nour-API framework. If you want to build an application using Nour-API, visit the main Nour-API repository.
Nour-API PHP Framework
Nour-API is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Nour-API attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
Official Documentation
Engineering guide ยท Upgrade guide
Contributing
Security Vulnerabilities
License
Nour-API is open-sourced software licensed under the MIT license.
Development and verification
The kernel uses Illuminate 12 components, Symfony HTTP responses and FastRoute. Runtime PHP remains ^8.2. Development PHPUnit can resolve version 11.5 on PHP 8.2 and newer versions on compatible PHP runtimes.
composer install --no-plugins --no-scripts
composer test -- --fail-on-risky --fail-on-warning
composer validate --strict
composer audit
php benchmarks/router.php
See UPGRADE.md for behavior changes and ../docs/guide/index.html in the five-repository workspace for the maintained engineering guide. Normal HTTP operation requires no PSR-7 bridge; install symfony/psr-http-message-bridge and nyholm/psr7 only if using optional PSR request/response conversion.
A fresh application per concurrent request is required. Sequential request fixes do not certify custom singletons, third-party guards or services for concurrent workers.
The development suite now requires an available PDO SQLite driver and performs real database CRUD, validation, migration and transaction checks in memory. See integration check instructions for testing Redis cache/queues against a private temporary server and PSR-7 conversion with optional dependencies installed in a separate Composer project.
Release publication
Stable v* tags run the release verification workflow before a GitHub Release is created. Package discovery through Packagist depends on its configured repository integration; publication is verified against the registry before dependent package releases are advanced. No API keys are stored in the repository.