Download the PHP package ftuzlu/forge-api without Composer

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

Laravel Forge API Client

This is a PHP client library for interacting with the Laravel Forge API. It provides a convenient way to manage various aspects of your Laravel Forge server, such as backups, credentials, databases, deployments, firewall rules, Git configurations, monitoring, MySQL databases, MySQL users, Nginx templates, and more.

Installation

Install this package via Composer:

Usage

Initialize the Forge Client

Replace YOUR_BEARER_TOKEN with your actual Forge API Bearer Token.

User

The User class provides a method to retrieve details about the authenticated user. You can use it to obtain information such as user account details, subscription status, or any other relevant user-specific information.

Server

Service

The Service class is designed to handle HTTP requests to the Forge API. It extends the ServiceAbstract class, which provides a basic structure for handling API requests.

Service Class

Constructor

Firewall

ScheduledJob

The ScheduledJob class provides methods to manage scheduled jobs on a Forge server.

Constructor

PHP

The PHP class provides methods to manage PHP configurations on a Forge server.

Constructor

Database

MySQL Database

The MysqlDatabase class provides methods to manage MySQL databases on a Forge server.

Constructor

MySQL Database User

The MysqlDatabaseUser class provides methods to manage MySQL database users on a Forge server.

Constructor

Nginx

The Nginx class provides methods to manage Nginx templates on a Forge server.

Constructor

Site

The Site class provides methods to manage sites on a Forge server.

Constructor

SSLCertificate

The SSLCertificate class provides methods to manage SSL certificates for sites on a Forge server.

Constructor

SSHKey

The SSHKey class provides methods to manage SSH keys for servers on Forge.

Constructor

Worker

The Worker class provides methods to manage workers for sites on Forge.

Constructor

SecurityRule

The SecurityRule class provides methods to manage security rules for sites on Forge.

Constructor

Deployment

The Deployment class provides methods to manage deployment settings and actions for sites on Forge.

Constructor

Deployment History

The DeploymentHistory class in the Forge API wrapper allows you to interact with deployment history for a specific site on a Forge server.

NginxConfiguration

The NginxConfiguration class in the Forge API wrapper provides methods to manage Nginx configuration and environment variables for a specific site on a Forge server.

Git

The Git class in the Forge API wrapper provides methods to manage Git configurations, deployments, and deploy keys for a specific site on a Forge server.

SiteCommand

The SiteCommand class in the Forge API wrapper provides methods to execute commands, list executed commands, and get details about a specific executed command for a site on a Forge server.

Wordpress

The Wordpress class in the Forge API wrapper provides methods to install and uninstall WordPress for a site on a Forge server.

PhpMyAdmin

The PhpMyAdmin class in the Forge API wrapper provides methods to install and uninstall PhpMyAdmin for a site on a Forge server.

Webhook

The Webhook class in the Forge API wrapper provides methods to manage webhooks for a site on a Forge server.

Recipe

The Recipe class in the Forge API wrapper provides methods to manage recipes.

Region

The Region class in the Forge API wrapper provides a method to retrieve a list of available regions.

Credential

The Credential class in the Forge API wrapper provides a method to retrieve a list of available credentials.

Backup

The Backup class in the Forge API wrapper provides methods for managing backup configurations on a server.

Monitoring

The Monitoring class in the Forge API wrapper provides methods for managing monitors on a server.

ServerLogs

The ServerLogs class in the Forge API wrapper provides a method for retrieving logs for a specific server.


All versions of forge-api with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.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 ftuzlu/forge-api contains the following files

Loading the files please wait ....