PHPackages                             loadinglucian/laravel-mise - 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. loadinglucian/laravel-mise

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

loadinglucian/laravel-mise
==========================

A Laravel package that provides a curated selection of packages and configurations

v1.0.1(3mo ago)3322↓65.5%[5 PRs](https://github.com/loadinglucian/laravel-mise/pulls)MITPHPPHP ^8.5CI passing

Since Jan 20Pushed 2mo ago1 watchersCompare

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

READMEChangelogDependencies (9)Versions (11)Used By (0)

Laravel Mise en Place
=====================

[](#laravel-mise-en-place)

- [Introduction](#introduction)
- [Requirements](#requirements)
- [Installation](#installation)
    - [Install Everything](#install-everything)
- [Quickstart](#quickstart)
- [What Gets Installed](#what-gets-installed)
    - [Composer Packages](#composer-packages)
    - [Node Packages](#node-packages)
    - [Configuration Files](#configuration-files)
- [Command Options](#command-options)
- [Additional Features](#additional-features)
    - [Session Configuration](#session-configuration)
    - [Database Migration Alias](#database-migration-alias)
    - [Automatic Composer.json Configuration](#automatic-composerjson-configuration)
- [Post-Installation](#post-installation)
    - [Automatic Code Quality Checks](#automatic-code-quality-checks)
    - [Additional Setup](#additional-setup)
- [License](#license)

Introduction
------------

[](#introduction)

In professional kitchens, chefs practice "mise en place" — a French phrase meaning "everything in its place." Before cooking begins, every ingredient is prepped, every tool is positioned, and the workspace is ready. This preparation transforms chaos into flow, allowing chefs to focus on creating rather than searching.

Laravel Mise brings this philosophy to your development environment. Instead of spending your first hour on a new project installing packages, configuring linters, and setting up GitHub workflows, you'll run a single command and get straight to building. The package installs a curated selection of modern development tools — Livewire, PHPStan, Pint, Pest, Prettier, and more — all pre-configured with sensible defaults.

Requirements
------------

[](#requirements)

- PHP ^8.5
- Laravel ^12.40

Don't worry — if you're running a recent Laravel installation, you'll already meet these requirements.

Installation
------------

[](#installation)

You may install the package via Composer:

```
composer require --dev loadinglucian/laravel-mise
```

Note

The package automatically registers itself via Laravel's package discovery. You don't need to add anything to your `config/app.php`.

### Install Everything

[](#install-everything)

To install all packages and copy all configuration files, run the mise command:

```
php artisan mise
```

The command installs Composer and NPM packages, copies configuration files to your project, and automatically configures your `composer.json` with useful scripts and settings.

Quickstart
----------

[](#quickstart)

To see Laravel Mise in action, let's walk through a typical installation. By following this example, you'll understand what happens when you run the command and what your project looks like afterward.

Start with a fresh Laravel project and run the mise command:

```
laravel new my-project
cd my-project
composer require --dev loadinglucian/laravel-mise
php artisan mise
```

The command will:

1. Install Composer packages (Livewire, PHPStan, Pest, etc.)
2. Update your `composer.json` with scripts like `pint`, `pstan`, and `pest`
3. Detect your package manager (npm, yarn, pnpm, or bun) and install frontend dependencies
4. Copy configuration files for all your new tools
5. Run Pint, Rector, and PHPStan to ensure everything passes from the start

Once complete, you can immediately run code quality checks:

```
composer pall   # Run all checks: pint → rector → phpstan → pest
composer pint   # Fix code style issues
composer pstan  # Run static analysis
composer pest   # Run your test suite
```

What Gets Installed
-------------------

[](#what-gets-installed)

### Composer Packages

[](#composer-packages)

**Production Dependencies:**

These packages enhance your application's capabilities:

- `livewire/livewire` - Build dynamic interfaces without leaving PHP
- `livewire/flux` - Modern UI components designed for Livewire applications
- `spatie/laravel-data` - Create powerful data objects with validation and transformation

**Development Dependencies:**

These tools help you write better code and catch issues early:

- `barryvdh/laravel-debugbar` - Debug your application with an in-browser toolbar
- `barryvdh/laravel-ide-helper` - Get proper IDE autocompletion for Laravel's magic
- `beyondcode/laravel-query-detector` - Catch N+1 query problems before they hit production
- `rector/rector` - Automatically upgrade and refactor your codebase
- `laravel/pint` - Keep your code style consistent with zero configuration
- `larastan/larastan` - Find bugs through static analysis at PHPStan's maximum level
- `pestphp/pest` - Write expressive tests with a delightful syntax
- `pestphp/pest-plugin-arch` - Enforce architectural rules in your test suite
- `roave/security-advisories` - Block installation of packages with known vulnerabilities

### Node Packages

[](#node-packages)

**Dependencies:**

- `tailwindcss` - Build custom designs without writing custom CSS
- `@tailwindcss/vite` - Integrate Tailwind seamlessly with Vite

**Development Dependencies:**

- `prettier` - Format your code consistently across the team
- `prettier-plugin-blade` - Format Blade templates alongside your other files
- `prettier-plugin-tailwindcss` - Automatically sort Tailwind classes

### Configuration Files

[](#configuration-files)

The package copies pre-configured files to your project, organized by purpose:

**Code Quality:**

- `phpstan.neon` - PHPStan configuration at maximum strictness
- `pint.json` - Laravel Pint with the Laravel preset
- `rector.php` - Rector rules for automated refactoring
- `.prettierrc` - Prettier configuration for frontend files

**Testing:**

- `phpunit.xml` - PHPUnit configuration
- `tests/Pest.php` - Pest configuration
- `tests/FeatureTestCase.php` - Base test case for feature tests
- `tests/CICanary.php` - CI health check test
- `tests/Arch/ArchTest.php` - Architecture tests
- `tests/Feature/ArchTest.php` - Feature architecture tests

**Application Scaffolding:**

- `app/Contracts/RepositoryInterface.php` - Repository pattern interface
- `app/Repositories/BaseRepository.php` - Base repository implementation

**Development:**

- `.editorconfig` - Consistent formatting across editors (indentation, line endings)
- `.cursorignore` - Cursor IDE ignore patterns
- `scripts/get-changed-php-files.sh` - Git helper for changed file detection

**GitHub Integration:**

- `.github/workflows/pest.yml` - Automated testing workflow
- `.github/workflows/phpstan.yml` - Static analysis workflow
- `.github/workflows/pint.yml` - Code style checking workflow
- `.github/workflows/rector.yml` - Automated refactoring workflow
- `.github/workflows/ci-canary.yml` - CI health check workflow
- `.github/workflows/dependabot-automerge.yml` - Auto-merge Dependabot PRs
- `.github/dependabot.yml` - Dependabot configuration
- `.github/rulesets/protect_main.json` - Branch protection ruleset
- `.github/actions/setup-bun/action.yml` - Reusable Bun setup action
- `.github/actions/setup-php-composer/action.yml` - Reusable PHP/Composer setup action

**Environment:**

- `.env*` files - Updates session configuration for security and scalability

Command Options
---------------

[](#command-options)

OptionDescription`--yes, -y`Skip all confirmation prompts

Additional Features
-------------------

[](#additional-features)

### Session Configuration

[](#session-configuration)

Laravel defaults to storing sessions in the database, which requires a migration and adds database overhead for every request. Laravel Mise updates your environment files to use encrypted cookie sessions instead:

- `SESSION_DRIVER=cookie` — Stores session data in encrypted cookies (no database queries)
- `SESSION_ENCRYPT=true` — Encrypts session data for security

This change applies to all `.env*` files in your project (`.env`, `.env.example`, `.env.testing`, etc.) to keep them consistent.

### Database Migration Alias

[](#database-migration-alias)

Maybe it's muscle memory from Rails days, but many developers instinctively type `db:migrate` and then stare blankly at Laravel's `Command "db:migrate" is not defined` error. It makes sense that migrations should live in the `db:*` namespace.

This package adds that missing command. It forwards everything to Laravel's standard `migrate` command:

```
# Run database migrations (equivalent to 'php artisan migrate')
php artisan db:migrate

# Pass any migrate options (e.g., --force, --seed, --step, etc.)
php artisan db:migrate --force --seed
```

### Automatic Composer.json Configuration

[](#automatic-composerjson-configuration)

When installing Composer packages, the command automatically configures your `composer.json` with settings that would otherwise require manual setup:

- **Scripts**: Adds `pint`, `pstan`, `rect`, `pest`, and `pall` commands
- **Repositories**: Configures any required package repositories
- **Configuration**: Updates config and extra sections as needed

This means you can run `composer pall` immediately after installation — no manual configuration required.

Post-Installation
-----------------

[](#post-installation)

### Automatic Code Quality Checks

[](#automatic-code-quality-checks)

The package runs code quality tools automatically after installation:

- **Laravel Pint** fixes code style issues throughout your project
- **Rector** applies automated refactoring rules
- **PHPStan** runs static analysis to identify potential issues

These checks ensure your codebase follows best practices from the very first commit.

### Additional Setup

[](#additional-setup)

Some packages require a few manual steps to complete their setup.

**Livewire Flux:**

The Flux configuration is published automatically during installation. However, you'll need to complete the setup manually:

Note

For complete Flux setup including asset publishing and layout configuration, follow the [official Flux installation guide](https://fluxui.dev/docs/installation). You'll need to add the `@fluxAppearance` and `@fluxScripts` directives to your layout file.

License
-------

[](#license)

Laravel Mise is open-source software distributed under the [MIT License](./LICENSE).

You can use it freely for personal or commercial projects, without any restrictions.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

118d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8a480ff5decb958b99aa7e82d8a7a41310ef829b21a8616ac81a5f6f2e4bba1?d=identicon)[loadinglucian](/maintainers/loadinglucian)

---

Top Contributors

[![loadinglucian](https://avatars.githubusercontent.com/u/235876?v=4)](https://github.com/loadinglucian "loadinglucian (95 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (75 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/loadinglucian-laravel-mise/health.svg)

```
[![Health](https://phpackages.com/badges/loadinglucian-laravel-mise/health.svg)](https://phpackages.com/packages/loadinglucian-laravel-mise)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[mrmarchone/laravel-auto-crud

Laravel Auto CRUD helps you streamline development and save time.

28711.8k2](/packages/mrmarchone-laravel-auto-crud)[intrfce/laravel-frontend-enums

Stop using 'magic' strings/numbers in your frontend Javascript and use your actual application enums instead.

2320.6k](/packages/intrfce-laravel-frontend-enums)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2912.8k](/packages/aerni-livewire-forms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
