PHPackages                             ludelix/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. ludelix/framework

ActiveLibrary[Framework](/categories/framework)

ludelix/framework
=================

Modern PHP Framework with Multi-Tenancy, Advanced ORM, and SPA Integration

v1.0.1(3mo ago)041MITPHPPHP &gt;=8.2CI failing

Since Jan 30Pushed 3mo agoCompare

[ Source](https://github.com/Veelv/ludelix-framework)[ Packagist](https://packagist.org/packages/ludelix/framework)[ Docs](https://ludelix.com)[ RSS](/packages/ludelix-framework/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (12)Versions (3)Used By (1)

[![](logo.png)](logo.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/25bb3164d3fc2a6033bf83cf383af7bbed39a115b2c631443c223cc844150ab6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c7564656c69782f6672616d65776f726b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ludelix/framework)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b0745f5912a775a66b77aded3a5b67ae923f38aa87d99ac075061a9229ee22c2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7665656c762f6c7564656c69782d6672616d65776f726b2f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/veelv/ludelix-framework/actions?query=workflow%3Atests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b146051ef4ef91c2f0a4b97885e8f62109b3210d201c0d96b1612f6f2c58eb40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c7564656c69782f6672616d65776f726b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ludelix/framework)

Ludelix is a modern PHP framework with an expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Ludelix attempts to take the pain out of development by easing common tasks used in the majority of web projects.

Ludelix is accessible, yet powerful, providing tools needed for large, robust applications while maintaining a simple development experience.

Features
--------

[](#features)

- **Multi-Tenancy**: Automatic tenant recognition and data isolation
- **Advanced ORM**: Entity mapping based on PHP 8.1 attributes with migration system
- **Dependency Injection Container**: Context binding and auto-resolution support
- **Flexible Routing**: Intelligent request dispatch with fallback mechanisms
- **Ludou Template Engine**: Simple engine with global variables and helpers
- **Mi Console**: Utility commands and framework information
- **WebSocket Support**: Real-time communication and connection management
- **GraphQL Support**: Modern API building with subscriptions and schema generation
- **Caching System**: Redis, file, database, and memory cache with tenant isolation
- **Queue System**: Redis and database-driven background task processing
- **Security Features**: CSRF protection, authentication, authorization, rate limiting
- **Observability**: Integrated logging and error handling
- **Code Quality**: PHPUnit, PHPStan, Psalm, and PHPCS integrations

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- ext-json
- ext-pdo
- ext-mbstring
- ext-openssl

Installation
------------

[](#installation)

To get started, create a new Ludelix project via Composer:

```
composer create-project ludiex/ludelix-app my-app
```

Or add Ludelix to an existing project:

```
composer require ludiex/framework
```

Basic Usage
-----------

[](#basic-usage)

Create a minimal application that responds to HTTP requests:

```
