Simplify Event Handling with Echo Keeping your frontend in sync with your backend often leads to a messy trail of event listeners. Historically, Laravel Echo required a separate callback for every single event you wanted to track. This quickly becomes unmanageable as your application grows. The community solved this with the new `listenToAll` method. Instead of registering dozens of individual listeners, you can now catch every broadcasted event in a single, unified callback. This provides a centralized hub to filter data and trigger UI updates, drastically reducing boilerplate code in your JavaScript assets. Automated Maintenance and On-Demand Storage Database bloat is a silent performance killer, especially within the `failed_jobs` table. The framework now includes a `queue:prune-failed` command, allowing you to automatically wipe data older than a specific threshold, such as 24 hours. This keeps your disk space clear without manual intervention. On the storage front, the Laravel filesystem component now supports on-demand disk configuration via the `build` method. This is a massive win for multi-tenant architectures. Instead of hardcoding every possible storage path in a config file, you can generate a disk instance at runtime with custom roots or configurations. It allows you to point to specific tenant directories or external buckets dynamically without messing with global state. Streamlined Billing and Infrastructure Configuring payment webhooks is often the most tedious part of integrating Laravel Cashier. A new Artisan command now automates the entire Stripe webhook setup process. It creates the endpoint on your Stripe account and subscribes to necessary events in seconds. Meanwhile, Laravel Vapor has revamped its internal deployment logic. By utilizing job batching, the platform now executes deployment steps in parallel. This significantly cuts down wait times during production pushes. Finally, Laravel Forge has upgraded its security standard, enabling **TLS 1.3** by default on new servers to ensure faster handshakes and robust encryption.
Laravel Cashier
Libraries
Jun 2021 • 1 videos
High activity month for Laravel Cashier. Laravel among the most active voices, with 1 videos across 1 sources.
Jun 2021
- Jun 23, 2021