定制 cylab/php-bibtex 二次开发

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

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

cylab/php-bibtex

最新稳定版本:1.6.0

Composer 安装命令:

composer require cylab/php-bibtex

包简介

README 文档

README

pipeline status coverage report

A small PHP lirary for writing bibtex programatically.

Installation

composer require cylab/php-bibtex

Usage

require "vendor/autoload.php";

use Cylab\Bibtex\Article;

$a = new Article();
$a->setTitle("The title of the work")
    ->setAuthor("Thibault Debatty")
    ->setJournal("The name of the journal")
    ->setYear(1993)
    ->setMonth(7)
    ->setVolume(4)
    ->setNote("An optional note")
    ->setNumber(2)
    ->setPages("201-213");

echo $a;

Will produce:

@article{thibault-debatty-1993-i6eVEd,
  author = {Thibault Debatty},
  title = {The title of the work},
  journal = {The name of the journal},
  year = 1993,
  volume = 4,
  number = 2,
  pages = {201-213},
  month = 7,
  note = {An optional note}
}

统计信息

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

GitHub 信息

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

其他信息

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