Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/saadsleem80/wp-customer-services-plugin/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
CustomerService Plugin
Description
This WordPress plugin adds a CustomerService feature to your WordPress site. It allows you to manage customer service entries and syncs data with a Laravel application via API.
Installation
- Create a new WordPress site (if not already done).
- Copy the plugin folder into
wp-content/plugins/. - Open your WordPress dashboard, go to Plugins, and activate the CustomerService Plugin.
- Once activated, a new menu link CustomerService will appear in the dashboard.
- The plugin will automatically create the
customerServicedatabase table.
- Go to Settings > CustomerServiceSync and enter your Laravel URL and API token.
- You can obtain the token by logging in via the API. In a real-world scenario, the user would get this token from the dashboard or CMS.
- Test CRUD operations on CustomerService entries.
- Data will sync with the Laravel app automatically.
- If something goes wrong with the connection, a cron job will retry posting data every 24 hours with up to 5 attempts.
- If some data fails to sync, you may need to repeat the steps above.
Frequently Asked Questions
Does this plugin work with any WordPress version?
It works with WordPress 5.0 and above.
What happens if the data fails to sync?
The plugin has a retry mechanism using a cron job. If data still doesn’t sync, you need to check the API connection or token configuration.
Changelog
1.0.0
- Initial release with CustomerService feature and Laravel sync integration.
Upgrade Notice
N/A