Download the PHP package ariaieboy/caprover-sdk without Composer

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

CapRover SDK for Laravel

Latest Version on Packagist Total Downloads

Caprover is a "Free and Open Source PaaS".

You can interact with Caprover Api using this package in your PHP projects.

⚠️ Read this section before you use this package

According to this section, the API of the Caprover needs to be documented.

There is no official document for the API commands at this point as it is subject to change at any point.

The line above is the exact sentence the Caprover team put in the API section of the Caprover CLI.

Because of this, we can't guarantee that this SDK will work with all versions of the Caprover.

We will test each release of Caprover-Sdk with the latest version of the Caprover, and we only guarantee that this package will work with the newest version.

The latest release is tested with v1.10.1 of the Caprover .

Installation

You can install the package via Composer:

Usage in Laravel

Publish config file and set your credentials:

This is the contents of the published config file:

You can use the .env file instead:

Using In PHP Application

Available Methods

Testing

We are using Saloon as the base for our SDK, and for testing, we are using PestPHP. To run available tests, you can run the tests using PestPHP CLI:

We use Saloon Recording Responses, and because of that, if you run the available tests, you do not need to provide any caprover server for the tests.

You can run tests on a specific caprover server by creating a .env file in your tests folder.

We have an example .env file called .env.example that you can use to create your .env file.

For testing APIs that do operations on an app, you must provide a test app name from your caprover server using the CAPROVER_TEST_APP ENV variable.

And for testing the APIs that change an app's custom domain, you must provide a domain name that points to your caprover server using the CAPROVER_TEST_DOMAIN ENV variable.

Changelog

Please see CHANGELOG for recent changes.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of caprover-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0|~8.2.0|~8.3|~8.4
illuminate/contracts Version ^10.0
sammyjo20/saloon Version ^2.0
spatie/laravel-package-tools Version ^1.15.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 ariaieboy/caprover-sdk contains the following files

Loading the files please wait ....