nowo-tech/ux-link-bundle

Symfony bundle to generate contact, share, map, and download links with safe URLs, Twig helpers, and extensible providers.

Maintainers

Package info

github.com/nowo-tech/UxLinkBundle

Documentation

Type:symfony-bundle

pkg:composer/nowo-tech/ux-link-bundle

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-07-08 15:58 UTC

This package is auto-updated.

Last update: 2026-07-08 16:02:01 UTC


README

CI Packagist Version Packagist Downloads License PHP Symfony GitHub stars Coverage

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

Additional documentation

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.