Fork is an easy to use open source CMS using Symfony Components.
PHP HTML JavaScript CSS Other
Latest commit 44abcd6 Feb 19, 2018
jeroendesloovere Merge pull request #2472 from jeroendesloovere/media-library-sort-med…

Media Library: Sort media widgets alphabetically
Failed to load latest commit information.
.github Turn PR hints into comments Dec 27, 2017
app Preparing for release Feb 14, 2018
bin Fix loading wrong command Aug 1, 2017
css/vendors build version 1.0.5 of the accessibility plugin Oct 17, 2017
docs Docs: meta docs updated, use "getUrl" instead of "getURL" Jan 25, 2018
fonts/vendors Use bootstrap-tagsinput installed with yarn Jan 6, 2017
images/vendors/photoswipe The things we build with gulp need to be included in fork Apr 25, 2017
js/vendors build version 1.0.5 of the accessibility plugin Oct 17, 2017
src Media Library: Sort media widgets alphabetically Feb 16, 2018
tests/data Merge branch '5.1.0-dev' into pages-order-wcag-2.0 Oct 25, 2017
var/docker Configure XDebug based on env file Aug 6, 2017
.dockerignore Fix docker review feedback Aug 4, 2017
.editorconfig Update .editorconfig to use 2 spaces as indent_size for js files Sep 8, 2017
.env.dist Add env file Aug 6, 2017
.gitattributes Merge branch 'forkcms/5.0.0-dev' into remove-library Feb 23, 2017
.gitignore Add env file Aug 6, 2017
.htaccess Merge branch 'master' into 5.1.0-dev Jan 23, 2018
.travis.yml Increase travis timeout Jan 25, 2018 Preparing for release Feb 14, 2018 Replace the DB abbreviation with database Jul 12, 2017
Dockerfile Remove healthcheck Aug 27, 2017 MIT license from now on Sep 21, 2012 Add readme text for https Aug 3, 2017 Upgrade guide updated Jun 26, 2013 Setting a url callback now use namespaces Aug 8, 2014 Move app/logs to var/logs Jul 29, 2017 Update Mar 11, 2015 Rename upgrade guide May 29, 2016 Fix some mostakes that happened during the 5.0 release Jan 24, 2018 Preparing for release Feb 14, 2018
apple-touch-icon.png changed folder structure; updated installer Oct 10, 2011
autoload.php Merge branch 'forkcms/5.0.0-dev' into remove-library Feb 23, 2017
composer.json Require pimple not only as a dev dependency but also production since… Aug 31, 2017
composer.lock Update symfony and other packages Jan 25, 2018
docker-compose.yml Downgrade docker-compose because of PHPStorm Aug 7, 2017
favicon.ico credit where credit is due Oct 21, 2011
gulpfile.js Remove the image2 plugin Jan 24, 2018
index.php Remove licence info blocks in php files Oct 4, 2017
package.json Merge branch 'implement-the-bootstrap-accessibility-plugin' into 5.1.… Oct 25, 2017
phpunit.xml.dist show deprecations but don't fail the tests because of them Jan 25, 2018
robots.txt Remove private from robots.txt since it is already in the backend hea… Mar 21, 2016
tile.png add windows 8 tile to Fork core and to the Triton theme Feb 21, 2013
yarn.lock Merge branch 'implement-the-bootstrap-accessibility-plugin' into 5.1.… Oct 25, 2017

Fork CMS

Build Status Latest Stable Version License Code Coverage Slack Status Documentation Status


  1. Make sure you have composer installed.
  2. Run composer create-project forkcms/forkcms . in your document root.
  3. Browse to your website
  4. Follow the steps on-screen
  5. Have fun!


Remark: If you are using GIT instead of composer create-project or the zip-file from, you should install our dependencies. The dependencies are handled by composer

To install the dependencies, you can run the command below in the document-root:

composer install -o


If you discover any security related issues, please email instead of using the issue tracker.


If you want to activate https redirection, go into the .htaccess file and uncomment the lines about https.


If you encounter any bugs, please create an issue on Github. If you're stuck or would like to discuss Fork CMS, talk to us on slack!

Running the tests

We use phpunit as a test framework. It's installed when using composer install. To be able to run them, make sure you have a database with the same credentials as your normal database and with the name suffixed with _test.

Because we support multiple php versions it gave some issues. Therefore we use the bridge from symfony.

Running the tests:

composer test

Running only the unit tests or the functional tests

 composer test -- --testsuite=functional
 composer test -- --testsuite=unit

Styling the backend

The backend uses Bootstrap in combination with Sass. To make changes, you should make the changes into the scss-files, and regenerate the real css with gulp build.


We use yarn to install our dependencies. For now we have a gulp-script that moves everything to the correct directories. So if you change the dependencies, make sure you run gulp build.


The Fork CMS team