litlife/id-dirname

There is no license information available for the latest version (0.0.1) of this package.

Id to Dirname package

0.0.1 2022-02-20 15:48 UTC

This package is auto-updated.

Last update: 2024-05-21 19:35:06 UTC


README

This package is for create a folder path by ID

Installation

Use the package manager composer to install.

composer require litlife/id-dirname

Usage

Generate a payment URL

In this example, you can see how to generate a link that the user can click to make a payment

use Litlife\IdDirname\IdDirname;

$id = 12345678;

$class = new IdDirname($id);
print_r($class->splitToArray());

Output:

[12, 345, 678]

Testing

composer test

License

MIT