Skip to content
framework15 active rulesVerified 2026-09-30

Code Igniter .gitignore Template

Standard Code Igniter gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.

Interactive Stack Generator

Open in Full Generator
Search for templates
Quick add:
Selected1
Code Igniter
Selected Templates (1)
.gitignore
### Code Igniter ###
*/config/development
*/logs/log-*.php
!*/logs/index.html
*/cache/*
!system/cache/*
!*/cache/index.html
!*/cache/.htaccess
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*
#codeigniter 3
application/logs/*
!application/logs/index.html
!application/logs/.htaccess
/vendor/
15 rules1 template20 lines
Deterministic

Raw Code Igniter .gitignore

Crawlable upstream source template
codeigniter.gitignore19 lines
*/config/development
*/logs/log-*.php
!*/logs/index.html
*/cache/*
!system/cache/*
!*/cache/index.html
!*/cache/.htaccess
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*
#codeigniter 3
application/logs/*
!application/logs/index.html
!application/logs/.htaccess
/vendor/

Key Pattern Breakdown

Dependencies & Packages

Excludes installed package directories and third-party vendor files that should be restored via package managers.

/vendor/

Build & Compilation Artifacts

Ignores compiled binaries, intermediate object files, and build output directories generated during development.

user_guide_src/build/*user_guide_src/cilexer/build/*user_guide_src/cilexer/dist/*

Cache & Temporary Files

Ignores compiler caches, test runner coverage data, and transient temporary scratch files.

*/cache/*!system/cache/*!*/cache/index.html!*/cache/.htaccess

Source & Verification

License:: CC0-1.0

Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.