Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
Packagist installs the committed `builds/quickpay` PHAR. A release is built
once, reviewed by `Quality`, committed, tagged, and published manually.

The PHAR bundles every package in `vendor/`, development packages included,
because `laravel-zero/framework` is a development dependency that the PHAR runs
on. `box.json` leaves out PHPStan and Larastan, which would otherwise make up
most of the PHAR. Leave out any large development tool added later in the same
place, and check the PHAR's size after building.

## One-time setup

- Connect the GitHub repository to Packagist.
Expand Down
14 changes: 11 additions & 3 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,27 @@
"directories": [
"app",
"bootstrap",
"config",
"vendor"
"config"
],
"files": [
"composer.json"
],
"exclude-composer-files": false,
"dump-autoload": false,
"dump-autoload": true,
"exclude-dev-files": false,
"check-requirements": true,
"output": "quickpay.phar",
"compression": "GZ",
"compactors": [
"KevinGH\\Box\\Compactor\\Php"
],
"finder": [
{
"in": "vendor",
"exclude": [
"phpstan/phpstan",
"larastan/larastan"
]
}
]
}
Loading