privapark / cms-bundle
Simple Dot Cms bundle
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:symfony-bundle
pkg:composer/privapark/cms-bundle
Requires
- php: >=7.4
- a2lix/translation-form-bundle: ^3.0
- abraham/twitteroauth: ^0.7
- awstudio/html-formatter: dev-master
- cocur/slugify: ^3.1
- cosenary/instagram: 2.3.*
- doctrine/doctrine-migrations-bundle: ^3.0
- facebook/graph-sdk: ^5.4
- firebase/php-jwt: ^5.2
- fresh/doctrine-enum-bundle: ~7.0
- friendsofsymfony/jsrouting-bundle: ~2.0
- friendsofsymfony/rest-bundle: ~3.0
- gesdinet/jwt-refresh-token-bundle: ^1.1
- hwi/oauth-bundle: ^1.1
- jms/i18n-routing-bundle: ~2.0 || ~3.0
- jms/serializer-bundle: ^2.0 || ^3.0
- knplabs/doctrine-behaviors: ~2.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
- nelmio/security-bundle: ^3.5
- nesbot/carbon: ~2.0
- omines/datatables-bundle: ^0.5.5
- 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.0 || ^6.0 || ^7.0
- sensio/framework-extra-bundle: ^6.0
- sg/datatablesbundle: ~1.0
- stof/doctrine-extensions-bundle: ^1.3
- swiftmailer/swiftmailer: ^6.0.0
- sylius/theme-bundle: ^2.2
- symfony/asset: 5.4.*
- symfony/cache: 5.4.*
- symfony/console: 5.4.*
- symfony/expression-language: 5.4.*
- symfony/form: 5.4.*
- symfony/framework-bundle: 5.4.*
- symfony/mailer: ^5.0
- symfony/messenger: 5.4.*
- symfony/mime: 5.4.*
- symfony/monolog-bundle: ~3.0
- symfony/process: 5.4.*
- symfony/security-bundle: 5.4.*
- symfony/translation: 5.4.*
- symfony/twig-bundle: 5.4.*
- symfony/validator: 5.4.*
- symfony/yaml: 5.4.*
- twig/extensions: ~1.0
- willdurand/js-translation-bundle: ^4.0
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:13:46 UTC
README
# Simpledot - CMS Bundle [](https://gitlab.com/simpledot/cms-bundle)Back
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_DSN=null
MAILER_FROM=contact@awstudio.fr
MAILER_SENDER=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
# Front
[](https://www.npmjs.com/package/webpack)
[](https://www.npmjs.com/package/webpack)
Installation
You need to used node v12 (v12.22.12 is a safe version)
$ npm install
Build resources
production
$ npm run prod
development
$ npm start
update icons
$ npm run icon