Download the PHP package libxa/framework without Composer
On this page you can find all versions of the php package libxa/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download libxa/framework
More information about libxa/framework
Files in libxa/framework
Package framework
Short Description LibxaFrame core framework โ Foundation, Router, Atlas ORM, Blade-X, Reactive, Modules, Frontend Adapters.
License MIT
Homepage https://github.com/libxa-framework/libxa
Informations about the package framework
LibxaFrame
The modern, elegant, and lightning-fast PHP framework for the next generation of web applications. Built around developer happiness, performance, and scalability.
Features
- ๐ Blazing Fast - Optimized for performance with minimal overhead
- ๐ง AI Integration - First-class AI/LLM integration out of the box
- โก Async/Fibers - Native PHP 8.1+ Fiber concurrency without extensions
- ๐ WebSockets - Real-time event-driven WebSocket ecosystem
- ๐๏ธ Modular Architecture - Package-based modular system
- ๐จ Elegant Syntax - Clean, expressive code following modern PHP standards
- ๐ก๏ธ Security - Built-in security features including LibxaSecure
- ๐ฆ Package System - First-party and third-party package support
- ๐๏ธ ORM & Query Builder - Powerful Atlas ORM with AI-powered queries
- ๐ Multi-Tenancy - Zero-config multi-tenancy support
- ๐ File Storage - Consistent filesystem API
- ๐งต Queue System - Asynchronous job processing
- ๐ HTTP Client - Connection pooling for parallel requests
- ๐ Helpers - Extensive utility functions
Installation
Quick Start
1. Configuration
Set your environment variables in .env:
2. Database Setup
3. Run Development Server
Visit http://localhost:8000 to see your application.
Framework Lifecycle
The LibxaFrame request lifecycle follows this flow:
Detailed Lifecycle
- Entry Point -
public/index.phpboots the application - Application Boot - Service providers are registered and booted
- HTTP Kernel - Handles the request through middleware
- Middleware Pipeline - Global and route-specific middleware execute
- Router Dispatch - Matches URL to controller action
- Controller Execution - Business logic runs
- Response Generation - Response object created
- Termination - Middleware cleanup and final actions
Core Features
AI Integration
LibxaFrame provides first-class AI integration with OpenAI and compatible services:
Configuration:
Async & Fibers
True asynchronous behavior using native PHP 8.1+ Fibers:
WebSockets
Event-driven WebSocket ecosystem built on Workerman:
WebSocket Controller:
Modular Package System
First-class package support with automatic discovery:
Package Structure:
Atlas ORM & Query Builder
Powerful database abstraction with AI capabilities:
Multi-Tenancy
Zero-config multi-tenancy support:
File Storage
Consistent filesystem API:
Helpers & Utilities
Extensive helper functions:
Queue System
Asynchronous job processing:
HTTP Client
Powerful HTTP client with connection pooling:
Routing
Basic Routes
Controller Routes
Route Groups
Resource Routes
Controllers
Middleware
Creating Middleware
Registering Middleware
Views & Blade
LibxaFrame uses the Blade templating engine:
Layouts
Database
Migrations
Models
Console Commands
Creating Commands
Security
LibxaSecure
Built-in security features:
Authentication
Deployment
Production Build
Server Configuration
Nginx:
Background Processes
Supervisor for Queues:
Package Development
Creating a Package
This creates:
Package Discovery
Testing
Performance Optimization
Caching
Query Optimization
Configuration
Environment Variables
Configuration Files
Configuration files are located in src/config/:
Contributing
Contributions are welcome. Read CONTRIBUTING.md first, and
see How this project works below for the branch and
release model. Branch from develop, never from main.
License
LibxaFrame is open-sourced software licensed under the MIT license.
Support
- Issues: GitHub Issues
- Questions: GitHub Discussions
- Security: SECURITY.md - never a public issue
Acknowledgments
Built with โค๏ธ using PHP 8.3+
LibxaFrame - The Modern PHP Framework
---|---|
| CONTRIBUTING.md | Local setup, branch rules, commit convention, test policy |
| docs/BRANCHING.md | The branch model: main is what Packagist publishes |
| docs/RELEASING.md | Release and hotfix runbook |
| docs/REPOSITORY_SETUP.md | One-time GitHub settings: branch protection, tag rules, Packagist webhook |
| SECURITY.md | Private vulnerability disclosure and supported versions |
| CHANGELOG.md | What changed in each release |
| CHANGES.md | Engineering write-up of the July and August 2026 stability audits |
Contributions branch from develop, never from main.
How this project works
Everything below is the operating model: how the two repositories relate, how a change travels from a developer's machine to Packagist, and what is enforced automatically along the way. The reference documents (RELEASING, REPOSITORY_SETUP) go deeper; this section is the complete picture in one place.
The two repositories
| Repository | Packagist | Type | What it is |
|---|---|---|---|
| libxa-framework/libxa | libxa/framework |
library | This repo. The framework itself. Installed into vendor/. |
| libxa-framework/LibxaStack | libxa/libxa |
project | The starter kit. What composer create-project produces. |
They version independently. A framework release does not require a starter kit release, but a framework minor release usually gets one, so new projects receive the new version.
Branch model
main is what Packagist publishes. Nothing reaches main except through a
reviewed release/* or hotfix/* pull request.
| Branch | From | Into | Lifetime | Protected |
|---|---|---|---|---|
main |
: | : | permanent | โ |
develop |
main |
: | permanent | โ |
feature/* fix/* docs/* test/* refactor/* chore/* perf/* |
develop |
develop |
hoursโdays | : |
release/vX.Y.Z |
develop |
main and develop |
days | : |
hotfix/vX.Y.Z |
main |
main and develop |
hours | : |
develop is the default branch on GitHub, so new pull requests target it
automatically.
Day-to-day development
Commit messages follow Conventional Commits:
Working on the framework and an app together
Most framework changes are best validated against a real application. Clone both repositories as siblings:
composer install inside LibxaStack then junctions
vendor/libxa/framework onto ../libxaframe. The vendor directory is your
framework working copy, so:
- framework edits take effect on the next request: no
composer update, nodump-autoload, not even for brand-new classes (PSR-4 resolves them live); - the two can never drift apart. They previously did, in both directions, and framework fixes silently had no effect on the app.
When no sibling checkout exists (CI, or a normal install) the path repository's
glob matches nothing and libxa/framework resolves from Packagist instead.
What CI enforces
Every pull request into develop or main must pass:
| Job | Checks |
|---|---|
Tests ยท PHP 8.3 / 8.4 |
Full suite on both supported versions |
Tests (--prefer-lowest) |
The lower bound of every constraint actually works |
PSR-4 contract |
One class per file, no duplicate declarations |
Security audit |
No known vulnerabilities in dependencies |
Distribution archive |
src/ ships; tests/, docs/, tools/, .github/ do not |
The PSR-4 job is not style enforcement. A class the autoloader cannot find is a
fatal Class not found at runtime, and a class declared in two files is a
fatal Cannot redeclare class the moment both load. Both shipped in this
framework, which is why it is a build gate.
Releasing
Tags are created by a human; CI verifies rather than creates them. Full runbook: docs/RELEASING.md.
release.yml refuses to publish a tag that is not annotated, not SemVer, not
an ancestor of main, or not documented in CHANGELOG.md, and re-runs the
full suite at the tagged commit before creating the GitHub Release. Packagist
publishes independently via its push webhook.
Version numbers
SemVer, prefixed v. Below 1.0, Composer treats the
minor number as the compatibility boundary: ^0.8.0 allows 0.8.9 but not
0.9.0:
| Change | Pre-1.0 | Post-1.0 |
|---|---|---|
| Breaking API change | 0.8.3 โ 0.9.0 |
1.4.2 โ 2.0.0 |
| New backward-compatible feature | 0.8.3 โ 0.8.4 |
1.4.2 โ 1.5.0 |
| Bug fix | 0.8.3 โ 0.8.4 |
1.4.2 โ 1.4.3 |
Because a pre-1.0 feature and a pre-1.0 fix share the same slot, anything that breaks a documented API needs a minor bump even when the diff looks small.
Hotfixes
The only branch that starts from main:
A hotfix without a regression test is not finished: the reason it is urgent is that nothing caught it.
Reference
| Document | Covers |
|---|---|
| CONTRIBUTING.md | Setup, branch rules, commit convention, test policy |
| docs/BRANCHING.md | The branch model in full, plus branch-protection settings |
| docs/RELEASING.md | Release and hotfix runbook, and the two-repo release order |
| docs/REPOSITORY_SETUP.md | One-time GitHub setup: protection rules, tag rules, Packagist webhook |
| SECURITY.md | Private disclosure, supported versions, security-relevant defaults |
| CHANGELOG.md | What changed in each release |
| CHANGES.md | Engineering write-up of the stability audits |
All versions of framework with dependencies
psr/container Version ^2.0
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/log Version ^3.0
workerman/workerman Version ^4.1
symfony/console Version ^7.0
vlucas/phpdotenv Version ^5.6
nikic/php-parser Version ^5.7
nesbot/carbon Version ^3.0