PHPackages                             paolorox/ti-ext-restapro - 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. paolorox/ti-ext-restapro

ActiveTastyigniter-package[Utility &amp; Helpers](/categories/utility)

paolorox/ti-ext-restapro
========================

Restaurant Production Pro - ERP extension for TastyIgniter. Manages food cost, recipes, inventory and automatic stock deduction.

1.1.1(1mo ago)131GPL-3.0-or-laterPHP

Since Jul 10Pushed 4w agoCompare

[ Source](https://github.com/Paolorox/ti-ext-restapro)[ Packagist](https://packagist.org/packages/paolorox/ti-ext-restapro)[ RSS](/packages/paolorox-ti-ext-restapro/feed)WikiDiscussions main Synced 1w ago

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

Restaurant Production Pro (TastyIgniter Extension)
==================================================

[](#restaurant-production-pro-tastyigniter-extension)

**Extension Code:** `paolorox.restapro`
**Namespace:** `Paolorox\Restapro`

`Restaurant Production Pro` is an extension for **TastyIgniter (v4.x)** that transforms the application into an ERP system for catering, introducing inventory management, automatic Food Cost calculation, recipe management (with support for sub-recipes), and automatic stock deduction upon order confirmation.

---

System Requirements
-------------------

[](#system-requirements)

- **TastyIgniter:** `^4.0`
- **PHP:** `^8.0`
- **Required PHP Extensions:** Default ones for TastyIgniter (PDO, OpenSSL, Mbstring, XML, etc.)

---

Installation Instructions
-------------------------

[](#installation-instructions)

Follow these steps to install the extension in your testing environment (including shared hosting):

### 1. File Upload

[](#1-file-upload)

Upload the entire extension folder to the TastyIgniter extensions directory. The final folder structure must be exactly as follows:

```
tastyigniter_root/
└── extensions/
    └── paolorox/
        └── restapro/
            ├── composer.json
            ├── src/
            ├── database/
            ├── resources/
            └── README.md

```

### 2. Registration and Database Migration

[](#2-registration-and-database-migration)

Access your server via SSH terminal (if available), navigate to the root directory of TastyIgniter, and run the following command to register the extension and execute database migrations:

```
php artisan igniter:up
```

#### Shared Hosting without SSH access:

[](#shared-hosting-without-ssh-access)

If your shared hosting does not have SSH access, you can force TastyIgniter to register and migrate the extension in one of these ways:

1. **Admin Panel:** Go to **System** -&gt; **Extensions**, locate **Restaurant Production Pro** in the list of local extensions, and click **Install/Activate**.
2. **Web Update:** When you access the admin dashboard and visit the updates section, TastyIgniter will automatically check for and run any pending migrations for registered local extensions.

---

Configuration and Workflow
--------------------------

[](#configuration-and-workflow)

Once installed, the extension adds a main menu item named **Production** to the Admin Dashboard. Follow this logical order to configure the system:

### 1. Units of Measurement

[](#1-units-of-measurement)

Define basic units of measurement before entering ingredients (e.g., *Grams*, *Kilograms*, *Liters*, *Milliliters*, *Piece*).

- Associate derived units with their base unit by defining a **conversion factor** (e.g., for *Kilogram*, if the base unit is *Gram*, the conversion factor will be `1000.000000`).

### 2. Categories &amp; Suppliers

[](#2-categories--suppliers)

- Configure category classifications for ingredients for better internal organization and filtering.
- Set up supplier profiles to associate with purchase invoices and orders.

### 3. Ingredients

[](#3-ingredients)

Enter basic ingredients, specifying:

- The base unit of measurement (e.g., *Gram*).
- Last purchase cost and Weighted Average Cost (WAC / CMP).
- Minimum stock level to trigger visual alerts on the Dashboard.

### 4. Recipes

[](#4-recipes)

Create recipes and associate them with existing items in your TastyIgniter menu.

- It supports both **Menu Item** recipes (items orderable from the menu) and **Sub-Recipe** recipes (intermediate preparations, e.g., *pizza dough* or *seasoned tomato sauce*).
- Under the **Ingredients** tab, add basic ingredients or sub-recipes along with their respective quantities and units.
- The system automatically computes the actual Food Cost by aggregating individual ingredient costs based on their current WAC.

### 5. Purchase Orders

[](#5-purchase-orders)

Log new stock arrivals by creating purchase orders.

- Add individual ingredients purchased, specifying the quantity, unit of purchase, and unit cost.
- When changing the status of the order to **Received**, the system automatically adds the items to the stock, recalculates the Weighted Average Cost (WAC) of the affected ingredients, and propagates cost updates to all related recipes.

---

Automatic Stock Deduction
-------------------------

[](#automatic-stock-deduction)

The extension hooks into the native TastyIgniter event: `admin.order.paymentProcessed` (Order payment successfully completed).

1. When the event triggers, the module intercepts the order and retrieves the menu items purchased by the customer.
2. For each item that has an active recipe associated with it, it explodes the base ingredients (recursively resolving any sub-recipes).
3. It generates negative stock movements (`sale`) for each ingredient used, updating the inventory in real-time.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance93

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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 ~1 days

Total

3

Last Release

46d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/178499790?v=4)[Paolo Rossini](/maintainers/Paolorox)[@Paolorox](https://github.com/Paolorox)

---

Top Contributors

[![Paolorox](https://avatars.githubusercontent.com/u/178499790?v=4)](https://github.com/Paolorox "Paolorox (6 commits)")

### Embed Badge

![Health badge](/badges/paolorox-ti-ext-restapro/health.svg)

```
[![Health](https://phpackages.com/badges/paolorox-ti-ext-restapro/health.svg)](https://phpackages.com/packages/paolorox-ti-ext-restapro)
```

###  Alternatives

[tastyigniter/tastyigniter

TastyIgniter is a free open source online ordering and restaurant management system

3.7k26.0k](/packages/tastyigniter-tastyigniter)[tastyigniter/ti-ext-payregister

Allows you to accept credit card payments using PayPal, Stripe, Authorize.Net and/or Mollie.

1021.3k12](/packages/tastyigniter-ti-ext-payregister)[tastyigniter/ti-ext-api

Manages and generates RESTful APIs using available models in your TastyIgniter app.

2116.0k11](/packages/tastyigniter-ti-ext-api)

PHPackages © 2026

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