phare / framework
There is no license information available for the latest version (dev-main) of this package.
A PHP framework built with Phalcon.
dev-main
2025-07-11 16:18 UTC
Requires
- php: ^8.2
- ext-bcmath: *
- ext-curl: *
- ext-gmp: *
- ext-intl: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- ext-pdo: *
- ext-phalcon: ^5.9.2
- ext-zip: *
- ext-zlib: *
- pda/pheanstalk: v5.0
- psr/simple-cache: ^1.0
- symfony/dotenv: ^v7.4
- symfony/error-handler: ^7.4
Requires (Dev)
- laravel/pint: dev-main
- mockery/mockery: 2.0.x-dev
- pestphp/pest: ^2.36
- pestphp/pest-plugin: ^2.1
- pestphp/pest-plugin-faker: ^2.0
- phalcon/ide-stubs: dev-master
- phpstan/phpstan: 2.1.x-dev
Suggests
- ext-chronos: Required to use chronos DateTime library. Install it from php-ext/chronos-ext.
- ext-redis: Required to use Redis cache
- ext-sqids: Required to use id generator. Install it from php-ext/sqids-ext.
- aws/aws-sdk-php: Required to use the AWS integration
- ext-msgpack:: Required to use msgpack serializer
- ext-yaml:: Required to use yaml serializer
- pda/pheanstalk: Required to use Beanstalkd queue
This package is auto-updated.
Last update: 2025-07-11 16:19:43 UTC
README
Phare is a lightweight PHP framework built on top of the Phalcon extension. It provides a set of components for routing, database access, command line tooling and more.
Features
- Service container
- Eloquent style ORM
- Console command support
- HTTP kernel with middleware
- Helper functions including various path helpers
Installation
composer require phare/framework
Docker
The repository provides a simple Docker setup. After installing Docker run the following command to build and start a container:
docker compose run --build app
This will compile the necessary PHP extensions, including the Phalcon extension, and drop you into a container where you can run the framework or its test suite.
Testing
Run the test suite using the helper script to hide PHP deprecation warnings:
bin/pest
License
This project is open-sourced under the MIT license.