Download the PHP package lalaz/framework without Composer
On this page you can find all versions of the php package lalaz/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package framework
Lalaz Framework
The foundation that powers everything.
Quick Start • Features • Documentation • Examples • Contributing
What is Lalaz Framework?
Lalaz Framework is the core runtime for the Lalaz PHP Framework. It provides dependency injection, HTTP handling, routing, configuration, logging, and CLI infrastructure—everything you need to build modern PHP applications.
⚡ Quick Start
Installation
1. Create Your First Route (30 seconds)
2. Use Dependency Injection
3. Access Configuration
That's the basics! For advanced routing, middleware, and more, keep reading.
✨ Features
| ### 🏗️ Dependency Injection PSR-11 compliant container with auto-wiring, scoped bindings, and method injection. ### 🚀 High-Performance Routing Attribute-based routing, groups, middleware, and URL generation. ### 📝 Configuration Environment-aware config with caching, typed getters, and dot notation. | ### 📊 PSR-3 Logging Multi-channel logging with rotating files, formatters, and custom writers. ### 💻 CLI Framework Command infrastructure with dependency injection and code generators. ### 🛡️ Resilience Patterns Circuit breaker and retry patterns for fault-tolerant applications. |
📖 Examples
HTTP Request Handling
HTTP Response Building
Advanced Routing
Attribute-Based Routing
Container & Dependency Injection
Circuit Breaker Pattern
🏗️ Architecture
Key Components:
- Container — PSR-11 DI container with auto-wiring
- Router — High-performance HTTP routing with groups and middleware
- Request/Response — Full HTTP abstraction with streaming
- Config — Environment-aware configuration with caching
- LogManager — Multi-channel PSR-3 logging
- Console — CLI framework with dependency injection
📁 Package Structure
📚 Documentation (where to read)
The canonical framework documentation is published on the site and in this repository under two locations:
-
Site docs (recommended, used by the public docs site):
- https://lalaz.dev/packages/framework
- Repository path:
/docs/packages/framework
- Local package docs for quick developer reference (inside this package):
./docs/index.md(package overview)./docs/quick-start.md(quick start)./docs/api/*(API reference pages, e.g../docs/api/container.md,./docs/api/request.md)
If you previously clicked links that looked like ./docs/http.md or ./docs/routing.md — those were reorganized into the api/ and concepts/ folders. Use the site docs above (recommended) or browse ./docs/ in this package.
🔧 Configuration
Logging Configuration
Built-in CLI Commands
📋 Requirements
| Requirement | Version |
|---|---|
| PHP | ^8.3 |
| psr/log | ^3.0 |
| psr/container | ^2.0 |
🧪 Testing
🤝 Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Please read our Contributing Guide for details on our code of conduct and development process.
🔒 Security
If you discover a security vulnerability, please do not open a public issue. Instead, email us at:
We take security seriously and will respond promptly to verified vulnerabilities.
📄 License
Lalaz Framework is open-source software licensed under the MIT License.
Built with ❤️ by the Lalaz Foundation