cphalcon README

The project's README from github.com/phalcon/cphalcon. As one markdown file: README.md.

Phalcon Framework

Latest Version PHP Version Total Downloads License

Phalcon 5.x CI Quality Gate (phalcon) Coverage (phalcon)

Discord Contributors Phalcon Backers OpenCollective Backers OpenCollective Sponsors

5.0 Pull Requests 5.0 Issues

Phalcon is an open-source web framework delivered as a C extension for PHP, providing high performance and lower resource consumption.

A big thank you to our Backers; you rock!

Getting Started

Phalcon is written in Zephir/C with platform independence in mind. As a result, Phalcon is available on Microsoft Windows, GNU/Linux, FreeBSD and macOS. You can either download a binary package for the system of your choice or build it from source.

Installation

PIE is the modern PHP extension installer:

pie install phalcon/cphalcon

Using PECL

[!IMPORTANT] PECL has been deprecated, so users should switch to installing Phalcon with PIE. We will keep releasing on PECL until PECL is retired or v5.x reaches its end of life.

pecl install phalcon

From source

For detailed installation instructions you can check our installation page in the docs.

Generating API Documentation

Generating new documentation files for docs repository can be done using the script in bin/generate-api-docs.php. Steps:

General

Support

Social Media

Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

OpenCollective Sponsors

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

OpenCollective Backers

License

Phalcon is open-source software licensed under the BSD 3-Clause License.

Copyright © 2011-present, Phalcon Team.

See the LICENSE.txt file for details. Additional licenses of packages that Phalcon uses, is inspired by, or has adapted are located in the 3rdparty/licenses directory.

cphalcon (phalcon/cphalcon)

Searching Database…

10.8K ·GitHub
这是什么?Phalcon 是一个面向 PHP 的开源 Web 框架,它以 C 扩展的形式提供,而不是纯 PHP 文件,因此性能高、资源占用低。
这是普通的 PHP 库,还是比较特殊的东西?它是一个 C 扩展,需要编译后加载到 PHP 解释器中(使用 Zephir/C 编写),而不是只能通过 Composer 安装的 PHP 包,这正是它速度优势的来源。
安装之前,我的系统需要准备什么?你需要在 Windows、GNU/Linux、FreeBSD 或 macOS 上安装兼容的 PHP(如果从源码编译,还需要 C 编译工具链)。
安装时有什么需要注意的坑吗?PECL 安装方式已被弃用,因此新用户应改用 PIE 安装,PECL 的支持只会持续到其生命周期结束。
它实际能在哪些操作系统上运行?Phalcon 为 Windows、Linux、FreeBSD 和 macOS 提供预编译的二进制文件和构建版本。
我可以用纯 PHP 编写的插件来扩展 Phalcon 吗?可以,社区维护的 Incubator 仓库中有用 PHP 编写的插件和类,用于扩展这个 C 扩展框架。
文档网站的 API 文档是如何生成的?对检出的标签运行 bin/generate-api-docs.php 脚本,会生成 Markdown 文件,然后发布到 Phalcon 网站仓库。
What are similar projects?phpredis, fastify, webserver, yii2, Tars, fiber, homebrew-cask, go-zero
Creator
phalcon
Size
277.9 MB
Stars
10.8K
Age
14y
Commits · 90 Days