承接 nawasara/modal 相关项目开发

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

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

nawasara/modal

最新稳定版本:v0.1.0

Composer 安装命令:

composer require nawasara/modal

包简介

Reusable Blade and Livewire modal component for Laravel applications.

README 文档

README

Reusable Blade and Livewire modal component for Laravel applications.

Installation

composer require nawasara/modal

Auto-discovered. Optionally publish the views to override the defaults:

php artisan vendor:publish --provider="Nawasara\Modal\ModalServiceProvider"

Usage

Blade modal

<x-nawasara-modal::modal id="my-modal" title="Modal Title">
    Modal content goes here.

    <x-slot:footer>
        <button @click="open = false">Close</button>
    </x-slot:footer>
</x-nawasara-modal::modal>

Open the modal from anywhere on the page:

<button @click="openModal('my-modal')">Open modal</button>

Livewire modal (universal)

Drop the universal modal once in your layout:

<livewire:nawasara-modal.livewire-modal />

Then open any Livewire component inside it:

openModal({
    id: 'modal-livewire',
    title: 'Title',
    component: 'your.livewire.component',
    params: { /* ... */ }
});

Author

Pringgo J. Saputro <odyinggo@gmail.com>

License

MIT

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固