asgoodasnu / base-bundle
Bundle to provide several base classes
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 831
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 24
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: ~1.2
- friendsofsymfony/rest-bundle: >=1.4
- jms/serializer-bundle: ~0.13
- sensio/framework-extra-bundle: ~3.0
- symfony/framework-bundle: ~2.6
Requires (Dev)
- phpunit/phpunit: ~4.5
- symfony/browser-kit: ~2.6
- symfony/finder: ~2.6
- symfony/http-kernel: ~2.6
- symfony/validator: ~2.6
This package is not auto-updated.
Last update: 2019-11-18 23:03:05 UTC
README
Installation
Install via composer:
composer.phar require asgoodasnu/base-bundle
Register your bundle in the AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Wk\BaseBundle\WkBaseBundle(),
// ...
);
return $bundles;
}
Configuration
Add persistance service for MongoDB:
services:
wk_base.abstract:
class: Wk\BaseBundle\Services\PersistenceService
abstract: true
arguments: ['@doctrine_mongodb.odm.document_manager']
calls:
- [setLogger, ["@logger"]]