benatespina / amp-twig-theme
AMP oriented theme for Twig template engine
Installs: 5 547
Dependents: 0
Suggesters: 0
Security: 0
Stars: 33
Watchers: 3
Forks: 5
Open Issues: 2
Language:HTML
Requires
- php: ^7.0
- twig/twig: ^1.0 || ^2.0
Requires (Dev)
- allocine/twigcs: ^2.1
- symfony/console: ^3.3
- symfony/dotenv: ^3.3
- symfony/flex: ^1.0
- symfony/framework-bundle: ^3.3
- symfony/twig-bundle: ^3.3
- symfony/web-server-bundle: ^3.3
- symfony/yaml: ^3.3
This package is not auto-updated.
Last update: 2024-11-10 05:09:03 UTC
README
AMP Twig Theme
AMP oriented theme for Twig template engine
Requirements
PHP >= 7.0
Installation
The easiest way to install this bundle is using Composer
$ composer require benatespina/amp-twig-theme
Documentation
All the documentation is stored in the docs
folder.
Tests
You can easily start a simple application based on Symfony framework to test the AMP Twig theme.
$ cd tests/Application
$ bin/console assets:install --symlink --relative
$ bin/console --docroot=public
$ open http://127.0.0.1:8000
Contributing
This library follows Twig coding standards, so pull requests need to execute the Allocine's TwigCs. In order to simplify we provide a Composer script that wraps all the commands related with this process.
$ composer run-script cs
There is also a policy for contributing to this bundle. Pull requests must be explained step by step to make the review process easy in order to accept and merge them.
Credits
This theme is created by:
@benatespina - benatespina@gmail.com