Download the PHP package simpleteam/craft-toolkit without Composer
On this page you can find all versions of the php package simpleteam/craft-toolkit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download simpleteam/craft-toolkit
More information about simpleteam/craft-toolkit
Files in simpleteam/craft-toolkit
Download simpleteam/craft-toolkit
More information about simpleteam/craft-toolkit
Files in simpleteam/craft-toolkit
Vendor simpleteam
Package craft-toolkit
Short Description A comprehensive toolkit for Craft CMS - provides options, utilities, and enhanced functionality
License MIT
Package craft-toolkit
Short Description A comprehensive toolkit for Craft CMS - provides options, utilities, and enhanced functionality
License MIT
Please rate this library. Is it a good library?
Informations about the package craft-toolkit
Simple Craft Toolkit
A comprehensive toolkit for Craft CMS that provides complementary functionality and utilities. Currently includes an options system for easy key-value storage accessible via Craft::$app->options.
Installation
The plugin will automatically register the options component when installed.
Usage
Once installed, you can use the options component anywhere in your Craft application:
Store a value
Retrieve a value
Check if option exists
Delete an option
Get all options
Set multiple options
Features
Options System
- Automatic Installation: No manual configuration required
- WordPress-like API: Familiar interface for WordPress developers
- JSON Support: Automatically handles complex data types
- Database Storage: Uses a dedicated table with proper indexing
- Autoload Support: Option to mark frequently used options for caching
- Clean Syntax: Available anywhere via
Craft::$app->options
Database
The plugin automatically creates a simple_options table with the following structure:
id- Primary keykey- Option key (unique index)value- Option value (longtext)isJson- Boolean flag for JSON dataautoload- Boolean flag for autoloadingdateCreated- Creation timestampdateUpdated- Last update timestamp
Requirements
- Craft CMS 5.0 or later
- PHP 8.0 or later
License
MIT License
All versions of craft-toolkit with dependencies
PHP Build Version
Package Version
Requires
craftcms/cms Version
^5.0
The package simpleteam/craft-toolkit contains the following files
Loading the files please wait ...