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
Requires
- babdev/pagerfanta-bundle: ^2.0
- doctrine/collections: ^2.0
- fakerphp/faker: ^1.23
- friendsofphp/proxy-manager-lts: ^1.0
- knplabs/knp-menu-bundle: ^3.0
- smknstd/fakerphp-picsum-images: ^1.0
- symfony/form: ^5.0
- symfony/options-resolver: ^5.0
- symfony/translation: ^5.0
- twig/intl-extra: ^3.0
Requires (Dev)
Suggests
- ext-dom: *
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
- Variable with autogenerated fake value
- Components declaration
- Showroom interface
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: .*