2017 © Pedro Peláez
 

project phalcon

A framework template made of Phalcon

image

hbyc/phalcon

A framework template made of Phalcon

  • Tuesday, February 27, 2018
  • by liluoao
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Phalcon

Packagist, (*1)

安装本库

composer create-project liluoao/phalcon

安装Phalcon

Phalcon 是使用 C 扩展编写、高性能的 PHP 框架。, (*2)

Windows用户可以在https://github.com/phalcon/cphalcon/releases 下载 .dll 文件,加入 php.ini 配置中:, (*3)

extension=php_phalcon.dll

重启你的WEB服务器后,在 phpinfo() 中看到 Phalcon 扩展,代表你安装成功。, (*4)

安装Phalcon-devtool

phalcon-devtools 是Phalcon开发者工具,可以自动生成代码,和为IDE创建Phalcon语法提示。, (*5)

git clone https://github.com/phalcon/phalcon-devtools.git

然后将目录加入系统环境变量PATH,在命令行输入:, (*6)

phalcon --help

返回如下信息,说明设置成功:, (*7)

Phalcon DevTools (3.2.12)

Help:
  Lists the commands available in Phalcon devtools

Available commands:
  info             (alias of: i)
  commands         (alias of: list, enumerate)
  controller       (alias of: create-controller)
  module           (alias of: create-module)
  model            (alias of: create-model)
  all-models       (alias of: create-all-models)
  project          (alias of: create-project)
  scaffold         (alias of: create-scaffold)
  migration        (alias of: create-migration)
  webtools         (alias of: create-webtools)
  serve            (alias of: server)
  console          (alias of: shell, psysh)

为IDE创建语法提示

进入 ~/phalcon-devtools/ide 文件夹,运行命令:, (*8)

php gen-stubs.php

它会在本文件夹中生成相应版本语法目录,在你的IDE中导入 Configure PHP Include Paths 即可。, (*9)

The Versions

27/02 2018

dev-master

9999999-dev https://github.com/huobanyangche/phalcon-framework

A framework template made of Phalcon

  Sources   Download

MIT

The Requires

 

php phalcon php-framework

27/02 2018

v1.0.0

1.0.0.0 https://github.com/huobanyangche/phalcon-framework

A framework template made of Phalcon

  Sources   Download

MIT

The Requires

 

php phalcon php-framework

27/02 2018

v1.1.0

1.1.0.0 https://github.com/huobanyangche/phalcon-framework

A framework template made of Phalcon

  Sources   Download

MIT

The Requires

 

php phalcon php-framework