erdnaxelaweb/staticfakedesign

Provides utilities to generate fake data in order to create a static design

Installs: 15 506

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 3

Open Issues: 0

Language:JavaScript

v0.1.0 2025-02-17 10:27 UTC

This package is auto-updated.

Last update: 2025-02-17 15:37:00 UTC


README

Installation

Require the package with composer require erdnaxelaweb/staticfakedesign:dev-main then activate the bundle :

ErdnaxelaWeb\StaticFakeDesignBundle\StaticFakeDesignBundle::class => ['all' => true],

Features

Showroom

The bundle provide a "showroom" interface which allow you to navigate and display the components you have created

You need to add the following route to access this interface on the url /showroom:

showroom:
    resource: "@StaticFakeDesignBundle/Resources/config/routing/showroom.yaml"

Static version of a template

Add the following route to access the examples /static/{path to template}:

static:
    path: /static/{path}
    controller: ErdnaxelaWeb\StaticFakeDesignBundle\Controller\StaticController::viewAction
    requirements:
        path: .*