Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
0b78e2b
Update docgen
antonmedv Oct 22, 2024
0e0cd95
Update docgen
antonmedv Oct 22, 2024
ee651b6
Move deps to composer.json
antonmedv Oct 22, 2024
67f1c0d
Remove json schema validation
antonmedv Oct 22, 2024
e9d99ca
Implement blocking http php server for master
antonmedv Oct 22, 2024
549e865
Automatic CI user recognition (#3936)
mrhackcz Oct 23, 2024
44b38f2
Fix deploy:env task
antonmedv Oct 23, 2024
9b66699
Add setShellPath method to customize shell path in Host class (#3942)
smartfire-tech Oct 24, 2024
1e78e77
Update docs
antonmedv Oct 27, 2024
38eb101
Modernize Deployer.php
antonmedv Oct 27, 2024
d581fdc
Refactor SshClient
antonmedv Oct 27, 2024
a22d0e0
Code style Collection.php
antonmedv Oct 27, 2024
751f761
[automatic] Update docs with bin/docgen
github-actions[bot] Oct 27, 2024
9abe633
Code style fix
antonmedv Oct 27, 2024
85b4d8d
Fix phpstan errors
antonmedv Oct 27, 2024
8489340
Refactor ProcessRunner
antonmedv Oct 27, 2024
8fdb638
Refactor Configuration.php
antonmedv Oct 27, 2024
a336907
Fix phpstan
antonmedv Oct 27, 2024
1ba53fd
Set minimum PHP version to 8.2
antonmedv Oct 27, 2024
1aef6db
Set minimum PHP version to 8.2 in bin/dep
antonmedv Oct 27, 2024
cc39b3b
Composer update
antonmedv Oct 27, 2024
a4b4783
Refactor helpers.php
antonmedv Oct 27, 2024
21abfca
[automatic] Update docs with bin/docgen
github-actions[bot] Oct 27, 2024
40d55ee
Refactor run and runLocally
antonmedv Oct 30, 2024
fe75c67
[automatic] Update docs with bin/docgen
github-actions[bot] Oct 30, 2024
75990b9
Fix phpstan
antonmedv Oct 30, 2024
e547471
Do not clone Httpie
antonmedv Oct 30, 2024
55e8ee1
Update cachetool to latest version (#3952)
webflo Nov 7, 2024
6a40271
[automatic] Update docs with bin/docgen
github-actions[bot] Nov 7, 2024
27188e0
Fix .env file test in deploy:env task
antonmedv Nov 8, 2024
e6c5aae
Rename docker bin name to /bin/dep (#3955)
mrhackcz Nov 13, 2024
8a2c0cb
Bump symfony/process from 7.1.6 to 7.1.7 (#3956)
dependabot[bot] Nov 16, 2024
ffacbaa
Added `writable_acl_groups` option to acl mode in `deploy:writable` (…
null93 Nov 20, 2024
538ca83
[automatic] Update docs with bin/docgen
github-actions[bot] Nov 20, 2024
c81344e
Fix tasks to start/restart Laravel Reverb (#3959)
qwert1x Nov 21, 2024
a45c08d
Bugfix pimcore build classes (#3961)
manuelkleinert Nov 21, 2024
bdd0705
[automatic] Update docs with bin/docgen
github-actions[bot] Nov 21, 2024
a18fd64
Using `current_path` instead of hardcoding `current` (#3962)
null93 Nov 21, 2024
725730d
Update bugs.yml
antonmedv Nov 22, 2024
306f93e
Remove artisan:create_key task
antonmedv Nov 26, 2024
dbc3984
[automatic] Update docs with bin/docgen
github-actions[bot] Nov 26, 2024
14f9e1a
Update docs
antonmedv Nov 28, 2024
1d06d47
Added: bitbucket pipelines example (#3979)
james2doyle Dec 13, 2024
a025173
Update SECURITY.md
antonmedv Dec 20, 2024
1c11bf8
fix typo (#3985)
AurelienLavorel Dec 23, 2024
8b16b97
UPGRADE.md: fix typo (#3992)
staabm Jan 9, 2025
7b2c0da
Update UPGRADE.md
antonmedv Jan 10, 2025
2f6c341
remove deployer 6.x leftovers (#3995)
staabm Jan 10, 2025
16cb357
Report missing repository config in update-code task (#3996) (#3997)
staabm Jan 10, 2025
f0320fa
Add trailing_comma_in_multiline to .php-cs-fixer.dist.php (#4001)
Kilbourne Jan 16, 2025
155980e
Update theme:dump with new non-interactive option (#4004)
carstenjaksch Jan 23, 2025
282e4dd
Make default_selector a fallback rather than an override (#3950) (#40…
florinr08 Jan 31, 2025
23343c6
Added: encode responses in the file server (#4014)
james2doyle Feb 6, 2025
f57018c
Update Symfony to 7.2
antonmedv Feb 10, 2025
e25bedc
wip
antonmedv Feb 10, 2025
ca82aeb
Update README.md
antonmedv Feb 10, 2025
bd1b91d
Lint sources on PHP 8.2 via Github Action (#4018)
staabm Feb 10, 2025
7b10889
Update avoid-php-fpm-reloading.md (#4027)
adrum Mar 2, 2025
5f69a2e
Fix issue where stream read is terminated prematurely (#4032)
pelmered Mar 6, 2025
8938eb2
Add crontab:remove task to contrib/crontab.php (#4033)
raygesualdo Mar 7, 2025
218b291
Fix performance of task "releases" by checking "cat releases/$release…
kszymukowicz Mar 10, 2025
ff07090
Disable the http:cache:warm:up step for Shopware 6.6+ (#4041)
poespas Mar 24, 2025
a87081f
Fix #4036: Escape shell argument when setting remote crontab (#4042)
silentvick Mar 25, 2025
2afaef6
Fix setting rsync flags in case they are empty (#4044)
M-arcus Mar 27, 2025
808d22b
Remove duplicate Content-type header (#4026)
webflo Apr 2, 2025
55b7a73
Update config.yml (#4053)
Max13 Apr 6, 2025
64a1777
Php composer parsing (#4055)
Max13 Apr 6, 2025
94cc069
[automatic] Update docs with bin/docgen
github-actions[bot] Apr 6, 2025
ac26154
`add-apt-repository` pre-requisites (#4054)
Max13 Apr 7, 2025
734ced5
[automatic] Update docs with bin/docgen
github-actions[bot] Apr 7, 2025
0f4fedd
Update README.md
antonmedv Apr 9, 2025
d459c14
Shopware recipe: Share theme folder for atomic themes (#4059)
M-arcus Apr 22, 2025
c35db83
Revert "Shopware recipe: Share theme folder for atomic themes (#4059)…
Schrank Apr 22, 2025
4b7e13a
fix(provision): correct typo in node_version variable in notice (#4062)
SimJoSt Apr 28, 2025
66a168a
Add config for bin/artisan to allow custom path to artisan (#4066)
Skullsneeze May 12, 2025
042f3f5
Laravel recipe: add task to run artisan schedule:interrupt (#4071)
lbausch May 14, 2025
1b0cc4e
[automatic] Update docs with bin/docgen
github-actions[bot] May 14, 2025
72a3d84
Rsync does not check emptyness of "became" option (#4074)
TheRatG May 15, 2025
ca4b295
Avoid setting JWT file permissions if the directory does not exist (…
M-arcus Jun 4, 2025
3fa0a7c
Add missing horizon tasks (#4078)
mhdcodes Jun 4, 2025
8bebebd
fix: reloading PHP-FPM links (#4088)
SamJUK Jun 23, 2025
8576688
Update shopware.php (#4090)
wannevancamp Jun 25, 2025
8bdd587
[automatic] Update docs with bin/docgen
github-actions[bot] Jun 25, 2025
ac46152
Bugfix dotenv test in laravel.php (#4082)
aladei-dean-lucassen Jun 25, 2025
8b5482a
[automatic] Update docs with bin/docgen
github-actions[bot] Jun 25, 2025
169ca3c
Fix showware.php
antonmedv Jul 1, 2025
946bf07
[automatic] Update docs with bin/docgen
github-actions[bot] Jul 1, 2025
30742fc
Fix command options mode (InputOption::VALUE_REQUIRED) (#4091)
gharlan Jul 1, 2025
70df6ff
Update typo3.php (#4094)
david-bonhagen Jul 11, 2025
4bc695c
[automatic] Update docs with bin/docgen
github-actions[bot] Jul 11, 2025
3d995d9
Allow Continue on Failure (#4098)
brianfreytag Jul 14, 2025
0ffbaab
[automatic] Update docs with bin/docgen
github-actions[bot] Jul 14, 2025
228aeb7
Update laravel.php (#4086)
madurapa Aug 25, 2025
736cd78
[automatic] Update docs with bin/docgen
github-actions[bot] Aug 25, 2025
ef37a17
fix: ssh key file permissions for provisioned user (#4108)
MarcoRemy Aug 25, 2025
b570588
Fix formatting in getting-started.md (#4111)
alexkart Sep 4, 2025
56f629f
Refine .ssh directory permissions (#4113)
MarcoRemy Sep 5, 2025
edc08f2
[automatic] Update docs with bin/docgen
github-actions[bot] Sep 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/DISCUSSION_TEMPLATE/bugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ body:
attributes:
label: Which PHP version are you using?
options:
- PHP 8.4
- PHP 8.3
- PHP 8.2
- PHP 8.1
Expand All @@ -35,6 +36,11 @@ body:
- PHP 7.3
- PHP 7.2
- PHP 7.1
- PHP 7.0
- PHP 5.6
- PHP 5.5
- PHP 5.4
- PHP 5.3
validations:
required: true

Expand Down
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ contact_links:
- name: General discussion
url: https://github.com/deployphp/deployer/discussions/new?category=general
about: Start a new discussion
- name: Documentation issue
url: https://github.com/livewire/livewire/pulls
about: For documentation issues, please open a pull request
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: lint

on:
push:
branches: [ master ]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '8.2' ]
steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: cs2pr, parallel-lint

- name: Lint sources
run: composer exec --no-interaction -- parallel-lint bin/ contrib/ recipe/ src/ tests/ --checkstyle | cs2pr
9 changes: 9 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,14 @@
return (new PhpCsFixer\Config())
->setRules([
'@PER-CS' => true,

// Due to historical reasons we have to keep this.
// Docs parser expects comment right after php tag.
'blank_line_after_opening_tag' => false,

// For PHP 7.4 compatibility.
'trailing_comma_in_multiline' => [
'elements' => ['arguments', 'array_destructuring', 'arrays']
],
])
->setFinder($finder);
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM php:8.3-cli-alpine

RUN apk add --no-cache bash git openssh-client rsync

COPY deployer.phar /bin/deployer.phar
COPY --chmod=755 deployer.phar /bin/dep

WORKDIR /app

ENTRYPOINT ["php", "/bin/deployer.phar"]
ENTRYPOINT ["/bin/dep"]
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,25 @@

<p align="center"><br><br><a href="https://deployer.org"><img src="https://medv.io/assets/deployer/deployer.gif" alt="Deployer Screenshot" width="530"></a><br><br><br></p>

---

<p align="center"><sup>Special thanks to:</sup></p>
<a href="https://www.warp.dev/?utm_source=github&utm_medium=referral&utm_campaign=deployer_20240618">
<p align="center"><img src=".github/warp-logo@2x.png" alt="Warp"></p>
<p align="center">Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.</p>
<p align="center"><b>Visit warp.dev to learn more.</b></p>
</a>

---

<p style="font-size:21px; color:black;">Browser testing via
<a href="https://www.lambdatest.com/" target="_blank">
<img src="https://www.lambdatest.com/blue-logo.png" style="vertical-align: middle;" width="250" height="45" />
</a>
</p>

---

<a href="https://github.com/deployphp/deployer/actions?query=workflow%3Atest"><img src="https://github.com/deployphp/deployer/workflows/test/badge.svg" alt="Build Status"></a>
<a href="https://packagist.org/packages/deployer/deployer"><img src="https://img.shields.io/packagist/v/deployer/deployer.svg?style=flat" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/deployer/deployer"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License"></a>
Expand All @@ -33,6 +45,7 @@ See [deployer.org](https://deployer.org) for more information and documentation.
## Additional resources

* [GitHub Action for Deployer](https://github.com/deployphp/action)
* [Deployer Docker Image](https://hub.docker.com/r/deployphp/deployer)

## License
[MIT](https://github.com/deployphp/deployer/blob/master/LICENSE)
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ unless this is not possible or feasible with a reasonable effort.

| Version | Supported |
|---------|--------------------|
| 8 | :white_check_mark: |
| 7 | :white_check_mark: |
| < 7 | :x: |

Expand Down
4 changes: 0 additions & 4 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ foreach ($iterator as $fileInfo) {
}
}

// Add schema.json
echo "+ /src/schema.json\n";
$phar->addFile(realpath(__DIR__ . '/../src/schema.json'), '/src/schema.json');

// Add Caddyfile
echo "+ /recipe/provision/Caddyfile\n";
$phar->addFile(realpath(__DIR__ . '/../recipe/provision/Caddyfile'), '/recipe/provision/Caddyfile');
Expand Down
6 changes: 6 additions & 0 deletions bin/dep
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
* file that was distributed with this source code.
*/

// Check PHP version
if (PHP_VERSION_ID < 80200) {
fwrite(STDERR, "PHP 8.2 or higher is required.\n");
exit(1);
}

// Detect deploy.php location
$deployFile = null;
foreach ($argv as $i => $arg) {
Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
"Deployer\\": "src/"
},
"files": [
"deps/vendor/autoload.php",
"src/Support/helpers.php",
"src/functions.php"
"src/functions.php",
"src/Support/helpers.php"
]
},
"scripts": {
Expand All @@ -42,11 +41,13 @@
"bin/dep"
],
"require": {
"php": "^8.0|^7.3",
"ext-json": "*"
"php": ">=8.2",
"symfony/console": "^7.2",
"symfony/process": "^7.2",
"symfony/yaml": "^7.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"friendsofphp/php-cs-fixer": "^3.68",
"pestphp/pest": "^3.3",
"phpstan/phpstan": "^1.4",
"phpunit/php-code-coverage": "^11.0",
Expand Down
Loading