genix/cms

Simple and Free Opensource CMS and Framework

Maintainers

Package info

github.com/GeniXCMS/GeniXCMS

Homepage

Type:project

pkg:composer/genix/cms

Fund package maintenance!

GeniXCMS

Statistics

Installs: 32

Dependents: 0

Suggesters: 0

Stars: 43

Open Issues: 6

2.0.0-alpha 2026-03-28 15:50 UTC

README

Latest Update: GxEditor Classic Mode Enhancement & Media Integration Polish

Latest Stable Version License Documentation Status

GeniXCMS is a powerful, lightweight PHP-based Content Management System and Framework (CMSF). Re-engineered for the modern web with a focus on speed, security, and premium editorial aesthetics.

🌟 Key Features in v2.x

  • Multi-DB Support: Flexible database abstraction layer supporting MySQL, PostgreSQL, and SQLite3.
  • Dynamic Builder (v2.1.0+): A professional-grade visual editor with drag-and-drop mechanics, premium block library, and real-time layout synchronization.
  • GxEditor v1.2.1 — Modular Engine:
    • Next-gen block-based editor with custom visual blocks and Nested Grid Containers.
    • Classic Mode with a full rich-text toolbar (Bold, Italic, Tables, Math/LaTeX, Source View).
    • Image Selection & Resize — Click any image to get an inline toolbar for alignment, replacement, and drag-to-resize.
    • Smart Paste Handler — Cleans inline styles from Word/Google Docs pastes to maintain editor integrity.
    • Source Code View with persistent dark mode theme.
    • Fully integrated with elFinder media manager for seamless image insertion.
  • Centralized Asset Management: Robust Asset class for programmatic enqueuing with Automatic Dependency Resolution.
  • Reactive Archive Synchronization: Archive sidebar counts update instantly on post create/update/delete via hook-based cache invalidation.
  • Latte Template Engine: Fully integrated Latte for secure, clean, and blazingly fast templating.
  • Premium Editorial Themes:
    • GneeX (v2.1.1): Industrial-modern design with Glassmorphism, premium magazine layouts, and responsive typography.
    • TheMusk (v1.0.2): Minimalist, high-contrast bento-grid layout using Tailwind CSS.
    • BSMag (v2.1.1): Magazine-style theme with dark mode support and NixSlider integration.
    • Default (v2.1.0): Clean, extensible base theme.
  • Enhanced Security:
    • Token-Based CSRF Protection: All forms and AJAX requests are protected with time-based CSRF tokens.
    • Out of the box Prepared Statements for SQL Injection prevention.
    • Hardened .htaccess and nginx.conf configurations included.
    • HTMLPurifier integration for robust XSS protection.
  • Developer-Friendly: Modular architecture with Hooks/Filters system, UiBuilder & OptionsBuilder for programmable dashboards, and a powerful CLI tool.

🛠 Tech Stack

GeniXCMS leverages industry-standard FOSS tools:

  • Framework Core: PHP 8.2+
  • Templating: Latte 3.1+
  • Editor Core: GxEditor v1.2.1 (Modular Block Engine)
  • Asset Management: GeniX Asset Class (with dependency resolution)
  • Styling: Bootstrap 5.3, Tailwind CSS (for modern themes), Vanilla CSS (Design Tokens).
  • Image Processing: Intervention Image v3.
  • Components: elFinder, AOS (Animate on Scroll), Swiper.js, FlexSlider, KaTeX (Math).

📋 Requirements

  • Webserver: Apache (with mod_rewrite) or Nginx.
  • PHP: 8.1 or newer.
    • Extensions: GD, cURL, OpenSSL, Imagick, Intl, mbstring, XML, PDO (with mysql/sqlite/pgsql drivers).
  • Database: MySQL 5.7+, MariaDB 10.3+, PostgreSQL 12+, or SQLite 3.

🚀 Installation & Setup

1. Quick Start (Manual)

  1. Clone or upload the repository to your root directory.

  2. Ensure the following directories are writable (775 or 777):

    • inc/config
    • inc/themes
    • inc/mods
    • assets/images/uploads
    • assets/cache
    • assets/media/images
    • assets/media/videos
    • assets/media/audios
  3. Visit your domain in the browser (e.g., http://yoursite.com).

  4. Follow the Installation Wizard to set up your site and database.

2. Advanced Security (Optional)

  • Apache: The provided .htaccess is pre-configured with security headers and folder protection.
  • Nginx: Refer to nginx.conf.txt for the recommended secure server-block configuration.

⬆️ Upgrading to v2.x

Upgrading from v1.x involves significant core changes.

  1. Backup your inc/config/config.php and database.
  2. In your config.php, ensure SITE_ID is defined.
  3. Replace all files with the v2.x version.
  4. Run upgrade.php from your browser.
  5. Review theme migrations if using custom templates.

📄 License

GeniXCMS is released under the MIT License.

🌐 Links & Community

Developed with ❤️ by the GeniXCMS Community.