/phppm-phar

Phar archive builder for php-pm

Primary LanguagePHPMIT LicenseMIT

Phar compiler for php-pm

GitHub Actions Build Status Issues License PPM Compatible

Adds a compiler derived from Composers Composer\Compiler class that creates a ppm.phar file for use in other projects, isolating the php-pm dependencies from your project making it more portable.

Note: this library does not follow any versioning scheme.

This library includes:

  • httpkernel-adapter

Note: all other adapters have been removed as they are not updated very often.

In addition, the following additional bootstrappers are included:

  • SomnambulistSymfony

    General bootstrapper for SF 5+ based projects that can handle the change in Kernel naming and the new public folder. Note: Kernel discovery requires the usage of PSR-4 naming conventions in your project and usage of the standard ./src folder. If not found, AppKernel and App\Kernel will attempt to be used.

To use any of these Bootstrap classes, replace your bootstrap in the ppm.json with the class name. They use the PHPPM\Bootstrappers namespace for autoloading.

Compile Phar

Run: ./bin/compile - a ppm.phar will be created in the root folder.

Copy the ppm.phar wherever you would like or symlink it: e.g.: ln -s ./ppm.phar /usr/local/bin/ppm

If you have specific version requirements, clone this package and set the versions you need.

Major Changes

2023-12-07

Updated to Symfony 6.4.* Require PHP 8.2+

2023-01-25

Updated to Symfony 6.2.* Require PHP 8.1+

2022-01-10

Updated to PHP-PM 2.3 / HttpKernel 2.3 Updated to Symfony 6.0.* Require PHP 8.0+

2021-12-14

Updated to Symfony 5.4.*

2021-06-21

Updated to Symfony 5.3.*

2021-02-05

Updated to PHP-PM 2.2.1 Updated to Symfony 5.2.*

2020-07-30

Updated Symfony dependencies to 5.1.* Updated to PHP-PM 2.1 Removed Symfony4 bootstrap adapter

2020-06-17

Dropped Dotenv <5 support Updated dependencies to pin to SF 5.0.* Updated to PHP-PM 2.0.4 / HttpKernel 2.0.5

2020-02-05

Added SomnambulistSymfony adapter to replace Symfony4 (now deprecated)

2020-02-05

Release against Symfony 5.0.4 dependencies (4.X)

2020-01-29

Updated to PHP-PM 2.0.3

2019-11-22

Release against Symfony 4.4 dependencies (3.x)

2019-05-10

Updated to PHP-PM 2.0.0 / HttpKernel 2.0.1 Removed SymfonyFlex / SymfonyFlexApi classes Renamed AbstractSymfony to Symfony4

2018-12-09

Updated to PHP-PM 1.0.5 Removed SF 3.3 support

2018-01-08

Switched to stable libraries and removed the Tideways additions.

2017-07-16

Initial commit