Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gjerokrsteski/pimf-twig
Simple "Hello world" application using PIMF micro framework and Twig a template engine brought by Symfony framework
https://github.com/gjerokrsteski/pimf-twig
oop php twig
Last synced: about 16 hours ago
JSON representation
Simple "Hello world" application using PIMF micro framework and Twig a template engine brought by Symfony framework
- Host: GitHub
- URL: https://github.com/gjerokrsteski/pimf-twig
- Owner: gjerokrsteski
- Created: 2014-01-06T08:10:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T13:45:35.000Z (about 7 years ago)
- Last Synced: 2023-03-27T16:53:02.584Z (over 1 year ago)
- Topics: oop, php, twig
- Language: PHP
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Welcome to PIMF Twig bundle
===========================
This is a run ready "Hello world" application using PIMF micro framework and Twig a flexible, fast, and secure template
engine for PHP (http://twig.sensiolabs.org) brought for us by Symfony framework developers.Here you can learn how to work with \Pimf\View\Twig template engine and \Pimf\Router.
Installation & Configuration
----------------------------1. git clone --recursive https://github.com/gjerokrsteski/pimf-twig.git
2. cd pimf-twig/
3. update submodules
```php
git submodule --quiet sync
git submodule --quiet update --force --init --recursive
```4. php pimf core:init
5. cd Twig/
6. composer install
7. cd ../
8. Navigate to your application in a web browser. If all is well, you should see a pretty PIMF splash page. Get ready - there is lot more to learn!
Alternatively you can run the PHP's built-in web server that is provided since PHP 5.4.0```php
php -S 127.0.0.1:1337
```Please notice: this web server was designed to aid application development. It may also be useful for testing purposes or for
application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server.
It should not be used on a public network.Learning PIMF
-------------
One of the best ways to learn PIMF is to read through the entirety of its documentation. This guide details all aspects of the framework and how to apply them to your application. https://github.com/gjerokrsteski/pimf/wikiRead the PIMF Starter book almost anywhere. Available as a PDF, EPUB and MOBI. You can now read it on all devices, as well as offline. https://leanpub.com/pimf-starter/