PHP Classes


Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WP Emailer   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: WP Emailer
Allow WordPress users to configure email settings
Author: By
Last change:
Date: 10 months ago
Size: 2,041 bytes


Class file image Download

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.


git clone

# 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

Composer run test:all command.

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 - 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

Settings Page.

List Page

List Page.

Graph Page

Graph Page.

Skeleton Loader for Settings

Skeleton Loader for Settings.

Skeleton Loader for Table

Skeleton Loader for Table.

Contact with me