Hybrid PHP React CMS for Web Applications
A modern React/PHP CMS where Developers need to build complex Applications in thier own ways of coding.

Welcome to STCMS
Hybrid Content Management System for Web Applications, enjoy the power of PHP and React as the same time without complixity.
fast Server-Side Rendering
Built with PHP and Twig templates for fast initial/layout page loads and SEO optimization.
- • SEO-friendly server-side rendering
- • Fast initial page loads with file or Apcu caching
- • Secure authentication handling
- • component based design
Client-Side Interactivity
React components for dynamic user interfaces and enhanced user experience.
- • 100% React components compatibility
- • complete isolated and independent folder for front end developers
- • Modern UI/UX with TailwindCSS and Vite
- • flat and open structure for react components
start with STCMS
1
installation
Terminal
composer require gemvc/stcms
Tip: allways create a git repository for your project before you even start!
2
initialization
Terminal
php vendor/bin/stcms init
Tip: this command shall be run in the root of your project!
3
install front-end dependancies
Terminal
npm install
Tip: tailwindcss and vite will be installed automatically!
4
run Assets
Terminal
npm run dev
Tip: you can also use vite/npm run build at any time!
5
run server and Start Developing
Terminal
php -S localhost:8000 -t public
Tip: your site will be available at http://localhost:8000
6
optional:
Terminal
php vendor/bin/stcms install:help en
Tip: will install the help pages, by defualt the links on welcome landing pages see dont works!
What You Get
- • Symfony Cache - Modern caching (APCu/file)
- • Symfony Dotenv - Environment management
- • Guzzle HTTP - API integration
- • Twig Templates - Server-side rendering
- • Vite Build System - React bundling
- • Security Headers - Apache configuration
- • UI/UX - TailwindCSS and Vite
Environment Configuration
File: .env
API_BASE_URL=http://localhost:80
CACHE_DRIVER=apcu
DEFAULT_LANGUAGE=en
Configure your environment variables for API endpoints, caching, and default language.
Common Issues
- • Composer not found: Install Composer first
- • Node.js required: Install Node.js for frontend builds
- • PHP 8.0+: Ensure you have PHP 8.0 or higher
- • APCu extension: Install for better performance (optional)