A professional, highly-scalable CodeIgniter 4 web application built for modern workflows.
A sophisticated multi-model AI orchestration platform that harnesses the power of multiple LLMs simultaneously, providing a unified interface for querying and evaluating diverse models like Gemini, DeepSeek, Grok, and OpenAI.
My Coder is a robust and flexible web application designed to solve complex developer workflows with ease. Built on the lightning-fast CodeIgniter 4 framework, this project acts as a complete, out-of-the-box solution for firing parallel requests to multiple AI models and using a Master model to audit and synthesize the final answer.
Our target users are developers, power users, and teams looking for an open-source solution that emphasizes performance, security, and developer experience (DX).
What makes this project unique? Every component of this application is fully containerized. From the zero-configuration automated database migrations on boot, to the host-mapped persistent storage volumes—this project guarantees a frictionless setup experience whether you are running it on a local machine or deploying it to a cloud server.
- 🐳 Instant Setup: 100% Dockerized architecture. Go from zero to running in under 60 seconds.
- 🔄 Automated Migrations: Database tables and schemas are built automatically when the container boots.
- 💾 Smart Persistence: Database records and uploaded media safely persist on your local filesystem, completely isolated from container lifecycle events.
- 🛡️ Hardened Security: Features built-in CSRF protection, strictly configured session handling, and environment-driven configurations.
- 📊 Integrated Database Management: Comes bundled with a dedicated
phpMyAdmincontainer for real-time database visualization.
| Layer | Technology |
|---|---|
| Backend Framework | CodeIgniter 4 |
| Language | PHP 8.3 |
| Database | MySQL 8.4 |
| Database Manager | phpMyAdmin |
| Containerization | Docker & Docker Compose |
| Dependency Manager | Composer |
Before you begin, ensure you have the following installed on your machine:
(If you choose to run without Docker, you will need PHP 8.3+, Composer, and a local MySQL server).
This repository includes a pre-configured docker-compose.yml file. It completely eliminates the need to manually install PHP, web servers, or databases on your local machine.
git clone https://github.com/yourusername/my-coder-webapp.git
cd "My Coder WebApp"Copy the provided environment template:
cp .env.example .env(Note: The defaults in .env.example are specifically pre-configured to work perfectly with the Docker environment out of the box).
Spin up the application, MySQL database, and phpMyAdmin in detached mode:
docker compose up --build -dOnce the containers finish booting, database migrations run automatically. You can access your services at:
- Application: http://localhost:9003
- phpMyAdmin: http://localhost:9000
Useful Docker Commands:
- Stop the application:
docker compose down - View live application logs:
docker compose logs -f my-coder - Restart the application:
docker compose restart my-coder
If you prefer a traditional local setup (e.g., XAMPP, Laragon, or Laravel Valet):
- Clone the repo and run
composer installin the root directory. - Copy
.env.exampleto.env. - Configure the Database: Update the
database.default.*variables inside your.envto match your local MySQL credentials. - Run Migrations: Build the necessary database tables by executing:
php spark migrate --all
- Serve the Application:
php spark serve
If you are using the Docker setup, the database configuration is completely automated.
Development Credentials:
- Host:
mysql - Database Name:
db_my_coder - Username:
root - Password:
root_password
You can visually manage this database by navigating to http://localhost:9000 and logging into phpMyAdmin with the credentials above.
- Sign Up / Login: Navigate to the homepage to create your first administrative account.
- Dashboard: Access the main dashboard to view analytics and metrics.
- File Management: Any artifacts or files you upload within the application will be securely persisted inside the
/writable/uploadsdirectory on your local machine.
.
├── app/ # Core application logic (Controllers, Models, Views)
├── public/ # Document root (accessible to the web)
├── writable/ # Cache, logs, sessions, and persisted uploads
├── system/ # CodeIgniter 4 framework files
├── docker-compose.yml # Standalone Docker orchestration
├── entrypoint.sh # Automated migration startup script
└── Dockerfile # PHP-Apache container build instructions
We welcome contributions from the community! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/your-feature-name - Open a Pull Request.
Please ensure you run tests and verify your changes inside the Docker environment before submitting.
Distributed under the MIT License. See LICENSE for more information.
(Screenshots coming soon)
- Built with ❤️ using CodeIgniter 4.
- UI components powered by modern web standards.