Download the PHP package berkayk/laravel-cart without Composer

On this page you can find all versions of the php package berkayk/laravel-cart. 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-cart

Latest Stable Version Total Downloads License

Cart Manager for Laravel 5.5+

This package is an updated version of FreshBitsWeb's laravel-cart-manager package.

What's updated

Just another shopping cart package?

There are a few well maintained shopping cart packages available but I wanted to have a solution which feels like the Laravel way and is more coupled with the database and provides additional functionality like shipping charges, discount, tax, total, round off, guest carts, etc. out-of-box while staying a very easy to use package.

Why/when to use?

Let us decide when this package should be used:

  1. You are looking for an easy to use solution which provides cart feature for users as well as guests.
  2. You want to make sure that the carting can work via APIs as well to support mobile applications.
  3. You want features like Shipping charges, tax, discount, round off, etc.
  4. You want to store cart data in Database, session or at a custom place.
  5. You like using the packages which are more like the Laravel way

Installation

1) Install the package by running this command in your terminal/cmd:

2) Import config file by running this command in your terminal/cmd:

3) Import migrations files by running these commands in your terminal/cmd:

4) Add a trait to the model(s) of cart items:

Usage - As Easy as 1 2 3

Online Demo

The demo of the package can be found at - https://laravel-cart-manager.freshbits.in

Detailed Documentation

Checkout the full documentation.

Tests

Run this command to run the tests of the package:

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Special Thanks to


All versions of laravel-cart with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
illuminate/support Version 5.5.*|5.6.*|5.7.*
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 berkayk/laravel-cart contains the following files

Loading the files please wait ....