New Blade Components
It's time again to explore the new features coming to Laravel 7. In this first episode, we are taking a look at the new Blade Component notation that will be available. We will look at the full version, the inline component version and the classless version.
Http Client
It's time again to explore the new features coming to Laravel 7. In this second episode, we are taking a look at the new GuzzleHttp wrapper for Laravel 7 called Http. We will explore all of the different ways that you can use it as well as touch up on all of the available assertions available for your phpunit unit tests.
Fluent Strings
Sometimes it's nice to have some convenience features that don't really add anything new but just make your developer experience better. With this new feature in Laravel 7, it's all about developer experience and keeping your code base readable. Let's explore through the new Fluent String api in Laravel 7.
Publish Stubs
Stubs are an integral part of developing in Laravel. For Laravel 7, we have a new command that allows you to publish those assets to your project. This will allow you to customize those stubs for the duration of the project. Let's explore that new feature in this episode.
Artisan Test
Developer convenience is at the top of my list when it comes to any new feature and this new artisan test command certainly fits the bill. It provides the developer with better insight on their test suite with phpunit. It will show all of the test names plus if there's an error, it will preview the code that is failing.
Route Model Binding Improvements
Route Model Binding is one of the coolest and most used features of Laravel. Laravel 7 comes with some welcomed changes which include the new key customization and automatic scoping in nested routes. Let's take a look at some concrete example of how it works.
Query Casts
We have two things brand new Laravel 7 things to cover in this episode related to query casts. The first is the new ability to have a dedicated class for database query casting. This will clean up your models and give you reusability. The second, is the new ability to cast columns even when using raw queries or even custom query casts.
Mail Markdown Templates
For Laravel 7, we got nice refreshed looks for the mail markdown templates. The mailable feature of Laravel is one of the coolest features and the new designs look great. Loosely based around Tailwind CSS styling.