Download the PHP package lfrichter/omnivore without Composer

On this page you can find all versions of the php package lfrichter/omnivore. 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 omnivore

Omnivore Facade 🍹

Latest Version on Packagist Total Downloads php Laravel

Installation

Via Composer

If you do not run Laravel 5.5 (or higher), then add in config/app.php:

  1. service provider:

  2. facade to aliases:

Usage

Place these values into your .ENV

Tickets functions

Interact with tickets of claimed locations from the POS.

List tickets for location

Open a new ticket

Omnivore documentation

To open a new ticket you'll need the following:

Sample JSON object to be send

You should get a 201 CREATED HTTP response to let you know your ticket has been added. You'll also get the ticket id field in the response which you need to add menu items or make payments.

Don't Send Items to the Kitchen

Did you notice the auto_send field we used when we opened the ticket? It determines whether new menu items are sent to the kitchen immediately, or if they're held until the ticket is paid. By default it's true which means as soon as you add a menu item to the ticket it will be made by the restaurant. If you set it to false nothing will be made until the ticket is paid in full and closed.

Retrieve data for a specific ticket

Void a locations ticket

List discounts for a ticket

Apply a discount to a ticket

Retrieve a discount that was applied to a ticket

List items on a ticket

You'll get a list of menu items each with two important pieces of information:

Add an item to a ticket

Omnivore documentation

For this example pick an item that looks tasty and note its id then choose an arbitrary price_levels element and note its id as well. We'll refer to them as MENUITEMID and PRICELEVELID respectively. Now, let's place an order on the ticket from earlier.

Sample JSON object to be send
Making an Order with Modifiers

Let's say you've picked out a menu item, looked up its modifier groups, and figured out which modifiers you want to apply. You've noted all the modifier id values and the id for the appropriate price_level on each one. That's a lot, but now you're ready to place a personalized order.

Sample JSON object to be send

Retrieve an item from a ticket

Void an item from a ticket

List modifiers form a ticket

Retrieve a modifier form a ticket

List dicounts on a ticket

Retrieve a discount from a ticket

List payments

Retrieve a payment

Make a payment where a card is not present

Sample JSON object to be send

Make a payment where a card is present

Sample JSON object to be send

Make a payment with a 3rd party

Sample JSON object to be send

Make a payment with a card

Sample JSON object to be send

Make a payment with cash


Tables functions

Interact with tables of claimed locations from the POS.

List tables of claimed locations

Retrieve data for a specific table


General functions

Interact with general labeled actions of claimed locations from the POS.

List all locations claimed.

Retrieve information about a location

List employees of a location

Retrieve data of a specific location

List location types (Order Types)

Retrieve a locations type

List the types of tender the location accepts

Retrive the tender type

List a locations revenue centers

Retrieve information of a payment center

List the discounts of a location

Retrieve the discount

Grab the menu from POS

List the menu categories

Retrieve a category

List items in a menu

Retrieve a menu item

List location modifiers

Retrieve a modifier

List modifier groups

Retrieve a modifier group

Change log

Please see the changelog for more information on what has changed recently.

Testing

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.


All versions of omnivore with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.2
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 lfrichter/omnivore contains the following files

Loading the files please wait ....