composer require ridibooks/cms-sdk
└──php/
├── src/
│ ├── (...) # Wrapping classes which uses thrift client inside.
│ └── Thrift/ # PHP codes generated by Thrift source.
│
└── views/ # Common twig templates
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.