EventSphere Manager
A fully-featured WordPress event management plugin with RSVP system, REST API, filtering capabilities, and comprehensive PHPUnit test coverage.
by Ali Alizadegan · github.com/alializadegan/eventsphere-manager-plugin · website
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/alializadegan/eventsphere-manager-plugin/archive/refs/heads/main.zipA production-ready WordPress event management plugin with RSVP system, REST API, advanced filtering, and PHPUnit test coverage.
Author: Ali Alizadegan
Compatible with PHP 7.4+
Overview
EventSphere Manager is a custom-built WordPress plugin designed to manage events with a clean admin experience and a user-friendly frontend.
It includes event creation, filtering, RSVP handling, and REST API integration, all built with performance, security, and extensibility in mind.
Features
- Custom Post Type for Events
- Event archive and single pages
- Event date and location management
- Advanced filtering (date range, status, search)
- AJAX-based search and filtering
- RSVP system with validation and duplicate prevention
- REST API endpoint for RSVP submissions
- Admin panel to manage RSVPs
- CSV export for registered users
- Automatic page creation on plugin activation
- Fully responsive UI
- PHPUnit test suite with passing tests
Installation
- Copy the plugin folder into: wp-content/plugins/
- Activate the plugin from the WordPress admin panel.
- The plugin will automatically:
- Register required post types and taxonomies
- Create necessary pages
- Initialize required settings
Usage
Admin Side
- Create events from the Events menu
- Set:
- Event date
- Location
- Featured image (required for publishing)
- View RSVP entries from the admin panel
- Export RSVP data as CSV
Frontend
- Visit: /events
- Filter events by:
- Date range
- Status (upcoming / past)
- Search query
- Submit RSVP using the event form
REST API
RSVP submissions are handled via a custom REST endpoint: POST /wp-json/eventsphere/v1/events/{id}/rsvp
Parameters
name(optional)email(required)
Behavior
- Validates email format
- Prevents duplicate registrations
- Returns updated RSVP count
Testing
This plugin includes a PHPUnit test suite.
Run tests
composer install
vendor/bin/phpunit
Parameters
name(optional)email(required)
Behavior
- Validates email format
- Prevents duplicate registrations
- Returns updated RSVP count
Testing
This plugin includes a PHPUnit test suite.
Run tests
composer install
vendor/bin/phpunit
All tests are passing.
Code Quality
- Follows WordPress coding standards
- Escaping and sanitization applied
- Secure data handling
-
Modular and extensible architecture
Cleanup
On uninstall:
- All plugin data is removed
- Custom tables are cleaned
-
Options and metadata are deleted
License
MIT License
Author
Ali Alizadegan
Notes
This plugin was developed as part of a technical task, with a strong focus on clean architecture, performance, and testability.