techpivot/phalcon-enterprise

为Phalcon PHP框架提供扩展的企业功能。

2.1.5 2018-02-06 04:20 UTC

This package is auto-updated.

Last update: 2024-09-08 09:29:58 UTC


README

Scrutinizer Latest Version Total Downloads Software License

techpivot/phalcon-enterprise 是一套工具、插件和组件,为Phalcon PHP框架提供扩展的企业功能。

通过Composer安装

  1. techpivot/phalcon-enterprise 仓库添加到您的 composer.json 文件的 require 部分,如下所示
"require": {
    "techpivot/phalcon-enterprise": "^2.1"
}
  1. 根据项目需要运行 composer updatecomposer install

  2. 使用Composer自动加载或Phalcon的自动加载器将它们包含到您的项目加载器中

    • Phalcon自动加载器

      use Phalcon\Loader;
      
      $loader = new Loader();
      $loader->registerNamespaces([
          // Your custom namespaces ...
      
          // Include TechPivot\Phalcon\Enterprise
          'TechPivot\Phalcon\Enterprise' => 'vendor/techpivot/phalcon-enterprise/src',
      ]);
      $loader->register();
    • Composer自动加载器

      require_once 'vendor/autoload.php';

插件、适配器和扩展

分发插件

AjaxRouteHandler

CamelizeActionName

IndexRedirector

NotFoundHandler

参考资料