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

1.0.1 2020-04-30 08:11 UTC

This package is auto-updated.

Last update: 2024-03-29 04:45:30 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).