https://github.com/atomicptr/php-dauntless-builder-sdk
PHP Library for interacting with Dauntless Builder
https://github.com/atomicptr/php-dauntless-builder-sdk
dauntless dauntless-builder php
Last synced: 18 days ago
JSON representation
PHP Library for interacting with Dauntless Builder
- Host: GitHub
- URL: https://github.com/atomicptr/php-dauntless-builder-sdk
- Owner: atomicptr
- License: mit
- Archived: true
- Created: 2024-11-17T11:40:11.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-17T13:27:10.000Z (about 1 year ago)
- Last Synced: 2025-10-19T20:42:30.646Z (3 months ago)
- Topics: dauntless, dauntless-builder, php
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dauntless Builder SDK (PHP)
Library for interacting with [Dauntless Builder](https://www.dauntless-builder.com).
**Note**: This is for Dauntless Builder v3+ (Dauntless: Awakened+)
## Features
- Parse Dauntless Builder build ids
- Create new Dauntless Builder build ids
- (SOON) Fetch data from Dauntless Builder
## Usage
```php
hasError()) {
$build->panic(); // throw an exception if something went wrong
}
// get the actual build value
$build = $build->value();
// get weapon 1 id?
$weaponId = $build->weapon1->id;
// change level of head to 20 (max)
$build->head->level = 20;
// do more stuff...
// and serialize it again...
$newBuildId = $build->serialize();
// create a new build url
$url = "https://www.dauntless-builder.com/b/$newBuildId";
```
## Versioning
This project is **NOT** using semver but instead the parts are made out of:
- Dauntless Builder Version (Currently: 3)
- Build Version (Currently: 10)
- Incremental Version (increases with changes to this library)
Breaking changes can occur with changes to the build version usually.
## License
MIT