定制 c0013r/laravel-ghost-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

c0013r/laravel-ghost-api

Composer 安装命令:

composer require c0013r/laravel-ghost-api

包简介

ghost.org api for Laravel

README 文档

README

Latest Version on Packagist Total Downloads

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require c0013r/laravel-ghost-api

Publish config file

$ php artisan vendor:publish --provider="c0013r\GhostAPI\ServiceProvider"

Usage

use c0013r\GhostAPI\Facades\Ghost;

// get all posts
$posts = Ghost::posts()->get();

// get latest 15 (default limit) posts
$posts = Ghost::posts()->limit()->get();

// get posts with authors & tags
$posts = Ghost::posts()
            ->includeAuthors()
            ->includeTags()
            ->limit()->get();

// get tags
$tags = Ghost::tags()->get();

// get users
$tags = Ghost::users()->get();

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email andrew@7glyphs.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

统计信息

  • 总下载量: 33
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固