Download the PHP package weebly/ghost-io-php without Composer

On this page you can find all versions of the php package weebly/ghost-io-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 ghost-io-php

Ghost IO Unofficial PHP library

[CircleCI]() [MadeBy]()

This library is intended to help developer to use the Ghost.io API with their php code.

Features

Installation

We use packagist to serve this library so is easier to include to any of your projects. Make sure you have composer available in your PATH. To do this you can run the following command in the terminal:

For the most recent dev version:

Install or update your composer dependencies:

As a final check you could review your vendor library to see if you have a weeblu/ghost-io-php folder created. Now you're ready to use this on you're code.

Usage

Available Client Methods

The following list shows what methods are available and the route that they represent on the ghost.io API:

Method API service Description
$ghost->getAllPosts($fields = [])
/posts Get a collection with all the posts of the blog.Some filters apply.
$ghost->getPostById($postId)
/posts:id This will find one specific post by the ID.
$ghost->getPostBySlug($slug)
/posts:slug This will find one specific post by the slug.
$ghost->getAllTags($fields = [])
/tags Get a collection with all the tags (categories).
$ghost->getTagById($tagId)
/tags:id This will find one specific tag by the ID.
$ghost->getTagBySlug($slug)
/tags:slug This will find one specific tag by the slug.
$ghost->getAllUsers($fields = [])
/users Get a collection with all the users of the blog. Some filters apply.
$ghost->getUserById($userId)
/users:id This will find one specific user by the ID.
$ghost->getUserBySlug($slug)
/users:slug This will find one specific user by the slug.
$ghost->getUserByEmail($email)
/users/email:email This will find one specific user by his email address.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Documentation

For more documentation, check the ghost.io API docs here: GhostIO API Docs.

Enjoy!


All versions of ghost-io-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
guzzlehttp/guzzle Version ^6.3
phpunit/phpunit Version ^7.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 weebly/ghost-io-php contains the following files

Loading the files please wait ....