unionofrad / lithium
The li₃ PHP framework
Installs: 120 886
Dependents: 53
Suggesters: 13
Security: 0
Stars: 1 222
Watchers: 89
Forks: 236
Open Issues: 44
Type:lithium-library
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- composer/installers: 1.*
Suggests
- ext-curl: For the Curl Socket adapter.
- ext-memcached: For the Memcache Cache adapter.
- ext-mongo: For the MongoDb Datasource.
- ext-openssl: For the Encrypt Session strategy.
- ext-pdo: For the MySql, Postgres and Sqlite Datasources.
- ext-redis: For the Redis Cache adapter.
- 2.0.x-dev
- v2.0.1
- v2.0.0
- v2.0.0-alpha
- 1.3.x-dev
- v1.3.0
- v1.3.0-alpha
- 1.2.x-dev
- v1.2.0
- v1.2.0-rc
- v1.2.0-beta
- v1.2.0-alpha
- 1.1.x-dev
- v1.1.1
- v1.1.0
- v1.1.0-rc1
- v1.1.0-beta
- 1.0.x-dev
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-rc4
- v1.0.0-rc3
- v1.0.0-rc2
- v1.0.0-rc1
- 1.0-beta
- 0.11.x-dev
- v0.11.1
- 0.11
- dev-2.0-ci-tests
- dev-2.0-tests
- dev-php8
- dev-master
- dev-support-php-7.3
- dev-init-removal
- dev-future/strategy-class
- dev-nested-strategy
- dev-feature/userland-rel-mod
This package is auto-updated.
Last update: 2024-12-21 16:41:18 UTC
README
You asked for a better framework. Here it is.
li₃ is the fast, flexible and the most RAD development framework for PHP.
A framework of firsts
li₃ is the first and only major PHP framework built from the ground up for PHP 5.3+, and the first to break ground into major new technologies, including bridging the gap between relational and non-relational databases through a single, unified API.
Promiscuously opinionated
Some frameworks give you a solid set of classes, but little or no default project organization, leaving you to fend for yourself on each project you create, and spend time wiring up framework classes that should just work together. Others provide you with great organizational conventions, but no way to break out of those conventions if you need to, and too often, no way to override or replace core framework classes.
li₃ is the first framework to give you the best of both worlds, without compromising either. In fact, li₃'s API is intentionally designed to allow you to "grow out of" the framework and into your own custom code over the course of your application's lifecycle, if your needs require.
Technology
li₃ takes full advantage of the latest PHP features, including namespaces, late static binding and closures. li₃'s innovative method filter system makes extensive use of closures and anonymous functions to allow application developers to "wrap" framework method calls, intercepting parameters before, and return values after.
li₃ also complies with PSR-4, the PHP namespacing standard, allowing you to easily integrate other PHP standard libraries and frameworks with li₃ applications, and vice-versa.
li₃ integrates the latest storage technologies, including MongoDB, CouchDB and Redis, with plugin support for Cassandra, ElasticSearch and others.
Flexibility
li₃ gives you full control over your application, from filters to dynamically modify framework internals, to dynamic dependencies to extend and replace core classes with application or plugin classes, to heavy use of adapter-oriented configurations, to make it seamless to move between different technologies and options.
Every component of the li₃ framework stack is replaceable through the robust plugin architecture. Swap out the default ORM / ODM implementation for Doctrine 2 or PHP ActiveRecord. Don't like the templating? Use Twig, Mustache, or roll your own.
If you don't even need to write a full application, build a micro-app in a single file using the routing system, without giving up the maintainability of the framework's structure.