PHPackages                             lucky-media/reactor - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. lucky-media/reactor

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

lucky-media/reactor
===================

Minimal Laravel authentication scaffolding with React, Inertia and Tailwind CSS.

v1.2(2y ago)665631MITJavaScriptPHP ^8.1.0

Since Apr 24Pushed 2y ago2 watchersCompare

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

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

[![Logo Reactor for Laravel](/art/logo.svg)](/art/logo.svg)

 [ ![Total Downloads](https://camo.githubusercontent.com/b58b81846a6c67d54f279fb1ceb536109722baa0de4f4e16f0acec1eb333d7c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c75636b792d6d656469612f72656163746f72) ](https://packagist.org/packages/lucky-media/reactor) [ ![Latest Stable Version](https://camo.githubusercontent.com/2fc3784ad0a648374c7647e5e0a47bcc919cf2a243ac84be117279408ced09fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c75636b792d6d656469612f72656163746f72) ](https://packagist.org/packages/lucky-media/reactor) [ ![License](https://camo.githubusercontent.com/fd4d9d23bd781a1ebc32f35c29b361056503782e09b2ab656babc9a1a7844878/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c75636b792d6d656469612f72656163746f72) ](https://packagist.org/packages/lucky-media/reactor)

Reactor for Laravel
===================

[](#reactor-for-laravel)

Reactor is a Laravel package that provides minimal scaffolding for Laravel applications, making it simple for developers to get started with a fully functional web application. This package has a strong focus on frontend tooling and comes with Authentication, Inertia.js, React, and a very opinionated setup. Created by Lucky Media, Reactor aims to simplify and streamline your development process.

Why Reactor?
------------

[](#why-reactor)

While Laravel Breeze provides a simple and minimal boilerplate with authentication for starting a new Laravel project, Reactor for Laravel is specifically designed to offer a more comprehensive set of features and tools catered towards modern web application.

Reactor has a more advanced and opinionated frontend setup compared to Breeze. It includes pre-configured ESLint and Prettier configs, Husky hooks for automatic code formatting and linting, and a GitHub Workflow that leverages Laravel Pint. Together, these tools contribute to a clean and consistent codebase, fostering best practices among developers.

Reactor comes with pre-built, opinionated frontend components that are influenced by `shadcn/ui`. These components are built with composability in mind, making it easier to build and customize application UI.

Features
--------

[](#features)

- Authentication
- Pest for Laravel
- PHP Ide Helper
- Inertia.js with React
- Configured ESLint and Prettier
- Husky hooks to automatically format and lint code
- GitHub Workflow to automatically format code with Laravel Pint
- Opinionated frontend components with composability in mind, heavily inspired by `shadcn/ui`
- Radix UI headless components
- Sonner for Toast notifications
- Lucide React for icons

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

[](#installation)

Before you get started with Reactor for Laravel, make sure you have the following prerequisites:

- Laravel 9+
- Composer
- Node.js 16+

Follow these steps to install:

1. Install the package via Composer:

```
composer require lucky-media/reactor
```

2. Install the package by running

```
php artisan reactor:install
```

3. Run the frontend build process:

```
npm run dev
```

Usage
-----

[](#usage)

Reactor for Laravel comes with a pre-configured and opinionated setup for Laravel applications. This includes frontend components, headless components, and more.

### Authentication

[](#authentication)

The package comes with a ready-to-use authentication system. Make sure you've configured your database and run migrations. To customize your authentication views, you can either modify the included components or create your own.

### Pest for Laravel

[](#pest-for-laravel)

Reactor for Laravel comes with Pest for Laravel pre-installed. To run your tests, simply run:

```
./vendor/bin/pest
```

### Inertia.js with React

[](#inertiajs-with-react)

Reactor for Laravel is built on top of Inertia.js with React for a smooth, single-page application experience. Make sure to review the Inertia.js documentation to understand and wire up additional pages.

### ESLint, Prettier, and Husky

[](#eslint-prettier-and-husky)

The package comes with pre-configured ESLint and Prettier configs, ensuring consistent and clean code. Additionally, Husky hooks run automatically to format and lint your code before committing.

### PHP Ide Helper

[](#php-ide-helper)

Integrate with popular IDEs to improve the developer experience. In the scripts section of your `composer.json` file, you need to add the following:

```
{
    "post-update-cmd": [
        "@php artisan vendor:publish --tag=laravel-assets --ansi --force",
        "@php artisan ide-helper:models -N",
        "@php artisan ide-helper:generate",
        "@php artisan ide-helper:eloquent",
        "@php artisan ide-helper:meta"
    ]
}
```

### GitHub Workflow with Laravel Pint

[](#github-workflow-with-laravel-pint)

Reactor for Laravel includes a pre-configured GitHub Workflow to automatically format code with Laravel Pint. This ensures a clean codebase and encourages best practices across your team.

### Frontend Components

[](#frontend-components)

The included frontend components are highly opinionated and influenced by [shadcn/ui](https://ui.shadcn.com/). They are designed for composability and ease of use. Be sure to explore and customize these components according to your needs.

- Components are composed using [Tailwind Variants](https://www.tailwind-variants.org/).
- Radix UI headless components are used for greater flexibility. Read their docs [here](https://radix-ui.com/docs/primitives/overview/introduction).

### Sonner, and Lucide React

[](#sonner-and-lucide-react)

The package includes Sonner for Toast notifications, and Lucide React for icons. These packages are integrated to provide a uniform and highly customizable frontend experience.

- [Sonner Documentation](https://sonner.emilkowal.ski/).
- [Lucide React Icons](https://lucide.dev/docs/lucide-react).

Support
-------

[](#support)

If you find any issues or have suggestions for improvements, please feel free to open an issue on the [GitHub repository](https://github.com/lucky-media/reactor).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please email us at  if you find any security vulnerabilities in Reactor. All security vulnerabilities will be promptly addressed.

Credits
-------

[](#credits)

- [Laravel Breeze](https://github.com/laravel/breeze)
- [Shadcn UI](https://github.com/shadcn/ui)
- [Radix UI](https://radix-ui.com/)
- [Sonner](https://sonner.emilkowal.ski/)
- [Lucide React](https://lucide.dev/docs/lucide-react)

License
-------

[](#license)

Reactor is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~59 days

Total

3

Last Release

1003d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/778e85e43a7709eeccd92f0cbfb68f4b07e3e7fe37547f341578a8beae143e6a?d=identicon)[lokmanmusliu](/maintainers/lokmanmusliu)

---

Top Contributors

[![lokmanm](https://avatars.githubusercontent.com/u/11158157?v=4)](https://github.com/lokmanm "lokmanm (5 commits)")

---

Tags

laravelauthtailwindinertiareact

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lucky-media-reactor/health.svg)

```
[![Health](https://phpackages.com/badges/lucky-media-reactor/health.svg)](https://phpackages.com/packages/lucky-media-reactor)
```

###  Alternatives

[laravel/breeze

Minimal Laravel authentication scaffolding with Blade and Tailwind.

3.0k31.3M148](/packages/laravel-breeze)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[tapansharma/breeze-svelte

Minimal Laravel authentication scaffolding with Svelte and Tailwind.

321.2k](/packages/tapansharma-breeze-svelte)

PHPackages © 2026

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