ComPress
A Wordpress plugin that helps to use Composer with a lazy loader service container (aka. dependency injector).
by Balint Sera · github.com/balintsera/evista-composer-wordpress
★ 0stars
17composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/balintsera/evista-composer-wordpress/archive/refs/heads/master.zipAlso on Packagist as evista/compress:
composer require evista/compressFrom the readme
ComPress
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]
ComPress is a Wordpress plugin that helps to use composer with a lazy loader service container (dependency injector).
Install
Usage
Documentation
ComPress plugin makes the marvellous Composer accessible in any WordPress project. If you never heard about it, Composer is a PHP package manager with a very good dependency resolver that makes using of third party libraries a breeze.
Composer transformed the PHP ecosystem recently so you should probably learn it. If you want to use the latest Twig templating engine in your WordPress plugins or themes you only have to
1. run composer require twig/twig in the module’s root dir
2. add the new package to the lazy loader service container’s setup
Afterwards the Twig rendering engine will be accessible from anywhere this way:
How to add a package to the container
Every package has a different way of initializing,
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0 | Oct 23, 2015 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.