https://github.com/threadi/easy-directory-listing-for-wordpress
https://github.com/threadi/easy-directory-listing-for-wordpress
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/threadi/easy-directory-listing-for-wordpress
- Owner: threadi
- Created: 2025-01-19T12:18:24.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-01-18T15:10:59.000Z (5 months ago)
- Last Synced: 2026-01-18T23:09:18.161Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 301 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Easy Directory Listing for WordPress
## Requirements
* _composer_ to install this package.
* _npm_ to compile the scripts.
* WordPress-plugin, theme or _Code Snippet_-plugin to embed them in your project.
## Installation
1. ``composer require threadi/easy-directory-listing-for-wordpress``
2. Switch to ``vendor/thread/easy-directory-listing-for-wordpress``
3. Run ``npm i`` to install dependencies.
4. Run ``npm run build`` to compile the scripts.
5. Add the codes from `doc/embed.php` to your WordPress-project (plugin or theme).
## Check for WordPress Coding Standards
### Initialize
`composer install`
### Run
`vendor/bin/phpcs --standard=vendor/threadi/easy-directory-listing-for-wordpress/ruleset.xml vendor/threadi/easy-directory-listing-for-wordpress/`
### Repair
`vendor/bin/phpcbf --standard=vendor/threadi/easy-directory-listing-for-wordpress/ruleset.xml vendor/threadi/easy-directory-listing-for-wordpress/`
## Analyse with PHPStan
`vendor/bin/phpstan analyse -c vendor/threadi/easy-directory-listing-for-wordpress/phpstan.neon`