PHPackages                             richarddobron/laravel-fbt - 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. [Framework](/categories/framework)
4. /
5. richarddobron/laravel-fbt

ActiveLibrary[Framework](/categories/framework)

richarddobron/laravel-fbt
=========================

A PHP Internationalization Framework for Laravel Application.

4.3.3(1y ago)125.7k↑38.5%MITPHPPHP ^7.2 || ^8.0CI passing

Since Feb 21Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/richardDobron/laravel-fbt)[ Packagist](https://packagist.org/packages/richarddobron/laravel-fbt)[ RSS](/packages/richarddobron-laravel-fbt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (56)Used By (0)

 [![FBT](icon.png)](icon.png)
=============================

[](#--)

FBT is an internationalization framework for Laravel Application designed to be not just **powerful** and **flexible**, but also **simple** and **intuitive**. It helps with the following:

- Organizing your source text for translation
- Composing grammatically correct translatable UI
- Eliminating verbose boilerplate for generating UI

**This library is based on the JavaScript implementation of Facebook's [FBT](https://github.com/facebook/fbt).**

[![FBT intro](docs/intro.png)](docs/intro.png)

[![FBT plurals](docs/plurals.png)](docs/plurals.png)

[![FBT enum](docs/enum.png)](docs/enum.png)

[![FBT pronouns](docs/pronouns.png)](docs/pronouns.png)

📖 Requirements
--------------

[](#-requirements)

- Laravel 5.5 or higher
- [Composer](https://getcomposer.org) is required for installation

📦 Installing
------------

[](#-installing)

```
$ composer require richarddobron/laravel-fbt
```

✨ Features
----------

[](#-features)

- Parameters and interpolation
- Implicit parameters
- Auto-parameterization
- Plurals
- Enumerations
- Pronouns
- Number formatting
- Phrase extracting
- Inline translating

🚀 Getting started
-----------------

[](#-getting-started)

[Integrating into your app](docs/getting_started.md)

📑 Version Guidance
------------------

[](#-version-guidance)

VersionReleasedStatusRepoLaravel VersionPHP Version3.x2022-02-21Maintained[v3](https://github.com/richarddobron/laravel-fbt/tree/3.x)^5.5^7.04.x2022-04-09Latest[v4](https://github.com/richarddobron/laravel-fbt)^5.6|^5.7|^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0^7.2|^8.0⚙️ How FBT works
----------------

[](#️-how-fbt-works)

FBT works by transforming your `` and `fbt(...)` constructs via [Simple HTML DOM Parser](https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.9.1/). This library serve to extract strings from source and lookup translated payloads generated while execution. FBT creates tables of all possible variations for the given fbt phrase and accesses this at runtime.

📕 Full documentation
--------------------

[](#-full-documentation)

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

[](#-contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

📜 License
---------

[](#-license)

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance63

Regular maintenance activity

Popularity31

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~26 days

Recently: every ~80 days

Total

55

Last Release

134d ago

Major Versions

3.2.6 → 4.2.72024-11-01

3.2.8 → 4.3.02024-12-14

3.3.0 → 4.3.12025-01-12

3.3.1 → 4.3.22025-02-17

3.3.2 → 4.3.32025-04-15

PHP version history (2 changes)3.0PHP ^7.0

4.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ce70053083f807f4416f0bafe680691b66cd14f3c1bdf7b3df51b6f5b5cfdea?d=identicon)[dobron](/maintainers/dobron)

---

Top Contributors

[![richardDobron](https://avatars.githubusercontent.com/u/33115305?v=4)](https://github.com/richardDobron "richardDobron (84 commits)")

---

Tags

bladedirectiveframeworki18ninternationalizationlaravelphptranslationsphpframeworklaravelinternationalizationi18ntranslationsbladedirective

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/richarddobron-laravel-fbt/health.svg)

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

###  Alternatives

[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

39221.1M134](/packages/graham-campbell-manager)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)

PHPackages © 2026

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