PHPackages                             railpage/railpagecore - 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. railpage/railpagecore

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

railpage/railpagecore
=====================

Railpage core code classes. More information available at https://github.com/doctorjbeam/railpagecore

1.4.12(10y ago)1581MITPHPPHP &gt;=5.5.0

Since Jan 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/railpage/railpagecore)[ Packagist](https://packagist.org/packages/railpage/railpagecore)[ Docs](http://www.railpage.com.au)[ RSS](/packages/railpage-railpagecore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (31)Versions (26)Used By (0)

Railpage Core Code
==================

[](#railpage-core-code)

[![Build Status](https://camo.githubusercontent.com/35c7fc68b1353121ff560fdb73a6a8772e57b4d16355711b38b6adebdbae8466/68747470733a2f2f7472617669732d63692e6f72672f7261696c706167652f7261696c70616765636f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/railpage/railpagecore) [![Latest Stable Version](https://camo.githubusercontent.com/336c2b242e2d66cb63520c5f3fd283f118b305824ba3a968f95bb24e55dcf7f9/68747470733a2f2f706f7365722e707567782e6f72672f7261696c706167652f7261696c70616765636f72652f762f737461626c652e737667)](https://packagist.org/packages/railpage/railpagecore) [![Code Climate](https://camo.githubusercontent.com/67acf2b07c607e9d25e5f397522d267eb7b0f1d74a6ad6da49d6c34c01fa6026/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7261696c706167652f7261696c70616765636f72652f6261646765732f6770612e737667)](https://codeclimate.com/github/railpage/railpagecore) [![Test Coverage](https://camo.githubusercontent.com/526b0a9eb1f2f400ca930939091917b505d99709c8ebf7caaa4ad22bbc67ccb3/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7261696c706167652f7261696c70616765636f72652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/railpage/railpagecore/coverage) [![Gitter chat](https://camo.githubusercontent.com/14a20281c8c3843d22bf0031dc18bd2826238fcdcf75268cf24319ba9b597d60/68747470733a2f2f6261646765732e6769747465722e696d2f7261696c706167652f7261696c70616765636f72652e706e67)](https://gitter.im/railpage/railpagecore)

This repository contains the core Railpage PHP objects formerly located under their respective modules.

Since Version 3.8 the core code has been progressively split from their UI modules and re-located into a PSR-4-compliant folder and file structure.

The classes have been namespaced under the \\Railpage\\ namespace, for example: \\Railpage\\Locos\\Locomotive.

Installing
----------

[](#installing)

If you're not using Composer, you should. We have a lot of dependencies and Composer will save you a lot of time.

To start using the core code, execute `./composer.phar require railpage/railpagecore` to grab and install.

Using
-----

[](#using)

Make sure you're using Composer.

Assuming you've already included your Composer autoloader in your code, import the desired modules by placing a `use` operator at the top of your .php file. For example:

```
use Railpage\Locos\Factory as LocosFactory;

$Loco = LocosFactory::CreateLocomotive($id);
$Loco = LocosFactory::CreateLocomotive(null, "NR Class", "NR121");
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 99.9% 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 ~18 days

Total

25

Last Release

3700d ago

Major Versions

1.3.2 → 2.0.0.x-dev2015-04-30

PHP version history (2 changes)1.1.0.x-devPHP &gt;=5.5.0

2.0.0.x-devPHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e06bf5df2de1c737d09a41c9e721792e38640817b350dc9d4bce379dc5810162?d=identicon)[doctorjbeam](/maintainers/doctorjbeam)

---

Top Contributors

[![doctorjbeam](https://avatars.githubusercontent.com/u/277765?v=4)](https://github.com/doctorjbeam "doctorjbeam (909 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

railpage

### Embed Badge

![Health badge](/badges/railpage-railpagecore/health.svg)

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

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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