dumplie / dumplie
Dumplie - simple but powerful shopping engine
Installs: 159
Dependents: 0
Suggesters: 0
Security: 0
Stars: 84
Watchers: 24
Forks: 7
Open Issues: 0
Type:framework
Requires
- php: ^7.0
- ext-mbstring: *
- coduo/php-to-string: ^2.0
- league/tactician: ^1.0
- ramsey/uuid: ^3.0
Requires (Dev)
- doctrine/dbal: ^2.5
- doctrine/orm: ^2.5
- phpspec/phpspec: ^2.5
- phpspec/prophecy: ^1.6
- phpunit/phpunit: ^5.3
- symfony/config: ^3.1
- symfony/dependency-injection: ^3.1
- symfony/form: ^3.1
- symfony/http-kernel: ^3.1
- symfony/options-resolver: ^3.1
- symfony/validator: ^3.1
- twig/twig: ^1.23
Suggests
- doctrine/dbal: Allows usage of Doctrine DBAL as a storage for Metadata
- doctrine/orm: Allows usage of Doctrine ORM as a storage for application
This package is auto-updated.
Last update: 2024-11-22 03:24:16 UTC
README
Dumplie is first ecommerce framework not bound to any php framework. It is build to be used with any existing solution.
Feel free to join us on slack!
Development environment
Docker
Project does not provide any docker image yet, but you can use docker in this project in following way:
- Download this Dockerfile in some new directory ex. "/foo/bar":
FROM php:7.0.7-cli RUN apt-get update && apt-get install -y git zlib1g-dev RUN docker-php-ext-install zip
- Build image from use this Dockerfile:
docker build -t your-namespace/php7 /foo/bar
- Add following alias (for example to .bashrc):
alias php='docker run --rm --name php -it -v "$PWD":/usr/src/app -w /usr/src/app your-namespace/php7 php'
- Now you can download composer: see composer page and install project
- Running test:
php bin/phpspec run php bin/phpunit
Tests
Dumplie idea is to be as much technology agnostic as possible, however we support some popular software like for
example mysql
or postgresql
.
In order to execute integration tests against specific database use DUMPLIE_TEST_DB_CONNECTION
env variable.
Example:
$ export DUMPLIE_TEST_DB_CONNECTION='{"driver":"pdo_pgsql","host":"127.0.0.1","dbname":"dumplie","user":"docker","password":"docker","port":32771}' && bin/phpunit
$ export DUMPLIE_TEST_DB_CONNECTION='{"driver":"pdo_mysql","host":"127.0.0.1","dbname":"dumplie","user":"root","password":"root","port":32777}' && bin/phpunit