itk-dev / mock-up-bundle
A mock-up bundle for Symfony
Installs: 644
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- symfony/finder: ^4.4 || ^5.0
- symfony/framework-bundle: ^4.4 || ^5.0
- symfony/http-foundation: ^4.4 || ^5.0.7
- symfony/twig-bundle: ^4.4 || ^5.0
- twig/twig: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- friendsoftwig/twigcs: ^3.2
This package is auto-updated.
Last update: 2024-10-29 06:41:44 UTC
README
A Symfony bundle for building html mock-ups.
Installation
composer require itk-dev/mock-up-bundle
Add ItkDev\MockUpBundle\ItkDevMockUpBundle
to config/bundles.php
:
return [ …, ItkDev\MockUpBundle\ItkDevMockUpBundle::class => ['all' => true], ];
Import routes in config/routes/itkdev_mockup.yaml
, say:
itkdev_mockup: prefix: /mock-up resource: "@ItkDevMockUpBundle/Resources/config/routes.xml"
Use
Create mock-up templates in templates/mock-up
and go to /mock-up
(prefix
key from config/routes/itkdev_mockup.yaml
).