IT Asset Registry
WordPress Plugin for IT Asset Management and Maintenance Tracking
by Your Company · github.com/jomsnow368-blip/it-asset-registry-wp
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jomsnow368-blip/it-asset-registry-wp/archive/refs/heads/main.zipReadme
IT Asset Registry - WordPress Plugin
ระบบทะเบียนอุปกรณ์ไอที - A comprehensive WordPress plugin for managing IT assets, maintenance planning, and budget tracking.
Features
✅ Equipment Registry - Complete asset management with tracking ✅ Maintenance Planning - Schedule preventive and corrective maintenance ✅ Budget Management - Plan and track IT spending by department and category ✅ Reports & Analytics - Generate reports and export to CSV ✅ Dashboard - Visual overview with charts and KPIs ✅ Multi-language Support - Thai & English ready ✅ REST API - Full API for external integrations ✅ WordPress Standard - Follows all WordPress plugin standards ✅ Security - Nonces, capability checks, and prepared statements ✅ Responsive Design - Works on desktop and mobile
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin from WordPress admin dashboard
- Navigate to IT Assets menu to start using the system
Usage
Admin Dashboard
Access the plugin from WordPress admin:
- Dashboard: Main overview with charts
- Equipment: Add and manage IT assets
- Maintenance: Plan and track maintenance tasks
- Budget: Manage annual budgets
- Reports: Export and analyze data
- Settings: Configure departments and categories
Frontend Shortcode
Use the shortcode on any page or post:
[it_asset_registry]
Database Structure
Tables Created
wp_itasset_equipment- IT equipment recordswp_itasset_maintenance- Maintenance schedule and historywp_itasset_budget- Budget planning and trackingwp_itasset_settings- Plugin settings and configurations
API Endpoints
All endpoints require manage_options capability.
Equipment
GET /wp-json/itasset/v1/equipment- Get all equipmentPOST /wp-json/itasset/v1/equipment- Create equipmentGET /wp-json/itasset/v1/equipment/{id}- Get specific equipmentPUT /wp-json/itasset/v1/equipment/{id}- Update equipmentDELETE /wp-json/itasset/v1/equipment/{id}- Delete equipment
Maintenance
GET /wp-json/itasset/v1/maintenance- Get all maintenance recordsPOST /wp-json/itasset/v1/maintenance- Create maintenance recordGET /wp-json/itasset/v1/maintenance/{id}- Get specific recordPUT /wp-json/itasset/v1/maintenance/{id}- Update recordDELETE /wp-json/itasset/v1/maintenance/{id}- Delete record
Budget
GET /wp-json/itasset/v1/budget- Get all budget recordsPOST /wp-json/itasset/v1/budget- Create budget recordGET /wp-json/itasset/v1/budget/{id}- Get specific recordPUT /wp-json/itasset/v1/budget/{id}- Update recordDELETE /wp-json/itasset/v1/budget/{id}- Delete record
Settings
GET /wp-json/itasset/v1/settings- Get all settingsPOST /wp-json/itasset/v1/settings- Update settings
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- MySQL 5.6 or higher
Permissions
The plugin requires manage_options capability (Administrator role by default).
File Structure
it-asset-registry-wp/
├── it-asset-registry.php # Main plugin file
├── includes/
│ ├── class-it-asset-registry.php # Main plugin class
│ ├── class-database.php # Database operations
│ ├── class-admin.php # Admin pages and menus
│ ├── class-api.php # REST API endpoints
│ ├── class-activator.php # Activation hook
│ └── class-deactivator.php # Deactivation hook
├── assets/
│ ├── css/
│ │ ├── admin.css # Admin styles
│ │ └── frontend.css # Frontend styles
│ └── js/
│ ├── admin.js # Admin scripts
│ └── frontend.js # Frontend scripts
├── languages/
│ └── it-asset-registry.pot # Translation template
└── README.md # This file
Security Features
- ✅ WordPress nonces for form submissions
- ✅ Capability checks on all admin functions
- ✅ Prepared statements for database queries
- ✅ Input sanitization and output escaping
- ✅ CORS headers for REST API
- ✅ SQL injection prevention
Support & Issues
For support or to report issues, please visit the plugin repository.
License
GPL v2 or later - See LICENSE file for details.
Changelog
Version 1.0.0
- Initial release
- Equipment management
- Maintenance planning
- Budget tracking
- Reports and analytics
- REST API
- Thai language support