PHPackages                             cspivack/faker-baseball - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cspivack/faker-baseball

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cspivack/faker-baseball
=======================

Use fakerphp/faker to generate data from the Fighting Baseball roster.

v1.0.0(4y ago)16MITPHPPHP ^7.4 || ^8.0

Since Jan 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cspivack/faker-baseball)[ Packagist](https://packagist.org/packages/cspivack/faker-baseball)[ RSS](/packages/cspivack-faker-baseball/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Faker Baseball ⚾
================

[](#faker-baseball-baseball)

[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)[![Build Status](https://github.com/cspivack/faker-baseball/actions/workflows/tests.yml/badge.svg)](https://github.com/cspivack/faker-baseball/actions/workflows/tests.yml)[![StyleCI](https://camo.githubusercontent.com/c58c991911b87a76c1e24afe8abbdac8bd02a4768bf1f56560c484dab641ecbe/68747470733a2f2f7374796c6563692e696f2f7265706f732f3433323331323634352f736869656c64)](https://styleci.io/repos/432312645)

A [Faker](https://github.com/fakerphp/faker) provider that uses the Fighting Baseball roster to generate names, teams, and positions.

Installation
------------

[](#installation)

Add the Faker Baseball library to your `composer.json` file:

```
composer require cspivack/faker-baseball

```

Usage
-----

[](#usage)

To use this provider with Faker, you must add the provider class to the Faker generator:

```
