aimeos laravel

2025-12-10 0 885

Aimeos Laravel ecommerce package

Star us on GitHub — it motivates us a lot! ?

Aimeos is THE professional, full-featured and
ultra fast Laravel ecommerce package! You can install it in your
existing Laravel application within 5 minutes and can adapt, extend, overwrite
and customize anything to your needs.

Features

Aimeos is a full-featured e-commerce package:

  • 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
  • 100+ payment gateways
  • Full RTL support (frontend and backend)
  • 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
  • JSON REST API based on jsonapi.org
  • GraphQL API for administration
  • Completly modular structure
  • Extremely configurable and extensible
  • Extension for market places with millions of vendors
  • Fully SEO optimized including rich snippets
  • Translated to 30+ languages
  • AI-based text translation
  • Optimized for smart phones and tablets
  • Secure and reviewed implementation
  • High quality source code

… and more Aimeos features

Supported languages:

   

   

   

Check out the demos:

  • Aimeos frontend demo
  • Aimeos admin demo

Alternatives

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:

Aimeos shop distribution

Headless distribution

If you want to build a single page application (SPA) respectively a progressive web
application (PWA) yourself and don\’t need the Aimeos HTML frontend, then the Aimeos
headless distribution is the right choice:

Aimeos headless distribution

Table of content

  • Supported versions
  • Requirements
  • Database
  • Installation
  • Authentication
  • Setup
  • Test
  • Hints
  • License
  • Links

Supported versions

Currently, the Aimeos Laravel packages 2024.10 and later are fully supported:

  • Stable release: 2025.07+ (Laravel 10.x, 11.x and 12.x)
  • LTS release: 2024.10+ (Laravel 10.x and 11.x)

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

Requirements

The Aimeos shop distribution requires:

  • Linux/Unix, WAMP/XAMP or MacOS environment
  • PHP >= 8.1
  • 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!

Database

Make sure that you\’ve created the database in advance and added the configuration
to the .env file in your application directory. Sometimes, using the .env file makes
problems and you will get exceptions that the connection to the database failed. In that
case, add the database credentials to the resource/db section of your ./config/shop.php
file too!

If you don\’t have at least MySQL 5.7.8 or MariaDB 10.2.2 installed, you will probably get an error like

Specified key was too long; max key length is 767 bytes

To circumvent this problem, drop the new tables if there have been any created and
change the charset/collation setting in ./config/database.php to these values before
installing Aimeos again:

\'connections\' => [
    \'mysql\' => [
        // ...
        \'charset\' => \'utf8\',
        \'collation\' => \'utf8_unicode_ci\',
        // ...
    ]
]

Caution: Also make sure that your MySQL server creates InnoDB tables by default as MyISAM
tables won\’t work and will result in an foreign key constraint error!

If you want to use a database server other than MySQL, please have a look into the article about
supported database servers
and their specific configuration. Supported are:

  • MySQL, MariaDB (fully)
  • PostgreSQL (fully)
  • SQL Server (fully)

Make sure, you use one of the supported database servers in your .env file, e.g.:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=aimeos
DB_USERNAME=root
DB_PASSWORD=

Caution: The SQLite database configured by default is NOT supported!

Installation

The Aimeos Laravel online shop package is a composer based library. It can be
installed easiest by using Composer 2.1+ in the root
directory of your existing Laravel application:

wget https://*g*et*composer.org/download/latest-stable/composer.phar -O composer

Then, add these lines to the composer.json of the Laravel skeleton application:

    \"prefer-stable\": true,
    \"minimum-stability\": \"dev\",
    \"require\": {
        \"aimeos/aimeos-laravel\": \"~2025.07\",
        ...
    },
    \"scripts\": {
        \"post-update-cmd\": [
            \"@php artisan vendor:publish --tag=laravel-assets --ansi --force\",
            \"@php artisan vendor:publish --tag=public --ansi\",
            \"\\\\Aimeos\\\\Shop\\\\Composer::join\"
        ],
        ...
    }

Afterward, install the Aimeos shop package using

php composer update -W

In the last step, you must now execute these artisan commands to get a working
or updated Aimeos installation:

php artisan vendor:publish --tag=config --tag=public
php artisan migrate
php artisan aimeos:setup --option=setup/default/demo:1

In a production environment or if you don\’t want that the demo data gets
installed, leave out the --option=setup/default/demo:1 option.

Authentication

You have to set up one of Laravel\’s authentication starter kits. Laravel Breeze
is the easiest one but you can also use Jetstream.

composer require laravel/breeze
php artisan breeze:install
npm install && npm run build # if not executed automatically by the previous command

Laravel Breeze will ask you a few questions, the most important one is the type of stack you
want to use. Select \”Blade\” (it\’s the easiest way) and use the default values for the others.

It also adds a route for /profile to ./routes/web.php which may overwrite the
aimeos_shop_account route. To avoid an exception about a missing aimeos_shop_account
route, change the URL for these lines from ./routes/web.php file from /profile to
/profile/me:

Route::middleware(\'auth\')->group(function () {
    Route::get(\'/profile/me\', [ProfileController::class, \'edit\'])->name(\'profile.edit\');
    Route::patch(\'/profile/me\', [ProfileController::class, \'update\'])->name(\'profile.update\');
    Route::delete(\'/profile/me\', [ProfileController::class, \'destroy\'])->name(\'profile.destroy\');
});

For more information, please follow the Laravel documentation:

  • Laravel 12.x
  • Laravel 11.x
  • Laravel 10.x

Configure authentication

As a last step, you need to extend the boot() method of your
App\\Providers\\AppServiceProvider class and add the lines to define how
authorization for \”admin\” is checked in app/Providers/AppServiceProvider.php:

    public function boot()
    {
        // Keep the lines before

        \\Illuminate\\Support\\Facades\\Gate::define(\'admin\', function($user, $class, $roles) {
            if( isset( $user->superuser ) && $user->superuser ) {
                return true;
            }
            return app( \'\\Aimeos\\Shop\\Base\\Support\' )->checkUserGroup( $user, $roles );
        });
    }

Create account

Test if your authentication setup works before you continue. Create an admin account
for your Laravel application so you will be able to log into the Aimeos admin interface:

php artisan aimeos:account --super <email>

The e-mail address is the user name for login and the account will work for the
frontend too. To protect the new account, the command will ask you for a password.
The same command can create limited accounts by using --admin, --editor or --api
instead of --super (access to everything).

Setup

To reference images correctly, you have to adapt your .env file and set the APP_URL
to your real URL, e.g.

APP_URL=http://127.***0.0.1:8000

Caution: Make sure, Laravel uses the file session driver in your .env file!
Otherwise, the shopping basket content won\’t get stored correctly!

SESSION_DRIVER=file

If your ./public directory isn\’t writable by your web server, you have to create these
directories:

mkdir public/aimeos public/vendor
chmod 777 public/aimeos public/vendor

In a production environment, you should be more specific about the granted permissions!

Test

Then, you should be able to call the catalog list page in your browser. For a
quick start, you can use the integrated web server. Simply execute this command
in the base directory of your application:

php artisan serve

Frontend

Point your browser to the list page of the shop using:

  • 2024.x+: http://127.***0.0.1:8000/shop/search
  • 2023.x: http://127.***0.0.1:8000/shop

Note: Integrating the Aimeos package adds some routes like /shop or /admin to your
Laravel installation but the home page stays untouched! If you want to add Aimeos to
the home page as well, replace the route for \”/\” in ./routes/web.php by this line:

Route::group([\'middleware\' => [\'web\']], function () {
    Route::get(\'/\', \'\\Aimeos\\Shop\\Controller\\CatalogController@homeAction\')->name(\'aimeos_home\');
});

For multi-vendor setups, read the article about multiple shops.

This will display the Aimeos catalog home component on the home page you you get a
nice looking shop home page which will look like this:

Backend

If you\’ve still started the internal PHP web server (php artisan serve)
you should now open this URL in your browser:

http://127.***0.0.1:8000/admin

Enter the e-mail address and the password of the newly created user and press \”Login\”.
If you don\’t get redirected to the admin interface (that depends on the authentication
code you\’ve created according to the Laravel documentation), point your browser to the
/admin URL again.

Caution: Make sure that you aren\’t already logged in as a non-admin user! In this
case, login won\’t work because Laravel requires you to log out first.

Hints

To simplify development, you should configure to use no content cache. You can
do this in the config/shop.php file of your Laravel application by adding
these lines at the bottom:

    \'madmin\' => [
        \'cache\' => [
            \'manager\' => [
                \'name\' => \'None\',
            ],
        ],
    ],

License

The Aimeos Laravel package is licensed under the terms of the MIT license and
is available for free.

Links

  • Web site
  • Documentation
  • Forum
  • Issue tracker
  • Composer packages
  • Source code

下载源码

通过命令行克隆项目:

git clone https://github.com/aimeos/aimeos-laravel.git

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

申明:本文由第三方发布,内容仅代表作者观点,与本网站无关。对本文以及其中全部或者部分内容的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。本网发布或转载文章出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,也不代表本网对其真实性负责。

左子网 编程相关 aimeos laravel https://www.zuozi.net/32963.html

Plone CMS v4.2.4
上一篇: Plone CMS v4.2.4
http foundation
下一篇: http foundation
常见问题
  • 1、自动:拍下后,点击(下载)链接即可下载;2、手动:拍下后,联系卖家发放即可或者联系官方找开发者发货。
查看详情
  • 1、源码默认交易周期:手动发货商品为1-3天,并且用户付款金额将会进入平台担保直到交易完成或者3-7天即可发放,如遇纠纷无限期延长收款金额直至纠纷解决或者退款!;
查看详情
  • 1、描述:源码描述(含标题)与实际源码不一致的(例:货不对板); 2、演示:有演示站时,与实际源码小于95%一致的(但描述中有”不保证完全一样、有变化的可能性”类似显著声明的除外); 3、发货:不发货可无理由退款; 4、安装:免费提供安装服务的源码但卖家不履行的; 5、收费:价格虚标,额外收取其他费用的(但描述中有显著声明或双方交易前有商定的除外); 6、其他:如质量方面的硬性常规问题BUG等。 注:经核实符合上述任一,均支持退款,但卖家予以积极解决问题则除外。
查看详情
  • 1、左子会对双方交易的过程及交易商品的快照进行永久存档,以确保交易的真实、有效、安全! 2、左子无法对如“永久包更新”、“永久技术支持”等类似交易之后的商家承诺做担保,请买家自行鉴别; 3、在源码同时有网站演示与图片演示,且站演与图演不一致时,默认按图演作为纠纷评判依据(特别声明或有商定除外); 4、在没有”无任何正当退款依据”的前提下,商品写有”一旦售出,概不支持退款”等类似的声明,视为无效声明; 5、在未拍下前,双方在QQ上所商定的交易内容,亦可成为纠纷评判依据(商定与描述冲突时,商定为准); 6、因聊天记录可作为纠纷评判依据,故双方联系时,只与对方在左子上所留的QQ、手机号沟通,以防对方不承认自我承诺。 7、虽然交易产生纠纷的几率很小,但一定要保留如聊天记录、手机短信等这样的重要信息,以防产生纠纷时便于左子介入快速处理。
查看详情

相关文章

猜你喜欢
发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务