Download the PHP package vented/vented-laravel without Composer

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

Vented for Laravel

The official Laravel package for the Vented JSON:API. It provides generated resource clients, strict readonly DTOs, and one Artisan command for every API-key endpoint.

Requirements

Installation

Install the package with Composer:

Laravel discovers Vented\VentedServiceProvider automatically. Publish the configuration if you need to customize it:

Set the API key in your application environment:

Optional transport settings are VENTED_TIMEOUT, VENTED_CONNECT_TIMEOUT, VENTED_RETRY_TIMES, and VENTED_RETRY_DELAY_MILLISECONDS.

Usage

Inject the immutable client:

For multi-account applications, create immutable variants rather than mutating the scoped client:

Every send creates a fresh Laravel PendingRequest. Automatic retries are limited to transient failures on idempotent HTTP methods; POST and PATCH requests are never retried.

Artisan Commands

Every API-key endpoint has a generated command:

Set VENTED_COMMANDS_ENABLED=false to avoid registering the generated commands.

Octane

Vented is registered as a scoped service and is recreated for each Octane request or task. Credentials, requests, responses, and resources are never stored statically. Generated operation and command metadata use bounded class constants so workers avoid repeatedly rebuilding immutable tables, while the package version uses one bounded process-wide cache.

Errors

Missing credentials throw Vented\Exceptions\MissingApiKeyException. HTTP errors throw Vented\Exceptions\ApiException, which retains the raw Laravel response and parsed JSON:API error objects. Connection failures are normalized to Vented\Exceptions\TransportException.

Generated Code

The client, DTOs, resource methods, endpoint registry, and commands are generated from Vented's OpenAPI contract. Generation happens in Vented's private source repository; no generator, reflection helper, template, or OpenAPI document ships in this package. The generated runtime uses explicit methods and direct hydration without runtime reflection.

License

The MIT License. See LICENSE.md.


All versions of vented-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/console Version ^12.0 || ^13.0
illuminate/contracts Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
spatie/laravel-package-tools Version ^1.93
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 vented/vented-laravel contains the following files

Loading the files please wait ...