This is a starter kit for Laravel applications that includes Tailwind CSS, and other useful packages and configurations. It is designed to help you quickly set up a new Laravel project with a modern development environment.
laravel new my-app --pest --npm --using=webmintydotcom/laravel-quickstartVersion 12 of Laravel is used in this starter kit.
Spatie Laravel Data is included to help you create data transfer objects (DTOs) in a simple and elegant way.
Spatie Laravel Ray is included to help you debug your Laravel applications with ease.
Pest is included to help you write expressive and elegant tests for your Laravel applications.
Spatie Pest Expectations is included to help you write expressive and readable tests using Pest.
Larastan is included to help you catch type errors in your Laravel applications using PHPStan.
Pint is included to help you format your Laravel code according to the Webminty coding standard.
Rector is included to help you refactor and upgrade your Laravel codebase automatically.
Tailwind CSS is included to help you build modern and responsive user interfaces with ease.
Prettier is included to help you format your code consistently across your project.
Prettier Plugin for Tailwind CSS is included to help you format your Tailwind CSS classes automatically.
Prettier Plugin for Blade is included to help you format your Blade templates automatically.
DaisyUI is included to help you build beautiful and customizable user interfaces with Tailwind CSS.
Changes to the default Laravel files are included in this starter kit to improve performance and developer experience.
Model::preventLazyLoading();
if ($this->app->isProduction()) {
Model::handleLazyLoadingViolationUsing(function ($model, $relation) {
$class = get_class($model);
info("Attempted to lazy load [{$relation}] on model [{$class}].");
});
DB::prohibitDestructiveCommands();
} else {
Model::preventAccessingMissingAttributes();
Model::preventSilentlyDiscardingAttributes();
Model::shouldBeStrict();
}
Vite::usePrefetchStrategy('aggressive');