laracord/framework
Laracord Framework is the core of Laracord, a Laravel-powered micro-framework for building Discord bots with DiscordPHP. Includes generators for commands/events, slash command sync, interaction routing, async services/tasks, optional HTTP server, and great logging.
Architecture fit: Laravel's web-centric architecture remains fundamentally misaligned with Discord bot requirements, though the package now explicitly targets Laravel integration (via laracord/framework). The event-driven nature of Discord bots still introduces unnecessary overhead (e.g., HTTP routing, Eloquent ORM) unless the package provides clear abstractions to bypass these layers. The tokenable user enhancement suggests API-focused improvements, but core architectural misfit persists.
Integration feasibility: Medium-High (previously Low). A public GitHub repository (laracord/framework) and changelog confirm active development, though documentation remains unclear. The package now has:
Technical risk: Medium (previously High).
reactphp, discordphp for WebSockets).Key questions:
discordphp)?Stack fit: Partial (previously Poor).
reactphp or ratchet.Migration path: Conditional (previously Not feasible).
laravel new:bot) to avoid HTTP routes/ORM.discordphp).discordphp for critical paths (e.g., event handling).Compatibility:
composer.json constraints).README or CHANGELOG.md for deprecations.discordphp or laravel-websockets if both are used.Sequencing:
discordphp for bots; reserve this package for Laravel-specific API utilities (e.g., auth).Maintenance:
laravel-notification).Support:
README likely incomplete.src/TokenableUser.php).Scaling:
laravel-telescope or blackfire.io to isolate bottlenecks.Failure modes:
guzzlehttp/guzzle).Ramp-up:
discordphp for 100+ concurrent users.How can I help you explore Laravel packages today?