Download the PHP package yogarine/crayta-stub-generator without Composer
On this page you can find all versions of the php package yogarine/crayta-stub-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yogarine/crayta-stub-generator
More information about yogarine/crayta-stub-generator
Files in yogarine/crayta-stub-generator
Package crayta-stub-generator
Short Description Lua stubs for Crayta
License MIT
Homepage https://github.com/Yogarine/crayta-stub-generator
Informations about the package crayta-stub-generator
Crayta Stub Generator
Lua stub generator for the Crayta API Docs.
Crayta is a Free Game Creation Game. Go check it out here: (https://www.crayta.com)
Requirements:
- PHP 7.0 or higher (https://www.php.net/manual/en/install.php)
- Composer (https://getcomposer.org/download/)
- Legendary (https://github.com/derrod/legendary)
Installation
Add this package to your project by running
composer require yogarine/crayta-stub-generator
or install it globally using
composer global require yogarine/crayta-stub-generator
.
Usage
Run vendor/bin/create-crayta-stubs
from your project dir,
or create-crayta-stubs
if installed globally, to generate the stubs. They will
be placed in the stubs
subdirectory of the current working directory.
Development
Updating the LuaDocs xml files (using Legendary)
-
Install and configure Legendary (see https://github.com/derrod/legendary#how-to-runinstall)
- Installation on macOS:
brew install python3.9
pip3 install legendary-gl
- Configuration:
legendary auth
- Installation on macOS:
-
Run
legendary list-games
to get the properapp name
:The
app name
might be a 32 character hash likea0a49d82e3f64c1b81873397a6e92f09
. -
Install the app with the given app name:
- Copy over de LuaDocs.
Disclaimer
This project isn't officially affiliated with Crayta, nor it's developer, Unit 2 Games, in any way. Crayta is a registered trademark and the Crayta stubs and the documentation it includes are Copyrighted by Unit 2 Games. The stubs may be distributed for the promotion of Crayta only, as per Unit 2 Games' Terms of Service.
All versions of crayta-stub-generator with dependencies
ext-dom Version *
ext-libxml Version *