GotCms is a Cms based on Zend Framework 2 and PosgreSQL / MySQL
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config #251 Rename modules Jun 21, 2014
data Merge pull request #292 from Sorny-net/master Jul 22, 2015
extensions Closed #239 Add directory for extensions Apr 22, 2014
library Bump to 1.6.2 Aug 21, 2015
module remove Stream wrapper usage Jun 25, 2015
public remove Stream wrapper usage Jun 25, 2015
scripts Issue #146 Export and import data Nov 23, 2013
sessions Refactoring gitignore files Jul 16, 2013
templates remove Stream wrapper usage Jun 25, 2015
tests Bump to 1.6.2 Aug 21, 2015
vendor Fix broken Markdown headings Apr 18, 2017
.coveralls.yml
.gitignore Change dependencies Jun 20, 2014
.jshintignore Refactoring scripts and add phpcs.sh Oct 10, 2013
.jshintrc Increase the maxdepth for jshint to 6 Jan 7, 2014
.scrutinizer.yml
.travis.yml Add phpunit 4.7 and add php 5.6 in travis.yml Jun 19, 2015
CHANGELOG.md Fix broken Markdown headings Apr 18, 2017
CONTRIBUTING.md Update Readme and contributing files Nov 4, 2013
LICENSE.txt Fixed #1 License Jul 27, 2012
README.md Fix broken Markdown headings Apr 18, 2017
composer.json Closed #283 Update to Zend Framework 2.4.7 Aug 21, 2015
init_autoloader.php Scrutinizer Jun 16, 2015

README.md

GotCms

Master status: Build Status Coverage Status Latest Stable Version Scrutinizer Code Quality

About GotCms

  • GotCms is a Content Management System (CMS) based on Zend Framework 2 which enables you to build websites and powerful online applications.
  • GotCms Official site
  • This product has been made available under the terms of the GNU Lesser General Public License version 3.
  • Please read the LICENSE.txt file for the exact license details that apply to GotCms.
  • See features

Release information

Updates in 1.6.2

Please see CHANGELOG.md.

Installation

Download

Composer:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar create-project gotcms/gotcms path/ 1.6.2

Git:

$ git clone https://github.com/GotCms/GotCms.git

Zip archive:

https://github.com/GotCms/GotCms/archive/1.6.2.zip

Apache configuration

If you want to use VirtualHost, copy the .htaccess content otherwise check if "AllowOverride" is set to "All".

Example of VirtualHost:

<VirtualHost *:80>
    ServerAdmin admin@got-cms.com
    ServerName got-cms.com
    ServerAlias www.got-cms.com
    DocumentRoot /path/to/got-cms/public
    <Directory /path/to/got-cms/public>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} -s [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]
    </Directory>
</VirtualHost>

Make sure read and write access are available by apache user/group for these directories:

  • config/autoload
  • public/frontend
  • public/media
  • data/cache

Required

  • An HTTP server
  • Php version >= 5.3.23
  • XML support
  • FileInfo support
  • Mbstring support
  • Json support
  • Curl support
  • PDO support
  • A database supported by PDO.
    • MySQL
    • PostgreSQL

Recommended

Actually only tested with Apache HTTP server. Php configuration:

  • Display Errors: Off
  • File Uploads: On
  • Magic Quotes Runtime: Off
  • Magic Quotes GPC: Off
  • Register Globals: Off
  • Session Auto Start: Off

Instructions

Go to the website, it will redirect you to /install. Please follow instructions, there are only five steps:

  • Language
  • License
  • Pre-configuration
  • Database connection
  • Configuration

Administration page is accessible by typing /admin after your installation path (i.e : http://yourdomain.tld/admin)

Then you can manage your website, create documents, documents types, datatypes, views, layouts, scripts, ...

All contents are stored in database.

TROUBLESHOOTING

On Windows with wampserver, if you encounter an 403 Forbidden:

<Directory "path/to/got-cms">
    Allow from all
</Directory>

Contributing

If you wish to contribute to GotCms, please read the CONTRIBUTING.md.

Notes

Please visits the best framework ever : Zend Framework 2