friartuck6000 / doctrine-wp-bundle
A Symfony bundle for handling WordPress data with Doctrine
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/friartuck6000/doctrine-wp-bundle
Requires
- php: >=5.5
- friartuck6000/phpass: ^0.3
- rikbruil/doctrine-specification: ^1.0
Requires (Dev)
- symfony/symfony: ^2.8|^3.0
This package is not auto-updated.
Last update: 2025-10-26 01:11:54 UTC
README
A Symfony bundle for handling WordPress data with Doctrine.
Requirements
- PHP 5.5+
- Symfony 2.8+
Installation
- 
Install with Composer: composer install friartuck6000/doctrine-wp-bundle
- 
Register the bundle in your AppKernel.php:// ... class AppKernel extends Kernel { public function registerBundles() { $bundles = [ // ... new Ft6k\Bundle\WpDoctrineBundle\WpDoctrineBundle(), // ... ]; return $bundles; } } 
- 
Update your config.yml:# app/config/config.yml # Bundle configuration wp_doctrine: table_prefix: 'wp_' # Doctrine mapping configuration doctrine: # ... orm: # ... entity_managers: # some_em: mappings: WpDoctrineBundle: ~ # ...