Installation & setup

laravel-blade-x can be installed via composer:

composer require spatie/laravel-blade-x:^2.0.0

The package will automatically register a service provider and a facade.