Skip to content

almukhalafi/netlify-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netlify-api

Packagist License Latest Stable Version Total Downloads

Requirements PHP 7.4.0 and later.

##Composer You can install the bindings via Composer. Run the following command:

composer require almukhalafi/netlify-api

Usage

You can now add messages using the Facade (when added), using the PSR-3 levels (debug, info, notice, warning, error, critical, alert, emergency):

$netfliy = new NetlifySites();


// get all sites
$netfliy->getSites();

// get  site information
$netfliy->getSite('site_id');

// update site information
$netfliy->updateSite('site_id',['name'=>'unique_new_name']);

// delete site
$netfliy->deleteSite('site_id');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages