{"id":15025681,"url":"https://github.com/dreamsxin/cphalcon7","last_synced_at":"2025-04-05T10:10:42.360Z","repository":{"id":43575800,"uuid":"47245335","full_name":"dreamsxin/cphalcon7","owner":"dreamsxin","description":"Dao7 - Web framework for PHP，QQ群 316911641 \u0026 515414530","archived":false,"fork":false,"pushed_at":"2024-07-15T06:47:02.000Z","size":60958,"stargazers_count":246,"open_issues_count":3,"forks_count":65,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-29T09:12:02.260Z","etag":null,"topics":["async","c","cache","events","leveldb","linux","lmdb","orm","php","php71","python","web-framework"],"latest_commit_sha":null,"homepage":"https://dreamsxin.github.io/phalcon7-docs/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamsxin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-02T07:44:43.000Z","updated_at":"2024-11-13T08:08:47.000Z","dependencies_parsed_at":"2024-07-15T08:03:21.481Z","dependency_job_id":"7e1100cc-f387-4922-a6a4-4c21f03c7fe5","html_url":"https://github.com/dreamsxin/cphalcon7","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsxin%2Fcphalcon7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsxin%2Fcphalcon7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsxin%2Fcphalcon7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsxin%2Fcphalcon7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamsxin","download_url":"https://codeload.github.com/dreamsxin/cphalcon7/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318745,"owners_count":20919484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","c","cache","events","leveldb","linux","lmdb","orm","php","php71","python","web-framework"],"created_at":"2024-09-24T20:02:50.383Z","updated_at":"2025-04-05T10:10:42.326Z","avatar_url":"https://github.com/dreamsxin.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Phalcon7(Dao7) Framework\n========================\n\nPhalcon7 is a web framework implemented as a C extension offering high performance and lower resource consumption.\n\nHelp: https://github.com/dreamsxin/cphalcon7/wiki\n\nPhalcon7 是什么？\n-----------------\n\nPhalcon7 是继承自 Phalcon 1.3.x，开源、全功能栈、使用 C 编写、针对 PHP 7 优化的高性能框架。\n开发者不需要学习和使用 C 语言的功能， 因为所有的功能都以 PHP 类的方式暴露出来，可以直接使用。\nPhalcon7 源自 Phalcon 所以具备了 Phalcon 所有与生俱来的特性，是松耦合的，可以根据项目的需要任意使用其他对象。\n\nPhalcon7 不只是为了卓越的性能, 我们的目标是让它更加健壮，拥有更加丰富的功能以及更加简单易于使用！\n\nPhalcon7 版权申明\n------------------\nPhalcon7 作为 Phalcon 1.3 系列的继承者，所以版权理所当然的属于 Phalcon 官方团队所有。\n\nGet Started\n-----------\n\nPhalcon7 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.\n\n### Linux/Unix/Mac\n\nOn a Unix-based platform you can easily compile and install the extension from sources.\n\n#### Requirements\nPrerequisite packages are:\n\n* PHP 7.0.x development resources\n* GCC compiler (Linux/Solaris) or Xcode (Mac)\n\nUbuntu:\n\n```bash\n# if enable qrcode\nsudo apt-get install libqrencode-dev libzbar-dev libmagickwand-dev libmagickcore-dev libpng12-dev\nsudo ln -s /usr/include/ImageMagick-6/ /usr/include/ImageMagick\n\nsudo add-apt-repository ppa:ondrej/php\nsudo apt-get install php7.1-dev libpcre3-dev gcc make\n\n# or compilation\n----------------\ncd php-src\n ./buildconf --force\n./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\nmake -j4\nsudo make install\n\n# class Phalcon\\Async : --enable-sysvsem --enable-pcntl\n```\n\nMac OS:\n\n```bash\nbrew install pkg-config\nbrew install imagemagick\nln -s /usr/local/Cellar/imagemagick/6.9.7-0/include/ImageMagick-6/ /usr/local/Cellar/imagemagick/6.9.7-0/include/ImageMagick\n\nbrew install php70\n```\n\nCompilation\n-----------\n\nFollow these instructions to generate a binary extension for your platform:\n\n```bash\ngit clone git://github.com/dreamsxin/cphalcon7.git\ncd cphalcon7/ext\nphpize\n\n./configure\n\n# or custom php path\n/usr/local/php/bin/phpize\n./configure --with-php-config=/usr/local/php/bin/php-config\n\n# or debug\n./configure CFLAGS=\"-g3 -O0 -std=gnu90 -Wall -Werror -Wno-error=uninitialized\"\n\nmake -j4\nsudo make install\n```\n\nOther options:\n```shell\n./configure --enable-chart=yes --enable-qrcode=no --enable-process=yes \\\n--enable-intrusive=yes --enable-cache-yac=yes \\\n--enable-storage-btree=yes --enable-storage-wiredtiger=yes \\\n--enable-storage-bloomfilter=yes --enable-storage-datrie=yes \\\n--enable-storage-lmdb=yes --enable-storage-libmdbx=yes \\\n--enable-storage-leveldb=yes --enable-websocket=yes \\\n--enable-server=yes --enable-python=yes\nmake -j4\nsudo make install\n```\n\nAdd the extension to your php.ini:\n\n```ini\nextension=phalcon.so\n```\n\nTest:\n\n```shell\n# 查看扩展所在目录\nphp -i |grep extension\nphp --ri phalcon7\n\ncd cphalcon7\ncomposer install\nvendor/bin/phpunit unit-tests\n```\n\nFinally, restart the webserver.\n\nCurrent Build Status\n--------------------\n\nPhalcon7 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:\n\n[![Build Status](https://secure.travis-ci.org/dreamsxin/cphalcon7.png?branch=master)](http://travis-ci.org/dreamsxin/cphalcon7)\n\nExternal Links\n--------------\n\n* [中文帮助](https://github.com/dreamsxin/cphalcon7/wiki)\n* [捐贈名單（Donation）](https://github.com/dreamsxin/cphalcon7/blob/master/DONATE.md)\n* PHP5 系列 [Phalcon 1.3](https://github.com/dreamsxin/cphalcon)\n* Zephir 系列 [Phalcon](https://github.com/phalcon/cphalcon)\n\nLicense\n-------\nPhalcon7 is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more information.\n\u003e Phalcon7 is the successor to the Phalcon 1.3 series, so the copyright belongs to the Phalcon team.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamsxin%2Fcphalcon7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamsxin%2Fcphalcon7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamsxin%2Fcphalcon7/lists"}