draeli / mysql-bundle
MySQL 工具
1.0.28
2020-02-11 09:08 UTC
Requires
- php: ^7.2
- sonata-project/exporter: ^2.0
- symfony/filesystem: ~4.1
- symfony/framework-bundle: ~4.1
- symfony/orm-pack: ~1.0
Requires (Dev)
- phpunit/phpunit: ^4.8.35|^5.7.11|^6.5
- symfony/console: ^2.8 || ^3.0 || ^4.0
- symfony/phpunit-bridge: ^2.8 || ^3.0 || ^4.0
This package is auto-updated.
Last update: 2024-09-11 19:15:11 UTC
README
设计用于在KISS精神下简化使用MySQL进行DBAL操作。
先决条件 :
- Symfony 4.4或更高版本
- PHP 7.2或更高版本
- Composer
安装
使用Composer进行安装(参看https://getcomposer.org.cn/doc/00-intro.md)
步骤 1
使用以下命令下载并安装组件
$ composer require "draeli/mysql-bundle"
步骤 2
如果你使用了Flex,你不需要进行更多操作 \o/ 如果你没有使用Flex,你需要打开文件 config/bundles.php
并在配置表末尾添加以下行
Draeli\Mysql\DraeliMysqlBundle::class => ['all' => true],