PHPackages                             bkuhl/bible-csb - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bkuhl/bible-csb

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bkuhl/bible-csb
===============

A PHP library for interacting with the Christian Standard Bible (CSB). Users must obtain permission for CSB text usage from Holman Bible Publishers.

1.2.5(5mo ago)0796↑18.8%1MITPHPPHP ^8.3CI passing

Since May 24Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/bkuhl/bible-csb)[ Packagist](https://packagist.org/packages/bkuhl/bible-csb)[ RSS](/packages/bkuhl-bible-csb/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (18)Used By (1)

PHP Bible Translation CSB Library
=================================

[](#php-bible-translation-csb-library)

A PHP library for working with the Christian Standard Bible (CSB) translation. This library provides a clean, object-oriented interface for accessing Bible text, chapters, and verses.

Licensing
=========

[](#licensing)

This PHP library enables interaction with the Christian Standard Bible (CSB) text.

Important

The CSB text is copyrighted by Holman Bible Publishers. Users must obtain permission from Holman Bible Publishers for any CSB text used with this library. See [csbible.com](https://csbible.com) for permission details.

Installation
------------

[](#installation)

```
composer require bkuhl/bible-csb
```

Usage
-----

[](#usage)

### Creating a Book

[](#creating-a-book)

The library provides a `BookFactory` to create book instances:

```
use BKuhl\BibleCSB\BookFactory;

$bookFactory = new BookFactory();

$genesis = $bookFactory->make(BookEnum::GENESIS);

$oldTestamentBooks = $bookFactory->makeByTestament(Testament::OLD);
$newTestamentBooks = $bookFactory->makeByTestament(Testament::NEW);

$allBooks = $bookFactory->makeAll();
```

### Working with Books

[](#working-with-books)

Each book provides basic information and access to its chapters:

```
$name = $genesis->name(); // Returns "Genesis"
$position = $genesis->position(); // Returns 1
$abbreviation = $genesis->abbreviation(); // Returns "Gen"
$testament = $genesis->testament(); // Returns Testament::OLD

$chapterCount = $genesis->chapterCount(); // Returns 50

$chapters = $genesis->chapters(); // Returns array of Chapter objects

$chapter1 = $genesis->chapter(1); // Returns Chapter object for Genesis 1
```

### Working with Chapters

[](#working-with-chapters)

Chapters provide access to verses and chapter information:

```
$number = $chapter1->number(); // Returns 1

$book = $chapter1->book(); // Returns the Book object

$verseCount = $chapter1->verseCount(); // Returns number of verses in chapter

$verses = $chapter1->verses(); // Returns array of Verse objects

$verse = $chapter1->verse(1); // Returns Verse object for verse 1

$hasVerse = $chapter1->hasVerse(1); // Returns true if verse exists
```

### Working with Verses

[](#working-with-verses)

Verses provide access to the text and verse information:

```
$text = $verse1->text(); // Returns the verse text

$number = $verse1->number(); // Returns 1

$chapter = $verse1->chapter(); // Returns the Chapter object
```

Example: Reading Genesis 1:1
----------------------------

[](#example-reading-genesis-11)

```
use BKuhl\BibleCSB\BookFactory;
use BKuhl\BibleCSB\BookEnum;

$bookFactory = new BookFactory();
$genesis = $bookFactory->make(BookEnum::GENESIS);
$chapter1 = $genesis->chapter(1);
$verse1 = $chapter1->verse(1);

echo $verse1->text(); // Outputs: "In the beginning God created the heavens and the earth."
```

Example: Reading an Entire Chapter
----------------------------------

[](#example-reading-an-entire-chapter)

```
use BKuhl\BibleCSB\BookFactory;
use BKuhl\BibleCSB\BookEnum;

$bookFactory = new BookFactory();
$genesis = $bookFactory->make(BookEnum::GENESIS);
$chapter1 = $genesis->chapter(1);

foreach ($chapter1->verses() as $verse) {
    echo "Verse {$verse->number()}: {$verse->text()}\n";
}
```

Example: Finding a Verse by Number Across All Chapters
------------------------------------------------------

[](#example-finding-a-verse-by-number-across-all-chapters)

```
use BKuhl\BibleCSB\BookFactory;
use BKuhl\BibleCSB\BookEnum;

$bookFactory = new BookFactory();
$genesis = $bookFactory->make(BookEnum::GENESIS);

$verseText = $genesis->verse(1); // Returns the text of verse 1 from any chapter
```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance74

Regular maintenance activity

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~20 days

Total

10

Last Release

170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27b36d1b791b775002187bab1daf9eda7c676290aa5ba9891497c376b2b3c69a?d=identicon)[bkuhl](/maintainers/bkuhl)

---

Top Contributors

[![bkuhl](https://avatars.githubusercontent.com/u/524933?v=4)](https://github.com/bkuhl "bkuhl (30 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bkuhl-bible-csb/health.svg)

```
[![Health](https://phpackages.com/badges/bkuhl-bible-csb/health.svg)](https://phpackages.com/packages/bkuhl-bible-csb)
```

###  Alternatives

[thomas-schulz/symfony-meta

PhpStorm meta data for expected arguments completion in symfony projects.

8957.0k](/packages/thomas-schulz-symfony-meta)[pixelfederation/circuit-breaker-bundle

An analogous bundle to Java's Hystrix in PHP world.

1226.5k](/packages/pixelfederation-circuit-breaker-bundle)[moay/virus-total-api

Very simple VirusTotal api wrapper for Laravel 5

103.9k](/packages/moay-virus-total-api)

PHPackages © 2026

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