16 best PHP Shoppingcart libraries in 2024

share link

by rajasekar dot icon Updated: Dec 6, 2022

technology logo
technology logo

Guide Kit Guide Kit  

Create shopping cart functionality for your PHP e-commerce application, such as converting online sales, adding items to the cart, ordering actions, validating users, changing order states, returning shipping costs, processing transactions, getting prices with conditions, accepting payments, and many more. 


An online shopping cart is a software that enables clients to make purchases from your business or shop by keeping track of the goods they want to buy later. The three essential features of any cart are convenience, ease of navigation, and security. E-commerce shopping carts often come in two varieties: Self-hosted or hosted shopping carts: A third party offers this kind of online shopping cart. It is simple to set up and interface with other company platforms and applications. Licensed shopping cart: A certified e-commerce shopping cart is unique. It demands more technical resources for deployment and maintenance, though you have more control over the functionality and design. You can build a responsive shopping cart using PHP shopping cart libraries. 


Check out the below list to find the best PHP shopping cart libraries for your application development: 

opencartby opencart

PHP doticonstar image 6846 doticonVersion:4.0.2.1doticon
License: Others (Non-SPDX)

A free shopping cart system. OpenCart is an open source PHP-based online e-commerce solution.

Support
    Quality
      Security
        License
          Reuse

            opencartby opencart

            PHP doticon star image 6846 doticonVersion:4.0.2.1doticon License: Others (Non-SPDX)

            A free shopping cart system. OpenCart is an open source PHP-based online e-commerce solution.
            Support
              Quality
                Security
                  License
                    Reuse

                      PrestaShopby PrestaShop

                      PHP doticonstar image 7275 doticonVersion:8.1.0-rc.1doticon
                      License: Others (Non-SPDX)

                      PrestaShop is the universal open-source software platform to build your e-commerce solution.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                PrestaShopby PrestaShop

                                PHP doticon star image 7275 doticonVersion:8.1.0-rc.1doticon License: Others (Non-SPDX)

                                PrestaShop is the universal open-source software platform to build your e-commerce solution.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse
                                          PHP doticonstar image 3534 doticonVersion:2.6.0doticon
                                          License: Permissive (MIT)

                                          A simple shopping cart implementation for Laravel

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    LaravelShoppingcartby Crinsane

                                                    PHP doticon star image 3534 doticonVersion:2.6.0doticon License: Permissive (MIT)

                                                    A simple shopping cart implementation for Laravel
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse
                                                              TypeScript doticonstar image 1425 doticonVersion:3.34doticon
                                                              no licences License: No License (null)

                                                              AvoRed an Open Source Laravel Shopping Cart

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        laravel-ecommerceby avored

                                                                        TypeScript doticon star image 1425 doticonVersion:3.34doticonno licences License: No License

                                                                        AvoRed an Open Source Laravel Shopping Cart
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  laravelshoppingcartby darryldecode

                                                                                  PHP doticonstar image 1167 doticonVersion:4.2.2doticon
                                                                                  no licences License: No License (null)

                                                                                  Shopping Cart Implementation for Laravel Framework

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            laravelshoppingcartby darryldecode

                                                                                            PHP doticon star image 1167 doticonVersion:4.2.2doticonno licences License: No License

                                                                                            Shopping Cart Implementation for Laravel Framework
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse
                                                                                                      PHP doticonstar image 1096 doticonVersion:Currentdoticon
                                                                                                      License: Permissive (MIT)

                                                                                                      Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                Ecommerce-CodeIgniter-Bootstrapby kirilkirkov

                                                                                                                PHP doticon star image 1096 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          laracartby lukepolo

                                                                                                                          PHP doticonstar image 519 doticonVersion:2.3.0doticon
                                                                                                                          License: Permissive (MIT)

                                                                                                                          Laravel Shopping Cart Package

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    laracartby lukepolo

                                                                                                                                    PHP doticon star image 519 doticonVersion:2.3.0doticon License: Permissive (MIT)

                                                                                                                                    Laravel Shopping Cart Package
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse
                                                                                                                                              PHP doticonstar image 380 doticonVersion:2.0.2doticon
                                                                                                                                              License: Permissive (MIT)

                                                                                                                                              :shopping_cart: Shopping cart for Laravel Application.

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        laravel-shopping-cartby overtrue

                                                                                                                                                        PHP doticon star image 380 doticonVersion:2.0.2doticon License: Permissive (MIT)

                                                                                                                                                        :shopping_cart: Shopping cart for Laravel Application.
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  yii2-shopping-cartby omnilight

                                                                                                                                                                  PHP doticonstar image 224 doticonVersion:1.3.0doticon
                                                                                                                                                                  License: Permissive (BSD-3-Clause)

                                                                                                                                                                  Shopping cart extension for yii2

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            yii2-shopping-cartby omnilight

                                                                                                                                                                            PHP doticon star image 224 doticonVersion:1.3.0doticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                            Shopping cart extension for yii2
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse
                                                                                                                                                                                      PHP doticonstar image 221 doticonVersion:v3.12.0doticon
                                                                                                                                                                                      License: Others (Non-SPDX)

                                                                                                                                                                                      PHP SDK for integrating with PayPal's Express Checkout / MassPay / Web Payments Pro APIs

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                merchant-sdk-phpby paypal

                                                                                                                                                                                                PHP doticon star image 221 doticonVersion:v3.12.0doticon License: Others (Non-SPDX)

                                                                                                                                                                                                PHP SDK for integrating with PayPal's Express Checkout / MassPay / Web Payments Pro APIs
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          Cartby seikan

                                                                                                                                                                                                          PHP doticonstar image 148 doticonVersion:Currentdoticon
                                                                                                                                                                                                          License: Permissive (MIT)

                                                                                                                                                                                                          A simple PHP shopping cart class to use in ecommerce web applications.

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    Cartby seikan

                                                                                                                                                                                                                    PHP doticon star image 148 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                                                                    A simple PHP shopping cart class to use in ecommerce web applications.
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              cartby mike182uk

                                                                                                                                                                                                                              PHP doticonstar image 147 doticonVersion:Currentdoticon
                                                                                                                                                                                                                              License: Permissive (MIT)

                                                                                                                                                                                                                              A flexible and modern shopping cart

                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                        cartby mike182uk

                                                                                                                                                                                                                                        PHP doticon star image 147 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                                                                                        A flexible and modern shopping cart
                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                  litecartby litecart

                                                                                                                                                                                                                                                  PHP doticonstar image 161 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                  License: Others (Non-SPDX)

                                                                                                                                                                                                                                                  LiteCart is a superfast e-commerce platform. Free for everyone to use. Built with the obession of lightweight using PHP, jQuery HTML 5 and CSS 3.

                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                            litecartby litecart

                                                                                                                                                                                                                                                            PHP doticon star image 161 doticonVersion:Currentdoticon License: Others (Non-SPDX)

                                                                                                                                                                                                                                                            LiteCart is a superfast e-commerce platform. Free for everyone to use. Built with the obession of lightweight using PHP, jQuery HTML 5 and CSS 3.
                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                    Reuse
                                                                                                                                                                                                                                                                      PHP doticonstar image 132 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                      no licences License: No License (null)

                                                                                                                                                                                                                                                                      CakePHP 2 Shopping Cart

                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                cakephp-2-shopping-cartby andraskende

                                                                                                                                                                                                                                                                                PHP doticon star image 132 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                                                                                                                                                                CakePHP 2 Shopping Cart
                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                          abantecart-srcby abantecart

                                                                                                                                                                                                                                                                                          PHP doticonstar image 132 doticonVersion:1.3.3.0doticon
                                                                                                                                                                                                                                                                                          License: Weak Copyleft (OSL-3.0)

                                                                                                                                                                                                                                                                                          AbanteCart is a free PHP based eCommerce solution for merchants to provide ability creating online business and sell products online quick and efficient. AbanteCart application is built and supported by experienced enthusiasts that are passionate about their work and contribution to rapidly evolving eCommerce industry. AbanteCart is more than just a shopping cart, it is rapidly growing eCommerce platform

                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                    abantecart-srcby abantecart

                                                                                                                                                                                                                                                                                                    PHP doticon star image 132 doticonVersion:1.3.3.0doticon License: Weak Copyleft (OSL-3.0)

                                                                                                                                                                                                                                                                                                    AbanteCart is a free PHP based eCommerce solution for merchants to provide ability creating online business and sell products online quick and efficient. AbanteCart application is built and supported by experienced enthusiasts that are passionate about their work and contribution to rapidly evolving eCommerce industry. AbanteCart is more than just a shopping cart, it is rapidly growing eCommerce platform
                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                                                                                                              infinitasby infinitas

                                                                                                                                                                                                                                                                                                              PHP doticonstar image 126 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                              no licences License: No License (null)

                                                                                                                                                                                                                                                                                                              Infinitas is an open source content management framework that was developed using the CakePHP framework (v2.x). Amongst other things, its a blog, cms, newsletter emailing system and on-line shopping cart.

                                                                                                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                                                                                                        infinitasby infinitas

                                                                                                                                                                                                                                                                                                                        PHP doticon star image 126 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                                                                                                                                                                                                        Infinitas is an open source content management framework that was developed using the CakePHP framework (v2.x). Amongst other things, its a blog, cms, newsletter emailing system and on-line shopping cart.
                                                                                                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                                                                                                Reuse