PHPackages                             degraciamathieu/laravel-rapid-bind - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. degraciamathieu/laravel-rapid-bind

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

degraciamathieu/laravel-rapid-bind
==================================

Quickly and easily create singletons in the Laravel container with annotations

1.0.0(2y ago)577PHPPHP ^8.1

Since Jun 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/DeGraciaMathieu/laravel-rapid-bind)[ Packagist](https://packagist.org/packages/degraciamathieu/laravel-rapid-bind)[ Docs](https://github.com/DeGraciaMathieu/laravel-rapid-bind)[ RSS](/packages/degraciamathieu-laravel-rapid-bind/feed)WikiDiscussions main Synced 2d ago

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

 [![](https://private-user-images.githubusercontent.com/11473997/342629071-17e2a556-e081-4889-8ae4-30f074e41686.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMwNDM3NzMsIm5iZiI6MTc4MzA0MzQ3MywicGF0aCI6Ii8xMTQ3Mzk5Ny8zNDI2MjkwNzEtMTdlMmE1NTYtZTA4MS00ODg5LThhZTQtMzBmMDc0ZTQxNjg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzAzVDAxNTExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhOWI0OGMyZDc3MTE4ODg3ZGU3MGI4ZGE2OTk0YTBjNjMzNDI2MTU3OTM3MjY0ZTRmNWQxMmJlZmVlMjc5YzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.ucKzhNoXMNXPmv7y7gDdF4FKHVddchDmQRi8V1_zyiU)](https://private-user-images.githubusercontent.com/11473997/342629071-17e2a556-e081-4889-8ae4-30f074e41686.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMwNDM3NzMsIm5iZiI6MTc4MzA0MzQ3MywicGF0aCI6Ii8xMTQ3Mzk5Ny8zNDI2MjkwNzEtMTdlMmE1NTYtZTA4MS00ODg5LThhZTQtMzBmMDc0ZTQxNjg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzAzVDAxNTExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhOWI0OGMyZDc3MTE4ODg3ZGU3MGI4ZGE2OTk0YTBjNjMzNDI2MTU3OTM3MjY0ZTRmNWQxMmJlZmVlMjc5YzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.ucKzhNoXMNXPmv7y7gDdF4FKHVddchDmQRi8V1_zyiU)

laravel-rapid-bind
==================

[](#laravel-rapid-bind)

[![testing](https://github.com/DeGraciaMathieu/laravel-rapid-bind/actions/workflows/testing.yml/badge.svg)](https://github.com/DeGraciaMathieu/laravel-rapid-bind/actions/workflows/testing.yml)

In an architecture based on ports and adapters, we create many bindings between interfaces and implementations.

Often, these bindings are simple and require no additional configuration.

This package facilitates the creation of these bindings, helping you avoid cluttering your `AppServiceProvider`.

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

[](#installation)

Requires &gt;= PHP 8.1

```
composer require degraciamathieu/laravel-rapid-bind

```

Usage
-----

[](#usage)

Provide information on the folders containing the interfaces :

```
