Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morilog/bijective-shortener-cli
An CLI Application for Bijectiive Shortener based on longening the base of the given number
https://github.com/morilog/bijective-shortener-cli
application bijective cli console php shortener
Last synced: 10 days ago
JSON representation
An CLI Application for Bijectiive Shortener based on longening the base of the given number
- Host: GitHub
- URL: https://github.com/morilog/bijective-shortener-cli
- Owner: morilog
- Created: 2018-11-20T14:51:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T13:41:13.000Z (almost 6 years ago)
- Last Synced: 2024-11-25T03:13:05.829Z (28 days ago)
- Topics: application, bijective, cli, console, php, shortener
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bijective Shortener CLI
### Installation
```
composer global require morilog/bijective-shortener-cli
```### Usage
#### Encode integer number
```
// With default characters set$ bshort 200
// output: AF// With custom characters set
$ bshort 200 --set-chars=abcdefg
// output: eae
```
#### Decode encoded number
```
// With default characters set$ bshort AF --decode
// output: 200// With custom characters set
$ bshort eae --decode --set-chars=abcdefg
// output: 200
```For more information about Bijective shortener functionality, please see [Reshadman/Php-Bijective-Shortener](https://github.com/reshadman/php-bijective-shortener)