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
- Host: GitHub
- URL: https://github.com/markei/silex-website-framework
- Owner: Markei
- License: mit
- Created: 2017-04-27T19:54:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T07:11:34.000Z (about 8 years ago)
- Last Synced: 2025-02-24T22:24:02.720Z (about 1 year ago)
- Topics: framework, php, silex, silex-framework, silex-skeleton, twig, website
- Language: HTML
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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();
}
}