TailCI - CodeIgniter with Tailwind CSS
TailCI is a powerful, developer-friendly web application framework that seamlessly integrates CodeIgniter 4โs robust PHP backend with Tailwind CSSโs utility-first approach to styling. This combination delivers an optimal development experience for creating modern, responsive web applications with minimal effort.
โจ Key Features
Lightning Fast
- Built on CodeIgniterโs lightweight framework for optimal performance and speed
- Minimized build sizes and efficient resource loading
- Smart caching mechanisms for enhanced response times
Modern Design
- Styled with Tailwind CSS v4 for a clean, responsive, and customizable interface
- Dark mode support out of the box
- Accessibility-focused components and layouts
Developer Friendly
- Intuitive architecture and well-documented codebase for rapid development
- Hot module replacement during development
- Simplified workflow with npm scripts for common tasks
๐ Requirements
- PHP 8.1 or higher
- Composer for PHP dependency management
- Node.js v20+ and npm for frontend tooling
- Web server (Apache, Nginx, or built-in PHP server for development)
- MySQL 5.7+ / MariaDB 10.3+ (or other compatible database)
- Modern browser support (Chrome, Firefox, Safari, Edge)
๐ Installation
Quick Start
-
Clone the repository:
git clone https://github.com/cojocaru-david/tailCi.git cd tailCi
-
Install backend dependencies:
composer install
-
Set up your environment:
cp env.example .env
Then edit
.env
to configure your database and application settings. -
Run database migrations:
php spark migrate
-
Install frontend dependencies and build assets:
npm install npm run build
Development Workflow
Start the development server with hot reloading:
npm run dev
In a separate terminal, run the CodeIgniter server:
php spark serve
Visit http://localhost:8080
to see your application.
๐ค Contributing
We welcome contributions to improve TailCI! Hereโs how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit your changes:
git commit -m 'Add some amazing feature'
- Push to the branch:
git push origin feature/amazing-feature
- Open a Pull Request
Please ensure your code follows our coding standards and includes appropriate tests.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgements
- CodeIgniter - The powerful PHP framework
- Tailwind CSS - Utility-first CSS framework
- Node.js - JavaScript runtime
- Built with โค๏ธ by Cojocaru David
๐ Project Status
TailCI is under active development. Weโre constantly working to improve and add new features.
If you find TailCI helpful, please consider giving it a star on GitHub! โญ