techpivot/phalcon-enterprise is a set of tools, plugins, and components that provide extended enterprise functionality for the Phalcon PHP framework.
- Add the
techpivot/phalcon-enterpriserepository into the require section of yourcomposer.jsonas follows:
"require": {
"techpivot/phalcon-enterprise": "^2.1"
}-
Run the
composer updateorcomposer installas necessary for your project. -
Include in your project loader using Composer autoloading or Phalcon's autoloader:
-
Phalcon Autoloader
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 Autoloader
require_once 'vendor/autoload.php';
-