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 line192.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!
Copyright (c) 2010-2015 Thomas Rabaix
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-
Bump doctrine/doctrine-migrations-bundle to 3.0.1
By greg0ire, 4 months ago
-
Bump symfony/css-selector from 4.4.11 to 5.1.3 (#666)
By web-flow, 4 months ago
-
Bump twig/twig from 2.13.0 to 2.13.1 (#661)
By web-flow, 4 months ago
-
Bump phpstan/phpstan from 0.12.39 to 0.12.40
By OskarStark, 4 months ago
-
Bump sonata-project/intl-bundle from 2.7.0 to 2.9.0
By OskarStark, 4 months ago
-
Bump sonata-project/form-extensions from 1.5.0 to 1.6.0
By OskarStark, 4 months ago
-
Bump laminas/laminas-eventmanager from 3.2.1 to 3.3.0
By OskarStark, 4 months ago
-
Bump twig/intl-extra from 3.0.4 to 3.0.5
By OskarStark, 4 months ago
-
Bump symfony/polyfill-intl-icu from 1.18.0 to 1.18.1
By OskarStark, 4 months ago
-
Bump symfony/flex from 1.9.1 to 1.9.2
By jordisala1991, 4 months ago
-
Bump symfony/security-acl from 3.0.4 to 3.1.0
By jordisala1991, 4 months ago
-
Bump laminas/laminas-zendframework-bridge from 1.0.4 to 1.1.0
By jordisala1991, 4 months ago
-
Bump sonata-project/media-bundle from 3.25.0 to 3.26.0
By OskarStark, 4 months ago
-
Bump sonata-project/exporter from 1.11.1 to 2.3.0
By jordisala1991, 4 months ago
-
Update composer.json
By jordisala1991, 4 months ago
-
Bump symfony/serializer from 4.4.11 to 5.1.3
By jordisala1991, 4 months ago
-
Bump phpdocumentor/reflection-docblock from 5.2.0 to 5.2.1
By jordisala1991, 4 months ago
-
Bump webimpress/safe-writer from 2.0.1 to 2.1.0
By jordisala1991, 4 months ago
-
Bump gedmo/doctrine-extensions from 2.4.41 to 2.4.42
By jordisala1991, 4 months ago
-
Bump phpstan/phpstan from 0.12.33 to 0.12.39
By OskarStark, 4 months ago
-
Bump sonata-project/news-bundle from 3.13.0 to 3.14.0
By jordisala1991, 4 months ago
-
Bump twig/extra-bundle from 3.0.4 to 3.0.5
By jordisala1991, 4 months ago
-
Bump sonata-project/twig-extensions from 1.3.1 to 1.4.0
By jordisala1991, 4 months ago
-
Bump symfony/mime from 4.4.11 to 5.1.3
By jordisala1991, 4 months ago
-
Bump symfony/stopwatch from 4.4.11 to 5.1.3
By jordisala1991, 4 months ago
-
Fix dependabot
By jordisala1991, 5 months ago
-
Improve fixtures 3 (#636)
By web-flow, 5 months ago
-
Add dependabot to keep dependencies up to date
By jordisala1991, 5 months ago
-
Add initial Docker configuration
By greg0ire, 5 months ago
-
Improve fixtures 2
By jordisala1991, 6 months ago