This directory contains files necessary for building Phar file
Modules excluded from phar file:
- datafactory
- doctrine2
- laravel5
- lumen
- phalcon
- symfony
- yii2
- zendexpressive / mezzio
- zf2 / laminas
Additional dependency compared with codeception/codecepion:
- hoa/console
- Install dependencies by running
composer installin parent directory. - Disable phar.readonly in your php.ini file, it must be
phar.readonly = Off - Build Codeception 4 phar file:
- Run
./vendor/bin/robo build:phar72 - Run
./vendor/bin/robo build:phar56 - Run
./vendor/bin/robo release
- Run
- Build Codeception 5 phar file:
- Run
./vendor/bin/robo build:phar80 - Run
./vendor/bin/robo release80
- Run
- Commit added files and push
Note: it is necessary to delete package/composer.lock and package/vendor between Codeception 4 and 5 builds.