PHPackages                             networkrailbusinesssystems/oracle-api - 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. networkrailbusinesssystems/oracle-api

ActiveLibrary[API Development](/categories/api)

networkrailbusinesssystems/oracle-api
=====================================

Provide end points for sending and receiving data from Oracle (iStore Catalogue)

1.0.0(2y ago)013MITPHPPHP ^8.2

Since Sep 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Network-Rail-Business-Systems/oracle-api)[ Packagist](https://packagist.org/packages/networkrailbusinesssystems/oracle-api)[ Docs](https://github.com/Network-Rail-Business-Systems/oracle-api)[ RSS](/packages/networkrailbusinesssystems-oracle-api/feed)WikiDiscussions main Synced today

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

Oracle api.
===========

[](#oracle-api)

This api is for searching and ordering iStore catalogue items.

Built for [Laravel 10](https://laravel.com/).

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

[](#installation)

Add the library via Composer: `composer require networkrailbusinesssystems/oracle-api`

Once installed, export the config: `php artisan vendor:publish --provider="NetworkRailBusinessSystems\OracleApi\OracleApiServiceProvider.php"`

- Set for accessing the Oracle

```
    ORACLE_CATALOGUE_USERNAME=
    ORACLE_CATALOGUE_PASSWORD=
    ORACLE_CATALOGUE_EMULATOR=false
```

- Set for Searching by item or description from Oracle.

```
    ORACLE_CATALOGUE_GET_HOST=
```

Then you can use the OracleCatalogueHelper class functions in your project for item search:

```
use NetworkRailBusinessSystems\OracleApi\OracleCatalogueHelper;

$response = OracleCatalogueHelper::search('016798 or FENCE', limit = 100); // search by item code or description
$response = OracleCatalogueHelper::searchByCode('0004/016798', limit = 100); // search by item code
$response = OracleCatalogueHelper::searchByDescription('FENCE', limit = 100);  // search by item description
```

- Set for Order submission.

```
    ORACLE_CATALOGUE_POST_HOST=
```

Then you can use the OracleCatalogueHelper class function for order submission:

```
use NetworkRailBusinessSystems\OracleApi\OracleCatalogueHelper;

$oracle_order_number = OracleCatalogueHelper::submitOrderToOracle($orderDetails);
```

The Oracle API package makes use of the [Laravel Http Client](https://laravel.com/docs/10.x/http-client). This enables you to fake the Http response in your test, so it doesn't need a live connection to the Oracle API.

- Set for fake search response and order submission.

```
    ORACLE_CATALOGUE_EMULATOR=true
```

```
Http::fake([
    '*' => Http::response([
            "ItemCode" => "0004/016798",
            "ItemDescription" => "POST FENCE  INTERMDT 6 HOLE",
            "ItemYourPrice" => 50.95,
            "Status" => "NR SUPER",
            "PackSize" => "1",
            "IBECustomAttribute15" => null,
            "ConfigurableItem" => null,
            "ItemPrimaryUOMCode" => null,
            "MiniSiteName" => "Non-Heavy Products"
    ]),
]);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

1036d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17785811?v=4)[Anthony Edmonds](/maintainers/AnthonyEdmonds)[@AnthonyEdmonds](https://github.com/AnthonyEdmonds)

![](https://avatars.githubusercontent.com/u/26721392?v=4)[AmbreenJamal](/maintainers/AmbreenJamal)[@AmbreenJamal](https://github.com/AmbreenJamal)

---

Top Contributors

[![AmbreenJamal](https://avatars.githubusercontent.com/u/26721392?v=4)](https://github.com/AmbreenJamal "AmbreenJamal (16 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/networkrailbusinesssystems-oracle-api/health.svg)

```
[![Health](https://phpackages.com/badges/networkrailbusinesssystems-oracle-api/health.svg)](https://phpackages.com/packages/networkrailbusinesssystems-oracle-api)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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