Download the PHP package codryn/phpturntracker without Composer

On this page you can find all versions of the php package codryn/phpturntracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpturntracker

PHPTurnTracker

PHP Version PHPStan Level 10 CI Latest Stable Version

Flexible turn order tracking library for tabletop RPG combat systems

PHPTurnTracker is a zero-dependency PHP library that provides robust turn order management for tabletop RPG combat encounters. It supports all major RPG systems through configurable timeline profiles, handling everything from D&D's individual initiative to Shadowrun's pass-based combat.

Features

Requirements

Installation

Quick Start and Usage

Basic D&D-Style Combat

Dynamic Combat Management

Supported RPG Systems

System Turn Order Type Timeline Profile
D&D 5e / Pathfinder Individual initiative, round-based ROUND_INDIVIDUAL
Shadowrun 4e Pass-based with 10-point decay PASS (decay: 10)
Shadowrun 5e/6e Pass-based with 5-point decay PASS (decay: 5)
Genesys / Star Wars FFG Slot-based initiative SLOT
Marvel Heroic / Popcorn Narrative designation POPCORN
B/X D&D / OSR Side-based initiative ROUND_SIDE

Configuration Examples

D&D 5e with Dexterity Tie-Breaker

Shadowrun 4e Multi-Pass Combat

Genesys Slot-Based Initiative

Popcorn Initiative (Marvel Heroic)

OSR Side-Based Initiative

State Tracking

State Save and Restore

Save and restore complete encounter state for persistence, UI synchronization, or undo/rewind features:

The state snapshot includes:

Use cases:

Documentation

Development

See CONTRIBUTING.md for development guidelines.

Architecture

The library uses the Strategy Pattern for turn order calculation:

Performance

Quality Standards

Contributing

Contributions are welcome! See CONTRIBUTING.md for:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Changelog

See CHANGELOG.md for version history and migration guides.

Support

Credits

Created and maintained by Marco for Codryn.

Special thanks to:

Game Systems Copyright

This library implements initiative and turn order mechanics from various tabletop RPG systems for non-commercial use. All game system names, mechanics, and related intellectual property remain the property of their respective copyright holders. See GAME_SYSTEMS_COPYRIGHT.md for detailed copyright notices and attributions.


Built for the tabletop RPG community ๐ŸŽฒ


All versions of phpturntracker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codryn/phpturntracker contains the following files

Loading the files please wait ...