Download the PHP package laravel-ops/connector without Composer

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

Laravel Ops Connector

A lightweight, secure connector package for Laravel applications to connect to Laravel Ops central management platform.

Overview

The connector exposes a secure API that allows Laravel Ops to:

Architecture

Security Features

Installation

Install the package through Composer:

The package is available through Packagist once its public source repository has been submitted there. For development against a local checkout, Composer can instead use a path repository in your application's composer.json.

Publish Configuration

Configure Credentials

Add to your .env file:

These credentials are provided by Laravel Ops when you register your application.

Register Service Provider

For Laravel 11+, the service provider is auto-discovered. For older versions, add to config/app.php:

Enrollment Flow

Option A: Automatic Enrollment (Recommended)

  1. In Laravel Ops, generate an enrollment token for your application
  2. Run the enrollment command:

This will:

Option B: Manual Configuration

  1. Register your application in Laravel Ops
  2. Copy the API credentials from the application detail page
  3. Add them to your .env file:

API Endpoints

Health Check

Returns application health status including:

Capability Discovery

Returns supported operations and features:

Enrollment

Enrolls the connector with Laravel Ops using a short-lived enrollment token.

Request Signing

All requests (except enrollment) must include these headers:

Signature Calculation

Configuration

Allowed Operations

Edit config/connector.php to customize allowed operations:

Security Settings

Testing the Connection

From Laravel Ops, you can test the connection:

  1. Go to your application detail page
  2. Click "Test Connection"
  3. If successful, the status will change to "Connected"

Or via CLI:

Troubleshooting

"Invalid API key" error

"Request timestamp is too old" error

"Request nonce has already been used" error

"Invalid request signature" error

Connection timeout

Security Best Practices

  1. Keep secrets secure - Never commit .env to version control
  2. Use HTTPS - Always use HTTPS in production
  3. Rotate credentials - Regenerate API keys periodically
  4. Monitor logs - Watch for authentication failures
  5. Limit operations - Only enable operations you need
  6. Revoke when needed - Use the revoke feature if a connector is compromised

Requirements

Version History

License

MIT License

Support

For issues and questions, please refer to the Laravel Ops documentation or open an issue in the main repository.


All versions of connector with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.0|^11.0
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 laravel-ops/connector contains the following files

Loading the files please wait ...