PHPackages                             edstevo/laravel-integration-credentials - 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. edstevo/laravel-integration-credentials

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

edstevo/laravel-integration-credentials
=======================================

A small package to store integration credentials against Laravel models

v1.1.0(1mo ago)0138[1 PRs](https://github.com/edstevo/laravel-integration-credentials/pulls)MITPHPPHP ^8.3CI passing

Since Jan 21Pushed 1mo agoCompare

[ Source](https://github.com/edstevo/laravel-integration-credentials)[ Packagist](https://packagist.org/packages/edstevo/laravel-integration-credentials)[ Docs](https://github.com/edstevo/laravel-integration-credentials)[ GitHub Sponsors](https://github.com/edstevo)[ RSS](/packages/edstevo-laravel-integration-credentials/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (8)Dependencies (17)Versions (11)Used By (0)

Laravel Integration Credentials
===============================

[](#laravel-integration-credentials)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c7bf52888869eee5bcb6a2bd369a288f139ec9f2d4e6b50cd104bf6b1680c725/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6564737465766f2f6c61726176656c2d696e746567726174696f6e2d63726564656e7469616c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edstevo/laravel-integration-credentials)[![Tests](https://camo.githubusercontent.com/eb940fb048bf459b87e9db2dff74fc9aeafde27c83606a409db415c035e6563b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6564737465766f2f6c61726176656c2d696e746567726174696f6e2d63726564656e7469616c732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/edstevo/laravel-integration-credentials/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/49efe4ef528ee9c0e53148c3aefd34a3c3d9297ae0844fe57833039682de3e81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6564737465766f2f6c61726176656c2d696e746567726174696f6e2d63726564656e7469616c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edstevo/laravel-integration-credentials)

Store integration credentials (provider/key/value) against any Eloquent model through a polymorphic relationship.

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

[](#installation)

```
composer require edstevo/laravel-integration-credentials
```

Migrations are auto-discovered and run with your normal `php artisan migrate` flow.

If you prefer publishing package migrations first:

```
php artisan vendor:publish --tag="laravel-integration-credentials-migrations"
php artisan migrate
```

Usage
-----

[](#usage)

Add the trait to any model that should own credentials:

```
