Download the PHP package stevenbuehner/bible-verse-bundle without Composer

On this page you can find all versions of the php package stevenbuehner/bible-verse-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bible-verse-bundle

What is it?

With this bundle you get an incredible powerful backend to parse any text and identify bible verses within it. It works with symphony but also with any other composer system. The bible verses are not only recognized, but intelligently seperated into book, chapter and vers-ranges.

I am using it in a big installation to store and index bible verses in the database and perform very quick and complex searches.

Features

The library recognizes all kind of different texts as bible verses in german and in english. For example:

Examples

The texts are recognized and parsed into valid integers. For 1Tim 3,16-17 this would be:

Parsed-Text Book-Id From Chapter From Verse To Chapter To Verse
1Tim 3,15-16 54 3 15 3 16
1Tim 3,15f 54 3 15 3 16
1Tim 3,16-4,2 54 3 16 4 2
1Tim 3 54 3 1 3 16
1Tim 3-4 54 3 1 4 16

Storage and search optimization

Internally the bible verses are stored as two numbers which describe a range (start - end). This makes it possible so index bible verses and search for intersecting bible verses super quickly.

START and END are set together as three-digit codes:

Book-ID Chapter-Number Verse-Number
(three digits, zero padded) (three digits, zero padded) (three digits, zero padded)

Which results in this indexing:

Parsed-Text Book-Id From Chapter From Verse To Chapter To Verse START END
1Tim 3,15-16 54 3 15 3 16 054003015 054003016
1Tim 3,15f 54 3 15 3 16 054003015 054003016
1Tim 3,16-4,2 54 3 16 4 2 054003016 054004002
1Tim 3 54 3 1 3 16 054003001 054003016
1Tim 3-4 54 3 1 4 16 054003001 054004016

Usage

Parsing text to BibleVerses Entities

Formatting BibleVerses Entities as Text

Language German and English are supported by default

Extracting bible verses as BibleVerse entities from larger texts

Join multiple BibleVerse Entities together

Accessing BibleVerse start and end number

BibleVerse Interface

Bible verses are valid BibleVerseInterface instances. Which means they can be extended and come with these default functions

JavaScript

There is also a JavaScript library for parsing bible verses and use it i.e. for markdown purposes.

Generating Javascript-Library-Updates

The JavaScript library is generated with the command:


All versions of bible-verse-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package stevenbuehner/bible-verse-bundle contains the following files

Loading the files please wait ....