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.
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.