PHPackages                             chael412/chael-installer - 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. [Framework](/categories/framework)
4. /
5. chael412/chael-installer

ActiveProject[Framework](/categories/framework)

chael412/chael-installer
========================

This setup is designed for developers who want a lightweight, modern, and efficient foundation for building Laravel applications with a React frontend powered by InertiaJs.

v1.1.0(1y ago)2221[1 PRs](https://github.com/chael412/chael-installer/pulls)MITJavaScriptPHP ^8.2

Since Mar 23Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/chael412/chael-installer)[ Packagist](https://packagist.org/packages/chael412/chael-installer)[ RSS](/packages/chael412-chael-installer/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (17)Versions (4)Used By (0)

🌟 YUI INSTALLER 🌟
=================

[](#-yui-installer-)

🚀 Introduction
--------------

[](#-introduction)

Welcome to my personal laravel installer **YUI**! This setup is designed for developers who want a **lightweight, modern, and efficient** foundation for building Laravel applications with a React frontend powered by **[Inertia.js](https://inertiajs.com)**.

This kit is **JavaScript-first**, using **JSX instead of TSX**, making it accessible to developers who prefer plain JavaScript over TypeScript. It includes **React 19, TailwindCSS 4**, and Breeze for simple authentication and scaffolding.

---

🎯 Features
----------

[](#-features)

✔️ **Laravel** – Laravel provides a complete ecosystem for web artisans.
✔️ **Laravel Breeze** – Lightweight authentication with Inertia.js.
✔️ **Laravel Pulse** – delivers at-a-glance insights into your application's performance and usage.
✔️ **Orion** – The simplest way to create REST API with Laravel.
✔️ **Inertia.js** – Create modern single-page React, Vue, and Svelte apps using classic server-side routing.
✔️ **React 19 + JSX** – Simple, clean, and TypeScript-free.
✔️ **React Icons** – Include popular icons in your React projects easily with react-icons.
✔️ **TanStack Query** – Powerful asynchronous state management for TS/JS.
✔️ **Zustand** – A small, fast, and scalable bearbones state management solution.
✔️ **Laravel-Spatie-permission** – Associate users with roles and permissions.
✔️ **TailwindCSS 4** – Modern styling with utility-first CSS.
✔️ **Vite-Powered** – Lightning-fast HMR for smooth development.
✔️ **Pre-configured Testing** – Includes PHPUnit &amp; Pest.
✔️ **Quick Setup** – Get started in minutes!

---

🛠 Getting Started
-----------------

[](#-getting-started)

### 1️⃣ Install

[](#1️⃣-install)

```
composer global require luis-developer-08/yui-installer
```

### 2️⃣ Create a New Laravel Project

[](#2️⃣-create-a-new-laravel-project)

```
yui new my-laravel-app
```

🎉 Your application is now up and running!

---

⚡ Create Inertia Components Easily
----------------------------------

[](#-create-inertia-components-easily)

This starter kit includes a custom Artisan command to quickly generate Inertia.js React components:

### 🏗️ Generate a New Component

[](#️-generate-a-new-component)

```
php artisan make:inertia Components/MyComponent
```

This will create a new file at `resources/js/Components/MyComponent.jsx` with a basic component template.

### 📂 File Structure

[](#-file-structure)

```
resources/js/Components/MyComponent.jsx

```

### ✨ Example Generated Component

[](#-example-generated-component)

```
import React from "react";

const MyComponent = () => {
    return {/* MyComponent component */};
};

export default MyComponent;
```

This command ensures that components are placed in the correct directory and prevents overwriting existing files. It also automatically opens the newly created file for editing.

---

⚡ Create Orion Controllers Easily
---------------------------------

[](#-create-orion-controllers-easily)

This starter kit also includes a command to quickly generate Orion controllers along with their associated models:

### 🏗️ Generate a New Orion Controller

[](#️-generate-a-new-orion-controller)

```
php artisan make:orion PostController
```

This will create:

- `app/Http/Controllers/Orion/PostController.php`
- `app/Models/Post.php` (if it doesn’t exist)
- Adds a route in `routes/api.php`

### 📂 File Structure

[](#-file-structure-1)

```
app/Http/Controllers/Orion/PostController.php
app/Models/Post.php

```

### ✨ Example Generated Controller

[](#-example-generated-controller)

```
