PHPackages                             cheddzy/tf2-faker - 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. cheddzy/tf2-faker

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

cheddzy/tf2-faker
=================

Team Fortress 2 Weapon Faker, made with Laravel Factories in mind.

0.0.3(1y ago)13MITPHPPHP ^8.2

Since Dec 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cheddZy/tf2-faker)[ Packagist](https://packagist.org/packages/cheddzy/tf2-faker)[ Docs](https://github.com/cheddzy/tf2-faker)[ RSS](/packages/cheddzy-tf2-faker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (0)

This is my package tf2-faker
============================

[](#this-is-my-package-tf2-faker)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9bd2b168d228ae21273435a5ce8979b111808aee2841f4238d4d9e9d853741f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63686564647a792f7466322d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cheddzy/tf2-faker)[![Total Downloads](https://camo.githubusercontent.com/8eee72a0cc8201dc48ec4c71f0d3e0eb142ad619da1e1cddc62130a0aced966a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63686564647a792f7466322d66616b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cheddzy/tf2-faker)

Package that helps you return random Team Fortress 2 names of weapons in factories.

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

[](#installation)

You can install the package via composer:

```
composer require cheddzy/tf2-faker --dev
```

Usage
-----

[](#usage)

Provided for each TF2 class is a method to return a random weapon string in a factory:

```
$this->faker->scoutWeapon();
```

You can also specify a class and class + slot:

```
$this->faker->classWeapon('heavy');
$this->faker->classWeaponSlot('engineer', 'pda');
```

As well as for specific slots per class:

```
$this->faker->spyPrimary();
$this->faker->spyMelee();
$this->faker->spyPDA();
$this->faker->spyWatch();
$this->faker->spySapper();
```

These exist for all 9 classes.

**NOTE:** Keep in mind spy is the only one with a Watch and Sapper slot, and Engineer and Spy are the only ones with a PDA slot!

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Shachar MW](https://github.com/cheddZy)
- [Moonly Days](https://github.com/moonlydays)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Test

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance40

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

512d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5be3463723baffabba42977590ae4873d3c4c30ea7eef301404b4992e3211e90?d=identicon)[cheddZy](/maintainers/cheddZy)

---

Top Contributors

[![cheddZy](https://avatars.githubusercontent.com/u/53349272?v=4)](https://github.com/cheddZy "cheddZy (9 commits)")

---

Tags

laraveltf2-fakercheddZy

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/cheddzy-tf2-faker/health.svg)

```
[![Health](https://phpackages.com/badges/cheddzy-tf2-faker/health.svg)](https://phpackages.com/packages/cheddzy-tf2-faker)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M626](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
