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

Preconfigured with Code Igniter
Search for templates
Quick add:
Selected1
Code Igniter
Selected Templates (1)
.gitignore
15 rules
### 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/
20 lines•UTF-8
Deterministic

Raw Code Igniter .gitignore

Crawlable upstream source template
codeigniter.gitignore•19 lines•UTF-8
*/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 & Package Registries

External libraries and package manager directories installed locally rather than stored in version control.

/vendor/

Build Outputs & Compiled Artifacts

Generated binary files, compilation targets, and distribution bundles that can be reliably reproduced from source.

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

Execution Caches & Runtime Logs

Diagnostic logs, runtime metadata, test coverage reports, and incremental compiler caches that cause noisy repository diffs.

*/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.