totoprayogo1916 / codeigniter-additional
Installs: 758
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/totoprayogo1916/codeigniter-additional
Requires
- codeigniter4/framework: ^4.4
Requires (Dev)
- codeigniter4/devkit: ^1.1
This package is auto-updated.
Last update: 2025-10-03 02:06:05 UTC
README
This library provides a collection of useful helpers and Spark commands to enhance your CodeIgniter 4 development experience.
Features
1. Improved url_title()
Helper
This library overrides the default url_title()
helper function, offering enhanced capabilities for generating URL-friendly strings.
2. Additional Spark Commands
A set of convenient commands have been added to help with common development tasks.
db:wipe
Drops all tables from your database. This is particularly useful during development and testing for quickly resetting your database schema.
Usage:
php spark db:wipe
writable:link
Creates a symbolic link from writable/uploads
to your public folder (FCPATH
). This makes files stored in the writable directory (like user uploads) publicly accessible.
Usage:
php spark writable:link
sessions:clear
Deletes all session files from the writable/session
directory, while safely ignoring index.html
and .htaccess
files. This is useful for clearing out old or invalid session data.
Usage:
php spark sessions:clear