2017 © Pedro Peláez
 

library mac-address

List all mac-address of the current system

image

macfly/mac-address

List all mac-address of the current system

  • Wednesday, February 1, 2017
  • by Macfly
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

mac-address

List ethernet mac address on a system (linux or windows)., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist "macfly/mac-address" "*"

or add, (*4)

"macfly/mac-address": "*"

to the require section of your composer.json file., (*5)

Usage

<?php
require 'vendor/autoload.php';


print_r(Mac\Address::get());


Output:, (*6)

Array
(
    [docker0] => xx:xx:xx:xx:xx:xx
    [eno1] => xx:xx:xx:xx:xx:xx
    [vboxnet0] => xx:xx:xx:xx:xx:xx
    [virbr0] => xx:xx:xx:xx:xx:xx
    [wlp2s0] => xx:xx:xx:xx:xx:xx
)

The Versions

01/02 2017

dev-master

9999999-dev

List all mac-address of the current system

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

by Charles DELFLY

windows linux mac-address

01/02 2017

0.0.1

0.0.1.0

List all mac-address of the current system

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

by Charles DELFLY

windows linux mac-address