Download the PHP package ashokdubariya/module-testimonial without Composer
On this page you can find all versions of the php package ashokdubariya/module-testimonial. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ashokdubariya/module-testimonial
More information about ashokdubariya/module-testimonial
Files in ashokdubariya/module-testimonial
Download ashokdubariya/module-testimonial
More information about ashokdubariya/module-testimonial
Files in ashokdubariya/module-testimonial
Vendor ashokdubariya
Package module-testimonial
Short Description Magento 2 Testimonial Module with GraphQL API support and Hyva Theme compatibility for managing customer testimonials with complete CRUD operations, admin panel, and frontend display.
License MIT
Package module-testimonial
Short Description Magento 2 Testimonial Module with GraphQL API support and Hyva Theme compatibility for managing customer testimonials with complete CRUD operations, admin panel, and frontend display.
License MIT
Please rate this library. Is it a good library?
Informations about the package module-testimonial
Magento 2 Testimonial Module with GraphQL APIs
This repository contains a Testimonial module with GraphQL API support and Hyvä Theme compatibility for managing customer testimonials with complete CRUD operations, admin panel, and frontend display.
Key Features
- Complete database schema with optimized indexes
- Full Admin CRUD using Magento UI Components
- Frontend testimonial listing and submission pages
- GraphQL endpoints (queries & mutations)
- Strong validation and security best practices
- LESS-based styling following Magento 2 standards (Luma)
- Hyvä theme compatible frontend (no RequireJS / no jQuery)
- Repository pattern and service layer architecture
Requirements
- Magento Open Source 2.4.5+
- PHP 8.1+
Module Information
- Module Name:
Ashokdubariya_Testimonial - Package Name:
ashokdubariya/module-testimonial - Module Type: Magento 2 Custom Module
- API Type: GraphQL
- License: MIT
Installation
Method 1: Composer Installation (Recommended)
Method 2: Manual Installation
-
Copy the module to Magento:
- Run Magento commands:
GraphQL Endpoint
After installation, the GraphQL endpoint is available at:
GraphQL Schema Example
File: etc/schema.graphqls
Queries
1. Get All Testimonials (with Filtering & Pagination)
Basic Query
With Filters - Filter by Status
With Filters - Filter by Rating
With Filters - Search by Name (LIKE)
With Filters - Multiple Ratings (IN)
With Filters - Date Range
With Filters - Combined Filters
2. Get Testimonial by ID
Response
Mutations
3. Add Testimonial
Response
4. Update Testimonial
Update one or more fields of an existing testimonial.
Update All Fields
Update Specific Fields Only
Update Rating and Message
Response
5. Delete Testimonial
Response
Error Response (Not Found)
Filter Options
Available Filter Fields
customer_name- Filter by customer namecustomer_email- Filter by emailrating- Filter by rating (1-5)status- Filter by status (0=Disabled, 1=Enabled)created_at- Filter by creation date
Filter Types
| Filter Type | Description | Example |
|---|---|---|
eq |
Equal to | { eq: "1" } |
in |
In array | { in: ["4", "5"] } |
like |
Pattern match | { like: "John" } |
from |
Greater than or equal | { from: "2026-01-01" } |
to |
Less than or equal | { to: "2026-01-31" } |
cURL Examples
Get Filtered Testimonials
Update Testimonial
Delete Testimonial
Common Use Cases
1. Get Only 5-Star Testimonials
2. Get Recent Testimonials (Last 30 Days)
3. Search Testimonials by Customer Email
4. Approve Testimonial (Change Status)
5. Bulk Approve by Getting Disabled and Updating
Validation Rules
Add/Update Testimonial
- customer_name: Required (for add), max 255 characters
- customer_email: Required (for add), valid email format, max 255 characters
- message: Required (for add), no length limit
- rating: Required (for add), integer 1-5
- status: Optional, 0 or 1
Filter Values
- All filter values should be strings (even numbers)
- Date format:
YYYY-MM-DDorYYYY-MM-DD HH:MM:SS - Use
likefor partial matches (automatically adds % wildcards)
Status Values
0= Disabled (default for customer submissions)1= Enabled (visible in public queries)
Complete API Summary
| Operation | Type | Description |
|---|---|---|
testimonials |
Query | Get paginated list with filtering |
testimonial |
Query | Get single testimonial by ID |
addTestimonial |
Mutation | Create new testimonial |
updateTestimonial |
Mutation | Update existing testimonial |
deleteTestimonial |
Mutation | Delete testimonial |
Testing with GraphQL Playground
- Navigate to:
https://your-magento-site.com/graphql - Use the schema explorer to see all available fields
- Test queries and mutations interactively
- View auto-complete suggestions
Additional Resources
- Admin Panel:
/admin/testimonial/testimonial/index - Frontend Listing:
/testimonial - Submit Form:
/testimonial/submit - Module Location:
/app/code/Ashokdubariya/Testimonial
Support
- Source: GitHub Repository
- Issues: GitHub Issues
License
This project is licensed under the MIT License - see the LICENSE file for details.
All versions of module-testimonial with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
magento/framework Version ^103.0
magento/module-backend Version ^102.0
magento/module-ui Version ^101.2
magento/framework Version ^103.0
magento/module-backend Version ^102.0
magento/module-ui Version ^101.2
The package ashokdubariya/module-testimonial contains the following files
Loading the files please wait ...