WP Manifestindependent plugin directory
manifest / utilities / it-asset-registry-wp

IT Asset Registry

WordPress Plugin for IT Asset Management and Maintenance Tracking

by Your Company · github.com/jomsnow368-blip/it-asset-registry-wp

0stars
0forks

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.zip

Readme

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

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate the plugin from WordPress admin dashboard
  3. 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 records
  • wp_itasset_maintenance - Maintenance schedule and history
  • wp_itasset_budget - Budget planning and tracking
  • wp_itasset_settings - Plugin settings and configurations

API Endpoints

All endpoints require manage_options capability.

Equipment

  • GET /wp-json/itasset/v1/equipment - Get all equipment
  • POST /wp-json/itasset/v1/equipment - Create equipment
  • GET /wp-json/itasset/v1/equipment/{id} - Get specific equipment
  • PUT /wp-json/itasset/v1/equipment/{id} - Update equipment
  • DELETE /wp-json/itasset/v1/equipment/{id} - Delete equipment

Maintenance

  • GET /wp-json/itasset/v1/maintenance - Get all maintenance records
  • POST /wp-json/itasset/v1/maintenance - Create maintenance record
  • GET /wp-json/itasset/v1/maintenance/{id} - Get specific record
  • PUT /wp-json/itasset/v1/maintenance/{id} - Update record
  • DELETE /wp-json/itasset/v1/maintenance/{id} - Delete record

Budget

  • GET /wp-json/itasset/v1/budget - Get all budget records
  • POST /wp-json/itasset/v1/budget - Create budget record
  • GET /wp-json/itasset/v1/budget/{id} - Get specific record
  • PUT /wp-json/itasset/v1/budget/{id} - Update record
  • DELETE /wp-json/itasset/v1/budget/{id} - Delete record

Settings

  • GET /wp-json/itasset/v1/settings - Get all settings
  • POST /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

Read the full README on GitHub →