Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timonf/twigony-bundle
Extends the idea of Symfony's TemplateController
https://github.com/timonf/twigony-bundle
php php7 prototyping symfony symfony-bundle twig
Last synced: 2 days ago
JSON representation
Extends the idea of Symfony's TemplateController
- Host: GitHub
- URL: https://github.com/timonf/twigony-bundle
- Owner: timonf
- License: mit
- Created: 2017-04-08T11:34:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-10T10:40:16.000Z (over 7 years ago)
- Last Synced: 2024-12-07T19:38:48.008Z (2 months ago)
- Topics: php, php7, prototyping, symfony, symfony-bundle, twig
- Language: PHP
- Homepage:
- Size: 37.1 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
{{ Twigony FrameworkBundle }}
=============================[![SensioLabsInsight](https://insight.sensiolabs.com/projects/a20684cb-83aa-486f-8bec-e0a4cd3ae307/mini.png)](https://insight.sensiolabs.com/projects/a20684cb-83aa-486f-8bec-e0a4cd3ae307)
Twigony is inspired by Symfony's [TemplateController](http://symfony.com/doc/3.3/templating/render_without_controller.html).
Twigony provides default controller actions for common use cases. You are able to configure Twigony through your
`routing.yml` file (like Symfony's TemplateController).Goals of Twigony:
* Easy to use (no own controllers are needed, an Entity and a template is all you need)
* Usable for fast prototyping
* Usable for simple pages
* Much more frontend code (Twig) and less backend code (PHP/Symfony)
* Covers common use cases (database listing, email…)---------------------------------------
**Information:** This project is in development. If you want to support me
or this project contact me on [Slack](https://symfony-devs.slack.com) (My name: @timon).
If you don't have access to Slack, have a look [here](http://symfony.com/support).---------------------------------------
Installation
------------Create an empty project and use composer to install this bundle:
```console
$ symfony new your-new-project
$ composer require timonf/twigony-framework-bundle
```Then, enable the bundle by adding it to the list of registered bundles
in the `app/AppKernel.php` file of your project:```php