What’s new in Laravel 8
Laravel 8 is now available and it includes many new features including Laravel Jetstream, a model directory, model factory classes, migration squashing, rate-limiting improvements, time testing helpers, dynamic blade components, and many more features. and for change, its included tailwind CSS instead of bootstrap.
Laravel Jetstream improves on the current Laravel auth found in older versions. It provides a starting point for new projects, including login, registration, email verification, two-factor authentication, session management, API support, and team management.
Laravel 8’s application includes an app/Models directory. All generator commands assume models exist in app/Models; however if this directory doesn’t exist, the framework will assume the application keeps models within the app/ folder.
Dynamic Blade Components
Sometimes you need to render a blade component dynamically at runtime. Laravel 8 provides the <x-dynamic-component/> to render the component:
<x-dynamic-component :component="$componentName" class="mt-4" />