Defining console commands via closure in Laravel 5.3
Explains how to define Laravel Artisan console commands using closures in the routes/console.php file, a new feature in Laravel 5.3.
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 define Laravel Artisan console commands using closures in the routes/console.php file, a new feature in Laravel 5.3.
A guide to fixing a full inode error on a Linux server when disk space is available, focusing on removing old Linux headers.
A step-by-step guide on contributing to open-source GitHub projects by forking, syncing, branching, and creating pull requests.
A guide to using Vue.js components in Laravel 5.3, covering the default JavaScript stack, configuration files, and setup.
Explains the shift to daemon queue workers as the default in Laravel 5.3 and how to manage them with Supervisor.
A tutorial on using nested array syntax in HTML form field names to group related data, like employee information.
Announcing the launch of the book 'Laravel: Up & Running', now available for purchase in print and eBook formats.
An overview of the new Notification system in Laravel 5.3, explaining how to create and send multi-channel notifications.
Author updates on the release timeline and pre-order details for his new book, 'Laravel: Up and Running'.
Explains the directory structure changes in Laravel 5.3, including folders removed by default and new ones created by Artisan.
Laravel 5.3 introduces Mailables, a cleaner way to send emails using dedicated PHP classes instead of complex closures.
A guide to Laravel Passport, a native OAuth 2 server for Laravel 5.3, covering its installation and setup process.
Laravel Scout is a driver-based full-text search package for Eloquent models, simplifying integration with services like Algolia and ElasticSearch.
Explains the new routing structure in Laravel 5.3, including the move to separate 'web.php' and 'api.php' files.
Live notes from Laracon announcing new Laravel 5.3 features including Scout for search, Mailables, and Passport.
A guide to customizing pagination templates in Laravel 5.3, making it simpler than in previous versions.
Explains the new image dimension validation rules in Laravel 5.3, including parameters like min_width, max_height, and ratio.
Explains the enhanced Collection::where() method in Laravel 5.3, including new comparison operators and loose/strict checking.
Explains new JSON column query and update syntax in Laravel 5.3 for MySQL 5.7+, using arrow notation.
Introduces the new cache() global helper function in Laravel 5.3, explaining its three primary uses for getting, setting, and managing cache.