phlexible / node-connection-bundle
phlexible node connection bundle
Installs: 74
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.6.0
- phlexible/element-bundle: ~1.3
- phlexible/gui-bundle: ~1.3
- phlexible/tree-bundle: ~1.3
Requires (Dev)
- phpunit/phpunit: ~5.7
- symfony/config: ~2.8
- symfony/dependency-injection: ~2.8
- symfony/event-dispatcher: ~2.8
- symfony/http-kernel: ~2.8
This package is auto-updated.
Last update: 2024-10-08 08:18:33 UTC
README
The PhlexibleNodeConnectionBundle adds support inter-node-connection in phlexible.
Installation
- Download PhlexibleNodeConnectionBundle using composer
- Enable the Bundle
- Clear the symfony cache
Step 1: Download PhlexibleNodeConnectionBundle using composer
Add PhlexibleNodeConnectionBundle by running the command:
$ php composer.phar require phlexible/node-connection-bundle "~1.0.0"
Composer will install the bundle to your project's vendor/phlexible
directory.
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Phlexible\Bundle\NodeConnectionBundle\PhlexibleNodeConnectionBundle(), ); }
Step 3: Update your database schema
Now that the bundle is set up, the last thing you need to do is update your database schema because the node connection bundle includes entities that need to be installed in your database.
For ORM run the following command.
$ php app/console doctrine:schema:update --force
Step 4: Clear the symfony cache
If you access your phlexible application with environment prod, clear the cache:
$ php app/console cache:clear --env=prod