vagebond / envato-themecheck
An easier way to check if your theme complies with the Envato WordPress Theme Requirements
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/vagebond/envato-themecheck
Requires
- php: ^8.1
- illuminate/support: ^10.9
- symfony/console: ^6.2
- symfony/finder: ^6.2
- voku/simple_html_dom: ^4.8
Requires (Dev)
- envato/envato-theme-check: dev-master
- laravel/pint: ^1.10
- symfony/var-dumper: ^6.2
README
command-line tool to run envato theme checks against any folder
Instal
This CLI application is the envato-themecheck written in PHP and is installed using Composer:
composer global require vagebond/envato-themecheck
Make sure the ~/.composer/vendor/bin directory is in your system's PATH.
Show me how
If it's not already there, add the following line to your Bash configuration file (usually ~/.bash_profile, ~/.bashrc, ~/.zshrc, etc.):
export PATH=~/.composer/vendor/bin:$PATH
If the file doesn't exist, create it.
Run the following command on the file you've just updated for the change to take effect:
source ~/.bash_profile
Use
All you need to do is call the check ~/path/to/theme command to check your theme:
Dev mode
When you're working in dev mode you probably want to ignore all devDependencies from your vendor folder. You can do this by adding the --dev flag to the command:
check ~/path/to/theme --dev
Update
composer global update vagebond/envato-themecheck
Delete
composer global remove vagebond/envato-themecheck