PHPackages                             mormon-projects-group/gospel-library - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mormon-projects-group/gospel-library

ActiveLibrary[API Development](/categories/api)

mormon-projects-group/gospel-library
====================================

PHP library to access the LDS Gospel Library web service

0.1.2(4y ago)413MITHTMLPHP ^7.0CI failing

Since Jan 4Pushed 2y ago3 watchersCompare

[ Source](https://github.com/Mormon-Projects-Group/gospel-library)[ Packagist](https://packagist.org/packages/mormon-projects-group/gospel-library)[ Docs](http://github.com/Mormon-Projects-Group/gospel-library)[ RSS](/packages/mormon-projects-group-gospel-library/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

[![TravisCI](https://camo.githubusercontent.com/2bc7aab133f557a86f4c846f85714b2246fda2bab7b44959ec2d464d41c797ec/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4d6f726d6f6e2d50726f6a656374732d47726f75702f676f7370656c2d6c6962726172792f6d61737465722e7376673f7374796c653d666c61742d737175617265266c6162656c3d4275696c64)](https://travis-ci.org/Mormon-Projects-Group/gospel-library) [![Scrutinizer](https://camo.githubusercontent.com/208b4ec11f625e876b0a3f627bb9d801fbf3fb3e5846c05785c43c3f7e827575/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4d6f726d6f6e2d50726f6a656374732d47726f75702f676f7370656c2d6c6962726172792e7376673f7374796c653d666c61742d737175617265266c6162656c3d436f64652532305175616c697479)](https://scrutinizer-ci.com/g/Mormon-Projects-Group/gospel-library/) [![Code Climate](https://camo.githubusercontent.com/9f64769a4369d3bbb546f6f8e7ca780869948c8b1f6e417686d2b99ed1526213/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f4d6f726d6f6e2d50726f6a656374732d47726f75702f676f7370656c2d6c6962726172792e7376673f7374796c653d666c61742d737175617265266c6162656c3d4d61696e7461696e6162696c697479)](https://codeclimate.com/github/Mormon-Projects-Group/gospel-library) [![StyleCI](https://camo.githubusercontent.com/73b9dad2ff4fade8f75627060b54f5d67b9da9e04780e678909e5fc9a3f7d837/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131353230363931322f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/115206912) [![Packagist](https://camo.githubusercontent.com/8129b7a87692750a22645b47f9b4906921c028f26c43544d8dda78bfc5312036/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4d6f726d6f6e2d50726f6a656374732d47726f75702f676f7370656c2d6c6962726172792e7376673f7374796c653d666c61742d737175617265266c6162656c3d5061636b6167697374)](https://packagist.org/packages/Mormon-Projects-Group/gospel-library) [![MIT License](https://camo.githubusercontent.com/2a4f649d8a4598867e3ce78312faef68e3cfbdb210948ca01de59f78b5817c74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265266c6162656c3d4c6963656e7365)](LICENSE.rst)

LDS Gospel Library
------------------

[](#lds-gospel-library)

**This project is not affiliated with, nor endorsed by, the** [LDS Church](https://www.lds.org/).

This small PHP library allows easy access to the [Gospel Library Web Services](https://tech.lds.org/wiki/Gospel_Library_Catalog_Web_Service). These services only provide access to the metadata of the library and not any of the content or features (like searching, highlighting, notes, tags, and bookmarks).

This project provides access to the metadata but **not to any actual content**. Intellectual Reserve, Inc. owns the copyright for all content in the Gospel Library.

Gospel Library Client
---------------------

[](#gospel-library-client)

There are currently five (5) valid API actions for the [LDS Gospel Library](https://www.lds.org/pages/mobileapps/gospellibrary?lang=eng):

- `languages.query`
    - List of languages for which the library exists
- `platforms.query`
    - List of valid platforms for which the library exists
- `catalog.query`
    - List of the catalog content for the specified language and platform
- `catalog.query.modified`
    - Date the catalog for a specified language and platform was last updated
- `book.versions`
    - List of books updated since a given date for the specified language and platform

All of the following methods return an object:

### Languages

[](#languages)

List of languages for which the library exists.

```

```

Example return:

```
