Download the PHP package sikofitt/generate-mac without Composer
On this page you can find all versions of the php package sikofitt/generate-mac. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sikofitt/generate-mac
More information about sikofitt/generate-mac
Files in sikofitt/generate-mac
Download sikofitt/generate-mac
More information about sikofitt/generate-mac
Files in sikofitt/generate-mac
Vendor sikofitt
Package generate-mac
Short Description Generates dummy mac addresses
License GPL-3.0-only
Package generate-mac
Short Description Generates dummy mac addresses
License GPL-3.0-only
Please rate this library. Is it a good library?
Informations about the package generate-mac
sikofitt/generate-mac
Small library to generate unique private mac addresses
Install
Requires PHP v8.0, For versions compatible with PHP >= 7.3 use the 0.x branch.
Usage
If you don't care that it is unique you can remove the check for private mac prefixes.
Generate multiple mac addresses
Using the console component
The console script requires symfony/console
- --count Generate {count} mac addresses
- --output Output in selected format
- string: (default) Outputs the mac address(es) with formatting
- plain: Outputs the mac address(es) with no formatting
- json: Output the mac address(es) in json format
- --separator Outputs with the selected operator
- colon: ':' (default)
- dash: '-'
- none: ''
See bin/generate-mac --help
Test
License
GPL-3.0
All versions of generate-mac with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-json Version *
ext-sodium Version *
ext-json Version *
ext-sodium Version *
The package sikofitt/generate-mac contains the following files
Loading the files please wait ....