承接 cheddzy/tf2-faker 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cheddzy/tf2-faker

最新稳定版本:0.0.3

Composer 安装命令:

composer require cheddzy/tf2-faker

包简介

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

README 文档

README

Latest Version on Packagist Total Downloads

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

Installation

You can install the package via composer:

composer require cheddzy/tf2-faker --dev

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

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Test

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-13