定制 drupol/belgian-national-number-faker 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

drupol/belgian-national-number-faker

Composer 安装命令:

composer require drupol/belgian-national-number-faker

包简介

Belgian national number faker generator using fzaninotto/faker.

README 文档

README

Latest Stable Version GitHub stars Total Downloads GitHub Workflow Status Scrutinizer code quality Code Coverage Mutation testing badge License Say Thanks! Donate!

Belgian national number faker

Description

Belgian national number generator using fzaninotto/faker.

Requirements

  • PHP >= 7.1

Installation

composer require --dev drupol/belgian-national-number-faker

Usage

With regular PHP

<?php

declare(strict_types = 1);

include 'vendor/autoload.php';

use drupol\BelgianNationalNumberFaker\Provider\BelgianNationalNumber;
use Faker\Generator;

$faker = new BelgianNationalNumber(new Generator());

echo $faker->belgianNationalIdentificationNumber();

Integration with Symfony

Through nelmio/alice and hautelook/alice-bundle:

Edit the file services.yml and add:

services:
  drupol\BelgianNationalNumberFaker\Provider\BelgianNationalNumber:
    tags: [ { name: nelmio_alice.faker.provider } ]

Code quality, tests and benchmarks

Every time changes are introduced into the library, Github run the tests and the benchmarks.

The library has tests written with PHPSpec. Feel free to check them out in the spec directory. Run composer phpspec to trigger the tests.

Before each commit some inspections are executed with GrumPHP, run ./vendor/bin/grumphp run to check manually.

Contributing

Feel free to contribute to this library by sending Github pull requests. I'm quite reactive :-)

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固