Download the PHP package janisbiz/heredoc without Composer
On this page you can find all versions of the php package janisbiz/heredoc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package heredoc
Heredoc
A helper for outputting values to PHP heredoc
Installing
composer require janisbiz/heredoc
Getting started
These instructions will help you set up this helper, so you can use it. As well, there are provided instructions to run tests for the extension.
Using extension
To use helper:
- your class should use trait HeredocTrait
- you should call global function ´heredoc()´
Running tests
There are two ways to run tests: 1) By using docker containers:
- Copy
.env.dist
to.env
and adjust defined values for your needs - Execute
docker-compose up -d --build
- Execute
docker-compose exec php-cli composer install
- Execute
docker-compose exec php-cli vendor/bin/phpunit -c phpunit.xml
2) By using your local php and mysql database environment: - Ensure, that your php version is
5.6+
- Execute
composer install
- Execute
vendor/bin/phpunit -c phpunit.xml
All versions of heredoc with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package janisbiz/heredoc contains the following files
Loading the files please wait ....