Skip to content

Barcode#

ean13#

Generate a random EAN-13 barcode.

echo $faker->ean13();

// '5803352818140', '4142935337533'

ean8#

Generate a random EAN-8 barcode.

echo $faker->ean8();

// '30272446', '00484527'

isbn10#

Generate a random ISBN-10 compliant string.

echo $faker->isbn10();

// '4250151735', '8395066937'

isbn13#

Generate a random ISBN-13 compliant string.

echo $faker->isbn13();

// '9786881116078', '9785625528412'