Download the PHP package brain-nucleus/client without Composer
On this page you can find all versions of the php package brain-nucleus/client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brain-nucleus/client
More information about brain-nucleus/client
Files in brain-nucleus/client
Package client
Short Description Official Brain Nucleus event client for Laravel - monitoring, analytics, and incident management
License MIT
Homepage https://github.com/iamjasonhill/brain-client
Informations about the package client
Brain Nucleus Client for Laravel
Official client for sending events to Brain Nucleus from Laravel applications.
This repo is the canonical standalone source for the reusable client/package layer.
It is distinct from:
MM BRAIN, which owns strategy, priority, interpretation, and historyBrain2026, which owns the SEO, research, builder, and orchestration laneTheBrain, which is the control-plane application and is moving toward the function-led identityMM-Control-Plane
The package name brain-nucleus/client remains in place for compatibility.
Any future package renaming should be staged carefully after downstream
install/versioning impact is mapped.
🚀 Quick Start
1. Install via Composer
Note: First-time install? Add the repository to
composer.json:
2. Add Environment Variables
Need an API key? Log into Brain Admin → API Keys → New API Key
3. Done! 🎉
That's it. The package auto-registers via Laravel's package discovery.
✅ What's Automatic (No Code Required)
| Feature | Description |
|---|---|
| Heartbeat | health.ping sent every 5 minutes automatically |
| Singleton | BrainEventClient ready for dependency injection |
| Command | php artisan brain:heartbeat for manual testing |
⚠️ What You Need to Implement
The package handles heartbeats automatically, but you must implement:
- Error Exception Handling → Send
error.exceptionevents - Queue Failed Job Handling → Send
queue.failedevents
📋 See IMPLEMENTATION-CHECKLIST.md for complete code examples.
💻 Sending Events
Inject BrainEventClient anywhere in your application:
Async Events (Fire and Forget)
For non-blocking events:
⚙️ Configuration (Optional)
Publish the config file to customise behaviour:
config/brain.php:
🔄 Updating the Client
📚 Documentation
| Document | Purpose |
|---|---|
| IMPLEMENTATION-CHECKLIST.md | Required implementations (error handling, queue failures) |
| INTEGRATION-GUIDE.md | Advanced code patterns and examples |
| OPS-EVENT-SPEC.md | Event specifications and fingerprinting |
| EVENTS.md | Business event definitions |
| docs/PACKAGE-IDENTITY-PLAN.md | Staged package naming recommendation and compatibility constraints |
🔗 Quick Links
- Brain Admin: https://again.com.au/admin
- Health Check: https://again.com.au/api/v1/health
- Repository: https://github.com/iamjasonhill/brain-client
All versions of client with dependencies
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0