承接 koverae/koverae-builder 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

koverae/koverae-builder

最新稳定版本:v0.5.3

Composer 安装命令:

composer require koverae/koverae-builder

包简介

Koverae Builder is a flexible and intuitive interface builder package designed specifically for Laravel. Built with the power of Koverae’s ecosystem in mind, it allows developers to easily create, customize, and manage UI components like navigation bars, forms, buttons, and more—without the hassle o

README 文档

README

Latest Version on Packagist Total Downloads GitHub Actions

Koverae Builder is a flexible and intuitive interface builder package designed specifically for Laravel. Built with the power of Koverae’s ecosystem in mind, it allows developers to easily create, customize, and manage UI components like navigation bars, forms, buttons, and more—without the hassle of manual coding.

Installation

To get started, require the package via Composer:

composer require koverae/koverae-builder

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration file by running:

composer require koverae/koverae-builder --provider"Koverae\KoveraeBuilder\KoveraeBuilderServiceProvider"

Publish the package's configuration file:

php artisan vendor:publish --tag=koverae-builder-config

Macking Components:

Command Signature

php artisan koverae:make-form <Component>
php artisan koverae:make-table <Component>
php artisan koverae:make-cart <Component>

Examples

php artisan koverae:make-form UserForm
php artisan koverae:make-table UserTable
php artisan koverae:make-cart UserCart

Output

COMPONENT CREATED  🤙🏿

CLASS: App/Livewire/Form/UserForm
TAG: <livewire:form.user-form />

CLASS: App/Livewire/Table/UserTable
TAG: <livewire:table.user-table />

CLASS: App/Livewire/Cart/UserCart
TAG: <livewire:cart.user-cart />

Making Components (Nwidart Module):

To make a component inside a Laravel Module User

Command Signature

Currently the package only supports the following types of components: Form, Table and Cart.

php artisan koverae:module-component <Component> --type=form <Module>
php artisan koverae:module-component <Component> --type=table <Module>
php artisan koverae:module-component <Component> --type=cart <Module>

Examples

php artisan koverae:module-component UserForm --type=form User
php artisan koverae:module-component UserTable --type=table User
php artisan koverae:module-component UserCart --type=table User

Output

MODULE COMPONENT CREATED  🤙🏿

CLASS: Modules/User/Livewire/Form/UserForm
TAG: <livewire:user::form.user-form />

CLASS: Modules/User/Livewire/Table/UserTable
TAG: <livewire:user::table.user-table />

CLASS: Modules/User/Livewire/Cart/UserCart
TAG: <livewire:user::cart.user-cart />

Usage

To use a component, simply place its tag wherever you want it to appear:

<!-- Component (Form) -->
<livewire:form.user-form />

<!--  Module Component (Form) -->
<livewire:user::form.user-form />

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-25