承接 liberu-genealogy/php-dna 相关项目开发

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

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

liberu-genealogy/php-dna

最新稳定版本:v4.0.0

Composer 安装命令:

composer require liberu-genealogy/php-dna

包简介

DNA analysis toolkit for PHP 8.3+

README 文档

README

Tests

Running MatchKits from the Command Line

To run the MatchKits script from the command line, navigate to the root directory of the php-dna project.

Ensure you have PHP installed on your system. You can check this by running php -v in your command line. If PHP is not installed, please install it from the official PHP website.

Execute the script by running the following command: php src/MatchKits.php.

The script will prompt you to enter the file paths for Kit 1 and Kit 2. Please enter the full path for each file when prompted.

After entering the file paths, the script will process the data and generate a matched data visualization. The output file named 'matched_data.png' will be saved in the root directory.

Requirements

  • php-dna 1.0+ requires PHP 8.3 (or later).
  • php-dna 2.0+ requires PHP 8.4 (or later).

Installation

There are two ways of installing php-dna.

Composer

To install php-dna in your project using composer, simply add the following require line to your project's composer.json file:

{
    "require": {
        "liberu-genealogy/php-dna": "1.0.*"
    }
}

Download and __autoload

If you are not using composer, you can download an archive of the source from GitHub and extract it into your project. You'll need to setup an autoloader for the files, unless you go through the painstaking process if requiring all the needed files one-by-one. Something like the following should suffice:

spl_autoload_register(function ($class) {
    $pathToDna = __DIR__ . '/library/'; // TODO FIXME

    if (!substr(ltrim($class, '\\'), 0, 7) == 'Dna\\') {
        return;
    }

    $class = str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
    if (file_exists($pathToDna . $class)) {
        require_once($pathToDna . $class);
    }
});

统计信息

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

GitHub 信息

  • Stars: 34
  • Watchers: 3
  • Forks: 23
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固