Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PHPバージョンアップのための依存ライブラリとの付き合い方 / phpcon2022
Search
blue_goheimochi
September 24, 2022
Technology
1
2.2k
PHPバージョンアップのための依存ライブラリとの付き合い方 / phpcon2022
PHP Conference Japan 2022の登壇資料です。
https://phpcon.php.gr.jp/2022/
blue_goheimochi
September 24, 2022
Tweet
Share
More Decks by blue_goheimochi
See All by blue_goheimochi
「わたしたちのコード」を安定させるためにフレームワークとの距離を保つ / phperkaigi2024
blue_goheimochi
5
790
コードを計測することで捉える問題点 / phpcondo2024
blue_goheimochi
4
740
Laravelのコードとわたしたちのコードとの距離を保つ / phpcon2023
blue_goheimochi
1
1.6k
リンケージにおけるアプリケーションコードとの付き合い方とそれを支えるコミュニケーション / drobe_pixiv_linkage-20230905
blue_goheimochi
1
330
推測しないで、計測し、判断する! 〜カイゼンのためのステップ考察〜 / phpconfuk2023
blue_goheimochi
3
1.7k
iOS, iPadOSにもWeb Pushがきたのでさわってみた
blue_goheimochi
1
260
計測できるレガシーさを捉え、コード改善に対処する / phperkaigi2023
blue_goheimochi
0
1.5k
依存ライブラリの定期的な更新のためにRenovateを導入・運用する / phperkaigi2022
blue_goheimochi
3
870
微妙な違いも見逃すな!ビジュアルリグレッションテスト! / phpcon2020
blue_goheimochi
5
1k
Other Decks in Technology
See All in Technology
DevOps Topologies 10 years on: what have we learned about silos, collaboration, and flow? - Matthew Skelton, Conflux
matthewskelton
PRO
2
420
EKSの認証認可の仕組みとEKS APIを用いた認可制御について
daitak
0
260
マルチテナントの実現におけるDB設計とRLS / Utilizing RSL in multi-tenancy
soudai
20
5k
GitHub composite actions
hkusu
1
120
小さく始めるAnsible
stopendy
0
200
Combineを中心とした処理をSwift Concurrencyへ (これまでも調べた調査と向き合い)
fumiyasac0921
1
170
パフォーマンスを改善するには仕様変更が1番はやい
yamamotohiroya
12
4.6k
App Runnerでパラメーターストアの値を使ってみた
miura55
0
230
Server-Side Kotlin + Spring Boot + Exposedでやったこと
ikefukurou777
0
110
How to Build a Strong Engineering Culture
alperhankendi
0
120
プロデザ! BY リクルートvol.17_『じゃらんnet』公式アプリの高速リニューアル事例を大公開
recruitengineers
PRO
5
110
なんでもかんでもコンテナ化すればいいってもんでもないけど なんでもかんでもコンテナ化したらスッキリしました
saramune
1
160
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
174
21k
Happy Clients
brianwarren
91
6.3k
Code Review Best Practice
trishagee
54
15k
Building Your Own Lightsaber
phodgson
97
5.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
930
Bash Introduction
62gerente
604
210k
Keith and Marios Guide to Fast Websites
keithpitt
407
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
644
57k
Git: the NoSQL Database
bkeepers
PRO
421
63k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
111
35k
Clear Off the Table
cherdarchuk
82
310k
Transcript
PHP PHP 2022 2022.09.24 Yuta Ohashi
1 ( ) PHP
PHP
4 PHP https://www.php.net/supported-versions.php
5 PHP https://www.php.net/supported-versions.php
6 PHP https://www.php.net/supported-versions.php
7 PHP https://www.php.net/supported-versions.php PHP 7.4 : 2022/11/28 End of life
PHP 8.0 : 2022/11/26 Security fixes only PHP 8.1 : 2023/11/25 Active support Security fixes only PHP 8.2 : 2022/11/24 Active support
8 PHP • 3 • Active support: 2 • Security
fixes only: 1 • 2 Active support 1 Security fixes only 3
3
10 • • • End of Life • • PHP
PHP
PHP
13 • PHP • 1 PHP5.x PHP7.4 • • 2
PHP7.4 PHP8.0 • • • Renovate •
1 PHP5.x PHP7.4
3
16 1 PHP5.x PHP7.4 https://www.php.net/manual/ja/index.php
17 1 PHP5.x PHP7.4 • • SVN 2010 7 •
PHP • • • • • • • •
18 1 PHP5.x PHP7.4 https://speakerdeck.com/blue_goheimochi/phpconsen2019 1
19 1 PHP5.x PHP7.4 • PHP • PHP • •
1 • Composer • •
2 PHP7.4 PHP8.0
21 2 PHP7.4 PHP8.0 • • 1 • Laravel 6
• • Laravel6 PHP7 (6.19.0 PHP8 ) • • PHP7 • PHP8 •
22 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 2. PHP 3.
23 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 PHP8 composer install
24 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 PHP (8.0.23) PHP
25 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 composer update
26 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 composer.json PHP
27 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 • PHP7 •
34 composer.lock PHP7 • 1 1 • Github Release composer.json • 8 • •
28 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 socialiteproviders/facebook 1.0.0 4.1.0
• Github Release composer.json • 1.0.0 5.6 5 7.0 7 • 4.1.0 7.2 7 8.0 8 • 4.1.0 PHP8 composer install
29 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 socialiteproviders/facebook • 1.0.0
PHP8 composer install
30 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 socialiteproviders/facebook • composer.json
• • • ^1.0 ^4.0
31 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 socialiteproviders/facebook • -w
• Renovate composer update -w socialiteproviders/facebook:4.1.0
32 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 • 1 1
• Release Note • • • • •
33 2 PHP7.4 PHP8.0 2. PHP • composer.json • PHP
34 2 PHP7.4 PHP8.0 2. PHP
35 2 PHP7.4 PHP8.0 2. PHP • Docker PHP •
composer install • • • • • OK
36 2 PHP7.4 PHP8.0 2. PHP
37 2 PHP7.4 PHP8.0 3. • PHP7 PHP8 • •
PHP7 • PHP7 • Laravel 9 PHP7
None
- Renovate -
40 composer.json {} composer.lock {} Repository Renovate Renovate
41 composer.json {} composer.lock {} Repository Renovate composer.json composer.lock Renovate
42 composer.json {} composer.lock {} Repository Renovate Renovate
43 Renovate
44 • Renovate composer.json composer.lock • • 2 • •
• composer update (composer.lock
45 Renovate • 2 1 • Renovate • Renovate •
•
46 • Renovate • • • • Wiki •
47 • Renovate • • • • Dockerfile PHP •
package.json
48 https://speakerdeck.com/blue_goheimochi/phperkaigi2022
まとめ
50 • PHP • Active support 2 Security fixes only
1 3 • PHP • • Renovate
PHP
⻘ごへいもち / @blue_goheimochi 株式会社オウケイウェイヴ PHP(Laravel), JavaScript(Vue.js/Nuxt.js), ランニング, サッカー, フットサル, 浜松まつり,
PUBG Mobile, さわやかのげんこつハンバーグ