Laravel 5.0 - Generating Missing Events
Explains how to use Laravel 5.0's event:generate Artisan command to automatically create event and handler files.
mattstauffer.com is the personal blog of Matt Stauffer, a web developer, author, and educator specializing in Laravel, PHP, and full-stack web development. Matt shares tutorials, insights, and resources on modern web development, covering topics like backend development, JavaScript, and Laravel best practices. He is also the author of Laravel: Up & Running and a host of the Laravel Podcast. Through his blog, Matt provides practical advice for developers, project management tips, and insights into maintaining a productive development workflow. His content is designed to help developers of all levels improve their skills and stay updated with the latest trends in the web development industry.
176 Articles from this blog
Explains how to use Laravel 5.0's event:generate Artisan command to automatically create event and handler files.
A guide on how to extend Laravel's core Application class to customize default paths, such as the storage directory.
A guide to the new event and handler system in Laravel 5.0, explaining how to create and bind them.
A tutorial on how to re-enable the Whoops error handler in Laravel 5.0, providing prettier error pages for debugging.
A guide on upgrading a Laravel 4 application to Laravel 5 by starting from a fresh install and migrating code.
Explores methods for scheduling future posts with the Sculpin static site generator, including using the 'at' command and different deployment strategies.
Explains the new Commands & Handlers feature in Laravel 5.0, using a 'Duplicate Talk' example from a conference app.
A step-by-step guide on how to install Craft CMS using Laravel Forge, covering server setup and installation.
A technical guide on setting up a Sculpin static site generator blog and deploying it using Laravel Forge.
Matt Stauffer shares his recent podcast and vlog appearances, discussing topics like SaaS, Laravel, and CSS.
A guide to the new cron-style event scheduler introduced in Laravel 5.0, showing how to schedule tasks.
Announcing Laravel Homestead 2.0, a major update that transitions the tool into a globally installable Composer package.
A guide to installing and using PHP-CS-Fixer to automatically format PHP code according to PSR-2 standards.
Explains how Laravel 5.0 simplifies environment detection using PHP dotenv and the .env file for configuration management.
Explains the new Middleware feature in Laravel 5.0, which replaces the traditional filter-style architecture for handling HTTP requests.
Explores the now-removed Event Annotations feature in Laravel 5.0, which allowed binding event listeners using code annotations.
Explains the removed Route Annotations feature in Laravel 5.0, which allowed defining routes via PHP DocBlock comments in controllers.
Explains method injection in Laravel 5.0, a feature allowing dependency injection directly into controller methods.
Explores a technique for nesting Sass @imports within BEM methodology to generate contextual CSS classes.
Laravel 5.0 introduces cloud file drivers for S3 and Rackspace, allowing seamless file operations across different storage systems.