NewWe open-sourced 50+ Laravel packages
Custom AI apps, agents and automation — Roundly ConsultingRoundly
All packages

Require the package, then publish and run the migration. The service provider is auto-discovered — no manual registration:

composer require roundly-consulting/connections-for-laravel

php artisan vendor:publish --tag="connections-migrations"
php artisan migrate

The migration is publish-only: the package never loads it automatically. Publishing copies a timestamped migration into database/migrations, so your app owns it and php artisan migrate runs exactly what you published. If your connectable models use UUID or ULID keys, set key_type before you migrate — see Database schema.

The config file is optional — every key has a default. Publish it only to override:

php artisan vendor:publish --tag="connections-config"

The two publish tags are connections-migrations and connections-config. The provider also registers three Artisan commands — connections:prune, connections:notify-expiring and make:connectable — and contributes a section to php artisan about:

php artisan about --only=connections

The about section shows the model, table, default status, whether access checks are enforced, the default expiry, how many permissions a new connection starts with (a count, never the names), and whether the Gate hook, cache and events are on. A malformed default status, expiry or permission list shows as INVALID.

Show your open-source love

This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.

More ways to support, including crypto

By donating, you agree to our donation terms.

Want this built into your product?

We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.