STCMS Documentation
Complete guide to building modern, secure React/PHP applications with STCMS framework
How To Use STCMS
Complete guide to building with STCMS
Quick Start
1
Install STCMS
Terminal
composer require gemvc/stcms
Tip: Requires Composer to be installed.
2
Initialize Project
Terminal
php vendor/bin/stcms init
Tip: Creates project structure and config files.
3
Install Dependencies
Terminal
npm install
Tip: Installs frontend packages.
4
Build Assets
Terminal
npm run build
Tip: Compiles CSS and JavaScript.
5
Start Server
Terminal
php -S localhost:8000 -t public
Tip: Visit http://localhost:8000 in your browser.
Success!
You now have a working STCMS application with:
- Twig templating engine
- React component support
- Tailwind CSS styling
- Multi-language routing
Tip: Run "npm run dev" for development mode with hot reload!