Download the PHP package malinichevvv/lift-php without Composer
On this page you can find all versions of the php package malinichevvv/lift-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download malinichevvv/lift-php
More information about malinichevvv/lift-php
Files in malinichevvv/lift-php
Package lift-php
Short Description A fast, minimal PHP micro-framework — PSR-7/11/15, autowiring DI, routing, and zero config
License MIT
Homepage https://getlift.dev
Informations about the package lift-php
Lift — a fast, minimal PHP micro-framework
Lift is a PHP 8.1+ micro-framework built around PSR standards. It gives you a router, an autowiring DI container, PSR-7 request/response objects, and a PSR-15 middleware pipeline — everything you actually need, nothing you don't.
Installation
Quick start
No config files. No service providers. No magic — just PHP.
Starter project
Prefer a ready-made project layout over a single file? Scaffold one with Composer:
lift-skeleton is a small URL-shortener microservice — a working example of attribute routing, request validation, migrations, a cache layer, per-route middleware, a custom console command, and feature tests.
What's included
| Feature | |
|---|---|
| Router | Named routes, regex constraints, groups, attribute routing |
| DI Container | PSR-11, full autowiring, circular dependency detection |
| HTTP | Immutable PSR-7 Request/Response, cookies, file uploads |
| Middleware | PSR-15 pipeline, global / group / per-route |
| Database | Query builder, migrations, models, transactions, pessimistic locks |
| Validation | 60+ rules, custom messages, FormRequest |
| Console | CLI framework, scaffolding generators, interactive REPL |
| Views | Template engine with layouts, partials, and asset helpers |
| Queue | Sync, Database, Redis, AMQP drivers + worker |
| Cache | PSR-16, File, Redis, Database backends |
| Events | PSR-14 dispatcher |
| HTTP Client | Fluent wrapper for ext-curl |
| Auth/Crypto | JWT, HMAC, Bcrypt, AES-256-GCM |
| OpenAPI | Attribute-driven spec generation |
| SSE | Server-Sent Events response |
| Testing | Built-in TestCase with HTTP helpers |
| Debug | Dev toolbar with SQL, request, performance, and error tabs |
Routing
Any callable works as a handler — closure, [Class::class, 'method'], invokable class, or function name. Dependencies are autowired from the container automatically.
DI Container
Error handling
Testing
App::handle(Request): Response never touches $_SERVER or php://input, so tests need no HTTP server:
Requirements
- PHP 8.1+
- Composer
Optional extensions unlock specific features (ext-redis, ext-pcntl, ext-curl, ext-pdo). The core framework works without any of them.
Documentation
Full docs with examples for every feature: getlift.dev
License
MIT © Vladyslav Malinichiev
All versions of lift-php with dependencies
psr/http-message Version ^2.0
psr/http-factory Version ^1.1
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/container Version ^2.0
psr/log Version ^3.0
psr/simple-cache Version ^3.0
psr/event-dispatcher Version ^1.0