Download the PHP package ufo-tech/rest-bundle without Composer

On this page you can find all versions of the php package ufo-tech/rest-bundle. 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 rest-bundle

🚀 RpcMercureTransport

Ukraine

REST bundle for building RESTful services in the UFO-Tech ecosystem

Provides infrastructure for building REST APIs with a unified routing model, access control, and integration across UFO-Tech services.


🧬 Idea

This is an extension for JSON-RPC-BUNDLE that allows exposing a REST API based on the existing RPC infrastructure without additional configuration.

It enables fast deployment of an API layer only for the methods that must be available in the public API.


License Size package_version fork

Environment Requirements

php_version ufo-tech/rpc-bundle

⚙️ Installation


🚦 Quick Start

After installation, the adapter automatically registers a single REST entry point that proxies requests to RPC methods.

By default, the following endpoint is used:

where {path} is the RPC route (service/method).


📡 Request Example

RPC method:

REST request:

POST request with parameters:


⚙️ How it works

The adapter:

No additional configuration is required. It is enough to add the #[Route] attribute to RPC services that must be available via the REST endpoint.


🔐 Public API

To expose methods in the public REST layer, the standard JsonRpcBundle access configuration is used, therefore the access control fully mirrors the RPC layer.

🦠 License

MIT © UFO-Tech


All versions of rest-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
symfony/event-dispatcher Version ^7.2
ufo-tech/packages Version ^1
ufo-tech/json-rpc-bundle Version ^10.0
cebe/php-openapi Version ^1.8
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 ufo-tech/rest-bundle contains the following files

Loading the files please wait ...