Skip to content
getwebspacePublic

About

Simple multi-user online stores engine

Topics

Resources

Stars

11 stars

Watchers

4 watching

Forks

Latest commit

 

History

2,736 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Docker builder License Visitors

WebSpace Platform (WSE)

Website | Documentation | Official Repository | Issue Tracker | Docker template | Demo website here

Demo site

Multi-user online stores designed for those who dislike complex online constructs. Built on open source technology, it provides both flexibility and accessibility.

Features
  • Static pages
  • Users:
    • Users
    • User groups
    • Permissions
    • Mailing list
  • Publications
    • Posts
    • Categories
  • Shop:
    • Catalogs
    • Products
    • Attributes
    • Orders
    • Statistic
  • Dynamic forms
  • Guestbook
  • Files and Image optimization (GD -> WebP)
  • Background tasks
  • Theme templates in Twig
  • Mailing, via SMTP
  • File editor:
    • Theme
    • Resource
  • Plugins API, types:
    • Default
    • OAuth
    • Delivery
    • Payment
    • Language (locale)
    • Legacy
  • HTTP API:
    • Dedicated REST API
    • Search API
    • Each public controller as API
    • Telemetry
  • Included reCAPTCHA
  • Latest PHP version
  • Latest dependencies
  • Docker compatible

and more..

Quickstart

Production mode
Installation instructions from Docker template getwebspace/platform-template

Developer mode
Clone repo and use docker by running the command: make up, then open http://localhost:9000

Environment variables

You can define the next environment variables

Type Variable Name Default description
Build BUILD_DEPENDENCIES Dependencies used in the build
Build DEPENDENCIES Core Libraries
Build EXTRA_EXTENSIONS pdo_mysql Additional Libraries
Build PLATFORM_HOME /var/container Home directory
Runtime DEBUG 0 Debug mode
Runtime TEST 0 Test mode
Runtime DATABASE PDO Database params (default: sqlite)
Runtime SIMPLE_PHONE_CHECK 0 Checking the user's phone number for compliance with the standard
Runtime TZ TimeZone (default: UTC)

Database Example: mysql://my_user:my_pass@127.0.0.0:3306/example

Makefile commands
Command Action
make up Up
make down Down
make run-test PHPUnit test's
make run-lint PHP Coding Standards automatically code fixer
make migrate-up Phinx migration up
make migrate-down Phinx migration rollback
make migrate-create Phinx create empty migration file
make migrate-status Phinx check status
Scheduled jobs (for plugin authors)

A job is a class extending App\Domain\AbstractSchedule with a run() method. A plugin schedules it in its constructor:

$this->addSchedule(\MyPlugin\Jobs\Cleanup::class, '0 3 * * *');                 // every night at 03:00
$this->addSchedule(\MyPlugin\Jobs\Sync::class, '*/15 * * * MON-FRI', 'sync-work');  // a key: several schedules of one class
$this->addSchedule(\MyPlugin\Jobs\Report::class, '@daily', null, true);          // catch up once after a downtime
  • The cron line is checked when the job is registered; a wrong one is logged and the job is not registered.
  • Times are in the time zone of the server (TZ, UTC by default).
  • A job that throws does not stop the other jobs; a job still running is not started twice.
  • A long task (AbstractTask) should call setProgress(): it is the sign of life, a task silent for 10 minutes is removed.
  • The state of the jobs (last and next run, error, switch on/off, run now) is in the panel: /cup/schedule.
  • After 3 failures in a row the channel cron:job:failed is published (PubSub) and a critical record is logged.
Verified addons (plugins)
Themes Plugins Languages
Default shop Search optimization English
ClearCache Ukrainian
Turbo PWA Russian

Collaborators

alksily

Copyright & license

Licensed under the MIT license. See License File for more information.

About

Simple multi-user online stores engine

Topics

Resources

Stars

11 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages