PHPackages                             nickdekruijk/webshop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. nickdekruijk/webshop

ActiveLibrary[Payment Processing](/categories/payments)

nickdekruijk/webshop
====================

Add a simple webshop to your Laravel project

4.1.0(8mo ago)21971MITPHPPHP ^8.1

Since Feb 18Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/nickdekruijk/webshop)[ Packagist](https://packagist.org/packages/nickdekruijk/webshop)[ RSS](/packages/nickdekruijk-webshop/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (5)Versions (25)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/c91128919b089f142bb630424a3f47bce2e2b85e288f90139f9b19c4a278282b/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f77656273686f702f762f737461626c65)](https://packagist.org/packages/nickdekruijk/webshop)[![Latest Unstable Version](https://camo.githubusercontent.com/49bd23575d48a1a1f7f643e8ef17c60e19ddb8f86faa0794d66f0380b8c15a6a/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f77656273686f702f762f756e737461626c65)](https://packagist.org/packages/nickdekruijk/webshop)[![Monthly Downloads](https://camo.githubusercontent.com/3318df5daf07c767d8900d5ddb06a3a1f4c58cf64deb5ca2c99604b976f324d7/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f77656273686f702f642f6d6f6e74686c79)](https://packagist.org/packages/nickdekruijk/webshop)[![Total Downloads](https://camo.githubusercontent.com/11be89620d204541f091a3fca16a1b80009a69f4947168ddec6468ca14274e3f/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f77656273686f702f646f776e6c6f616473)](https://packagist.org/packages/nickdekruijk/webshop)[![License](https://camo.githubusercontent.com/df72369d77b16e256ba096c0b7f54a1f15df820d77b47359112355da6cae4f46/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f77656273686f702f6c6963656e7365)](https://packagist.org/packages/nickdekruijk/webshop)

Webshop
=======

[](#webshop)

Add a simple webshop to your Laravel project

Installation
------------

[](#installation)

`composer require nickdekruijk/webshop`

Publish the config file with

`php artisan vendor:publish --tag=config --provider="NickDeKruijk\Webshop\ServiceProvider"`

### Product model/table

[](#product-modeltable)

You will need a working Product model and database table. See the sample [migration](https://github.com/nickdekruijk/webshop/blob/master/src/examples/2020_08_19_152120_create_products_table.php) and [model](https://github.com/nickdekruijk/webshop/blob/master/src/examples/Product.php) in the [examples folder](https://github.com/nickdekruijk/webshop/tree/master/src/examples).

If your Product model differs from `App\Product` then change the product\_model value in your `config/webshop.php` file.

More info coming soon...

### Admin package integration

[](#admin-package-integration)

To manage products/vat/coupons etc with the [nickdekruijk/admin](https://github.com/nickdekruijk/admin) package add the modules as described in [this example file](https://github.com/nickdekruijk/webshop/blob/master/src/examples/admin.md) to your `config/admin.php` file.

### Webhooks and Csrf

[](#webhooks-and-csrf)

To make the payment provider webhooks work you may need to update the `$except` array in `app\Http\Middleware\VerifyCsrfToken.php`

```
    protected $except = [
        'webshop/webhook-payment',
    ];
```

Some seeds with data to start with
----------------------------------

[](#some-seeds-with-data-to-start-with)

Dutch VAT `php artisan db:seed --class=NickDeKruijk\\Webshop\\Seeds\\VatDutch`

Dutch Discounts `php artisan db:seed --class=NickDeKruijk\\Webshop\\Seeds\\DiscountsDutch`

License
-------

[](#license)

Admin is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance62

Regular maintenance activity

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Recently: every ~141 days

Total

24

Last Release

241d ago

Major Versions

1.0.0 → 2.0.02020-07-09

2.0.2 → 3.0.02020-10-30

3.5.6 → 4.0.02024-11-26

PHP version history (2 changes)1.0.0PHP &gt;=7.2.0

4.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b01fc7c2c39bbe8f87b4afa70ffe1cf2bb787310e1d22fcfed6ae527d4573bb?d=identicon)[nickdekruijk](/maintainers/nickdekruijk)

---

Top Contributors

[![nickdekruijk](https://avatars.githubusercontent.com/u/607302?v=4)](https://github.com/nickdekruijk "nickdekruijk (220 commits)")

---

Tags

phplaravelwebshopcartcheckout

### Embed Badge

![Health badge](/badges/nickdekruijk-webshop/health.svg)

```
[![Health](https://phpackages.com/badges/nickdekruijk-webshop/health.svg)](https://phpackages.com/packages/nickdekruijk-webshop)
```

###  Alternatives

[baklysystems/laravel-paymob

Laravel PayMob online payment gateway package

282.4k](/packages/baklysystems-laravel-paymob)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
