friartuck6000/doctrine-wp-bundle
Composer 安装命令:
composer require friartuck6000/doctrine-wp-bundle
包简介
A Symfony bundle for handling WordPress data with Doctrine
README 文档
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: ~ # ...
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-31