Download the PHP package messerli90/laravel-ghost without Composer
On this page you can find all versions of the php package messerli90/laravel-ghost. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download messerli90/laravel-ghost
More information about messerli90/laravel-ghost
Files in messerli90/laravel-ghost
Package laravel-ghost
Short Description Laravel wrapper for the Ghost blogging API
License MIT
Homepage https://github.com/messerli90/laravel-ghost
Informations about the package laravel-ghost
Laravel wrapper for the Ghost blogging API
A fluent wrapper for the Ghost Content API
Example
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
The API for posts
, authors
, tags
, and pages
is similiar and can be used with the following methods:
Build your request
Caching
It is recommended you cache your returned resources when serving from your Laravel app.
For example, a possible BlogController@index
could look like:
Automatic Resource Caching (Experimental & not in stable release)
Automatically cache returned records for a defined time.
Includes ghost:cache
artisan command that can be scheduled to periodically repopulate cache with new posts.
Testing
Roadmap
- [ ] Caching
- [ ] Ghost Content Filter
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Michael Messerli
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-ghost with dependencies
illuminate/http Version ^7.0|^8.0
spatie/laravel-package-tools Version ^1.4.3
illuminate/contracts Version ^8.0
guzzlehttp/guzzle Version ^7.0