Download the PHP package padosoft/laravel-ai-price-intelligence without Composer

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

laravel-ai-price-intelligence

Official documentation

Latest Version on Packagist PHP Laravel Tests

Enterprise Product & Price Intelligence / Competitor Monitoring for Laravel. Open-source, AI-native and EU AI Act-ready by design — a self-hostable alternative to Netrivals (Lengow) and Competitoor. It is the intelligence engine; your ecommerce (MarginOS or your own logic) keeps the pricing decisions.


Table of Contents


Why this package

Ecommerce teams pay expensive, black-box SaaS (Netrivals, Competitoor) to monitor competitor prices, assortments and content. laravel-ai-price-intelligence brings that capability into your Laravel stack, open-source and self-hostable:

It is boundary-respecting: it provides intelligence; your platform keeps the business decisions.

Features

Web admin panel

A companion web admin panel ships separately at padosoft/laravel-ai-price-intelligence-admin (React 19 + Vite + TypeScript + Tailwind) — the control room Netrivals/Competitoor don't give you self-hosted: dashboards, the match-review queue, price-history charts, forecasts & anomalies, the weekly AI narrative, assortment/content gaps, the repricer rule builder, alerts inbox, webhooks and an EU AI Act compliance view.

Quick start

Issue an API key for machine-to-machine access:

Integrating with your ecommerce

See docs/INTEGRATION-GUIDE.md for the full API and event reference.

Architecture

Ecommerce → API (Sanctum/API-key) → discovery → matching → scheduled scraping (adapters) → price normalization → time-series storage → AI layer → alerts + signed webhooks → your ecommerce.

Everything is pluggable via Interface + Driver; optional dependencies are wired with the null-object pattern (no hard requirement). Full design in docs/PROJECT.md.

Marketplace adapters

Each marketplace resolves a driver from config('price-intelligence.marketplaces.*'). Amazon/eBay/ Google default to auto, but the effective default behavior is scraping (JSON-LD/OpenGraph, no keys) until you configure API credentials — then the real API path lights up. Any missing credential or API failure falls back to scraping, so it never breaks a run.

Marketplace Drivers API path
Amazon auto · sp_api · keepa · scrape SP-API Product Pricing (LWA token) / Keepa price+history
eBay auto · api · scrape Browse API (client-credentials OAuth)
Google Shopping auto · serp · scrape SerpApi-compatible google_product lookup
Farfetch scrape · retailed · apify retailed.io / Apify actor (luxury)
Idealo, Trovaprezzi, generic scrape JSON-LD extractor

Set e.g. PI_AMAZON_DRIVER=keepa + PI_KEEPA_KEY=…, or PI_EBAY_CLIENT_ID/SECRET, or PI_SERPAPI_KEY, or PI_FARFETCH_DRIVER=retailed + PI_RETAILED_KEY. No extra Composer packages are required — the adapters call each API directly over HTTP.

Engineered for large catalogs (≈500k SKUs)

Every list and analytics path is built to stay cheap as the catalog and time-series grow — and the web admin panel consumes these primitives (cursor pagination, virtualization, facet chips, streamed export) end-to-end:

Analytics, history & decision log

AI features

Feature Default Notes
Price forecasting on StatisticalForecaster (OLS trend + confidence interval), pluggable
Anomaly detection on detrended-residual outliers + price-error (civetta) detection
Review sentiment off GDPR-safe: per-domain opt-in, mandatory PII redaction, anonymous aggregates only
Narrative / content-gap / promo / visual-match / LLM match-judge on Real LLM-backed via the official laravel/ai SDK; fake deterministic driver is the zero-config default

Every AI output is flagged is_ai_generated and logged in the decision-log table (default pi_ai_decision_logs, configurable).

LLM provider

LLM features run through LlmProviderInterface. The default driver is fake — deterministic, offline, no API keys, so the package works out of the box and CI never makes a live call. To use a real model, install/configure the official laravel/ai SDK and set:

For an EU/Italian-sovereign option, install padosoft/laravel-ai-regolo and set PI_LLM_PROVIDER=regolo. Embeddings have the same switch (PI_EMBEDDINGS_DRIVER=laravel-ai, PI_EMBEDDINGS_PROVIDER, PI_EMBEDDINGS_MODEL, PI_EMBEDDINGS_DIMENSIONS); the default is the deterministic FakeEmbeddingProvider.

Compliance: GDPR & EU AI Act

Configuration & feature toggles

Every feature and resilience mitigation has an explicit switch in config/price-intelligence.php (ai.*.enabled, review_insight.enabled, repricer.enabled, discovery.*, scraping.*, marketplaces.*, matching.*, storage.*, compliance.*, ai_act.*). Nothing runs that you didn't enable.

Competitive matrix

Capability Netrivals Competitoor this package
Price/stock multi-country
AI product matching ⚠️ ✅ cascade + confidence
Visual matching (vision LLM)
Marketplace adapters (Amazon buy-box) ⚠️
Repricing ✅ (opt, advisory)
Price forecasting
Anomaly detection
Review sentiment (GDPR-safe)
EU AI Act-ready by design
Open-source self-hostable ✅ Apache-2.0

See docs/COMPETITIVE-MATRIX.md.

Extending

Bind your own driver for any interface (scraper, matcher, embedding, forecast, FX, anomaly, sentiment, repricer strategy). See docs/EXTENDING.md.

Testing

The suite runs on SQLite in-memory with no external calls; an opt-in E2E suite uses real provider keys when present.

Documentation

License

Apache-2.0 © Padosoft


All versions of laravel-ai-price-intelligence with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-dom Version *
ext-json Version *
ext-libxml Version *
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^11.0 || ^12.0 || ^13.0
illuminate/http Version ^11.0 || ^12.0 || ^13.0
illuminate/queue Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
laravel/ai Version ^0.6.8 || ^0.7
league/csv Version ^9.0
padosoft/laravel-ai-search-providers Version ^1.0 || dev-main
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 padosoft/laravel-ai-price-intelligence contains the following files

Loading the files please wait ...