kematjaya / url-bundle
Installs: 1 839
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- doctrine/collections: ^2.2
- minwork/array: ^1.13
- symfony/config: ^6.0|^7.0
- symfony/console: ^6.0|^7.0
- symfony/dependency-injection: ^6.0|^7.0
- symfony/form: ^6.0|^7.0
- symfony/http-kernel: ^6.0|^7.0
- symfony/options-resolver: ^6.0|^7.0
- symfony/routing: ^6.0|^7.0
- symfony/security-bundle: ^6.0|^7.0
- symfony/security-csrf: ^6.0|^7.0
- symfony/translation: ^6.0|^7.0
- symfony/twig-bundle: ^6.0|^7.0
- symfony/yaml: ^6.0|^7.0
Requires (Dev)
- phpunit/phpunit: ^9.0
- symfony/browser-kit: ^6.0|^7.0
- symfony/framework-bundle: ^6.0|^7.0
- symfony/var-dumper: ^6.0|^7.0
README
- Installation
composer require kematjaya/url-bundle
- dump available route path
default will update on file 'resources/url.yaml'php bin/console url:configure
- usage
{{ link_to('route_path', {id: data.id}, {class: "btn btn-xs btn-outline-info", 'icon': '<span class="fa fa-edit"></span>', label: 'edit'|trans}, {action: 'update', object: data}) }} {{ delete_tag('delete' ~ data.id, 'route_path', {id: data.id}, {class: "btn btn-xs btn-outline-danger", 'icon': '<span class="fa fa-trash"></span>', label: 'delete'|trans}, {action: 'delete', object: data}) }}
- configation (optional)
url: resources_dir: '%kernel.project_dir%/resources' resources_file: 'url.yaml' whitelist: []
- configation (optional)