PHPackages                             bridget/bridget - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bridget/bridget

Abandoned → [bree/bree](/?search=bree%2Fbree)Library[Utility &amp; Helpers](/categories/utility)

bridget/bridget
===============

Bree - A modern PHP superset with strong typing and OOP enhancements

10PHPCI passing

Since Oct 10Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/breephp/bree)[ Packagist](https://packagist.org/packages/bridget/bridget)[ RSS](/packages/bridget-bridget/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

🚀 Bree - The Next-Gen PHP Framework
===================================

[](#-bree---the-next-gen-php-framework)

[![packagist-version-icon](https://camo.githubusercontent.com/6d13f4c520dab533ef35f30e5050488bd192d2b2253a7f34b20f83b15300daab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f627265652f62726565)](https://packagist.org/packages/bree/bree "Bree Releases") [![packagist-download-icon](https://camo.githubusercontent.com/f36e0c351d7ecd0804337435f74b6d726713aec9609fa2f906fd4aa5458a0158/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f627265652f62726565)](https://packagist.org/packages/bree/bree "Bree Downloads")

Bree is a modern PHP framework designed to enhance development with strong typing, advanced object-oriented features, and a powerful templating system inspired by Blade. 💡✨

---

⚡ Quick Start
-------------

[](#-quick-start)

### 📦 Install Bree

[](#-install-bree)

Install Bree via [Composer](https://getcomposer.org) with:

```
composer global require bree/bree:dev-main
```

### 🎉 Try Bree

[](#-try-bree)

Create a `hello.bg` file:

```
Hello, $name!

```

Run it with:

```
bree run hello --name=Bree
```

This displays: **Hello, Bree!** 🎊

---

❓ What is Bree?
---------------

[](#-what-is-bree)

Bree is a cutting-edge PHP framework that introduces:

✅ **Strong typing** for better code reliability 🔍 ✅ **Advanced OOP features** for maintainable applications 🏗️ ✅ **A powerful templating system** for seamless UI rendering 🎨 ✅ **Full PHP compatibility** ensuring easy adoption 🔄

---

🔥 Why Choose Bree?
------------------

[](#-why-choose-bree)

- 🚀 **Enhances PHP without breaking compatibility** – Upgrade your projects without major rewrites.
- ✍️ **No need for PHPDoc &amp; annotations** – Types are enforced at both transpilation and runtime.
- ⚡ **Inspired by TypeScript** – Offers both static and dynamic typing for flexibility.
- 🎭 **Blade-like templating** – Clean and structured HTML rendering.

---

🌟 Features
----------

[](#-features)

- 🛡️ **Strong Typing** – Enforces types at compile-time and runtime.
- 🏗️ **Advanced OOP** – Expands PHP’s object-oriented capabilities.
- 🔄 **Dynamic &amp; Static Typing** – Inspired by TypeScript.
- 🖥️ **Integrated Templating Engine** – A Blade-like system for clean HTML rendering.
- 🧩 **Seamless PHP Integration** – 100% compatible with existing PHP code.

---

📋 Requirements
--------------

[](#-requirements)

🔹 [PHP](https://php.net/) 8.4 or higher (8.4.3+ recommended)
🔹 [Composer](https://getcomposer.org/)
🔹 [Git](https://git-scm.com/)
🔹 [Node.js](https://nodejs.org/) (Optional)

---

🚀 Installation
--------------

[](#-installation)

Install Bree from [Packagist](https://packagist.org/packages/bree/bree) using Composer:

```
composer global require bree/bree:dev-main
```

---

🛠️ Usage
--------

[](#️-usage)

Bree transpiles `.bg` files into `.php`, introducing enhanced features while maintaining PHP compatibility.

### 🔧 Example Command

[](#-example-command)

```
bree source.bree
```

This converts `source.bg` into an optimized PHP file.

### 📝 Example Code

[](#-example-code)

```

```

Bree ensures type safety at transpilation, making PHP development more robust. 🛡️

---

🤝 Contributing
--------------

[](#-contributing)

We welcome contributions! 💖 Whether it's bug fixes, new features, or documentation improvements, feel free to contribute.

### 📌 How to Contribute

[](#-how-to-contribute)

1. 🍴 Fork the repository.
2. 🌱 Create a new branch.
3. 🛠️ Implement your changes and add tests.
4. 📤 Submit a pull request.

Please follow our coding style and contribution guidelines. 🙌

---

📜 License
---------

[](#-license)

Bree is licensed under the **MIT License**. See the [LICENSE.md](LICENSE.md) file for details.

---

💬 Support &amp; Community
-------------------------

[](#-support--community)

For questions, issues, or feedback:

- 🚀 [Open an issue](https://github.com/breephp/bree/issues/new/choose)
- 💬 Join [our discussions](https://github.com/breephp/bree/discussions)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance45

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf6cb8e2f1ce94734b0c6d2600fef865c8164f11f8f2a511cc20cd37a897d9c6?d=identicon)[siguici](/maintainers/siguici)

---

Top Contributors

[![siguici](https://avatars.githubusercontent.com/u/62618356?v=4)](https://github.com/siguici "siguici (13 commits)")

---

Tags

breephp

### Embed Badge

![Health badge](/badges/bridget-bridget/health.svg)

```
[![Health](https://phpackages.com/badges/bridget-bridget/health.svg)](https://phpackages.com/packages/bridget-bridget)
```

###  Alternatives

[shipmonk/name-collision-detector

Simple tool to find ambiguous classes or any other name duplicates within your project.

362.1M35](/packages/shipmonk-name-collision-detector)[bostondv/bootstrap-ninja-forms

Adds Bootstrap classes to Ninja Forms

222.2k](/packages/bostondv-bootstrap-ninja-forms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
