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

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.