Download the PHP package jeyroik/extas-jsonrpc without Composer

On this page you can find all versions of the php package jeyroik/extas-jsonrpc. 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 extas-jsonrpc

tests codecov.io PHPStan Enabled Extas Installer v3

Description

Extas-compatible JSON RPC server.

install operations

install jsonrpc plugin and default operation

# vendor/bin/extas i

usage out of the box

start server

# php -S 0.0.0.0:8080 -t src/public

make request

# curl -X POST localhost:8080/api/jsonrpc -d '{"id": "request id", "method":"operation.index"}'

spec generation

This package allows generating specs upon to InstallSection-plugins, extended from extas\components\plugins\intsall\InstallSection.

This package allows generating specs upon to InitSection-plugins, extended from extas\components\plugins\init\InitSection.

* - you can reset this prefix (see below).

There is extas-command for spec generation. Command is ready-to-extending, so you can add your own options, using extas-commands-options-notation. See extas.json of the current package for examples.

install command

generate specs

# vendor/bin/extas jsonrpc --export-path generated.extas.json

This will generate extas-compatible configuration in ready-to-install format.

So you can install specs by

# vendor/bin/extas i

--export-path

Define path to store generated specs.

CWD - Current Working Directory.

--prefix-jsonrpc-install

Allow setting prefix for plugins searching by install section crawler.

--path-jsonrpc-install

Allow setting path for searching plugins by install section crawler.

--prefix-jsonrpc-doc-comment

Allow setting prefix for classes searching by doc-comment crawler.

--path-jsonrpc-doc-comment

Allow setting path for searching classes by doc comment crawler.

-f --filter

Allow filtering operations names.

-e --only-edge

Sometimes you want to make entity name shorter and use only last word of plugin name.

You can do this with the option -e:

For example, we have plugin name workflow schema.

specs examples

You can find them here:

injection into json-rpc process

Current package provide next stages to allow you to inject into the json-rpc process:

Generators

Package use extas-generators package for getting generators.

You should turn generators on if you want to use one.

You can find ready-to-config default generators configuration in resources/generators.json. Just copy-paste them into your extas.json.

Crawlers

Package use extas-crawlers package for getting crawlers.

You should turn crawlers on if you want to use one.

You can find ready-to-config default crawlers configuration in resources/crawlers.json. Just copy-paste them into your extas.json.


All versions of extas-jsonrpc with dependencies

PHP Build Version
Package Version
Requires slim/slim Version ^4.5
slim/psr7 Version ^1.1
jeyroik/extas-http Version 0.*
jeyroik/extas-repositories-get Version 0.*
jeyroik/extas-conditions Version 0.*
jeyroik/extas-crawlers Version 0.*
jeyroik/extas-console Version 0.*
jeyroik/extas-operations-jsonrpc Version 0.*
jeyroik/extas-generators-jsonrpc Version 0.*
symfony/console Version 5.*
symfony/finder Version 5.*
vlucas/phpdotenv Version ^3.4
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 jeyroik/extas-jsonrpc contains the following files

Loading the files please wait ....