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
Requires
- php: ^7.3|^8.0
- ext-bcmath: *
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2025-02-21 21:19:53 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