mw-cms / cms-bundle
Simple Dot Cms bundle
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:symfony-bundle
pkg:composer/mw-cms/cms-bundle
Requires
- php: >=7.4
- a2lix/translation-form-bundle: ^2.0
- abraham/twitteroauth: ^0.7
- anyx/login-gate-bundle: ^2.0
- awstudio/doctrine-behaviors: dev-master
- awstudio/html-formatter: dev-master
- cocur/slugify: ^3.1
- cosenary/instagram: 2.3.*
- doctrine/doctrine-bundle: ~1.4
- doctrine/doctrine-migrations-bundle: ^1.3.1
- doctrine/orm: ^2.4.8
- facebook/graph-sdk: ^5.4
- firebase/php-jwt: ^5.2
- fresh/doctrine-enum-bundle: ^6.0 || ^5.0
- friendsofsymfony/jsrouting-bundle: ^2.1.1 || ~1.5
- friendsofsymfony/rest-bundle: ~2.0
- hwi/oauth-bundle: ^1.1
- jms/i18n-routing-bundle: ~2.0 || ~3.0
- jms/serializer-bundle: ^2.0 || ^3.0
- kunalvarma05/dropbox-php-sdk: ^0.2.1
- lexik/jwt-authentication-bundle: ^2.5
- mailjet/mailjet-apiv3-php: ^1.4
- nadar/php-composer-reader: ^1.3
- php-http/guzzle6-adapter: ^2.0
- php-http/httplug-bundle: ^1.18
- phpoffice/phpspreadsheet: ^1.1
- rollerworks/password-strength-bundle: ^2.0
- ruflin/elastica: 5.*
- sensio/framework-extra-bundle: ^5.0
- stof/doctrine-extensions-bundle: ^1.3
- swiftmailer/swiftmailer: ^6.0.0
- symfony/asset: ~4.0
- symfony/cache: ~4.0
- symfony/console: ~4.0
- symfony/expression-language: ~4.0
- symfony/form: v4.4.8
- symfony/framework-bundle: ~4.0
- symfony/messenger: ~4.0
- symfony/monolog-bundle: 3.4.*
- symfony/process: ~4.0
- symfony/security-bundle: ~4.0
- symfony/translation: ~4.0
- symfony/twig-bundle: v4.4.1
- symfony/validator: ~4.0
- symfony/yaml: ~4.0
- twig/extensions: ~1.0
- willdurand/js-translation-bundle: 2.6.6
Requires (Dev)
- behat/behat: ^3.5
- behat/mink-extension: ^2.3
- behat/mink-goutte-driver: ^1.2
- behat/symfony2-extension: ^2.1
- doctrine/doctrine-fixtures-bundle: ^3.0
- phpunit/phpunit: ^6.5
This package is not auto-updated.
Last update: 2025-11-12 22:59:19 UTC
README
composer.json
Change the minimum stability on the composer.json
"minimum-stability": "dev",
"prefer-stable": true
Edit the composer.json with the vcs with at least this info:
"repositories": [
{"type": "composer", "url": "https://repo.packagist.com/simpledot/"},
{"packagist.org": false}
]
Add the dependencies to this bundles:
"require": {
"awstudio/article-cms-bundle": "^4.0",
"awstudio/aw-catalog-bundle": "^4.0",
"awstudio/aw-core-bundle": "^4.0",
"awstudio/aw-form-bundle": "^4.0",
"awstudio/awcmsbundle": "dev-symfony4",
"awstudio/edm-bundle": "dev-symfony4"
}
Change the psr autoload to use AppBundle instead of App:
"autoload": {
"psr-4": {
"AppBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"AppBundle\\Tests\\": "tests/"
}
},
And run composer update
.env
Create a .env.dist file in the root of the project, with at least the next parameters:
#Symfony env
APP_ENV=dev
APP_SECRET=
#Doctrine
DATABASE_URL=mysql://$USER:$PASSWORD@db:$PORT/$DB
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
###< nelmio/cors-bundle ###
###> aws/aws-sdk-php-symfony ###
AWS_ID=
AWS_PRIVATE=
AWS_ENABLE=0
AWS_REGION=eu-central-1
AWS_S3_BUCKET=
###< aws/aws-sdk-php-symfony ###
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
MAILER_URL=null://localhost
MAILER_FROM=contact@awstudio.fr
MAILER_USER=null
MAILER_PASSWORD=null
Create a .env in the root folder copying the content of .env.dist and editing the content for you project
Config
Create the config files required on /config
Entities
Create the required entities in src/Entity
- User.php
- ArticleCustom.php
- ArticleCustomTranslation.php
- CategoryCustom.php
- CategoryCustomTranslation.php
- ItemCustom.php
- ItemCustomTranslation.php
Forms
Create the required forms in src/Form
Repositories
Create the required repositories in src/Repository
Database
Run the next command to create the DB structure:
php bin/console doctrine:schema:update -f
Run the next command to load the fixtures and create some data by default:
php bin/console doctrine:fixtures:load