TailCI

Table of Contents

This is a list of all the sections in this post. Click on any of them to jump to that section.

tailci

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

  1. Clone the repository:

    git clone https://github.com/cojocaru-david/tailCi.git
    cd tailCi
  2. Install backend dependencies:

    composer install
  3. Set up your environment:

    cp env.example .env

    Then edit .env to configure your database and application settings.

  4. Run database migrations:

    php spark migrate
  5. 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:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add some amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. 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

๐Ÿ“Š 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! โญ