https://github.com/aimeos/aimeos-headless
Aimeos cloud-native, API-first ecommerce headless distribution based on Laravel 11 for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce
https://github.com/aimeos/aimeos-headless
api cloud ecommerce ecommerce-api ecommerce-framework ecommerce-platform headless laravel microservice php shop vue
Last synced: 27 days ago
JSON representation
Aimeos cloud-native, API-first ecommerce headless distribution based on Laravel 11 for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce
- Host: GitHub
- URL: https://github.com/aimeos/aimeos-headless
- Owner: aimeos
- Created: 2021-11-26T13:00:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-30T19:18:59.000Z (about 1 month ago)
- Last Synced: 2025-05-12T01:06:37.995Z (29 days ago)
- Topics: api, cloud, ecommerce, ecommerce-api, ecommerce-framework, ecommerce-platform, headless, laravel, microservice, php, shop, vue
- Language: JavaScript
- Homepage:
- Size: 2.63 MB
- Stars: 1,861
- Watchers: 4
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Aimeos headless distribution
:star: Star us on GitHub — it motivates a lot!
[Aimeos](https://aimeos.org/Laravel) 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](https://aimeos.org/features)
Supported languages:
Check out the demos:
* [Aimeos frontend demo](https://laravel.demo.aimeos.org)
* [Aimeos admin demo](https://admin.demo.aimeos.org)## 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](https://github.com/aimeos/aimeos-laravel)
### 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](https://github.com/aimeos/aimeos)
## Table of content
- [Requirements](#requirements)
- [Installation](#installation)
- [Frontend](#frontend)
- [Backend](#backend)
- [Customize](#customize)
- [Multi-vendor](#multi-vendor)
- [License](#license)
- [Links](#links)## 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](https://aimeos.org/docs/latest/laravel/setup/#upgrade)!## Installation
To install the Aimeos shop application, you need [composer 2.2+](https://getcomposer.org).
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](http://127.0.0.1:8000/jsonapi)Learn how to use the [JSON REST API](https://aimeos.org/docs/latest/frontend/jsonapi/)
### Authenticate
To authenticate using e-mail and password, send a POST request:
```bash
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:
```json
{"access_token":"eyJ0eXAiOiJKV...","token_type":"bearer","expires_in":3600}
```Use this access token in all further requests as HTTP header:
```bash
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](http://127.0.0.1:8000/admin)[](http://admin.demo.aimeos.org/)
## 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
``````php
'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
``````php
'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
``````php
'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](https://laravel.com) and the
[Aimeos ecommerce framework](https://aimeos.org/docs/latest/) exists. If you have questions
about Aimeos, don't hesitate to ask in our [Aimeos forum](https://aimeos.org/help/).## License
The Aimeos shop system is licensed under the terms of the MIT and LGPLv3 license and
is available for free.## Links
* [Web site](https://aimeos.org/Laravel)
* [Documentation](https://aimeos.org/docs/latest/)
* [Forum](https://aimeos.org/help/)
* [Issue tracker](https://github.com/aimeos/aimeos-headless/issues)
* [Composer packages](https://packagist.org/packages/aimeos/aimeos-headless)
* [Source code](https://github.com/aimeos/aimeos-headless)