PHPackages                             dan-powell/shop - 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. dan-powell/shop

ActiveLibrary

dan-powell/shop
===============

Super Simple Shop for Laravel 5

120CSS

Since Jan 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/dan-powell/shop)[ Packagist](https://packagist.org/packages/dan-powell/shop)[ RSS](/packages/dan-powell-shop/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WIP
===

[](#wip)

This software is pre-alpha, don't bother to use it just yet...

Install
=======

[](#install)

1.

```
$ composer require dan-powell/shop

```

2. config/app.php

    DanPowell\\Shop\\ShopServiceProvider::class, AlfredoRamos\\ParsedownExtra\\ParsedownExtraServiceProvider::class, Baum\\Providers\\BaumServiceProvider::class, Ignited\\LaravelOmnipay\\LaravelOmnipayServiceProvider::class Krucas\\Notification\\NotificationServiceProvider::class,

Aliases

```
'Str' => Illuminate\Support\Str::class,
'Markdown'  => AlfredoRamos\ParsedownExtra\Facades\ParsedownExtra::class,
'Omnipay' => Ignited\LaravelOmnipay\Facades\OmnipayFacade::class
'Notification' => Krucas\Notification\Facades\Notification::class,

```

Kernel middleware array (must be placed after 'Illuminate\\Session\\Middleware\\StartSession' middleware)

```
\Krucas\Notification\Middleware\NotificationMiddleware::class,

```

3. publish assets

    php artisan vendor:publish --tag='migrations'

    php artisan vendor:publish --tag='config'

    php artisan vendor:publish --provider='AlfredoRamos\\ParsedownExtra\\ParsedownExtraServiceProvider' --force
4. migrations

    php artisan migrate
5. Add user

    php artisan shop:adduser

Updating
========

[](#updating)

3. publish assets

    php artisan vendor:publish --tag='migrations' php artisan vendor:publish --tag='admin'
4. migrations

    php artisan migrate

Seeding
=======

[](#seeding)

1. publish

    php artisan vendor:publish --tag='dev' --force
2. DatabaseSeeder.php

    $this-&gt;call('ShopSeeder');
3. Seed

    composer dump-autoload php artisan db:seed

Testing
=======

[](#testing)

Publish those assets

```
php artisan vendor:publish --tag='tests' --force

```

config/database.php

```
'testing' => [
    'driver'    => 'mysql',
    'host'      => 'localhost',
    'database'  => 'shop_testing',
    'username'  => 'homestead',
    'password'  => 'secret',
    'charset'   => 'utf8',
    'collation' => 'utf8_unicode_ci',
    'prefix'    => '',
    'strict'    => false,
],

```

test/functional.suite.yml

```
modules:
  enabled:
    - Laravel5:
        environment_file: .env.testing

```

.env.testing

```
APP_ENV=testing
APP_DEBUG=true
APP_KEY=AqBqHv6GYO2PSIY3PIVO3o4zdcKovDdN

BASE_URL=http://shop.dev

DB_HOST=localhost
DB_DATABASE=shop_testing
DB_USERNAME=homestead
DB_PASSWORD=secret

CACHE_DRIVER=file
SESSION_DRIVER=file

```

Migrate

```
php artisan migrate --database=testing

```

Run

```
php ./vendor/bin/codecept run

```

Roadmap
=======

[](#roadmap)

TODO: Replace hard-coded strings with language file (including validation messages)

TODO: Finish checkout process

TODO: Add callback (send order ID as encrypted string)

TODO: Pagination

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3aa93ba846775b88f8c71c2af5c6a676558abb237d98033356583190d48d78d?d=identicon)[dan-powell](/maintainers/dan-powell)

---

Top Contributors

[![dan-powell](https://avatars.githubusercontent.com/u/1708759?v=4)](https://github.com/dan-powell "dan-powell (96 commits)")

### Embed Badge

![Health badge](/badges/dan-powell-shop/health.svg)

```
[![Health](https://phpackages.com/badges/dan-powell-shop/health.svg)](https://phpackages.com/packages/dan-powell-shop)
```

PHPackages © 2026

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