承接 yaroslavche/bitmasktype 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yaroslavche/bitmasktype

最新稳定版本:0.0.1

Composer 安装命令:

composer require yaroslavche/bitmasktype

包简介

BitMaskType

README 文档

README

Build Status codecov

BitMaskType

BitMask Doctrine Type

Getting Started

For using Doctrine mapping type as bitmask need to register type. See example in Doctrine documentation

For Symfony need only add custom type in Doctrine config:

# config/packages/doctrine.yaml

doctrine:
    dbal:
        types:
            bitmask: BitMask\Doctrine\Types\BitMaskType

Usage example

Installing

Install package via composer

composer require yaroslavche/bitmasktype

Scripts:

Tests

PHPUnit

$ composer phpunit
$ ./vendor/bin/phpunit

Infection (src without mutable code, so infection is disabled)

$ composer infection
$ ./vendor/bin/infection --min-msi=50 --min-covered-msi=70

PHPStan

$ composer phpstan
$ ./vendor/bin/phpstan analyse src/ -c phpstan.neon --level=7 --no-progress -vvv --memory-limit=1024M

PHP-CS

$ composer cscheck
$ ./vendor/bin/phpcs
$ composer csfix
$ ./vendor/bin/phpcbf

Contributing

Feel free to fork or contribute =)

License

This project is licensed under the MIT License - see the LICENSE file for details

统计信息

  • 总下载量: 8.54k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-06