Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dreamsxin/phalcon-volt
Designer friendly and fast template engine for PHP written in Zephir/C
https://github.com/dreamsxin/phalcon-volt
Last synced: 26 days ago
JSON representation
Designer friendly and fast template engine for PHP written in Zephir/C
- Host: GitHub
- URL: https://github.com/dreamsxin/phalcon-volt
- Owner: dreamsxin
- Created: 2016-11-18T00:01:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T10:57:45.000Z (almost 8 years ago)
- Last Synced: 2024-10-30T03:49:11.633Z (2 months ago)
- Language: Zephir
- Size: 166 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Volt Template Engine
====================Volt template engine from [Phalcon](https://github.com/phalcon/cphalcon/), Designer friendly and fast template engine for PHP written in Zephir/C.
Get Started
-----------Volt is written in [Zephir/C](http://zephir-lang.com/) with platform independence in mind.
### Linux/Unix/Mac
On a Unix-based platform you can easily compile and install the extension from sources.
#### Requirements
Prerequisite packages are:
* PHP 7.0.x development resources
* GCC compiler (Linux/Solaris/FreeBSD) or Xcode (MacOS)
* [`re2c`](http://re2c.org)
* Phalcon7Ubuntu:
```bash
sudo apt-get install re2c php5-dev libpcre3-dev gcc make
```General Compilation
-------------------Follow these instructions to generate a binary extension for your platform:
```bash
git clone https://github.com/dreamsxin/phalcon7-zephir.git
cd zephir/parser/parser
./build_linux.shcd zephir/parser
phpize && ./configure && make -j4 && sudo make install # 编译安装成功后,配置 extension=zephir_parser.sogit clone https://github.com/dreamsxin/volt.git
cd volt
../zephir/bin/zephir compile
cd ext
make
make install
```Add the extension to your php.ini:
```bash
extension=volt.so
```Finally, **restart the web server**.
External Links
--------------* [Zephir](http://zephir-lang.com/)
Current Build Status
--------------------Phalcon Framework is built under the Travis CI service. Every commit pushed to this repository will queue a build into the continuous integration service and will run all PHPUnit tests to ensure that everything is going well and the project is stable. The current build status is:
[![Build Status](https://travis-ci.org/dreamsxin/volt.svg?branch=master)](https://travis-ci.org/dreamsxin/volt)
License
-------
Volt is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more