Download the PHP package larium/framework without Composer
On this page you can find all versions of the php package larium/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package framework
PSR-15 Framework
A lightweight PSR-15 compliant framework for building HTTP applications with middleware support and dependency injection.
Requirements
- PHP 8.2, 8.3, or 8.4
- Composer
- Docker (for development environment)
Installation
As a Composer Package (Recommended)
Install the framework as a dependency in your project:
Development Setup
If you want to contribute to the framework or run it locally:
-
Clone the repository:
- Install dependencies:
Development Environment
This project uses Docker for consistent development environments across different PHP versions.
Using Make Commands
The project includes several make commands for common development tasks:
Docker Environment Setup
make docker-build- Build Docker image for PHP 8.4make docker-build-8.3- Build Docker image for PHP 8.3make docker-build-8.2- Build Docker image for PHP 8.2
Dependency Management
make composer-update- Update dependencies using PHP 8.4 Docker containermake composer-update-8.3- Update dependencies using PHP 8.3 Docker containermake composer-update-8.2- Update dependencies using PHP 8.2 Docker container
Testing
make run-tests- Run tests using PHP 8.4 Docker containermake run-tests-8.3- Run tests using PHP 8.3 Docker containermake run-tests-8.2- Run tests using PHP 8.2 Docker container
Manual Setup (without Docker)
If you prefer to work without Docker:
-
Install PHP 8.2+ with required extensions:
- bcmath
- zip
- xdebug (for development)
-
Install Composer if not already installed:
-
Install dependencies:
- Run tests:
Usage Example
Project Structure
src/- Framework source codetests/- Test suite.docker/- Docker configuration for different PHP versionsbuild/- Build artifacts and coverage reportsvendor/- Composer dependencies
Testing
Run the test suite using one of these methods:
Using Make (recommended):
Using PHPUnit directly:
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
make run-tests - Submit a pull request
License
MIT License - see LICENSE file for details.
All versions of framework with dependencies
psr/http-message Version ^1.0|^2.0
psr/http-server-handler Version ~1.0
psr/http-server-middleware Version ~1.0
psr/container Version ^1.0|^2.0
psr/http-factory Version ^1.0