Marketplaceful - Self-host your marketplace software
A web platform for quickly building online marketplaces built on Laravel.
Installation
- Add the
marketplaceful:install
command topost-autoload-dump
incomposer.json
.
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan marketplaceful:install --ansi"
],
- Require
marketplaceful/laravel-marketplaceful
.
composer require marketplaceful/laravel-marketplaceful
- 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;
}
- 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.