sulu / sulu-demo
Sulu demo website
Installs: 914
Dependents: 0
Suggesters: 0
Security: 0
Stars: 86
Watchers: 15
Forks: 44
Open Issues: 43
Type:project
Requires
- php: ^8.2
- ext-ctype: *
- ext-iconv: *
- doctrine/doctrine-bundle: ^2.5
- doctrine/doctrine-fixtures-bundle: ^3.4
- elasticsearch/elasticsearch: 7.17.*
- friendsofsymfony/http-cache-bundle: ^2.17
- handcraftedinthealps/zendsearch: ^2.1
- jackalope/jackalope-doctrine-dbal: ^1.10 || ^2.0
- jackalope/jackalope-jackrabbit: ^2.0
- league/flysystem: ^1.1
- league/flysystem-aws-s3-v3: ^1.0
- phpcr/phpcr-migrations-bundle: ^1.5
- phpcr/phpcr-shell: ^1.5
- predis/predis: ^1.1
- scheb/2fa-bundle: ^7.2
- scheb/2fa-email: ^7.2
- scheb/2fa-trusted-device: ^7.2
- sentry/sentry-symfony: ^4.2
- stof/doctrine-extensions-bundle: ^1.8
- sulu/article-bundle: 2.6.*
- sulu/automation-bundle: ^2.1
- sulu/redirect-bundle: ^2.1.2
- sulu/sulu: ~2.6.3
- sulu/web-twig: ^2.4
- symfony/config: ^6.4
- symfony/dotenv: ^6.4
- symfony/flex: ^1.17 || ^2.0
- symfony/framework-bundle: ^6.4
- symfony/mailer: ^6.4
- symfony/monolog-bridge: ^6.4
- symfony/monolog-bundle: ^3.4
- symfony/runtime: ^6.4
- symfony/security-bundle: ^6.4
- symfony/twig-bundle: ^6.4
- symfony/web-link: ^6.4
- symfony/webpack-encore-bundle: ^1.16
Requires (Dev)
- jangregor/phpstan-prophecy: ^1.0
- php-cs-fixer/shim: ^3.59
- phpspec/prophecy-phpunit: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.4
- phpstan/phpstan-doctrine: ^1.2
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-symfony: ^1.1
- phpstan/phpstan-webmozart-assert: ^1.0
- phpunit/phpunit: ^9.5
- rector/rector: ^1.0
- sulu/sulu-rector: ^1.0
- symfony/browser-kit: ^6.4
- symfony/css-selector: ^6.4
- symfony/debug-bundle: ^6.4
- symfony/error-handler: ^6.4
- symfony/phpunit-bridge: ^6.4
- symfony/thanks: ^1.2
- symfony/web-profiler-bundle: ^6.4
- thecodingmachine/phpstan-strict-rules: ^1.0
Conflicts
Replaces
- paragonie/random_compat: 2.*
- symfony/polyfill-ctype: *
- symfony/polyfill-iconv: *
- symfony/polyfill-php56: *
- symfony/polyfill-php70: *
- symfony/polyfill-php71: *
- symfony/polyfill-php72: *
- symfony/polyfill-php73: *
- symfony/polyfill-php74: *
- symfony/polyfill-php80: *
- symfony/polyfill-php81: *
- symfony/polyfill-php82: *
- dev-master
- dev-example/custom-icon-font
- dev-example/webspace-setting-entity
- dev-example/settings-entity
- dev-example/franken-php
- dev-example/custom-entity-route
- dev-example/custom-entity-selection
- dev-example/custom-entity
- dev-example/add-entity-tab
- dev-example/custom-list-item-action
- dev-example/custom-form-toolbar-action
- dev-example/custom-list-toolbar-action
- dev-example/custom-field-transformer
- dev-example/custom-content-type
- dev-example/custom-view
- dev-example/configure-ckeditor
- dev-example/custom-entity-trash
- dev-example/change-admin-style
- dev-example/album-domain-events
- dev-example/modify-entity-list-form
- dev-example/extend-entity
- dev-example/modify-list-form
- dev-example/block-settings
- dev-example/extend-excerpt
- dev-enhancement/composer-update
- dev-fastlane/header
- dev-feature/vips
- dev-feature/navbar
- dev-feature/footer
- dev-deploy/ci-setup
- dev-bugfix/ci-setup
- dev-release/1.6
This package is auto-updated.
Last update: 2024-12-02 20:51:38 UTC
README
This is the official Sulu Demo. It was created to show a simple implementation of an application made with Sulu and explains the basic steps.
This project also runs here: https://sulu.rocks
For information about Sulu have a look at our Homepage: http://sulu.io/
Our documentation is available under: http://docs.sulu.io/
Used Extensions
SuluArticleBundle
The SuluArticleBundle adds support for managing articles in Sulu. Articles can be used in a lot of different ways to manage unstructured data with an own URL in an admin-list. Most of the features, which can be used in pages, can also be used on articles - like templates, versioning, drafting, publishing and automation.
SuluAutomationBundle
The SuluAutomationBundle provides a way to manages future tasks which can be scheduled for entities in the Sulu-Admin. For example schedule the publishing of a page to a specific datetime in the future.
To enable automated tasks use the command task:run
manually in the terminal or in a cronjob. This tasks executes the
pending automation tasks (see SuluAutomationBundle Installation Docs).
SuluWebTwig and SuluWebJS
A collection of helpful twig extensions and a tiny js component mangaement library.
Requirements
- PHP 8.0
- json extension
- xml extension
- simplexml extension
- gd or imagick extension (needed for image converts)
- MySQL or PostgreSQL Server
- Elasticsearch 7
- Composer
- NPM if you want to run npm tasks
Installation
git clone git@github.com:sulu/sulu-demo.git
cd sulu-demo
composer install
Configure required services
The demo requires a running MySQL and ElasticSearch instance.
Configure your DATABASE_URL
and ELASTICSEARCH_HOST
in the .env.local
see .env
as reference.
If you don't want to install the services yourself you can use the provided docker-compose.yml to start this services inside an own container:
docker-compose up
Install fixtures
Install the demo with all fixtures by running:
bin/console sulu:build dev
Usage
Now you can try out our demo, there is no need to configure a virtual host. Just use the build in web servers:
php -S 127.0.0.1:8000 -t public config/router.php
Then you can access the administration interface via http://127.0.0.1:8000/admin. The default user and password is “admin”.
The web frontend can be found under http://127.0.0.1:8000.
Tests
composer bootstrap-test-environment
composer lint
composer test
Questions? We have answers!
We've got a #Slack channel where you can talk directly to strategists, developers and designers.