Skip to content

totalcms/cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,452 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Total CMS

A modern, flat-file Content Management System for PHP

WebsiteDocumentationPricing


About

Total CMS is a powerful content management system built on PHP 8.2+ and the Slim 4 framework. It uses flat-file JSON storage instead of a traditional database, making it simple to deploy and maintain.

  • No database required — content is stored as JSON files
  • 13 built-in collection types — blog, image, gallery, file, and more
  • Custom collections — define your own content types with JSON schemas
  • Twig templating — with 40+ custom filters and functions
  • RESTful API — full CRUD with authentication
  • Admin interface — form builder, data tables, media management
  • CLI tools — manage content, run imports, and clear caches from the terminal

Requirements

  • PHP 8.2+
  • Composer 2.0+
  • Apache or Nginx with URL rewriting
  • PHP extensions: GD or ImageMagick, JSON, Fileinfo, OpenSSL

Installation

composer create-project totalcms/totalcms mysite
cd mysite

Point your web server's document root to the public/tcms/ directory, then navigate to /admin to complete setup.

For detailed installation and web server configuration, see the Installation Guide.

Twig Templates

{% set posts = cms.blog() %}
{% for post in posts %}
    <article>
        <h2>{{ post.title }}</h2>
        {{ post.content|markdown }}
    </article>
{% endfor %}

See the full Twig documentation for available functions, filters, and tags.

CLI

Total CMS includes a command-line tool for common tasks:

vendor/bin/tcms cache:clear
vendor/bin/tcms import:csv blog data.csv
vendor/bin/tcms jumpstart:export backup.zip

Documentation

Full documentation is available at docs.totalcms.co.

Support

License

Total CMS is commercial software. A license is required for production use. See LICENSE.md for terms.

Free 45-day trials are available — no credit card required. Visit totalcms.co for details.

About

A modern, flat-file CMS for PHP — no database required. JSON storage, Twig templating, REST API, full admin interface, and AI-ready with MCP integration.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors