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-enterprise
repository into the require section of yourcomposer.json
as follows:
"require": {
"techpivot/phalcon-enterprise": "^2.1"
}
-
Run the
composer update
orcomposer install
as 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';
-