Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 696 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 696 Bytes

Ridibooks CMS SDK - PHP

Install

composer require ridibooks/cms-sdk

Hierarchy

└──php/
    ├── src/
    │   ├── (...)          # Wrapping classes which uses thrift client inside.
    │   └── Thrift/        # PHP codes generated by Thrift source.
    │
    └── views/             # Common twig templates

Usage

To communicate with CMS auth server, write the following at the beginning of your project.

ThriftService::setEndPoint('https://cms.auth.server');

atfer then, you can call the methods in Ridibooks/Cms/Auth classes.

Check out our sample project for more details.