aimeos/aimeos-headless

Aimeos headless ecommerce system
3,210 2,576
Install
composer require aimeos/aimeos-headless
Latest Version:2026.10.1
PHP:^8.2
License:MIT
Last Updated:Oct 7, 2026
Links: GitHub  ·  Packagist
Maintainer: aimeos

Aimeos headless distribution

:star: Star us on GitHub — it motivates a lot!

Aimeos is THE ultra-fast, cloud-native and API-first headless ecommerce for Laravel! You can adapt, extend, overwrite and customize anything to your needs.

Features

Aimeos is a full-featured e-commerce package:

  • JSON REST API based on jsonapi.org
  • GraphQL API for administration
  • Perfect fit for AWS, Google, Azure and Kubernetes based clouds
  • Multi vendor, multi channel and multi warehouse
  • From one to 1,000,000,000+ items
  • Extremly fast down to 20ms
  • For multi-tentant e-commerce SaaS solutions with unlimited vendors
  • Bundles, vouchers, virtual, configurable, custom and event products
  • Subscriptions with recurring payments
  • Block/tier pricing out of the box
  • Extension for customer/group based prices
  • Discount and voucher support
  • Flexible basket rule system
  • Full-featured admin backend
  • Beautiful admin dashboard
  • Configurable product data sets
  • Completly modular structure
  • Extremely configurable and extensible
  • Extension for market places with millions of vendors
  • Translated to 30+ languages
  • Full RTL support
  • AI-based text translation
  • Secure and reviewed implementation
  • High quality source code

... and more Aimeos features

Supported languages:

Check out the demos:

Alternatives

Integrate into existing applications

You already have an existing Laravel application and want to add a shop to your web site? Install the Aimeos composer package for Laravel and add e-commerce to your existing application in minutes:

:star: Aimeos Laravel package

Full shop application

If you want to set up a new application or test Aimeos, we recommend the Aimeos shop distribution. It contains everything for a quick start and you will get a fully working online shop in less than 5 minutes:

:star: Aimeos shop distribution

Table of content

Requirements

The Aimeos headless distribution requires:

  • AWS, Google, Azure or Kubernetes cloud, Linux/Unix, WAMP/XAMP or MacOS environment
  • PHP >= 8.2
  • MySQL >= 5.7.8, MariaDB >= 10.2.2, PostgreSQL 9.6+, SQL Server 2019+
  • Web server (Apache, Nginx or integrated PHP web server for testing)

If required PHP extensions are missing, composer will tell you about the missing dependencies.

If you want to upgrade between major versions, please have a look into the upgrade guide!

Installation

To install the Aimeos shop application, you need composer 2.2+. On the CLI, execute this command for a complete installation including a working setup:

wget https://getcomposer.org/download/latest-stable/composer.phar -O composer
php composer create-project aimeos/aimeos-headless headless

You will be asked for the parameters of your database and mail server as well as an e-mail and password used for creating the administration account.

In a local environment, you can use the integrated PHP web server to test your new Aimeos installation. Simply execute the following command to start the web server:

cd headless
php artisan serve

Note: In an hosting environment, the document root of your virtual host must point to the /.../headless/public/ directory and you have to change the APP_URL setting in your .env file to your domain without port, e.g.:

APP_URL=http://myhostingdomain.com

JSON REST API

After the installation, you can test the Aimeos JSON REST API by calling the URL of your VHost in your browser. If you use the integrated PHP web server, you should browse this URL: http://127.0.0.1:8000/jsonapi

Learn how to use the JSON REST API

Authenticate

To authenticate using e-mail and password, send a POST request:

curl -X POST "http://127.0.0.1:8000/api/login?email=me@localhost&password=test"

If the authentication was successful, the API will return with a response like this:

{"access_token":"eyJ0eXAiOiJKV...","token_type":"bearer","expires_in":3600}

Use this access token in all further requests as HTTP header:

curl -X POST "http://127.0.0.1:8000/api/me" -H "Authorization: Bearer eyJ0eXAiOiJKV..."

Backend

The Aimeos administration interface will be available at /admin in your VHost. When using the integrated PHP web server, call this URL: http://127.0.0.1:8000/admin

Aimeos admin backend

MCP server

AI agents like Claude or ChatGPT can manage your shop using the Model Context Protocol server available at /admin/<site>/mcp, e.g. http://127.0.0.1:8000/admin/default/mcp for the default site. It offers tools to search, create, update and delete products, categories, customers, orders and many more items.

The endpoint requires a Laravel Sanctum API token of an admin, editor or super user. To create a token for an existing account, use:

php artisan tinker --execute 'echo App\Models\User::where("email", "me@example.com")->firstOrFail()->createToken("mcp")->plainTextToken;'

Pass the token in the Authorization: Bearer <token> header from your MCP client, e.g. for Claude Code:

claude mcp add --transport http aimeos http://127.0.0.1:8000/admin/default/mcp --header "Authorization: Bearer <token>"

Super users can use all tools while the available tools for other accounts depend on the permissions configured in admin/mcp/resource. To disable the MCP server, remove the mcp entry from the routes section in config/shop.php.

OAuth login

Remote AI clients like Claude.ai or ChatGPT connectors require an OAuth login instead of API tokens. Users then add the MCP URL in their client, log in with their shop account and approve the access. To use OAuth via Laravel Passport instead of Sanctum tokens, run:

composer require laravel/passport
php artisan passport:install

Afterwards, set the authentication method for the MCP server in your .env file:

SHOP_MCP_AUTH=passport

MCP clients register themselves automatically. By default, they can use any redirect URL; to restrict them, publish the configuration using php artisan vendor:publish --tag=mcp-config and adapt redirect_domains and custom_schemes in config/mcp.php.

Cloud filesystems

To use cloud storage like AWS S3 compatible object storages, adapt the resource/fs sections in the ./config/shop.php file and configure the filesystem like this:

composer req ai-filesystem league/flysystem-aws-s3-v3
'fs' => [
	'adapter' => 'FlyAwsS3',
	'credentials' => [
		'key' => 'your-key',
		'secret' => 'your-secret',
	],
	'region' => 'your-region',
	'version' => 'latest|api-version',
	'bucket' => 'your-bucket-name',
	'prefix' => 'your-prefix', // optional
    'baseurl' => 's3-domain-and-path'
],

For Azure Blob storage use:

composer req ai-filesystem league/flysystem-azure-blob-storage
'fs' => [
	'adapter' => 'FlyAzure',
	'endpoint' => 'DefaultEndpointsProtocol=https;AccountName=your-account;AccountKey=your-api-key',
	'container' => 'your-container',
	'prefix' => 'your-prefix', // optional
    'baseurl' => 'azure-domain-and-path'
],

And for Google Cloud storage:

composer req ai-filesystem league/flysystem-google-cloud-storage
'fs' => [
	'adapter' => 'FlyGoogleCloud',
	'keyFile' => json_decode(file_get_contents('/path/to/keyfile.json'), true), // alternative
	'keyFilePath' => '/path/to/keyfile.json', // alternative
	'projectId' => 'myProject', // alternative
	'prefix' => 'your-prefix' // optional
    'baseurl' => 'gcloud-domain-and-path'
],

Customize

Laravel and the Aimeos headless ecommerce distribution are extremely flexible and highly customizable. A lot of documentation for the Laravel framework and the Aimeos ecommerce framework exists. If you have questions about Aimeos, don't hesitate to ask in our Aimeos forum.

License

The Aimeos shop system is licensed under the terms of the MIT and LGPLv3 license and is available for free.

Links

Related Packages

aimeos/aimeos

Aimeos ecommerce and shop system

109,902 5,462
aimeos/aimeos-laravel

Cloud native, API first Laravel eCommerce package with integrated AI for ultra-f...

238,581 8,707
lunarphp/core

Lunar Laravel e-commerce core functionality.

289,542 7
pixelpeter/laravel5-woocommerce-api-client

Laravel 5 wrapper for the Woocommerce REST API

106,909 123
getcandy/core

GetCandy Laravel e-commerce core functionality.

6,888 15

Version History

Version Released PHP Laravel License
2026.10.1 ^8.2 ^13.0 MIT
2026.04.1 ^8.2 ^13.0 MIT
2025.10.1 ^8.1 ^12.0 MIT
2025.07.1 ^8.1 ^12.0 MIT
2025.04.1 ^8.1 ^12.0 MIT