Download the PHP package staatic/staatic-api-php without Composer

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

Staatic API client for PHP

This is the Staatic API. You can find out more about Staatic at https://staatic.com.

For more information, please visit https://staatic.com/support.

Installation & Usage

Requirements

PHP 7.4 and later. Should also work with PHP 8.0+.

Composer

To install the bindings via Composer, run:

composer require staatic/staatic-api-php

Getting Started

Please follow the installation procedure and then run the following:

API Endpoints

All URIs are relative to https://api.staatic.com

Class Method HTTP request Description
AccountApi createSite POST /v1/sites Creates a new site
AccountApi deleteSite DELETE /v1/sites/{id} Deletes an existing site
AccountApi getPlugins GET /v1/plugins Gets a collection of plugins
AccountApi getSiteById GET /v1/sites/{id} Gets a site by ID
AccountApi getSites GET /v1/sites Gets a collection of sites
AccountApi getSubscriptions GET /v1/subscriptions Gets a collection of subscriptions
AccountApi updateSite PATCH /v1/sites/{id} Updates an existing site
DeploymentsApi createDeployment POST /v1/deployments Creates a new deployment
DeploymentsApi getDeploymentById GET /v1/deployments/{id} Gets a deployment by ID
DeploymentsApi getDeployments GET /v1/deployments Gets a collection of deployments
DeploymentsApi getSiteFiles GET /v1/sites/{id}/files Gets a collection of deployment files for the specified site
DeploymentsApi updateDeployment PATCH /v1/deployments/{id} Updates an existing deployment
DeploymentsApi uploadDeploymentFile PUT /v1/deployments/{id}/files/{path} Uploads a deployment file
FormsApi createForm POST /v1/forms Creates a new form
FormsApi createFormNotification POST /v1/form-notifications Creates a new form notification
FormsApi createFormSubmission POST /v1/form-submissions Creates a new form submission
FormsApi createFormTemplate POST /v1/form-templates Creates a new form template
FormsApi deleteForm DELETE /v1/forms/{id} Deletes an existing form
FormsApi deleteFormNotification DELETE /v1/form-notifications/{id} Deletes an existing form notification
FormsApi deleteFormSubmission DELETE /v1/form-submissions/{id} Deletes an existing form submission
FormsApi deleteFormTemplate DELETE /v1/form-templates/{id} Deletes an existing form template
FormsApi getFormById GET /v1/forms/{id} Gets a form by ID
FormsApi getFormNotificationById GET /v1/form-notifications/{id} Gets a form notification by ID
FormsApi getFormNotifications GET /v1/form-notifications Gets a collection of form notifications
FormsApi getFormSubmissionById GET /v1/form-submissions/{id} Gets a form submission by ID
FormsApi getFormSubmissions GET /v1/form-submissions Gets a collection of form submissions
FormsApi getFormTemplateById GET /v1/form-templates/{id} Gets a form template by ID
FormsApi getFormTemplates GET /v1/form-templates Gets a collection of form templates
FormsApi getForms GET /v1/forms Gets a collection of forms
FormsApi updateForm PATCH /v1/forms/{id} Updates an existing form
FormsApi updateFormNotification PATCH /v1/form-notifications/{id} Updates an existing form notification
FormsApi updateFormSubmission PATCH /v1/form-submissions/{id} Updates an existing form submission
FormsApi updateFormTemplate PATCH /v1/form-templates/{id} Updates an existing form template
SearchApi clearSearchIndexByName POST /v1/search-indices/{index}/clear Clears a search index by name
SearchApi createSearchIndex POST /v1/search-indices Creates a new search index
SearchApi deleteSearchIndex DELETE /v1/search-indices/{index} Deletes an existing search index
SearchApi deleteSearchRecord DELETE /v1/search-indices/{index}/{id} Deletes an existing search record
SearchApi deleteSearchRecords POST /v1/search-indices/{index}/delete Deletes search records from the specified search index
SearchApi getSearchIndexByName GET /v1/search-indices/{index} Gets a search index by name
SearchApi getSearchIndices GET /v1/search-indices Gets a collection of search indices
SearchApi importSearchRecords POST /v1/search-indices/{index}/import Imports search records into the specified search index
SearchApi search POST /v1/search/{index} Performs a search query on the specified search index
SearchApi updateSearchIndex PATCH /v1/search-indices/{index} Updates an existing search index

Models

Authorization

Authentication schemes defined for the API:

oauth_site

oauth_user

public_api_key

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of staatic-api-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.8
guzzlehttp/psr7 Version ^1.7 || ^2.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 staatic/staatic-api-php contains the following files

Loading the files please wait ....