Download the PHP package zwei/base without Composer
On this page you can find all versions of the php package zwei/base. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor zwei
Package base
Short Description The Zwei Base package.
License MIT
Homepage https://github.com/qq1060656096/base
Package base
Short Description The Zwei Base package.
License MIT
Homepage https://github.com/qq1060656096/base
Please rate this library. Is it a good library?
Informations about the package base
base包
doctrine2 数据操作 读取配置
1 安装(Install)
- 通过Composer安装
创建composer.json文件,并写入以下内容:
执行composer install
- 在项目目录创建config/bao-loan.yml文件,添加一下内容
使用示例(use)
- 例如项目目录在"E:\web\php7\test"
- 创建index.php,并加入以下内容
单元测试使用
--bootstrap 在测试前先运行一个 "bootstrap" PHP 文件
- --bootstrap引导测试: phpunit --bootstrap tests/TestInit.php tests/
D:\phpStudy\php\php-7.1.13-nts\php.exe D:\phpStudy\php\php-5.6.27-nts\composer.phar update
D:\phpStudy\php\php-7.1.13-nts\php.exe vendor\phpunit\phpunit\phpunit --bootstrap tests/TestInit.php tests/
All versions of base with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
doctrine/dbal Version ^v2.5.13
symfony/yaml Version v3.4.6
zwei/composer-vendor-directory Version 1.0.0
doctrine/dbal Version ^v2.5.13
symfony/yaml Version v3.4.6
zwei/composer-vendor-directory Version 1.0.0
The package zwei/base contains the following files
Loading the files please wait ....