Before you begin this tutorial, make sure you have the following set up/installed:
- A Twilio Account (Sign up with this link and receive an additional $10 credit.)
- A Twilio phone number
- Composer globally installed
- A Laravel application already installed
What We’ll Build
What better way to demonstrate the power …
In the latest iteration of Laravel, developers were introduced to a new syntax for creating Blade Components. If you’re unfamiliar, a blade is the templating engine in Laravel that allows you to use plain PHP in your view. The components, or reusable code created using this logic, allows you to easily follow the DRY or “Don’t Repeat Yourself” principle. Creating a Blade component once means that you can reuse the code anywhere in your application.
The improvements made in Laravel 7 promise to speed up your development time by allowing you to create new, class-based Blade components for your front end markup.
Previous Implementations of Blade Components
Since Laravel 5.4, developers have h …