equidna/bird-flock
Larablocks Analysis
equidna/bird-flock works with Laravel 10 to 13 (latest release 1.5.1, Aug 19, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Aug 19, 2026)
- 307 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Aug 19, 2026.
- 7 releases in the last 12 months.
- First released: Nov 30, 2025.
- Monthly downloads: 307.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require equidna/bird-flock |
|
| Latest Version: | 1.5.1 |
| PHP: | >=8.3 |
| Laravel: | 10 – 13 |
| License: | MIT |
| Last Updated: | Aug 19, 2026 |
| Links: | GitHub · Packagist |
README (Root of the Project)
Project Overview
Bird Flock is a Laravel package for outbound multi-channel messaging with queue-first delivery, idempotency, retries, dead-letter handling, provider webhooks, and health endpoints.
Primary audience:
- Internal development teams integrating reliable messaging into Laravel applications.
- Maintainers and contributors extending providers, routing, and operational tooling.
Main value:
- One API (
Equidna\BirdFlock\BirdFlock) to dispatch SMS, WhatsApp, and email workloads. - Operational safety via idempotency keys, retry policies, and dead-letter replay commands.
- Visibility via events, structured logs, and health/circuit-breaker diagnostics.
Project Type & Tech Summary
Project type:
- Laravel package/library (
composer.jsonhas"type": "library").
Version/runtime summary:
- PHP:
>=8.3. - Laravel/Illuminate:
^10 || ^11 || ^12 || ^13.
Infrastructure model:
- Database: package uses Eloquent models and migrations; supported by host Laravel DB driver (commonly MySQL/PostgreSQL/SQLite). Set
BIRD_FLOCK_DB_CONNECTIONto store package tables on a non-default Laravel connection. - Cache: package uses Laravel cache for circuit-breaker state.
- Queue: package dispatches Laravel queue jobs; host queue driver is used.
External integrations:
- Twilio (
twilio/sdk) for SMS and WhatsApp senders. - Vonage (
vonage/client) available as SMS provider implementation. - LabsMobile HTTP/POST API available as SMS provider implementation.
- SendGrid (
sendgrid/sendgrid) available as email provider implementation. - Mailgun (
mailgun/mailgun-php) available as email provider implementation.
Config-Driven Senders
Bird Flock resolves outbound senders from config/bird-flock.php. Each channel has a senders
map keyed by vendor id; that key is used for routing, logs, health checks, and circuit labels.
Simple external sender:
'channels' => [
'sms' => [
'strategy' => 'round_robin',
'retry' => [
'max_attempts' => env('BIRD_FLOCK_SMS_MAX_ATTEMPTS', 3),
'base_delay_ms' => env('BIRD_FLOCK_SMS_BASE_DELAY_MS', 1000),
'max_delay_ms' => env('BIRD_FLOCK_SMS_MAX_DELAY_MS', 60000),
],
'senders' => [
'acme' => App\Messaging\AcmeSmsSender::class,
],
],
],
Typed constructor dependencies are resolved through the Laravel container. For constructor scalars or package-specific validation, use a sender definition class:
'acme' => App\Messaging\AcmeSmsSenderDefinition::class
Definition classes implement Equidna\BirdFlock\Contracts\SenderDefinitionInterface and return the
sender class, constructor arguments, and optional config validator. Argument values prefixed with
config: are read from Laravel config; raw values are passed as-is.
Definitions can also implement Equidna\BirdFlock\Contracts\SenderConfigValidatorInterface; in that
case validator() can return self::class so metadata and config validation stay together.
strategy controls which sender key is selected when a channel has multiple senders. The default is
round_robin, which rotates through the configured sender keys in order using Laravel cache.
random selects one configured sender with random_int. Any other value fails configuration at
runtime with an InvalidArgumentException.
For complex SDK construction, bind the SDK or sender in the host app and keep the same config shape:
$this->app->singleton(App\Messaging\AcmeClient::class, function () {
return new App\Messaging\AcmeClient(config('services.acme.api_key'));
});
External sender classes must implement Equidna\BirdFlock\Contracts\MessageSenderInterface.
External webhooks remain the host app's responsibility.
Quick Start (High-Level)
- Install the package in your host Laravel app:
composer require equidna/bird-flock
- Publish package assets:
php artisan vendor:publish --tag=bird-flock-configphp artisan vendor:publish --tag=bird-flock-migrations
- Configure provider credentials and package settings in
.env. - Validate configuration:
php artisan bird-flock:config:validate
- Run migrations:
php artisan migrate
- Start queue workers for the target queue:
php artisan queue:work --queue=default
- Dispatch messages via
BirdFlock::dispatch(),BirdFlock::dispatchBatch(), orBirdFlock::dispatchMailable().
Detailed deployment and operations guidance is in doc/deployment-instructions.md.
Documentation Index
- Deployment Instructions
- API Documentation
- Routes Documentation
- Artisan Commands
- Tests Documentation
- Architecture Diagrams
- Monitoring
- Business Logic & Core Processes
- Open Questions & Assumptions
Note About Standards
This documentation follows the project's Coding Standards Guide and PHPDoc Style Guide. Where guide files are not visible in this repository snapshot, naming and examples were aligned to the existing package code style and namespace conventions.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.5.1 | >=8.3 | ^10 || | MIT | |
| 1.5.0 | >=8.3 | ^10 || | MIT | |
| 1.4.0 | >=8.3 | ^10 || | MIT | |
| V1.3.0 | >=8.3 | ^10 || | MIT | |
| v1.2.2 | >=8.3 | ^10 || | MIT | |
| 1.2.0 | >=8.3 | ^10 || | MIT | |
| 1.1.0 | >=8.3 | ^11.0 | MIT | |
| 1.0.0 | >=8.3 | ^11.0 | MIT |