An open API service indexing awesome lists of open source software.

https://github.com/markei/silex-website-framework

Quickstart building sites with Silex, Twig, Symfony Forms, Imagine and Swiftmailer
https://github.com/markei/silex-website-framework

framework php silex silex-framework silex-skeleton twig website

Last synced: about 1 year ago
JSON representation

Quickstart building sites with Silex, Twig, Symfony Forms, Imagine and Swiftmailer

Awesome Lists containing this project

README

          

# SilexWebsiteFramework

The Markei.nl SilexWebsiteFramework configures all the standard vendors you need to build a site with Silex: Twig, Symfony Forms, Imagine and Swiftmailer

## Quick start

Create your own Application.php and start registering your routes.

get('/first-page', function (Application $app, Request $request) { return $app['controllers.page']->showPageAction($request, 'first-page'); });
$this->get('/second-page', function (Application $app, Request $request) { return $app['controllers.page']->showPageAction($request, 'second-page'); });
parent::registerRoutes();
}

protected function registerControllers()
{
parent::registerControllers();
}
}