2017 © Pedro Peláez
 

library sandbox

Sonata Project's sandbox (with ecommerce bundles)

image

sonata-project/sandbox

Sonata Project's sandbox (with ecommerce bundles)

  • Monday, March 19, 2018
  • by sonata-project
  • Repository
  • 59 Watchers
  • 245 Stars
  • 33,015 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 221 Forks
  • 12 Open issues
  • 9 Versions
  • 1 % Grown

The README.md

Sonata Sandbox

WARNING: This repository is abandoned

There is no active support on it., (*1)

Feel free to ask if you want to help to keep this project up to date., (*2)

What's inside?

Sonata Sandbox comes pre-configured with the following bundles:, (*3)

  • Bundles from Symfony Standard distribution
  • Sonata Admin Bundles: Admin and Doctrine ORM Admin
  • Sonata Ecommerce Bundles: Payment, Customer, Invoice, Order and Product
  • Sonata Foundation Bundles: Notification, Formatter, Intl, Cache, Seo and Easy Extends
  • Sonata Feature Bundles: Page, Media, News, User, Block, Timeline
  • Api Bundles: FOSRestBundle, BazingaHateoasBundle, NelmioApiDocBundle and JMSSerializerBundle

Installation

Download sandbox files by one of possible examples

Curl:, (*4)

curl -L github https://github.com/sonata-project/sandbox-build/archive/master.tar.gz | tar xzv
cd sandbox

Git:, (*5)

git clone https://github.com/sonata-project/sandbox.git
cd sandbox
git checkout master

Prepare configuration

  • Copy configuration file: cp .env .env.local
  • Edit .env.local to configure own environment

Load fixtures data

vendor/bin/phing
  • You should be ready to go ...

Vagrant Installation

  • vagrant up --provision --provider=virtualbox (Vagrant is going to get the environnement, install it for you and load sonata sample data)
  • Configure your host sudo nano /etc/hosts and add this line 192.168.33.99 sonata.local
  • Open your browser here

Run

If you are running PHP 7.2 or above, you can use symfony to start the demo:, (*6)

symfony server:start --port=9090

Now open your browser and go to http://localhost:9090/, (*7)

Tests

Functional testing

To run the Behat tests, copy the default configuration file and adjust the base_url to your needs, (*8)

  • Copy configuration file: cp behat.yml.dist behat.yml
  • Edit it behat.yml

You can now run the tests suite by using the following command:, (*9)

bin/qa_behat.sh

To get more informations about Behat, feel free to check the official documentation., (*10)

Unit testing

To run the sandbox test suites, you can run the command:, (*11)

vendor/bin/simple-phpunit

You can also run the whole sonata-project bundles test suites by using the following command:, (*12)

bin/qa_client_ci.sh

Enjoy!, (*13)

The Versions

19/03 2018

3.0.x-dev

3.0.9999999.9999999-dev

Sonata Project's sandbox (with ecommerce bundles)

  Sources   Download

MIT

The Requires

 

The Development Requires

17/03 2017

dev-2.4-develop

dev-2.4-develop

Sonata Project's sandbox (with ecommerce bundles)

  Sources   Download

MIT

The Requires

 

The Development Requires

11/02 2016

2.3.x-dev

2.3.9999999.9999999-dev

Sonata Project's sandbox (with ecommerce bundles)

  Sources   Download

MIT

The Requires

 

The Development Requires

09/03 2015

dev-2.3-develop

dev-2.3-develop

Sonata Project's sandbox (with ecommerce bundles)

  Sources   Download

MIT

The Requires

 

The Development Requires

16/06 2014

2.2.x-dev

2.2.9999999.9999999-dev

Sonata Project's sandbox

  Sources   Download

The Requires

 

The Development Requires

27/03 2013

2.1.x-dev

2.1.9999999.9999999-dev

Sonata Project's sandbox

  Sources   Download

The Requires

 

The Development Requires

21/07 2012

2.0.x-dev

2.0.9999999.9999999-dev

  Sources   Download

The Requires