PHPackages                             bekwoh/laravel-contract - 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. bekwoh/laravel-contract

Abandoned → [https://github.com/cleaniquecoders/laravel-contract/](/?search=https%3A%2F%2Fgithub.com%2Fcleaniquecoders%2Flaravel-contract%2F)Library

bekwoh/laravel-contract
=======================

Common Contracts for Laravel

1.5.0(1mo ago)01.4k[3 PRs](https://github.com/cleaniquecoders/laravel-contract/pulls)MITPHPPHP ^8.1 | ^8.2 | ^8.3 | ^8.4CI failing

Since Sep 11Pushed 1mo agoCompare

[ Source](https://github.com/cleaniquecoders/laravel-contract)[ Packagist](https://packagist.org/packages/bekwoh/laravel-contract)[ Docs](https://github.com/cleaniquecoders/laravel-contract)[ RSS](/packages/bekwoh-laravel-contract/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (26)Versions (12)Used By (0)

Common Contracts for Laravel
============================

[](#common-contracts-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6c07659074ed59f84f7c46a703fe116bd62e573d21f1ebb4c8b06eaf9f71f0fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c65616e69717565636f646572732f6c61726176656c2d636f6e74726163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleaniquecoders/laravel-contract)[![GitHub Tests Action Status](https://camo.githubusercontent.com/3c2a0c2bb21ce79ed066e36fc9e416c7cab21344e7ce3f39e63d65eb1339d062/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636c65616e69717565636f646572732f6c61726176656c2d636f6e74726163742f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/cleaniquecoders/laravel-contract/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d8b3d318b92365896e98b83f40b330698942832020510c3772ea783926e09539/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636c65616e69717565636f646572732f6c61726176656c2d636f6e74726163742f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/cleaniquecoders/laravel-contract/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/43827b69c8975745e56f54b836e395f633af8fea913e435007eddbe2134c5570/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c65616e69717565636f646572732f6c61726176656c2d636f6e74726163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleaniquecoders/laravel-contract)

A simple package to handle common contracts.

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

[](#installation)

You can install the package via composer:

```
composer require cleaniquecoders/laravel-contract
```

Usage
-----

[](#usage)

```
php artisan make:contract Action
```

The command will generate the contract:

```
