marketplaceful/laravel-marketplaceful

Laravel Marketplace


Keywords
marketplaceful, laravel-marketplaceful
License
Other

Documentation

Marketplaceful - Self-host your marketplace software

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A web platform for quickly building online marketplaces built on Laravel.

Installation

  1. Add the marketplaceful:install command to post-autoload-dump in composer.json .
"post-autoload-dump": [
    "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
    "@php artisan package:discover --ansi",
    "@php artisan marketplaceful:install --ansi"
],
  1. Require marketplaceful/laravel-marketplaceful.
composer require marketplaceful/laravel-marketplaceful
  1. Add the InteractsAsMarketplaceUser trait to your existing User model:
namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Marketplaceful\Traits\InteractsAsMarketplaceUser;

class User extends Authenticatable {

    use InteractsAsMarketplaceUser;

}
  1. Run migrations.
php artisan migrate

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The AGPL License (AGPL-3.0). Please see License File for more information.