Download the PHP package omniconva/laravel without Composer

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

OmniConva for Laravel

Connect your Laravel store to OmniConva, the AI sales agent that answers your customers on your website, Messenger, Instagram and WhatsApp, and takes their orders.

This package does the integration work for you:

You write two small classes: which products to share, and how to save an order.

Requirements: PHP 8.2+, Laravel 12 or 13.

Install

omniconva:install publishes config/omniconva.php and a migration, creates app/OmniConva/Products.php and app/OmniConva/Orders.php, and writes your credentials to .env:

To get them, in OmniConva open Settings → Connection → Custom website, choose Laravel package, and press Create credentials.

1. Share your products

app/OmniConva/Products.php says which products OmniConva may sell and how each one maps:

Keep these rules in mind:

Not using Eloquent? Implement OmniConva\Laravel\Contracts\ProductSource (paginate() and find()) yourself.

2. Save orders

app/OmniConva/Orders.php creates the order in your store:

How orders behave:

3. Keep the catalog in sync

Every save sends product.updated, mapped with your Products::map(), and every delete sends product.deleted. A product that falls out of your query(), for example one deactivated, is sent as deleted.

Webhooks go through your queue and are dispatched after the database commits, so a rolled-back save sends nothing. They are signed and retried with backoff. Override shouldSyncToOmniConva() to skip some changes.

For a variant, price or stock model, re-send the parent product:

Changes made outside Eloquent, such as bulk updates or imports, can be sent by hand:

4. Order status (optional)

Use the order id your Orders class returned. Statuses are your own words: confirmed, processing, shipped, delivered, cancelled and so on. OmniConva shows them on its Orders page, and the AI uses them to answer customers.

5. Chat widget

This renders nothing until OMNICONVA_SITE_KEY is set. With OMNICONVA_IDENTITY_SECRET set, the signed-in user is sent along with an HMAC, so the AI and your agents know who they're talking to.

To choose the fields yourself:

Check it

Then, in OmniConva, press Check package, then Test products, then Connect website.

Routes

The package registers these routes, all of which require a valid X-OmniConva-Signature:

Method Path
GET /omniconva/products?page=&per_page=&updated_since= Your catalog, page by page
GET /omniconva/products/{id} One product (404 when gone)
POST /omniconva/orders Create an order
GET /omniconva/health Package and Laravel version, for OmniConva's Check package

To move them, change routes.prefix (or OMNICONVA_ROUTE_PREFIX) and the Route prefix in OmniConva. They use the api middleware group by default.

Configuration

See config/omniconva.php:

How it's secured

Testing

Releasing (maintainers)

  1. Bump OmniConva::VERSION in src/OmniConva.php, add a CHANGELOG entry, and commit.
  2. Create a GitHub release with the tag vX.Y.Z. Release tags can only be created by repository admins, and releases are immutable once published.
  3. The release workflow checks that the tag matches OmniConva::VERSION and has a changelog entry, then runs the full test matrix.
  4. Approve the packagist deployment in the workflow run (GitHub asks the required reviewer). Only then is Packagist told to update.

License

MIT. See LICENSE.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/bus Version ^12.0 || ^13.0
illuminate/console Version ^12.0 || ^13.0
illuminate/database Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/queue Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
illuminate/view Version ^12.0 || ^13.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 omniconva/laravel contains the following files

Loading the files please wait ...