jhonoryza/laravel-vien
Composer 安装命令:
composer require jhonoryza/laravel-vien
包简介
laravel vue inertia component
README 文档
README
This package is a starter kit for laravel breeze with inertia vue stack, so it requires laravel breeze and inertia vue stack
Laravel vien provides laravel inertia vue components, when you install this package, it will generate all the components in resources/js/Components/Vien directory.
No magic behind the scene, you can customize as much as you want
Features
- Table component with search, sort, filter, pagination, toggle, select and bulk action
- Resource Generator to quickly generate CRUD
- Toggle dark mode and light mode component
- Responsive sidebar component
- Flash message using toast component
- Loading spinner component
- SelectSimple component
- InputDateTime component using flatpickr
- TextArea compoonent
- Toggle switch component
for available components you can check in stubs/inertia-vue/Vien directory or resources/js/Components/Vien after vien installed.
here is some screenshot:
Requirement
- PHP >= 8.2
- Laravel >= 10
- Laravel Breeze Stack Inertia Vue
Getting Started
Package installation
composer require --dev jhonoryza/laravel-vien
Vien installation
php artisan vien:install
this will copy all vien component scaffolding
after installed successfully you can remove this package from your dev requirement
Optional to update vien components
php artisan vien:update
Optional to use resource generator
before using this generator, make sure you have already your new migration and models, example: lets make a posts table, then run artisan migrate
then you can run the following command to generate the resource
php artisan vien:generate posts
After successfully generating the resource above, then adjust
resources/js/Components/Vien/Utils/menu-items.js file to add your new navigation menu,
for example:
import { IconHome } from "@tabler/icons-vue"; //`id value must be unique` export const menuItems = [ { id: 4, title: "Post", routeName: "posts", component: "Post", icon: IconHome } ]
then run npm run dev to rebuild
Optional to publish config
php artisan vendor:publish --tag='vien-config'
Optional to publish generator stubs
php artisan vendor:publish --tag='vien-stubs'
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.
jhonoryza/laravel-vien 适用场景与选型建议
jhonoryza/laravel-vien 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 196 次下载、GitHub Stars 达 22, 最近一次更新时间为 2024 年 07 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jhonoryza/laravel-vien 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jhonoryza/laravel-vien 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 196
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-24





