Installation
Ready to build something amazing with SigmaPHP? Installing the framework takes only a few minutes. SigmaPHP is designed to keep things simple — minimal setup, zero unnecessary boilerplate, and a clean developer experience from the very first command.
The framework ships with a lightweight CLI assistant and a structured project layout so you can focus entirely on building features instead of configuring tools. Follow the steps below to create and run your first SigmaPHP application.
Once installed, you will immediately have routing, templating, database integration, and development utilities ready to use. Let's begin
Requirements
- PHP 8.0+
- MariaDB or MySQL database
- Composer installed globally
Create a New Project
Open your terminal and create a new SigmaPHP project using Composer:
composer create-project sigmaphp/sigmaphp my-app
Start the Development Server
After installation completes, move into the newly created project directory:
cd my-app/
SigmaPHP includes a CLI assistant that launches the PHP built-in server and prepares your application for development instantly:
./bin/sigma-cli run
Open Your Application
Your SigmaPHP application should now be running. Open your browser and navigate to:
http://localhost:8888
Congratulations — your SigmaPHP environment is now ready. You can start creating routes, controllers, and database migrations immediately and focus on delivering your application faster.
IDE Support
SigmaPHP currently provides development support for Visual Studio Code through its dedicated extension. The extension enhances your development experience when working with the SigmaPHP Template Engine.
You can install the extension in Visual Studio Code, Codium, or any other editor based on the VS Code ecosystem.
The extension provides the following features:
- Syntax highlighting
- Auto completion
- Code snippets
You can find and install the extension directly from the Visual Studio Marketplace:
Support for additional editors and IDEs is planned and will be introduced in future releases.
Next Steps
Now that you have a basic understanding of the framework and how to get started, it is time to explore what SigmaPHP has to offer. We encourage you to dive deeper into the documentation and discover the different components, features, and tools available to help you build your applications.
We also recommend checking out the official SigmaPHP Demo repository. It contains a fully functional application built with SigmaPHP, demonstrating how different framework features work together in a real-world project.
Explore the SigmaPHP Demo Application
The best way to learn the framework is to explore the documentation, examine the demo application, experiment with its features, and start building something of your own.
Happy coding!