All Projects → sonata-project → Sandbox

sonata-project / Sandbox

Licence: mit
Sonata Project's sandbox

Labels

Projects that are alternatives of or similar to Sandbox

Doctrine Bridge
Provides integration for Doctrine with various Symfony components.
Stars: ✭ 2,800 (+952.63%)
Mutual labels:  symfony
Symfony Cheat Sheets
Symfony Cheat Sheets
Stars: ✭ 242 (-9.02%)
Mutual labels:  symfony
Twig Pack
A Symfony pack for Twig
Stars: ✭ 255 (-4.14%)
Mutual labels:  symfony
Fosrestbundle
This Bundle provides various tools to rapidly develop RESTful API's with Symfony
Stars: ✭ 2,683 (+908.65%)
Mutual labels:  symfony
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (+960.53%)
Mutual labels:  symfony
Contracts
A set of abstractions extracted out of the Symfony components
Stars: ✭ 3,067 (+1053.01%)
Mutual labels:  symfony
Options Resolver
The OptionsResolver component is array_replace() on steroids. It allows you to create an options system with required options, defaults, validation (type, value), normalization and more.
Stars: ✭ 2,723 (+923.68%)
Mutual labels:  symfony
Doctrinecachebundle
Symfony2 Bundle for Doctrine Cache
Stars: ✭ 2,813 (+957.52%)
Mutual labels:  symfony
Slugify
Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
Stars: ✭ 2,697 (+913.91%)
Mutual labels:  symfony
Lexikmaintenancebundle
This Symfony2 bundle allows you to place your website in maintenance mode by calling two commands in your console. A page with status code 503 appears to users, it is possible to authorize certain ips addresses stored in your configuration.
Stars: ✭ 253 (-4.89%)
Mutual labels:  symfony
Companienv
Companion for .env files
Stars: ✭ 241 (-9.4%)
Mutual labels:  symfony
Symfony Pack
A series of questions to prepare for the Symfony certification
Stars: ✭ 241 (-9.4%)
Mutual labels:  symfony
Csaguzzlebundle
A bundle integrating Guzzle >=4.0 in Symfony
Stars: ✭ 248 (-6.77%)
Mutual labels:  symfony
Sonata Doctrine Extensions
Doctrine2 behavioral extensions
Stars: ✭ 239 (-10.15%)
Mutual labels:  symfony
Ekinonewrelicbundle
Add NewRelic support to Symfony
Stars: ✭ 258 (-3.01%)
Mutual labels:  symfony
Htmlpurifierbundle
HTML Purifier is a standards-compliant HTML filter library written in PHP.
Stars: ✭ 234 (-12.03%)
Mutual labels:  symfony
Core
🧿 Bolt 4 core
Stars: ✭ 243 (-8.65%)
Mutual labels:  symfony
Framework Bundle
The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more.
Stars: ✭ 3,056 (+1048.87%)
Mutual labels:  symfony
Cors
🔮Supported(Laravel/Lumen/PSR-15/Swoft/Slim/ThinkPHP) - PHP CORS (Cross-origin resource sharing) middleware.
Stars: ✭ 266 (+0%)
Mutual labels:  symfony
Routing
Routing component building on the Symfony Routing component
Stars: ✭ 253 (-4.89%)
Mutual labels:  symfony

Sonata Standard Edition

What's inside?

Sonata Standard Edition comes pre-configured with the following bundles:

  • 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:

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

Git:

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:

symfony server:start --port=9090

Now open your browser and go to http://localhost:9090/

Tests

Functional testing

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

  • 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:

bin/qa_behat.sh

To get more informations about Behat, feel free to check the official documentation.

Unit testing

To run the sandbox test suites, you can run the command:

vendor/bin/simple-phpunit

You can also run the whole sonata-project bundles test suites by using the following command:

bin/qa_client_ci.sh

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].