zenstruck/twig-service-bundle
Twig Service Bundle adds a service() function to Twig so templates can fetch Symfony services directly by ID, e.g. {{ service('my_service') }}, plus service_exists() for safe checks. It keeps controllers thin and avoids writing custom Twig extensions just to expose a service.
|
Person
|
Packages
|
Contributions
|
Followers
|
|
|---|---|---|---|---|
|
Kevin Bond
@kbond |
302 | 4,680 | 306 |
View on GitHub
|
|
Tac Tacelosky
@tacman |
398 | 3,740 | 78 |
View on GitHub
|
How can I help you explore Laravel packages today?