Fork is an easy to use open source CMS using Symfony Components.
carakas Merge pull request #2673 from ohvitorino/fix-datetime-case
Fix case of DateTime class name usage
Latest commit f4f1701 Nov 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Turn PR hints into comments Dec 27, 2017
app Preparing for release Oct 16, 2018
bin Move GenerateThumbnailsCommand in app/config/console.yml Apr 4, 2018
css/vendors Add missing styling to make the lightbox work Aug 1, 2018
docs Update 06. documentation.md Oct 26, 2018
fonts/vendors Use bootstrap-tagsinput installed with yarn Jan 6, 2017
js/vendors Build the js Aug 14, 2018
src Merge pull request #2673 from ohvitorino/fix-datetime-case Nov 10, 2018
tests Fix width and height detection not working properly Aug 6, 2018
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
CHANGELOG.md Preparing for release Oct 16, 2018
CONTRIBUTING.md Replace the DB abbreviation with database Jul 12, 2017
Dockerfile Fix docker image not building because libpng12-dev was not found May 28, 2018
LICENSE.md MIT license from now on Sep 21, 2012
README.md Add readme text for https Aug 3, 2017
UPGRADE_3.6.md Upgrade guide updated Jun 26, 2013
UPGRADE_3.7.md Setting a url callback now use namespaces Aug 8, 2014
UPGRADE_3.8.md Move app/logs to var/logs Jul 29, 2017
UPGRADE_3.9.md Update UPGRADE_3.9.md Mar 11, 2015
UPGRADE_4.0.md Rename upgrade guide May 29, 2016
UPGRADE_5.0.md Fix some mostakes that happened during the 5.0 release Jan 24, 2018
VERSION.md Preparing for release Oct 16, 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 Merge branch 'master' into refactor-spoon-thumbnail Jun 5, 2018
composer.lock Update composer packages to include the latest features and bugfixes Aug 14, 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 Fix 404 caused by fix that fixes the initial building of css but fail… Oct 11, 2018
index.php Fix terminate causing issues during module install May 28, 2018
package.json upgrade outdated yarn packages May 29, 2018
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 Update the npm packages Aug 14, 2018

README.md

Fork CMS

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

Installation

  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!

Dependencies

Remark: If you are using GIT instead of composer create-project or the zip-file from http://www.fork-cms.com, 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

Security

If you discover any security related issues, please email core@fork-cms.com instead of using the issue tracker.

SSL

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

Bugs

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.

Yarn

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.

Discussion

The Fork CMS team