All Projects → dreamsxin → Cphalcon7

dreamsxin / Cphalcon7

Dao7 - Web framework for PHP7.x,项目接洽 QQ 176013762

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Cphalcon7

Thinkgo
A lightweight MVC framework written in Go (Golang).
Stars: ✭ 184 (-22.36%)
Mutual labels:  orm, cache, web-framework
Benchmarks
Benchmark of open source, embedded, memory-mapped, key-value stores available from Java (JMH)
Stars: ✭ 116 (-51.05%)
Mutual labels:  leveldb, lmdb
Redis
Async Redis Client for PHP based on Amp.
Stars: ✭ 107 (-54.85%)
Mutual labels:  async, cache
Entityframeworkcore.cacheable
EntityFrameworkCore second level cache
Stars: ✭ 138 (-41.77%)
Mutual labels:  orm, cache
Butterfly
🔥 蝴蝶--【简单】【稳定】【好用】的 Python web 框架🦋 除 Python 2.7,无其他依赖; 🦋 butterfly 是一个 RPC 风格 web 框架,同时也是微服务框架,自带消息队列通信机制实现分布式
Stars: ✭ 82 (-65.4%)
Mutual labels:  orm, web-framework
Jkmvc
Jkmvc is an elegant, powerful and lightweight MVC & ORM framework built using kotlin. It aims to be swift, secure, and small. It will turn java's heavy development into kotlin's simple pleasure. No spring.
Stars: ✭ 86 (-63.71%)
Mutual labels:  orm, web-framework
Ardb
A redis protocol compatible nosql, it support multiple storage engines as backend like Google's LevelDB, Facebook's RocksDB, OpenLDAP's LMDB, PerconaFT, WiredTiger, ForestDB.
Stars: ✭ 1,707 (+620.25%)
Mutual labels:  leveldb, lmdb
Ktor
Framework for quickly creating connected applications in Kotlin with minimal effort
Stars: ✭ 9,190 (+3777.64%)
Mutual labels:  async, web-framework
Tortoise Orm
Familiar asyncio ORM for python, built with relations in mind
Stars: ✭ 2,558 (+979.32%)
Mutual labels:  async, orm
Hitchcock
The Master of Suspense 🍿
Stars: ✭ 167 (-29.54%)
Mutual labels:  async, cache
Asyncorm
Fully Async ORM inspired in django's
Stars: ✭ 182 (-23.21%)
Mutual labels:  async, orm
Keshi
A better in-memory cache for Node and the browser
Stars: ✭ 75 (-68.35%)
Mutual labels:  async, cache
Foal
Elegant and all-inclusive Node.Js web framework based on TypeScript. 🚀.
Stars: ✭ 1,176 (+396.2%)
Mutual labels:  orm, web-framework
Ymate Platform V2
YMP是一个非常简单、易用的轻量级Java应用开发框架,涵盖AOP、IoC、WebMVC、ORM、Validation、Plugin、Serv、Cache等特性,让开发工作像搭积木一样轻松!
Stars: ✭ 106 (-55.27%)
Mutual labels:  orm, cache
Cakephp
CakePHP: The Rapid Development Framework for PHP - Official Repository
Stars: ✭ 8,453 (+3466.67%)
Mutual labels:  orm, web-framework
Lealone
极具创新的面向微服务和 OLTP/OLAP 场景的单机与分布式关系数据库
Stars: ✭ 1,802 (+660.34%)
Mutual labels:  async, orm
Fastonosql
FastoNoSQL is a crossplatform Redis, Memcached, SSDB, LevelDB, RocksDB, UnQLite, LMDB, ForestDB, Pika, Dynomite, KeyDB GUI management tool.
Stars: ✭ 1,001 (+322.36%)
Mutual labels:  leveldb, lmdb
Before After Hook
wrap methods with before/after hooks
Stars: ✭ 49 (-79.32%)
Mutual labels:  async, events
Jupiter
jupiter是一个aio web框架,基于aiohttp。支持(restful格式、扫描注解、依赖注入、jinja2模板引擎、ORM框架)等。
Stars: ✭ 140 (-40.93%)
Mutual labels:  orm, web-framework
Elefant
Elefant, the refreshingly simple PHP CMS and web framework.
Stars: ✭ 188 (-20.68%)
Mutual labels:  orm, cache

Phalcon7(Dao7) Framework

Phalcon7 is a web framework implemented as a C extension offering high performance and lower resource consumption.

Help: https://github.com/dreamsxin/cphalcon7/wiki

Phalcon7 是什么?

Phalcon7 是继承自 Phalcon 1.3.x,开源、全功能栈、使用 C 编写、针对 PHP 7 优化的高性能框架。 开发者不需要学习和使用 C 语言的功能, 因为所有的功能都以 PHP 类的方式暴露出来,可以直接使用。 Phalcon7 源自 Phalcon 所以具备了 Phalcon 所有与生俱来的特性,是松耦合的,可以根据项目的需要任意使用其他对象。

Phalcon7 不只是为了卓越的性能, 我们的目标是让它更加健壮,拥有更加丰富的功能以及更加简单易于使用!

Phalcon7 版权申明

Phalcon7 作为 Phalcon 1.3 系列的继承者,所以版权理所当然的属于 Phalcon 官方团队所有。

Get Started

Phalcon7 is written in C with platform independence in mind. As a result, Phalcon7 is available on GNU/Linux, and Mac OS X. You can build it from sources.

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) or Xcode (Mac)

Ubuntu:

# if enable qrcode
sudo apt-get install libqrencode-dev libzbar-dev libmagickwand-dev libmagickcore-dev libpng12-dev
sudo ln -s /usr/include/ImageMagick-6/ /usr/include/ImageMagick

sudo add-apt-repository ppa:ondrej/php
sudo apt-get install php7.1-dev libpcre3-dev gcc make

# or compilation
----------------
cd php-src
 ./buildconf --force
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-fpm-user=www-data --with-fpm-group=www-data --with-pdo-pgsql --with-pdo-mysql --with-pdo-sqlite  --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --enable-zip --without-pear --with-gettext --disable-fileinfo --enable-maintainer-zts --enable-phpdbg-debug --enable-debug
make -j4
sudo make install

# class Phalcon\Async : --enable-sysvsem --enable-pcntl

Mac OS:

brew install pkg-config
brew install imagemagick
ln -s /usr/local/Cellar/imagemagick/6.9.7-0/include/ImageMagick-6/ /usr/local/Cellar/imagemagick/6.9.7-0/include/ImageMagick

brew install php70

Compilation

Follow these instructions to generate a binary extension for your platform:

git clone git://github.com/dreamsxin/cphalcon7.git
cd cphalcon7/ext
phpize

./configure

# or custom php path
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config

# or debug
./configure CFLAGS="-g3 -O0 -std=gnu90 -Wall -Werror -Wno-error=uninitialized"

make -j4
sudo make install

Other options:

./configure --enable-chart=yes --enable-qrcode=no --enable-process=yes \
--enable-intrusive=yes --enable-cache-yac=yes \
--enable-storage-btree=yes --enable-storage-wiredtiger=yes \
--enable-storage-bloomfilter=yes --enable-storage-datrie=yes \
--enable-storage-lmdb=yes --enable-storage-libmdbx=yes \
--enable-storage-leveldb=yes --enable-websocket=yes \
--enable-server=yes --enable-python=yes
make -j4
sudo make install

Add the extension to your php.ini:

extension=phalcon.so

Test:

php --ri phalcon7

cd cphalcon7
composer install
vendor/bin/phpunit unit-tests

Finally, restart the webserver.

Current Build Status

Phalcon7 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

External Links

License

Phalcon7 is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more information.

Phalcon7 is the successor to the Phalcon 1.3 series, so the copyright belongs to the Phalcon team.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].