Download the PHP package nmcteam/hifi-api without Composer
On this page you can find all versions of the php package nmcteam/hifi-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nmcteam/hifi-api
More information about nmcteam/hifi-api
Files in nmcteam/hifi-api
Download nmcteam/hifi-api
More information about nmcteam/hifi-api
Files in nmcteam/hifi-api
Vendor nmcteam
Package hifi-api
Short Description The official HiFi CMS API component for PHP
License MIT
Homepage http://www.newmediacampaigns.com
Package hifi-api
Short Description The official HiFi CMS API component for PHP
License MIT
Homepage http://www.newmediacampaigns.com
Please rate this library. Is it a good library?
Informations about the package hifi-api
HiFi CMS API component for PHP
This is the official HiFi CMS API component for PHP. It lets you fetch, put, and delete HiFi CMS website content from a remote destination.
Install
Install the HiFi CMS API component with Composer:
composer require nmcteam/hifi-api
Usage
<?php
$hifi = new \Hifi\Api('www.example.com', 'username', 'password');
// Fetch content
$hits = $hifi->get([
'type' => 'page'
]);
foreach ($hits as $hit) {
echo $hit->title;
}
// Create or update content
$hifi->post([
[
'type' => 'page',
'title' => 'New page',
'content' => 'Content goes here',
'parent' => 'a24c85d34ce9437bbfc9db696ccee814'
]
]);
// Delete content
$hifi->delete([
[
'id' => 'a24c85d34ce9437bbfc9db696ccee814'
]
]);
Author
Josh Lockhart [email protected]
License
MIT Public License
Copyright
Copyright 2015, New Media Campaigns. All rights reserved.
All versions of hifi-api with dependencies
PHP Build Version
Package Version
The package nmcteam/hifi-api contains the following files
Loading the files please wait ....