marketplacekit / marketplacekit
Open source Marketplace Platform
Installs: 5 156
Dependents: 0
Suggesters: 0
Security: 0
Stars: 753
Watchers: 79
Forks: 330
Open Issues: 104
Type:project
Requires
- php: ^7.1.3
- amelia/backblaze: dev-master
- anhskohbo/no-captcha: ^3.0
- anlutro/l4-settings: ^0.7.0
- applicazza/appointed: ^0.6.4
- arrilot/laravel-widgets: ^3.10
- atayahmet/laravel-nestable: ^0.8.7
- barryvdh/laravel-cors: ^0.11.0
- barryvdh/laravel-translation-manager: 0.5.3
- bentools/cartesian-product: ^1.2
- christiankuri/laravel-favorite: ^1.2
- chumper/zipper: ^1.0
- cornford/googlmapper: ^2.31
- cviebrock/eloquent-sluggable: ^4.5
- cybercog/laravel-ban: ^3.1
- davidgorges/human-name-parser: ^0.2.1
- depsimon/laravel-wallet: ^1.0
- fideloper/proxy: ^4.0
- genealabs/laravel-caffeine: ^0.6.8
- geokit/geokit: ^1.3
- gerardojbaez/laraplans: ^2.2
- gerardojbaez/money: ^0.3.1
- grimzy/laravel-mysql-spatial: ^2.0
- html2text/html2text: ^4.2
- igaster/laravel-theme: ^2.0
- intervention/image: ^2.4
- intervention/imagecache: ^2.3
- ixudra/curl: ^6.16
- jenssegers/date: ^3.3
- jralph/twig-markdown: 1.0.1
- jrean/laravel-user-verification: dev-master
- kodeine/laravel-meta: dev-master
- kris/laravel-form-builder: ^1.14
- larapack/config-writer: 1.*
- laravel/framework: 5.6.*
- laravel/tinker: ^1.0
- leafo/scssphp: ^0.7.7
- league/period: ^3.4
- marketplacekit/laravel-modules: 3.3.1.1
- mcamara/laravel-localization: ^1.3
- mhetreramesh/flysystem-backblaze: ^1.1
- nahid/talk: dev-master
- nicolaslopezj/searchable: ^1.9
- overtrue/laravel-follow: ^1.1
- phoenix/eloquent-meta: ^1.9
- php-units-of-measure/php-units-of-measure: ^2.1
- propaganistas/laravel-disposable-email: ^2.0
- pulkitjalan/geoip: ^2.6
- rcrowe/twigbridge: ^0.9.6
- roumen/sitemap: ^2.8
- sofa/eloquence-base: ^5.6
- sofa/eloquence-metable: ^5.6
- spatie/laravel-blade-javascript: ^2.1
- spatie/laravel-newsletter: ^4.2
- spatie/laravel-permission: ^2.12
- spatie/laravel-schemaless-attributes: ^1.4
- spatie/laravel-tags: 2.1.5
- spiritix/lada-cache: dev-master
- stevebauman/location: ^3.0
- stichoza/google-translate-php: ^3.2
- themsaid/laravel-langman: ^1.3
- tom-lingham/searchy: ^2.0
- torann/laravel-meta-tags: ^3.0
- twig/extensions: ^1.5
- tymon/jwt-auth: 1.0.0-rc.2
- urodoz/truncate-html: @stable
- v-matsuk/time-overlap-calculator: ^1.0
- vinkla/alert: ^3.0
- vinkla/hashids: ^5.0
- watson/active: ^2.0
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.1
- filp/whoops: ^2.0
- fzaninotto/faker: ^1.4
- mockery/mockery: ^1.0
- nunomaduro/collision: ^2.0
- phpunit/phpunit: ^7.0
- dev-master
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- 1.0.4-beta
- v1.0.3
- v1.0.3-beta
- 1.0.2-beta
- 1.0.1-beta
- 1.0.0-beta
- 0.1.0
- v0.1.0-alpha
- dev-dependabot/npm_and_yarn/json5-and-laravel-mix-2.2.3
- dev-dependabot/npm_and_yarn/qs-6.3.3
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/chownr-1.1.4
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/tar-2.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/axios-0.21.1
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/node-sass-4.14.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/jquery-3.5.0
- dev-dependabot/composer/symfony/http-foundation-4.4.1
- dev-dependabot/npm_and_yarn/fstream-1.0.12
- dev-dependabot/npm_and_yarn/bootstrap-4.3.1
- dev-dependabot/npm_and_yarn/lodash.mergewith-4.6.2
- dev-dependabot/npm_and_yarn/mixin-deep-1.3.2
- dev-beta-release
This package is auto-updated.
Last update: 2024-12-05 05:18:42 UTC
README
About MarketplaceKit
MarketplaceKit is a platform for building different types of online marketplaces. MarketplaceKit attempts to reduce the development effort required to build product, rental, service and listing marketplaces such as Etsy, AirBnB, Handy and Zillow. It does this by attempting to cover the main components a marketplace needs, including the following:
- Powerful search across multiple fields, geolocation and custom fields
- Geolocalization for users and listings
- Frontend listing creation and browsing
- User profiles
- Direct messaging between users
- Multilingual functionality
MarketplaceKit uses popular, well documented packages without too much overhead to simplify a developers/designers life. Therefore, the following choices were made:
- Based on the popular Laravel Framework
- Leverages Bootstrap 4 for a responsive and mobile-first theme out of the box
- Separates theming logic from development by using Twig
- Avoids JS frameworks that require compilation
- Uses different widgets for different listing types (coming soon)
MarketplaceKit is easy to customize, change the design and supports multiple languages.
Server Requirements
- PHP 7.2
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- ImageMagick PHP Extension
- MySQL 5.7.7 or greater
- Node JS (8.9.4) - this is only required for compiling SCSS to CSS
- Git
- ImageMagick
- Nginx
Although MarketplaceKit has been tested on Ubuntu 16.04 LTS. It should work with any OS that satisfies the above requirements. Nginx (https://laravel.com/docs/5.6/deployment#nginx) is recommended as a webserver. Developers should also have knowledge of Laravel, Bootstrap and Twig for extending/building on top of MarketplaceKit.
Installation
-
Download the code via composer
composer create-project marketplacekit/marketplacekit:dev-master marketplacekit
-
Add your database details to the .env file
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret
-
Create the public disk
php artisan storage:link
-
Create the database tables by running
php artisan migrate
-
Seed the database by running
php artisan db:seed
-
Configure your Nginx server block or Apache Vhost to point to the /public folder
e.g. nginx
location / { try_files $uri $uri/ /index.php?$query_string; }
e.g. apache
Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]
-
Visit your domain login and change the default password
Default username: admin Default password: changeme
-
Add your domain to APP_URL in .env file
APP_URL=http://localhost.com
Don't forget to add https:// in production.
-
Install the node modules (Optional)
npm install
Facebook login
In order for your users to login via Facebook you need to register for a Facebook key.
- Go to https://developers.facebook.com and register for a developer account.
- Create a Facebook app via https://developers.facebook.com/apps. Instructions for creating a Facebook application can be found here: https://developers.facebook.com/docs/apps/register.
- On the "Product Setup" page, click the Dashboard link on the left-hand side.
- Save the App ID and App Secret values so you can add them to the MarketplaceKit panel
Google Maps Keys
MarketplaceKit relies on Google Maps for geolocalized searches. Please visit https://developers.google.com/maps/documentation/javascript/get-api-key to generate your key. You can then add this in the admin panel.
Updating
To update MarketplaceKit please run:
git pull origin master
and to install any new packages
composer update
API (Note: Work in progress)
For authentication: POST /api/auth/login [email, password] GET /api/auth/me GET /api/auth/refresh
For all other requests please use the same URLs as the website but use use "Accept: application/json" in the HTTP headers. This will convert all data passed to HTML into JSON. e.g. POST /register GET /browse GET /listing//
License
MarketplaceKit is free software, and is released under the terms of the GPL version 3. See license.txt.