承接 jawira/plantuml-encoding 相关项目开发

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

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

jawira/plantuml-encoding

最新稳定版本:v1.1.1

Composer 安装命令:

composer require jawira/plantuml-encoding

包简介

PlantUML encoding functions

README 文档

README

This library exposes PlantUML text encoding functions:

  • encodep()
  • encode6bit()
  • append3bytes()
  • encode64()

ℹ️ Usually only encodep() is used.

Packagist Version Packagist PHP Version Support Packagist Downloads Packagist License

Usage

<?php
use function Jawira\PlantUml\encodep;

$diagram = <<<TXT
@startuml
Bob -> Alice : hello
@enduml
TXT;

$encode = encodep($diagram); // SyfFKj2rKt3CoKnELR1Io4ZDoSa70000

echo "https://www.plantuml.com/plantuml/uml/$encode";

Output: https://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000

⚠️ Since v1.0.0, encodep() function expects to receive an UTF-8 string.

Install

$ composer require jawira/plantuml-encoding

Contributing

  • If you liked this project, ⭐ star it on GitHub. GitHub Repo stars
  • Or follow me on Twitter. Twitter Follow

Credits

These functions are a copy/paste from http://plantuml.com/code-php.

Packages from jawira

jawira/plantuml GitHub stars
Provides PlantUML executable and plantuml.jar
jawira/case-converter GitHub stars
Convert strings between 13 naming conventions: Snake case, Camel case, Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Sentence case, Title case and Dot notation.
jawira/emoji-catalog GitHub stars
Get access to +3000 emojis as class constants.
more...

统计信息

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

GitHub 信息

  • Stars: 19
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-23