webforge / cms
A cms written in knockoutjs and twitter-bootstrap on top of symfony
Installs: 819
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 14
Language:JavaScript
pkg:composer/webforge/cms
Requires
- php: >=7.2.0
 - jbroadway/urlify: ^1.0
 - knplabs/knp-gaufrette-bundle: ~0.5
 - knplabs/knp-markdown-bundle: ^1.7
 - lsolesen/pel: ^0.9.6
 - nicmart/tree: ^0.2.7
 - ramsey/uuid: ^3.5
 - webforge/utils: ~1.1.0@stable
 - webmozart/json: ^1.1
 
Requires (Dev)
- doctrine/data-fixtures: ^1.3
 - mockery/mockery: ~1.1.0
 - symfony/phpunit-bridge: ^4.0
 - theofidry/alice-data-fixtures: ^1.0
 - webforge/testdata-repository: 0.2.2-alpha
 
Suggests
- friendsofsymfony/user-bundle: soft dep
 - jbouzekri/phumbor-bundle: soft dep
 - jms/serializer-bundle: soft dep
 - mockery/mockery: to write better expectations in tests
 - sensio/framework-extra-bundle: soft dep
 - symfony/orm-pack: soft dep
 - symfony/templating: soft dep
 
- dev-master / 3.3.x-dev
 - v3.3.0
 - v3.2.1
 - v3.2.0
 - v3.1.0
 - v3.0.7
 - v3.0.6
 - v3.0.5
 - v3.0.4
 - v3.0.3
 - v3.0.2
 - v3.0.1
 - v3.0.0
 - v2.3.7
 - v2.3.6
 - v2.3.5
 - v2.3.4
 - v2.3.3
 - v2.3.2
 - v2.3.1
 - v2.3.0
 - v2.2.2
 - v2.2.1
 - v2.2.0
 - v2.1.4
 - v2.1.3
 - v2.1.2
 - v2.1.1
 - v2.1.0
 - v2.0.6
 - v2.0.5
 - v2.0.4
 - v2.0.3
 - v2.0.2
 - v2.0.1
 - v2.0.0
 - v1.16.8
 - v1.16.7
 - v1.16.6
 - v1.16.5
 - v1.16.4
 - v1.16.3
 - v1.16.2
 - v1.16.1
 - v1.16.0
 - v1.15.7
 - v1.15.6
 - v1.15.5
 - v1.15.4
 - v1.15.3
 - v1.15.2
 - v1.15.1
 - v1.15.0
 - v1.14.2
 - v1.14.1
 - v1.14.0
 - v1.13.17
 - v1.13.16
 - v1.13.15
 - v1.13.14
 - v1.13.13
 - v1.13.12
 - v1.13.11
 - v1.13.9
 - v1.13.8
 - v1.13.7
 - v1.13.6
 - v1.13.5
 - v1.13.4
 - v1.13.3
 - v1.13.2
 - v1.13.1
 - v1.13.0
 - v1.12.2
 - v1.12.1
 - v1.12.0
 - v1.11.3
 - v1.11.2
 - v1.11.1
 - v1.11.0
 - v1.10.4
 - v1.10.3
 - v1.10.2
 - v1.10.1
 - v1.10.0
 - v1.9.8
 - v1.9.7
 - v1.9.6
 - v1.9.5
 - v1.9.4
 - v1.9.3
 - v1.9.2
 - v1.9.1
 - v1.9.0
 - v1.8.2
 - v1.8.1
 - v1.8.0
 - v1.7.6
 - v1.7.5
 - v1.7.4
 - v1.7.3
 - v1.7.2
 - v1.7.1
 - v1.7.0
 - v1.6.1
 - v1.6.0
 - v1.5.5
 - v1.5.4
 - v1.5.3
 - v1.5.2
 - v1.5.1
 - v1.5.0
 - v1.4.3
 - v1.4.2
 - v1.4.1
 - v1.4.0
 - v1.3.0
 - v1.2.4
 - v1.2.3
 - v1.2.2
 - v1.2.1
 - v1.2.0
 - v1.1.4
 - v1.1.3
 - v1.1.2
 - v1.1.1
 - v1.1.0
 - v1.0.14
 - v1.0.13
 - v1.0.12
 - v1.0.11
 - v1.0.10
 - v1.0.9
 - v1.0.8
 - v1.0.7
 - v1.0.6
 - v1.0.5
 - v1.0.4
 - v1.0.3
 - v1.0.2
 - v1.0.1
 - 1.0.0
 - dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
 - dev-dependabot/composer/twig/twig-2.15.3
 - dev-dependabot/npm_and_yarn/moment-2.29.4
 - dev-dependabot/npm_and_yarn/jsdom-16.5.0
 - dev-dependabot/npm_and_yarn/shell-quote-1.7.3
 - dev-dependabot/npm_and_yarn/urijs-1.19.11
 - dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
 - dev-dependabot/npm_and_yarn/chownr-1.1.4
 - dev-dependabot/npm_and_yarn/path-parse-1.0.7
 - dev-dependabot/npm_and_yarn/tar-2.2.2
 - dev-dependabot/npm_and_yarn/set-getter-0.1.1
 - dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
 - dev-dependabot/npm_and_yarn/lodash-4.17.21
 - dev-2-3-x
 - dev-bugfix-upload
 - dev-develop-1.16
 - dev-feature/WEBFORGE-53-acceptance-tests
 
This package is auto-updated.
Last update: 2025-10-29 01:51:08 UTC
README
this repo contains the Webforge/CmsBundle and a symfony bundle (AppBundle) that allows self-tests
The "core" of the cms is in the Webforge\CmsBundle (located in src\php\Webforge\CmsBundle). The cms consists of this bundle and some components (see src\php).
versioning
The npm package webforge-cms and the composer package webforge/cms will be always in sync in versioning. So some minor changes may only apply to the js package, to the php-package or to both of them.
testing
phpunit
and several javascript tests
npm test
Sponsoring
A big thank you to BrowserStack.com for sponsoring a free Live account, that allows us to test on Iphones and other devices.
changelog
BC Breaks 3.1.x
- added resetMediaMetadata to MediaFileEntityInterface. If you are using the MediaFileEntityMetadata-Trait you're all good
 
BC Breaks for 3.0.x
- symfony/symfony is now longer a dependency. You have to use symfony/flex and configure EVERYTHING on your own. (prepend config is no longer used)
 - the public folder is now www (not public)
 - construct CommonController with em and dc
 - Symfony\Kernel was removed
 - CommonController is now an Symfony-AbstractController and therefore has narrower dependency injection: You need to refactor your controller code
 - Read Upgrading to 3.0
 
BC Breaks for 2.3.x
- after serialization there will be no automatic flush (after each binary serialization) as before - this was slow as hell. You have call em->flush yourself
 - exif is now read with lsolesen/pel, not with php native anymore. This might have more or less failing cases for you
 - original image metadata (allthough with rotation-exif-data) wont be automatically rotated, because the physical file is not rotated as well, but thumbnails-meta will be rotated and images are physically rotated
 
BC Breaks for 2.2.x
- you need php 7.2 to install
 - dependency symfony/symfony updated to 4.1
 - use phpunit 6.5.x
 - TestCaseTrait now uses the mockery trait, so you have to install mockery to 1.1.0 now
 
BC Breaks for 2.1.x
- files uploaded to the media controller will overwrite existing files (but warnings will still be generated)
 
Upgrade to 2.0.x
- Read Upgrading to 2.0
 - Update to Symfony 4.0
 
BC Breaks for 1.15.x
- use PHPUnit 5.x.x
 - BlockExtender Interface has been changed to pass value of blocks-array by reference
 
BC Breaks for 1.14.x
- MediaFileEntityInterface has two new methods: 
setMediaMetadataandgetMediaMetadata - add this to your model.json for binaries 
"mediaMeta": { "type": "Object", "nullable": true } - use the trait: 
Webforge\CmsBundle\Media\MediaFileEntityMetadatato implement the methods - generation of thumbnails with imagine is deprecated
 - thumbnails will be created with thumbor and therefore have no 
widthandheightper default (pass metadata_only: true to the configuration of the transformation to enable getting metadata) - add 
cms.versionto your global twig variables 
BC Breaks for 1.13.x
- Dont add \Knp\Bundle\MarkdownBundle\KnpMarkdownBundle() to the appkernel. It will be added automatically
 - create a 
etc/cms/blocktypes.jsonfile (containing one empty array sufficient) - split the 
admin/config.jsintoetc/cms/blocktypes.jsonand include it with: requirejs-json - Refactor 
When I click on "" in contexttoWhen I click on "" 
BC Breaks for 1.12.x
- change 
site.urlintocms.site.urlin global twig variables - change 
site.titleintocms.site.titlein global twig variables 
BC Breaks for 1.11.x
- Rename Webforge\Common\String into Webforge\Common\StringUtil (because of PHP 7.x)
 
BC Breaks for 1.7.x
- A link in the CMS adds and activates the tab with one click (instead of two). So calling tabs.open() was changed. add and select will still work.
 
BC Breaks for 1.6.x
- You need to provide the database parameters again (database_host, database_port, database_name, database_user, database_password)
 - You need to set 
sidebar.activeGroupin the base.html.twig template - You need to set 
site.urlandsite.titlein the base.html.twig template - You need to set 
cms.titleand (optional)site.xsTitlein the base.html.twig template (do this with a global twig extension:Twig_Extension_GlobalsInterface)