{"id":51099429,"url":"https://github.com/santoshtmp/wordpress-stablezhelpers","last_synced_at":"2026-06-24T09:34:52.192Z","repository":{"id":330466986,"uuid":"1122857025","full_name":"santoshtmp/wordpress-stablezhelpers","owner":"santoshtmp","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-22T15:06:15.000Z","size":2675,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-24T09:34:44.475Z","etag":null,"topics":["helpers","plugin","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santoshtmp.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-25T17:06:31.000Z","updated_at":"2026-04-23T15:25:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/santoshtmp/wordpress-stablezhelpers","commit_stats":null,"previous_names":["santoshtmp/wordpress-custom-helperbox","santoshtmp/wordpress-stablezhelpers"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santoshtmp/wordpress-stablezhelpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fwordpress-stablezhelpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fwordpress-stablezhelpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fwordpress-stablezhelpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fwordpress-stablezhelpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santoshtmp","download_url":"https://codeload.github.com/santoshtmp/wordpress-stablezhelpers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fwordpress-stablezhelpers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34724746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["helpers","plugin","wordpress","wordpress-plugin"],"created_at":"2026-06-24T09:34:51.253Z","updated_at":"2026-06-24T09:34:52.180Z","avatar_url":"https://github.com/santoshtmp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Helper Box\n\n[![WordPress Plugin](https://img.shields.io/badge/WordPress-6.5%2B-blue)](https://wordpress.org/)\n[![PHP Version](https://img.shields.io/badge/PHP-8.0%2B-green)](https://php.net/)\n[![License](https://img.shields.io/badge/License-GPLv2-orange)](http://www.gnu.org/licenses/gpl-2.0.html)\n\n- **Contributors:** santoshtmp7\n- **Tags:** settings, functions, security, moodle, admin, custom-post-type, block-patterns\n- **Author:** santoshtmp7\n- **Author URI:** https://github.com/santoshtmp\n- **Plugin URI:** https://github.com/santoshtmp/wordpress-stablezhelpers\n- **Requires WP:** 6.5\n- **Requires at least:** 6.8\n- **Tested up to:** 6.8\n- **Requires PHP:** 8.0\n- **Text Domain:** helperbox\n- **Stable tag:** 1.0\n- **Version:** 1.0\n- **License:** GPLv2 or later\n- **License URI:** http://www.gnu.org/licenses/gpl-2.0.html\n\n## Description\n\nCustom Helper Box is a comprehensive developer-oriented WordPress plugin that provides a collection of reusable helper functions, UI enhancements, security improvements, and third-party integrations to streamline WordPress development and site management.\n\n## Features\n\n### 🛡️ Security Features\n- **Admin User Monitoring:** Track admin user creation and manage admin accounts\n- **Security Handler:** Centralized security management\n- **User Role Management:** Enhanced user role controls and permissions\n\n### 🎨 Block \u0026 Template Features\n- **Custom Blocks:** Register and manage custom Gutenberg blocks\n- **Block Patterns:** Pre-designed block patterns for quick content creation\n- **Custom Page Templates:** Support for custom theme templates in configurable directories\n- **Breadcrumb Navigation:** Built-in breadcrumb functionality\n\n### 🔗 Moodle Integration\n- **Single Sign-On (SSO):** Seamless authentication between WordPress and Moodle\n- **Course Management:** Custom post type for Moodle courses\n- **User Synchronization:** Sync users between WordPress and Moodle\n- **AJAX Endpoints:** Moodle integration AJAX handlers\n\n### ⚙️ Admin \u0026 Settings\n- **Settings Page:** Centralized settings interface for plugin configuration\n- **Check Settings:** Validate and verify plugin settings\n- **Template Management:** Admin templates for notifications and updates\n- **REST API Endpoints:** Custom REST API routes for extended functionality\n\n### 📁 File \u0026 Media\n- **Extended MIME Types:** Configurable allowed file upload types\n- **Media Upload Controls:** Enhanced media upload security\n\n### 🔧 Developer Tools\n- **Logging System:** File-based logging with backtrace for debugging\n- **Helper Functions:** Reusable utility functions\n- **Autoloader:** PSR-4 compatible class autoloading\n- **Redirect Handler:** Custom redirect management\n\n## Installation\n\n1. Upload the `wordpress-custom-helperbox` folder to the `/wp-content/mu-plugins/` directory\n2. Activate the plugin through the 'Plugins' menu in WordPress (for regular plugins)\n   - Note: As an mu-plugin, it will be automatically activated\n3. Configure settings under **Settings → Helper Box** in WordPress admin\n\n## Configuration\n\nAfter installation, access the plugin settings:\n\n1. Navigate to **Settings → Helper Box** in WordPress admin\n2. Configure the following sections:\n   - **General Settings:** Basic plugin configuration\n   - **Admin Login Settings:** Admin-related security settings\n   - **Security Settings:** Security features and monitoring\n   - **Moodle Integration:** Moodle LMS connection settings\n   - **File Types:** Allowed MIME types for uploads\n\n## Directory Structure\n\n```\nwordpress-custom-helperbox/\n├── assets/                 # Static assets (CSS, JS, images)\n├── block-patterns/         # Custom Gutenberg block patterns\n├── blocks/                 # Custom Gutenberg blocks\n├── endpoint/               # API endpoints\n│   ├── ajax/              # AJAX handlers\n│   └── rest/              # REST API routes\n├── inc/                    # Core includes\n│   ├── classes/           # PHP classes\n│   │   ├── admin/         # Admin functionality\n│   │   ├── api/           # API-related classes\n│   │   ├── moodle/        # Moodle integration\n│   │   └── security/      # Security features\n│   └── helpers/           # Helper functions\n├── test/                   # Test files\n├── custom-helperbox.php    # Main plugin file\n└── README.md               # This file\n```\n\n## Screenshots\n\n![General Settings](./assets/screenshot/general-setting.png)\n*General Settings Page*\n\n![Admin Login Settings](./assets/screenshot/admin-login-setting.png)\n*Admin Login Settings Page*\n\n![Security Settings](./assets/screenshot/security-setting.png)\n*Security Settings Page*\n\n## Usage Examples\n\n### Logging\n```php\nuse Helperbox_Plugin\\HelperBox;\n\n// Log an error\nHelperBox::set_log_message($exception, 'error');\n\n// Log a message\nHelperBox::set_log_message('Custom message', 'message');\n\n// Log general information\nHelperBox::set_log_message('Debug info', 'debug');\n```\n\n### Constants\nThe plugin defines the following constants for use throughout your code:\n\n- `HELPERBOX_URL` - Plugin directory URL\n- `HELPERBOX_PATH` - Plugin directory path\n- `helperbox_basename` - Plugin basename\n- `HELPERBOX_IMG_URL` - Plugin images directory URL\n\n## Requirements\n\n- WordPress 6.5 or higher\n- PHP 8.0 or higher\n- MySQL 5.6 or higher (or MariaDB 10.1 or higher)\n\n## Changelog\n\n### Version 1.0\n- Initial release\n- Security features and admin monitoring\n- Moodle integration with SSO support\n- Custom blocks and block patterns\n- Settings interface\n- File upload management\n- Logging system\n\n## Upgrade Notice\n\n### Version 1.0\nInitial release of Custom Helper Box.\n\n## Frequently Asked Questions\n\n### Is this a must-use plugin?\nYes, this plugin is designed to work as an mu-plugin (must-use plugin) and will be automatically activated when placed in the `wp-content/mu-plugins/` directory.\n\n### Can I disable certain features?\nYes, most features can be configured or disabled through the plugin settings page.\n\n### How do I configure Moodle integration?\nNavigate to **Settings → Helper Box → Moodle Integration** and enter your Moodle site URL, token, and other required credentials.\n\n## Support\n\nFor issues, feature requests, or contributions, please visit the [GitHub repository](https://github.com/santoshtmp/wordpress-stablezhelpers).\n\n## License\n\nThis plugin is licensed under the GNU General Public License v2 or later.\n\nFor more information, see [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html).\n\n---\n\n**Note:** This plugin is intended for developers and advanced WordPress users. Please test in a staging environment before deploying to production.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshtmp%2Fwordpress-stablezhelpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantoshtmp%2Fwordpress-stablezhelpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshtmp%2Fwordpress-stablezhelpers/lists"}