soamn/maple
Composer 安装命令:
composer require soamn/maple
包简介
Beautiful Tailwind and Alpine components for Laravel Blade
README 文档
README
soamn/maple
Get Beautiful Ui Components for Laravel/Blade
!! Important - Remember to add Following CDN for alpine.js
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
📚 Quick Links
- Install Instructions
- 🔘 Button Base
- 🃏 Card - Untouchable
- 🌀 Card - Carousal 3D
- 💬 Tooltip
- ⌨️ Typewriter
- 📁 Sidebar
Install command
composer require soman/maple
php artisan maple:install [component]
Components
Button Base
php artisan maple:install button/base
<x-maple.button.base>
Button
</x-maple.button.base>
Card/untouchable
php artisan maple:install card/untouchable
Props
maxRotation
how much does the card rotate along the axis
<x-maple.card.untouchable maxRotation=20 >
<div>
<p class="text-lg">Untouchable</p>
<p class="text-sm">Touch me if you can</p>
</div>
<img src= '' alt="">
</x-maple.card.untouchable>
Card/carousal3d
php artisan maple:install card/carousal3d
Props
-
:items=[]array of array with id and image -
autoRotatedefault-falseRotates the cards after several interval
<x-maple.card.carousal3d :items="[
[
'id' => 1,
'image' =>
'https://example.png',
],
.
.
.
]" />
tooltip
php artisan maple:install tooltip
Props
'tooltipBackground' => 'bg-black', 'tooltipText' => 'text-white', 'tooltipWidth' => '20',
:items=[] array of array with id and image
tooltipBackground Background Color of tooltip
tooltipText text color of tooltip
tooltipWidth width of the tooltip card
<x-maple.tooltip :items="[
['id' => 2, 'name' => 'Jane', 'designation' => 'Designer', 'image' => 'https://example']
.
.
.
]"
tooltioWidth='fit' />
typewriter
php artisan maple:install typewriter
Props
text string
<x-maple.typewriter class="w-100"
text="I lost control I wanted to kill him what that makes me " />
sidebar
php artisan maple:install typewriter
Props
color bg-white
text text-black
boder border-zinc-800
Named Slots
header
SidebarItems
<x-maple.sidebar color='bg-black' text="text-white" border="border-zinc-900">
<x-slot name='header'>
<span class="font-bold text-xl">Sidebar</span>
</x-slot>
<x-slot name="SidebarItems">
<a href="#" class="block px-3 py-2 rounded">Dashboard</a>
<a href="#" class="block px-3 py-2 rounded">Projects</a>
<a href="#" class="block px-3 py-2 rounded">Settings</a>
</x-slot>
<div class="p-6">
<h1 class="text-3xl font-bold mb-4">Main Content</h1>
<p>This content smoothly shifts when the sidebar opens or closes. Alpine.js manages the state.</p>
</div>
</x-maple.sidebar>
soamn/maple 适用场景与选型建议
soamn/maple 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 05 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 soamn/maple 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 soamn/maple 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-15





