Download the PHP package paolorox/ti-ext-restapro without Composer

On this page you can find all versions of the php package paolorox/ti-ext-restapro. 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 ti-ext-restapro

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


Installation Instructions

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

1. File Upload

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

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:

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 -> 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

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

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

2. Categories & Suppliers

3. Ingredients

Enter basic ingredients, specifying:

4. Recipes

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

5. Purchase Orders

Log new stock arrivals by creating purchase orders.


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.

All versions of ti-ext-restapro with dependencies

PHP Build Version
Package Version
Requires tastyigniter/core Version ^4.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 paolorox/ti-ext-restapro contains the following files

Loading the files please wait ...