[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-40ba68dd":3,"seo:featured-workflow:40ba68dd-4db9-11f1-9bc6-00163e2b0d79:zh":82,"workflow-related-asset-40ba68dd-40ba68dd-4db9-11f1-9bc6-00163e2b0d79":83},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":12,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":14,"tags":21,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":28,"asset_kind":29,"target_tools":30,"install_mode":34,"entrypoint":18,"risk_profile":35,"dependencies":37,"verification":42,"agent_metadata":45,"agent_fit":58,"trust":70,"provenance":79,"created_at":81,"updated_at":81},3212,"40ba68dd-4db9-11f1-9bc6-00163e2b0d79","asset-40ba68dd","CodeIgniter 4 — Proven Lightweight PHP Framework","CodeIgniter 4 is a lightweight full-stack PHP framework known for its small footprint, fast performance, and straightforward documentation, making it one of the easiest PHP frameworks to learn.","8a911193-3180-11f1-9bc6-00163e2b0d79","AI Open Source","",0,"en",[15],{"id":16,"step_order":17,"title":18,"description":11,"prompt_template":19,"variables":11,"depends_on":20,"expected_output":11},3775,1,"CodeIgniter 4 Overview","# CodeIgniter 4 — Proven Lightweight PHP Framework\n\n## Quick Use\n```bash\ncomposer create-project codeigniter4\u002Fappstarter myapp\ncd myapp && php spark serve\n```\n\n## Introduction\nCodeIgniter 4 is a complete rewrite of the original CodeIgniter framework, modernized with PHP 8 support, namespaces, PSR compliance, and a built-in CLI tool called Spark. It maintains the framework's tradition of a small footprint and clear documentation while adding features expected in a modern PHP framework like an ORM, migrations, and a testing library.\n\n## What CodeIgniter 4 Does\n- Provides MVC architecture with controllers, models, and view templates\n- Includes a query builder and simple ORM for database operations\n- Runs a built-in development server via `php spark serve`\n- Supports database migrations, seeding, and schema management\n- Offers a CLI tool (Spark) for code generation and common tasks\n\n## Architecture Overview\nCodeIgniter 4 follows the Model-View-Controller pattern with a front controller that routes all requests through `public\u002Findex.php`. The routing system supports both defined routes and automatic controller method discovery. The framework loads only the components needed for each request, keeping memory usage low. Services are accessed through a service locator pattern, and configuration is handled via PHP classes rather than arrays or YAML files.\n\n## Self-Hosting & Configuration\n- Install with Composer: `composer create-project codeigniter4\u002Fappstarter`\n- Configure the database in `app\u002FConfig\u002FDatabase.php` with connection details\n- Set the base URL and environment in `.env` (development, testing, production)\n- Run migrations with `php spark migrate` to apply database schema changes\n- Deploy to Apache or Nginx with a standard PHP-FPM configuration\n\n## Key Features\n- Extremely small framework core with fast request processing\n- Built-in RESTful resource routing for API development\n- Shield authentication library for login, registration, and 2FA\n- Honeypot and CSRF protection included by default\n- Comprehensive testing library with mock HTTP requests and database testing\n\n## Comparison with Similar Tools\n- **Laravel** — more features and larger ecosystem, heavier runtime footprint\n- **Symfony** — enterprise-grade component library, steeper learning curve\n- **Slim** — micro framework for APIs only, no ORM or view layer\n- **CakePHP** — convention-over-configuration approach, similar maturity, more opinionated\n\n## FAQ\n**Q: How does CodeIgniter 4 compare to Laravel in performance?**\nA: CodeIgniter 4 generally has lower memory usage and faster request times due to its smaller core. Laravel offers more built-in features at the cost of that overhead.\n\n**Q: Does CodeIgniter 4 support PHP 8?**\nA: Yes. CodeIgniter 4 requires PHP 8.1 or higher and takes advantage of modern PHP features like enums, fibers, and named arguments.\n\n**Q: Is CodeIgniter 4 good for REST APIs?**\nA: Yes. It includes a ResourceController base class and content negotiation for building RESTful services without additional packages.\n\n**Q: Can I use Eloquent ORM with CodeIgniter 4?**\nA: Technically possible via Composer, but the framework's built-in Model and Query Builder are designed to work together. Mixing ORMs adds complexity.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fcodeigniter4\u002FCodeIgniter4\n- https:\u002F\u002Fcodeigniter.com","0",[22],{"id":23,"name":24,"slug":25,"icon":26},12,"Configs","config","⚙️",false,"5c44e55c5dadfebf1b5ca4bf449ef9d0061e5983ed0ea7f5739a5b2b55d39eee","skill",[31,32,33],"claude_code","codex","gemini_cli","single",{"executes_code":27,"modifies_global_config":27,"requires_secrets":36,"uses_absolute_paths":27,"network_access":27},[],{"npm":38,"pip":39,"brew":40,"system":41},[],[],[],[],{"commands":43,"expected_files":44},[],[18],{"asset_kind":29,"target_tools":46,"install_mode":34,"entrypoint":18,"risk_profile":47,"dependencies":49,"content_hash":28,"verification":54,"inferred":57},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":48,"uses_absolute_paths":27,"network_access":27},[],{"npm":50,"pip":51,"brew":52,"system":53},[],[],[],[],{"commands":55,"expected_files":56},[],[18],true,{"target":32,"score":59,"status":60,"policy":61,"why":62,"asset_kind":29,"install_mode":34},98,"native","allow",[63,64,65,66,67,68,69],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":28,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":73,"review_status":74,"signals":75},"established","hash_only",[],"unreviewed",[76,77,78],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":80,"content_hash":28,"visibility":17,"created_at":81,"updated_at":81},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-40ba68dd","2026-05-12 12:15:47",null,[84,136,182,230],{"id":85,"uuid":86,"slug":87,"title":88,"description":89,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":90,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":91,"tags":92,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":94,"asset_kind":29,"target_tools":95,"install_mode":34,"entrypoint":96,"risk_profile":97,"dependencies":99,"verification":104,"agent_metadata":107,"agent_fit":119,"trust":121,"provenance":124,"created_at":126,"updated_at":127,"__relatedScore":128,"__relatedReasons":129,"__sharedTags":134},2207,"8e9001d7-41cf-11f1-9bc6-00163e2b0d79","uikit-lightweight-modular-front-end-framework-8e9001d7","UIkit — Lightweight Modular Front-End Framework","A lightweight and modular front-end framework for developing fast and powerful web interfaces. UIkit provides a comprehensive collection of HTML, CSS, and JS components with consistent styling.",71,[],[93],{"id":23,"name":24,"slug":25,"icon":26},"7dd62a7e56574380cfc3fc21a66f0d52b85e6073af703625fb69735a2ee775a1",[31,32,33],"UIkit Overview",{"executes_code":27,"modifies_global_config":27,"requires_secrets":98,"uses_absolute_paths":27,"network_access":27},[],{"npm":100,"pip":101,"brew":102,"system":103},[],[],[],[],{"commands":105,"expected_files":106},[],[96],{"asset_kind":29,"target_tools":108,"install_mode":34,"entrypoint":96,"risk_profile":109,"dependencies":111,"content_hash":94,"verification":116},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":110,"uses_absolute_paths":27,"network_access":27},[],{"npm":112,"pip":113,"brew":114,"system":115},[],[],[],[],{"commands":117,"expected_files":118},[],[96],{"target":32,"score":59,"status":60,"policy":61,"why":120,"asset_kind":29,"install_mode":34},[63,64,65,66,67,68,69],{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":94,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":122,"review_status":74,"signals":123},[],[76,77,78],{"owner_uuid":9,"owner_name":10,"source_url":125,"content_hash":94,"visibility":17,"created_at":126,"updated_at":127},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fuikit-lightweight-modular-front-end-framework-8e9001d7","2026-04-27 08:25:13","2026-05-12 10:27:32",105.7859987446469,[130,131,132,133],"topic-match","same-kind","same-target","same-author",[25,135],"configs",{"id":137,"uuid":138,"slug":139,"title":140,"description":141,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":23,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":142,"tags":143,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":145,"asset_kind":29,"target_tools":146,"install_mode":34,"entrypoint":147,"risk_profile":148,"dependencies":150,"verification":155,"agent_metadata":158,"agent_fit":170,"trust":172,"provenance":175,"created_at":177,"updated_at":178,"__relatedScore":179,"__relatedReasons":180,"__sharedTags":181},3076,"1b523f02-4d55-11f1-9bc6-00163e2b0d79","asset-1b523f02","Typecho — Lightweight PHP Blogging Platform","Typecho is a minimalist PHP blogging engine that prioritizes speed and simplicity. It supports Markdown, themes, plugins, and runs on any standard LAMP or LEMP stack.",[],[144],{"id":23,"name":24,"slug":25,"icon":26},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",[31,32,33],"SKILL.md",{"executes_code":27,"modifies_global_config":27,"requires_secrets":149,"uses_absolute_paths":27,"network_access":27},[],{"npm":151,"pip":152,"brew":153,"system":154},[],[],[],[],{"commands":156,"expected_files":157},[],[],{"asset_kind":29,"target_tools":159,"install_mode":34,"entrypoint":147,"risk_profile":160,"dependencies":162,"content_hash":145,"verification":167,"inferred":57},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":161,"uses_absolute_paths":27,"network_access":27},[],{"npm":163,"pip":164,"brew":165,"system":166},[],[],[],[],{"commands":168,"expected_files":169},[],[],{"target":32,"score":59,"status":60,"policy":61,"why":171,"asset_kind":29,"install_mode":34},[63,64,65,66,67,68,69],{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":145,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":173,"review_status":74,"signals":174},[],[76,77,78],{"owner_uuid":9,"owner_name":10,"source_url":176,"content_hash":145,"visibility":17,"created_at":177,"updated_at":178},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-1b523f02","2026-05-12 00:18:55","2026-05-12 11:09:23",101.67091502846026,[130,131,132,133],[25,135],{"id":183,"uuid":184,"slug":185,"title":186,"description":187,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":188,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":189,"tags":190,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":192,"asset_kind":29,"target_tools":193,"install_mode":34,"entrypoint":194,"risk_profile":195,"dependencies":197,"verification":202,"agent_metadata":205,"agent_fit":217,"trust":219,"provenance":223,"created_at":225,"updated_at":226,"__relatedScore":227,"__relatedReasons":228,"__sharedTags":229},2301,"0a6b7ce7-42ff-11f1-9bc6-00163e2b0d79","mithril-js-lightweight-spa-framework-built-routing-xhr-0a6b7ce7","Mithril.js — Lightweight SPA Framework with Built-In Routing and XHR","Mithril.js is a compact JavaScript framework for building single-page applications that includes a virtual DOM engine, client-side router, and XHR utility in under 10 KB gzipped.",109,[],[191],{"id":23,"name":24,"slug":25,"icon":26},"4774250ac7e309ac822298b2e99dfeb11cdef33773f112af180943d4e82fdf29",[31,32,33],"Mithril.js Overview",{"executes_code":27,"modifies_global_config":27,"requires_secrets":196,"uses_absolute_paths":27,"network_access":27},[],{"npm":198,"pip":199,"brew":200,"system":201},[],[],[],[],{"commands":203,"expected_files":204},[],[194],{"asset_kind":29,"target_tools":206,"install_mode":34,"entrypoint":194,"risk_profile":207,"dependencies":209,"content_hash":192,"verification":214},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":208,"uses_absolute_paths":27,"network_access":27},[],{"npm":210,"pip":211,"brew":212,"system":213},[],[],[],[],{"commands":215,"expected_files":216},[],[194],{"target":32,"score":59,"status":60,"policy":61,"why":218,"asset_kind":29,"install_mode":34},[63,64,65,66,67,68,69],{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":192,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":220,"review_status":74,"signals":221},[],[222,76,77,78],"asset has usage views",{"owner_uuid":9,"owner_name":10,"source_url":224,"content_hash":192,"visibility":17,"created_at":225,"updated_at":226},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fmithril-js-lightweight-spa-framework-built-routing-xhr-0a6b7ce7","2026-04-28 20:37:38","2026-05-12 10:06:42",97.06208902773734,[130,131,132,133],[25,135],{"id":231,"uuid":232,"slug":233,"title":234,"description":235,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":236,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":237,"tags":238,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":240,"asset_kind":29,"target_tools":241,"install_mode":34,"entrypoint":242,"risk_profile":243,"dependencies":245,"verification":250,"agent_metadata":253,"agent_fit":265,"trust":267,"provenance":270,"created_at":272,"updated_at":273,"__relatedScore":274,"__relatedReasons":275,"__sharedTags":276},2205,"6c86c879-41cf-11f1-9bc6-00163e2b0d79","backbone-js-lightweight-mvc-framework-javascript-6c86c879","Backbone.js — Lightweight MVC Framework for JavaScript Applications","A minimal JavaScript framework that provides models with key-value binding, collections, views with declarative event handling, and RESTful JSON sync — giving structure to web applications.",82,[],[239],{"id":23,"name":24,"slug":25,"icon":26},"03be8412059a41d261bd778b91514cccdc38b864924015a294473a0075f0a6b1",[31,32,33],"Backbone.js Overview",{"executes_code":27,"modifies_global_config":27,"requires_secrets":244,"uses_absolute_paths":27,"network_access":27},[],{"npm":246,"pip":247,"brew":248,"system":249},[],[],[],[],{"commands":251,"expected_files":252},[],[242],{"asset_kind":29,"target_tools":254,"install_mode":34,"entrypoint":242,"risk_profile":255,"dependencies":257,"content_hash":240,"verification":262},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":256,"uses_absolute_paths":27,"network_access":27},[],{"npm":258,"pip":259,"brew":260,"system":261},[],[],[],[],{"commands":263,"expected_files":264},[],[242],{"target":32,"score":59,"status":60,"policy":61,"why":266,"asset_kind":29,"install_mode":34},[63,64,65,66,67,68,69],{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":240,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":268,"review_status":74,"signals":269},[],[76,77,78],{"owner_uuid":9,"owner_name":10,"source_url":271,"content_hash":240,"visibility":17,"created_at":272,"updated_at":273},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fbackbone-js-lightweight-mvc-framework-javascript-6c86c879","2026-04-27 08:24:16","2026-05-12 12:45:04",96.87861713856411,[130,131,132,133],[25,135]]