# Environment / secrets
.env
.env.*
!.env.example
sample.env

# Composer / Node
vendor/
node_modules/
composer.lock
package-lock.json
yarn.lock

# Runtime writable folders
temp/*
!temp/.gitkeep
tmp/*
!tmp/.gitkeep
uploads/*
!uploads/.gitkeep
backups/*
!backups/.gitkeep
media/*
!media/.gitkeep

# Logs
application/logs/*
!application/logs/index.html
error_log
errors.json
*.log

# CodeIgniter cache
application/cache/*
!application/cache/.htaccess
!application/cache/index.html

# CI session files (if using file driver)
application/sessions/*

# Compiled / build artifacts
public/build/
public/hot/
.nuxt/
dist/

# macOS
.DS_Store
.AppleDouble
.LSOverride
__MACOSX/

# Windows
Thumbs.db
Desktop.ini

# Linux
*~

# IDE / editors
.idea/
.vscode/
*.sublime-project
*.sublime-workspace
*.swp
*.swo
.project
.settings/
.buildpath

# PHP tools
.phpunit.result.cache
.php-cs-fixer.cache
.phpcs.cache

# Claude / dev tools
.claude/
.claude-mem/
CLAUDE.md

# Local dev
htaccess_production.txt
scratchpad/
