PHPackages                             urbanmonastics/sourcetextlibrary - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. urbanmonastics/sourcetextlibrary

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

urbanmonastics/sourcetextlibrary
================================

A simple way to load, read, and present texts from various source text libraries.

v0.2(5mo ago)0482MITPHPPHP &gt;=8.1.0

Since Jul 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/UrbanMonastics/Source-Text-Library)[ Packagist](https://packagist.org/packages/urbanmonastics/sourcetextlibrary)[ Docs](http://developers.urbanmonastic.org/source-text-library/)[ RSS](/packages/urbanmonastics-sourcetextlibrary/feed)WikiDiscussions release Synced 1mo ago

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

Source Texts Library in PHP
===========================

[](#source-texts-library-in-php)

[![Build Status](https://camo.githubusercontent.com/000e111337f4130ea8fdd3181d62f20259a1696d0498b751d9f4a40e3f675cb7/68747470733a2f2f6170692e7472617669732d63692e636f6d2f557262616e4d6f6e6173746963732f536f757263652d546578742d4c6962726172792e737667)](https://app.travis-ci.com/github/UrbanMonastics/Source-Text-Library)[![Total Downloads](https://camo.githubusercontent.com/a4d58358d3fae2270e3b0e430acb2bccd579c173347f0660e93cb062ded7791d/68747470733a2f2f706f7365722e707567782e6f72672f757262616e6d6f6e6173746963732f736f75726365746578746c6962726172792f642f746f74616c2e737667)](https://packagist.org/packages/urbanmonastics/sourcetextlibrary)[![Version](https://camo.githubusercontent.com/fa47b913cbd546fd97f3a8a7e1f70c1147a508d554c7fbb5bd87e09dc9ef3cfb/68747470733a2f2f706f7365722e707567782e6f72672f757262616e6d6f6e6173746963732f736f75726365746578746c6962726172792f762f737461626c652e737667)](https://packagist.org/packages/urbanmonastics/sourcetextlibrary)[![License](https://camo.githubusercontent.com/88656aea5e60091f3ffe2222279b2344bfeeb566c67c4cb69499c403e931d2cb/68747470733a2f2f706f7365722e707567782e6f72672f757262616e6d6f6e6173746963732f736f75726365746578746c6962726172792f6c6963656e73652e737667)](https://packagist.org/packages/urbanmonastics/sourcetextlibrary)

A simple way to load, read, and present texts from various Source Text libraries.

This is a companion library to the [Source Text Parser](https://github.com/UrbanMonastics/Source-Text-Parser) library.

Features
--------

[](#features)

- Quickly load one or many source text libraries
- Navigate to desired texts or segments and render them for display.
-

Adding to your Project
----------------------

[](#adding-to-your-project)

Install the composer package:

```
composer require UrbanMonastics/SourceTextLibrary
```

Example Usage
-------------

[](#example-usage)

In the most simple approach you can pass text to be parsed.

```
$SourceTextLibrary = new /UrbanMonastics/SourceTextLibrary();

echo $SourceTextLibrary->text("Hello *Source Parser*!");  # prints: Hello Source Parser!
```

You can also take advantage of the structure of the source texts.

```
$SourceTextLibrary = new SourceTextLibrary();

// Load the source data into the parser
$Source = json_decode( file_get_contents('path/to/source.json'), true );
$SourceTextLibrary->loadSource( $Source );

$SourceTextLibrary->loadText();

echo $SourceTextLibrary->text("Hello *Source Parser*!");  # prints: Hello Source Parser!

// Clear the loaded Source and Texts - without altering other options
$SourceTextLibrary->clearSource();
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance79

Regular maintenance activity

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f6ce4c388e3f6c18d41433cb3da78aa14b112076b000a2f40db3f9d1254f3d0?d=identicon)[paulprins](/maintainers/paulprins)

---

Top Contributors

[![paulprins](https://avatars.githubusercontent.com/u/1200604?v=4)](https://github.com/paulprins "paulprins (17 commits)")

---

Tags

librarymarkdownphpsourcetextsparsermarkdownbiblescriptureliturgy

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/urbanmonastics-sourcetextlibrary/health.svg)

```
[![Health](https://phpackages.com/badges/urbanmonastics-sourcetextlibrary/health.svg)](https://phpackages.com/packages/urbanmonastics-sourcetextlibrary)
```

###  Alternatives

[erusev/parsedown

Parser for Markdown.

15.0k151.8M732](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M702](/packages/league-commonmark)[erusev/parsedown-extra

An extension of Parsedown that adds support for Markdown Extra.

84314.8M192](/packages/erusev-parsedown-extra)[parsedown/parsedown

Parser for Markdown.

21342.8k3](/packages/parsedown-parsedown)[tovic/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5933.7k](/packages/tovic-parsedown-extra-plugin)[taufik-nurrohman/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5932.3k](/packages/taufik-nurrohman-parsedown-extra-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
