PHPackages                             dvictorjhg/braidphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dvictorjhg/braidphp

ActiveLibrary

dvictorjhg/braidphp
===================

An attribute-driven PHP framework with a router and lightweight single-process TCP HTTP runtime.

1.0.0(today)01↑2900%Apache-2.0PHPPHP ^8.4CI passing

Since Aug 28Pushed today1 watchersCompare

[ Source](https://github.com/dvictorjhg/braidphp)[ Packagist](https://packagist.org/packages/dvictorjhg/braidphp)[ Docs](https://github.com/dvictorjhg/braidphp)[ RSS](/packages/dvictorjhg-braidphp/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

BraidPHP
========

[](#braidphp)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a57b4cb74a298bccde8d26179d8d052615091b6bc5fe4f1adafd22963eb5f688/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64766963746f726a68672f62726169647068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dvictorjhg/braidphp)[![Monthly Downloads on Packagist](https://camo.githubusercontent.com/742cd76a0e7a0c5d1ec15937559d638019f17d486f3050cda298a3d9dfff0149/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64766963746f726a68672f62726169647068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dvictorjhg/braidphp)[![Total Downloads on Packagist](https://camo.githubusercontent.com/d07e6fbd6d934d2f945929b1b1d572e8b4e64a4b861615835b20ea9198356397/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64766963746f726a68672f62726169647068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dvictorjhg/braidphp)[![PHP Version Required](https://camo.githubusercontent.com/16a1a8e15ead660f88304cadc0ad90ab287ec6808c0ee15732512650326eab21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f64766963746f726a68672f62726169647068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dvictorjhg/braidphp)[![License](https://camo.githubusercontent.com/8a078d7458bc15fb1ffd46999e6830f5e50e0f4b9462b24999b02762b9ea7ada/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64766963746f726a68672f62726169647068702e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![CI](https://github.com/dvictorjhg/braidphp/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/dvictorjhg/braidphp/actions/workflows/ci.yml)[![Codecov](https://camo.githubusercontent.com/378a3eac36def38d84517c56ad4589722eb6c68b992a0e72029241e2df847689/68747470733a2f2f636f6465636f762e696f2f67682f64766963746f726a68672f62726169647068702f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/dvictorjhg/braidphp)[![Open Issues](https://camo.githubusercontent.com/aa0369daf8e9c58ef1c59dcdbd65acfe411083178b7528b8d30581e54d7c6d1c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f64766963746f726a68672f62726169647068702e7376673f7374796c653d666c61742d737175617265)](https://github.com/dvictorjhg/braidphp/issues)

BraidPHP is an attribute-driven PHP framework with a router and a lightweight single-process TCP HTTP runtime. Dependency injection and PSR-11 storage are provided by the standalone [`dvictorjhg/php-injector`](https://github.com/dvictorjhg/php-injector) package.

The supported platform is PHP `^8.4`. The runtime is intentionally single-process; scale it with a process manager, container platform, or reverse proxy when the application needs more than one worker.

Documentation
-------------

[](#documentation)

The [BraidPHP documentation page](https://dvictorjhg.github.io/braidphp/) is the visual entry point for installation, modules, attribute routing, HTTP messages, the server runtime, and the public API. It is a static page with relative assets under `docs/assets`, and includes light/dark themes plus English and Spanish translations.

This README is the copy-and-paste reference for the smallest working application. The [changelog](CHANGELOG.md), [contribution guide](CONTRIBUTING.md), and [security policy](SECURITY.md) complete the release documentation.

Requirements
------------

[](#requirements)

- PHP 8.4 or 8.5
- Composer

Installation
------------

[](#installation)

```
composer require dvictorjhg/braidphp
```

Quick Start
-----------

[](#quick-start)

Create a module with a router provider and a controller, then start the server:

```
