zofe/addresses-module
最新稳定版本:0.12.1
Composer 安装命令:
composer require zofe/addresses-module
包简介
address module for rapyd-admin application
README 文档
README
This is an utility model of Rapyd Admin, a Laravel application bootstrap for your projects
It embed:
- address management for users (addresses migration & crud)
- address management for any model (via morphable relationship)
Installation
composer require zofe/addresses-module php artisan migrate
Usage
This module give you out of the box a way to manage addresses for users and any other model via morphable relationship Simply place the following code in your blade file to embed the addresses table for a user:
<livewire:addresses::addresses-table-embed
addressableType="user"
:addressableId="$user->id"
/>
then you can enable add/editing via another component
<livewire:addresses::addresses-button-add-embed
addressableType="user"
:addressableId="$user->id"
/>
<livewire:addresses::addresses-modal-edit-embed />
统计信息
- 总下载量: 99
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2025-02-23