PHPackages                             marekmiklusek/laraboost - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. marekmiklusek/laraboost

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

marekmiklusek/laraboost
=======================

A package that automatically apply common Laravel configurations, development tools and more...

v1.0.4(1mo ago)0368MITPHPPHP ^8.3.0

Since Apr 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/marekmiklusek/laraboost)[ Packagist](https://packagist.org/packages/marekmiklusek/laraboost)[ RSS](/packages/marekmiklusek-laraboost/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (8)Versions (6)Used By (0)

[![logo form my laravel package called_ laraboost(1)](https://private-user-images.githubusercontent.com/112761697/452532950-9dec43a5-3c60-4e17-a761-80959bf1cf4b.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1NjczNTgsIm5iZiI6MTc3NTU2NzA1OCwicGF0aCI6Ii8xMTI3NjE2OTcvNDUyNTMyOTUwLTlkZWM0M2E1LTNjNjAtNGUxNy1hNzYxLTgwOTU5YmYxY2Y0Yi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwN1QxMzA0MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZGY0MzMxOGZhMjFmMTUxZDhkNGEyMjM5ZDBlOGNkYTAwZGNmNThmNDAwZjAwZjRiYTQ5NDRkNDcyZjkwZWIxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.MkeBGhx_SfPnNF2ZZlWEyPtfrfoIHWLVGUfA9KmlcWQ)](https://private-user-images.githubusercontent.com/112761697/452532950-9dec43a5-3c60-4e17-a761-80959bf1cf4b.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1NjczNTgsIm5iZiI6MTc3NTU2NzA1OCwicGF0aCI6Ii8xMTI3NjE2OTcvNDUyNTMyOTUwLTlkZWM0M2E1LTNjNjAtNGUxNy1hNzYxLTgwOTU5YmYxY2Y0Yi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwN1QxMzA0MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZGY0MzMxOGZhMjFmMTUxZDhkNGEyMjM5ZDBlOGNkYTAwZGNmNThmNDAwZjAwZjRiYTQ5NDRkNDcyZjkwZWIxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.MkeBGhx_SfPnNF2ZZlWEyPtfrfoIHWLVGUfA9KmlcWQ)

 [![Latest Stable Version](https://camo.githubusercontent.com/4b247a940367c6c4020c85911e46747103c17088571a98073aaa5d7d0cce3d74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6172656b6d696b6c7573656b2f6c617261626f6f73742e737667)](https://packagist.org/packages/marekmiklusek/laraboost) [![Downloads](https://camo.githubusercontent.com/95c8cd7a14a1fc8ba61f93ef09faab45c42f0004f49314549a17d0412118a469/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6172656b6d696b6c7573656b2f6c617261626f6f73742e737667)](https://packagist.org/packages/marekmiklusek/laraboost) [![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/marekmiklusek/laraboost/blob/main/LICENSE.md)

🚀 Quick Application Bootstrapping
---------------------------------

[](#-quick-application-bootstrapping)

Tired of adding the same configuration code to every new Laravel project? This package automatically applies best practice configurations and installs essential development tools with a single command.

✨ Features
----------

[](#-features)

- 🔄 Automatically applies common Laravel configurations
- 🧰 Installs essential dev tools (Debugbar, Larastan, Rector)
- 📝 Creates pre-configured tool settings files
- 🛠️ Provides helpful artisan commands
- ⚡ Optimizes DB access with destructive command protection
- 📅 Configures Carbon for immutable dates
- 🔍 Sets up strict model usage with automatic eager loading
- 🌐 Enforces HTTPS in production
- 🚀 Configures Vite with aggressive prefetching

📋 Requirements
--------------

[](#-requirements)

- PHP 8.3+
- Laravel 12+

📦 Installation
--------------

[](#-installation)

```
composer require marekmiklusek/laraboost
```

🔧 Usage
-------

[](#-usage)

### Automatic Configuration

[](#automatic-configuration)

Once installed, the package will automatically apply all configurations:

- DB destructive command protection in production
- Carbon immutable dates
- Strict model usage with automatic eager loading
- HTTPS enforcement in production
- Vite with aggressive prefetching

### Installing Development Tools

[](#installing-development-tools)

Run the following command to install development tools:

```
php artisan install:dev-tools
```

This command will install the following packages via Composer:

- Laravel Debugbar
- Larastan (PHPStan for Laravel)
- Rector (PHP refactoring tool)

It will also create the following configuration files in your project root:

- `pint.json` - Laravel Pint configuration
- `phpstan.neon` - Larastan configuration
- `rector.php` - Rector configuration

### Creating Action Classes

[](#creating-action-classes)

Generate new action classes using the provided Artisan command:

```
php artisan make:action CreateTodoAction
```

This will create a new action class with the following structure:

```
