salehhashemi/laravel-post-link
Composer 安装命令:
composer require salehhashemi/laravel-post-link
包简介
:package_description
README 文档
README
Post Link Component for Laravel
A simple package that provides a post-link component for Laravel. This component allows you to easily create links that, when clicked, will submit a form with a specified method (default is POST) and url. This is useful for creating links that delete or update resources, for example.
Installation
You can install the package via composer:
$ composer require salehhashemi1992/laravel-post-link
Usage
Once the package is installed, you can use the x-post-link component in your blade templates:
<x-post-link method="PUT" :url="route('notifications.mark-as-read', $notification->id)" class="badge bg-danger rounded-pill float-end"> <i class="fe-x text-light"></i> </x-post-link>
This will render a link that, when clicked, will submit a form with the method of "PUT" and the url of the mark-as-read action on the notifications controller with the notification id.
You can also pass a confirm attribute to the component, which will display a JavaScript confirm dialog before submitting the form.
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email salpars2004@gmail.com instead of using the issue tracker.
Credits
License
MIT. Please see the license file for more information.
salehhashemi/laravel-post-link 适用场景与选型建议
salehhashemi/laravel-post-link 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 11 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「form-components」 「PostLink」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 salehhashemi/laravel-post-link 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 salehhashemi/laravel-post-link 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 salehhashemi/laravel-post-link 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Blade components to rapidly build forms with Tailwind CSS Custom Forms and Bootstrap 4.
Blade components to rapidly build forms with Bootstrap 5.
A feature-rich, customizable range slider component for Laravel Livewire applications, built on noUiSlider with Alpine.js integration
70 Filament v5 form components with unified design system, lazy CSS/JS, optional JSON custom fields, layout primitives, and built-in Playground — one plugin for modern Laravel admin forms.
Blade components to rapidly build forms with Tailwind CSS Custom Forms and Bootstrap 4.
Alfabank REST API integration
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-08