2017 © Pedro Peláez
 

library plantuml-encoding

PlantUML encoding functions

image

jawira/plantuml-encoding

PlantUML encoding functions

  • Tuesday, June 26, 2018
  • by jawira
  • Repository
  • 0 Watchers
  • 1 Stars
  • 181 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 13 Versions
  • 60 % Grown

The README.md

PlantUML text encoding functions

This library exposes PlantUML text encoding functions:, (*1)

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

ℹ️ Usually only encodep() is used., (*2)

Packagist Version Packagist PHP Version Support Packagist Downloads Packagist License, (*3)

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, (*4)

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

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., (*6)


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...

The Versions

26/06 2018

dev-develop

dev-develop

PlantUML encoding functions

  Sources   Download

GPLv3 GPL-3.0-or-later

The Requires

  • php ^5.3.2 || ^7.0

 

functions encoding plantuml encodep

26/03 2018

dev-master

9999999-dev

PlantUML encoding functions

  Sources   Download

GPLv3 GPL-3.0-or-later

The Requires

  • php ^5.3.2 || ^7.0

 

functions encoding plantuml encodep

26/03 2018

v1.0.5

1.0.5.0

PlantUML encoding functions

  Sources   Download

GPL-3.0-or-later

The Requires

  • php ^5.3.2 || ^7.0

 

functions encoding plantuml encodep

26/03 2018

v1.0.4

1.0.4.0

PlantUML encoding functions

  Sources   Download

GPL-3.0-or-later

The Requires

  • php ^5.4 | ^7.0

 

functions encoding plantuml encodep

21/02 2018

v1.0.3

1.0.3.0

PlantUML encoding functions

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

20/02 2018

v1.0.2

1.0.2.0

PlantUML encoding functions

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

07/01 2018

v1.0.1

1.0.1.0

PlantUML encoding functions

  Sources   Download

GPLv3

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

07/01 2018

dev-hotfix/v1.0.1

dev-hotfix/v1.0.1

PlantUML encoding functions

  Sources   Download

GPLv3

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

07/01 2018

v1.0.0

1.0.0.0

PlantUML encoding functions

  Sources   Download

GPLv3

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

07/01 2018

dev-feature/2-utf8

dev-feature/2-utf8

PlantUML encoding functions

  Sources   Download

GPLv3

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

21/12 2017

v0.1.0

0.1.0.0

PlantUML encoding functions

  Sources   Download

GPLv3

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

23/11 2017

v0.0.1

0.0.1.0

PlantUML encoding functions

  Sources   Download

GPLv3

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep

23/11 2017

v0.0.0

0.0.0.0

PlantUML encoding functions

  Sources   Download

GPLv3

The Requires

  • php >=5.6.0

 

functions encoding plantuml encodep