Download the PHP package vssl/render without Composer

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

Vessel Render

Build Status Code Coverage

What

This package contains a PHP rendering agent for Vessel Pages. It includes a PSR-15 middleware implementation to easily attach to any conforming framework and will automatically consume the Vessel Pages API and render production-ready markup.

Configuration

Configuration options

The only required configuration option is an implementation of Journey\Cache\CacheAdapterInterface.

Option Description
cache Instance of Journey\Cache\CacheAdapterInterface (or null to disable)
cache_ttl Integer, number of seconds to store in cache
base_uri URI for Vessel API interaction
base_path Path to add to base_uri for versioned Vessel API interaction
required_fields Keys required for API data to be considered valid
templates Additional directory to find custom render templates

How

Attach the middleware to your favorite PSR-15 dispatcher before your router. When the request arrives in your controller methods, it will have an attribute vssl-page with content ready to be rendered.


All versions of render with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
psr/http-message Version ^1.0
psr/http-server-middleware Version ^1.0
psr/http-server-handler Version ^1.0
guzzlehttp/guzzle Version ^6.5
league/plates Version ^3.3
journey/cache Version ^1.1
guzzlehttp/psr7 Version ^1.7
guzzlehttp/promises Version ^1.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 vssl/render contains the following files

Loading the files please wait ....