nowo-tech/ux-link-bundle
Composer 安装命令:
composer require nowo-tech/ux-link-bundle
包简介
Symfony bundle to generate contact, share, map, and download links with safe URLs, Twig helpers, and extensible providers.
README 文档
README
Generate safe, extensible contact, share, map, and download links for Symfony applications.
Installation
composer require nowo-tech/ux-link-bundle
Register the bundle (Symfony Flex does this automatically):
// config/bundles.php Nowo\UxLinkBundle\NowoUxLinkBundle::class => ['all' => true],
Quick example (PHP)
use Nowo\UxLinkBundle\Contract\LinkFactoryInterface; $link = $linkFactory->create('contact', 'whatsapp', [ 'recipient' => '+34600111222', 'message' => 'Hello', ]); echo $link->getUrl();
Quick example (Twig)
{{ ux_link_url('contact', 'whatsapp', { recipient: '+34600111222', message: 'Hello' }) }}
Quick example (Twig Component)
<twig:UxLink family="contact" provider="whatsapp" recipient="+34600111222" message="Hello" />
Documentation
- Installation
- Configuration
- Usage
- Contributing
- Changelog
- Upgrading
- Release
- Security
- Engram
- Spec-driven development
- GitHub Spec Kit
Additional documentation
- Demo with FrankenPHP (includes worker mode)
Version information
| Version | PHP | Symfony | Status |
|---|---|---|---|
| 1.0.x | >= 8.2 | 7.0 – 8.1+ | Supported |
Install a specific release:
composer require nowo-tech/ux-link-bundle:^1.0
Demos
make -C demo up-symfony7 # http://localhost:8047 make -C demo up-symfony8 # http://localhost:8048
Tests and coverage
- Tests: PHPUnit (unit + integration)
- PHP: 100%
- TS/JS: N/A
- Python: N/A
make test
make test-coverage
Found this useful?
Give it a star on GitHub.
License
MIT — see LICENSE.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-08