PHPackages                             waffler/laravel-bridge - 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. waffler/laravel-bridge

ActiveLibrary[Framework](/categories/framework)

waffler/laravel-bridge
======================

Laravel Bridge Component

4.3.0(10mo ago)04MITPHPPHP ^8.4CI passing

Since Aug 21Pushed 10mo agoCompare

[ Source](https://github.com/waffler-io/laravel-bridge)[ Packagist](https://packagist.org/packages/waffler/laravel-bridge)[ RSS](/packages/waffler-laravel-bridge/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (6)Used By (0)

READ-ONLY
=========

[](#read-only)

This is a readonly subsplit tree of [The Waffler Project](https://github.com/waffler-io/waffler).

If you want to contribute, please visit the main repository.

---

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

[](#installation)

To install this library, run the following command:

```
composer require waffler/laravel-bridge

php artisan vendor:publish --tag="waffler-config"
```

How to configure:
-----------------

[](#how-to-configure)

This package exposes a `waffler.php` config file to register your client interfaces into the application [service container](https://laravel.com/docs/8.x/container).

### The `clients` array:

[](#the-clients-array)

Register your clients in the service container.

```
'clients' => [
    App\Clients\MyClientInterface::class => [/* GuzzleHttp options */],
],
```

### The `aliases` array:

[](#the-aliases-array)

Give an alias to your clients.

```
'aliases' => [
    App\Clients\MyClientInterface::class => 'my-custom-alias',
],
```

### The `global_options` array:

[](#the-global_options-array)

An array of guzzle http options to be used in all client instances.

```
'global_options' => [/* GuzzleHttp options */],
```

### The `singletons` array:

[](#the-singletons-array)

An array of clients to be registered as singletons.

```
'singletons' => [
    App\Clients\MyClientInterface::class,
],
```

Commands:
---------

[](#commands)

This package exposes a few commands to generate the client interface classes.

### `php artisan waffler:cache`

[](#php-artisan-wafflercache)

Generates the client interface classes declared in the `waffler.php` config file.

This command is also automatically called when you run `php artisan optimize`, and the generated class names are saved alongside the optimized cache.

### `php artisan waffler:clear`

[](#php-artisan-wafflerclear)

Clears the generated client interface classes.

This command is also automatically called when you run `php artisan optimize:clear`.

Important tip:
--------------

[](#important-tip)

While developing, it is recommended to avoid caching the application config files using `php artisan config:cache` or `php artisan optimize`.

This package uses the configuration files to save the generated class name, and the name can change when you are editing the source code of the client interface.

Only cache the config files when everything is ready to be deployed, like when you (are supposed to) do in production.

If you encounter a generated class that has missing methods, it is probably because the config file has been cached. Try clearing the cache and regenerating the config files.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance54

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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 ~2 days

Total

5

Last Release

308d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49132967?v=4)[Erick Menezes](/maintainers/ErickJMenezes)[@ErickJMenezes](https://github.com/ErickJMenezes)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waffler-laravel-bridge/health.svg)

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

###  Alternatives

[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M223](/packages/laravel-octane)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3891.8k](/packages/codewithdennis-larament)[r2luna/brain

Brain: A process-driven architecture alternative for your Laravel Application.

6338.7k1](/packages/r2luna-brain)

PHPackages © 2026

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