WP Emailer
A WordPress starter plugin using Vue JS framework (Vue 3) to work with Vuex, Vue router, i18n, PHP OOP, PHPUnit test, table, pagination, settings, graphs and so many.
Installation
git clone https://github.com/ManiruzzamanAkash/wp-emailer.git
# Go to that plugin folder
cd wp-emailer
# Install composer dependencies.
composer install
# Install npm dependencies.
npm install
# Start development mode server (if needs).
npm run dev
# Build scripts (if needs).
npm run build
PHP Coding Standard check and fix
# Check if any PHPCS issues found.
composer run phpcs
# Fix any possible PHPCS issues.
composer run phpcs:fix
PHP Unit test
Create a test database called - wp_phpunit_wpvue
(Only for phpunit-test
. Not for development or production.)
Or, configure this from /tests/phpunit/wp-config.php
file.
composer run test
PHP Unit test + PHPCS Check
composer run test:all
.
JavaScript Lint error
npm run lint
How to build plugin zip
Single release command
npm run release
After running these commands, a zip file named - wpemailer.zip
will be generated at dist/
folder.
One by one commands Optional (if needs)
npm run build
npm run version
npm run makepot
npm run zip
Demo previews
Settings Page
.
List Page
.
Graph Page
.
Skeleton Loader for Settings
.
Skeleton Loader for Table
.
Contact with me
manirujjamanakash@gmail.com