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.

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 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:

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)

  1. Install and configure Legendary (see https://github.com/derrod/legendary#how-to-runinstall)

    • Installation on macOS:
      1. brew install python3.9
      2. pip3 install legendary-gl
    • Configuration:
      1. legendary auth
  2. Run legendary list-games to get the proper app name:

    The app name might be a 32 character hash like a0a49d82e3f64c1b81873397a6e92f09.

  3. Install the app with the given app name:

  4. 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

PHP Build Version
Package Version
Requires php Version >=7
ext-dom Version *
ext-libxml Version *
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 yogarine/crayta-stub-generator contains the following files

Loading the files please wait ....