https://github.com/snowdogapps/magewire-examples
Magento2 module with Magewire Examples
https://github.com/snowdogapps/magewire-examples
Last synced: about 1 year ago
JSON representation
Magento2 module with Magewire Examples
- Host: GitHub
- URL: https://github.com/snowdogapps/magewire-examples
- Owner: SnowdogApps
- Created: 2023-05-26T11:26:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T12:59:16.000Z (almost 3 years ago)
- Last Synced: 2025-04-12T22:14:56.739Z (about 1 year ago)
- Language: PHP
- Size: 469 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Magewire Example Module
This is a Magento 2 module provides a couple of examples to start a journey with Magewire. Read the [full article](https://snow.dog/blog/magewire-game-changer-for-magento-from-hyva).
### 1. Installation:
* `composer config repositories.snowdog/magewire-examples git git@github.com:SnowdogApps/magewire-examples.git`
* `composer require snowdog/magewire-examples`
* `bin/magento setup:upgrade`
### 2. Requirements:
* Magento > 2.4.3
* PHP > 8.1
### 2. Run the examples:
After installation go to `/magewire` to run the two examples provided:
**Counter** `/magewire/counter`
This is the most simple example which Maguire's team suggests from various tutorial.
Pressing the Increment / Decrement button makes the value of the field changing accordingly.

**Product Listing** `/magewire/productfilter/`
This example makes filers a collection of products by two filters without refreshing the page.

### Disclaimer
This module is provided as is and, it provides just examples, support is not provided.