alathazal / starforged-data
A fan-made composer package providing base game data for the Ironsworn: Stargforged tabletop roleplaying game.
Requires
None
Requires (Dev)
- opis/json-schema: ^2.6
- pestphp/pest: ^5.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-22 17:02:17 UTC
README
Usage
To install the starforged-data package using composer, run the following at the command line in your project folder.
composer require alathazal/starforged-data
You can get the paths to the data files using the getDataPath() method, used in conjuction with the DataTypes enumerator to select which data file you're looking for:
use Alathazal\StarforgedData\StarforgedData; use Alathazal\StarforgedData\DataTypes; $starforgedData = new StarforgedData(); $data_path = $starforged->getDataPath(DataTypes::TRUTHS);
The DataTypes enumerator supports the following options:
DataTypes::ASSETSDataTypes::ASSET_TYPESDataTypes::ENCOUNTERSDataTypes::MOVESDataTypes::MOVE_CATEGORIESDataTypes::ORACLESDataTypes::TRUTHS
License
This work is based on Ironsworn: Starforged, created by Shawn Tomkin, and licensed for our use under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license (https://spdx.org/licenses/CC-BY-NC-SA-4.0.html). For specific licensing information regarding the bundled images, please refer to the LICENSE.md for details.
Thanks and Attribution
The starforged-data composer package was based off the rsek/dataforged node package, to provide the same game resources for PHP projects. Even though the data files have been reorganised, a huge thanks has to be given to rsek for all their hard work creating the original repository.