定制 jhonoryza/laravel-inertia-builder 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jhonoryza/laravel-inertia-builder

最新稳定版本:1.4.2

Composer 安装命令:

composer require jhonoryza/laravel-inertia-builder

包简介

Laravel Inertia UI Builder

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

This project is inspired by Filament PHP. It aims to build complex UI components like data tables and forms using a declarative, backend-driven approach. The structure of the UI (e.g., form fields, table columns) is defined in PHP controller classes, and a generic set of React components renders the final UI. The goal is to build dynamic interfaces without writing custom frontend page components for each resource.

Key Technologies: Laravel, Inertia.js, React, TypeScript, TailwindCSS.

Key Features

  • Declarative UI Construction: Define forms and data tables in your Laravel controllers. No need to write bespoke frontend components for every CRUD page.
  • Rich Form Fields: A wide variety of form fields are available out-of-the-box, including Text, Select, Textarea, Markdown, File Uploads, Date Pickers, and more.
  • Powerful Data Tables: Create complex data tables with searchable columns, advanced filtering, sorting, and bulk actions.
  • Reactive Components: Create reactive form elements where a change in one field automatically updates another, all handled seamlessly on the backend.
  • Relationship Handling: Automatically populate fields and table columns with data from Eloquent relationships ( belongsTo, hasMany, etc.).
  • Customizable: Extend the library with your own custom fields and filters to meet specific needs.

Docs

For more detailed examples and documentation, please check the following resources:

Requirement

Getting Started

Package installation

composer require jhonoryza/laravel-inertia-builder
php artisan inertia-builder:install

Generator

you need at least a table structure in your database

let's create users table using laravel migration or manual sql

then run this command :

php artisan inertia-builder:generate users

this will generate: Model, Factory, Controller, Form & Table class, Request, and Routes

then run npm run dev to recompile the frontend

Security

If you've found a bug regarding security, please mail jardik.oryza@gmail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 37
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 2
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-08