Slide 1

Slide 1 text

PHP PHP 2022 2022.09.24 Yuta Ohashi

Slide 2

Slide 2 text

1 ( ) PHP

Slide 3

Slide 3 text

PHP

Slide 4

Slide 4 text

4 PHP https://www.php.net/supported-versions.php

Slide 5

Slide 5 text

5 PHP https://www.php.net/supported-versions.php

Slide 6

Slide 6 text

6 PHP https://www.php.net/supported-versions.php

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

8 PHP • 3 • Active support: 2 • Security fixes only: 1 • 2 Active support 1 Security fixes only 3

Slide 9

Slide 9 text

3

Slide 10

Slide 10 text

10 • • • End of Life • • PHP

Slide 11

Slide 11 text

PHP

Slide 12

Slide 12 text

PHP

Slide 13

Slide 13 text

13 • PHP • 1 PHP5.x PHP7.4 • • 2 PHP7.4 PHP8.0 • • • Renovate •

Slide 14

Slide 14 text

1 PHP5.x PHP7.4

Slide 15

Slide 15 text

3

Slide 16

Slide 16 text

16 1 PHP5.x PHP7.4 https://www.php.net/manual/ja/index.php

Slide 17

Slide 17 text

17 1 PHP5.x PHP7.4 • • SVN 2010 7 • PHP • • • • • • • •

Slide 18

Slide 18 text

18 1 PHP5.x PHP7.4 https://speakerdeck.com/blue_goheimochi/phpconsen2019 1

Slide 19

Slide 19 text

19 1 PHP5.x PHP7.4 • PHP • PHP • • 1 • Composer • •

Slide 20

Slide 20 text

2 PHP7.4 PHP8.0

Slide 21

Slide 21 text

21 2 PHP7.4 PHP8.0 • • 1 • Laravel 6 • • Laravel6 PHP7 (6.19.0 PHP8 ) • • PHP7 • PHP8 •

Slide 22

Slide 22 text

22 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 2. PHP 3.

Slide 23

Slide 23 text

23 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 PHP8 composer install

Slide 24

Slide 24 text

24 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 PHP (8.0.23) PHP

Slide 25

Slide 25 text

25 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 composer update

Slide 26

Slide 26 text

26 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 composer.json PHP

Slide 27

Slide 27 text

27 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 • PHP7 • 34 composer.lock PHP7 • 1 1 • Github Release composer.json • 8 • •

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

29 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 socialiteproviders/facebook • 1.0.0 PHP8 composer install

Slide 30

Slide 30 text

30 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 socialiteproviders/facebook • composer.json • • • ^1.0 ^4.0

Slide 31

Slide 31 text

31 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 socialiteproviders/facebook • -w • Renovate composer update -w socialiteproviders/facebook:4.1.0

Slide 32

Slide 32 text

32 2 PHP7.4 PHP8.0 1. PHP7.4 8.0 • 1 1 • Release Note • • • • •

Slide 33

Slide 33 text

33 2 PHP7.4 PHP8.0 2. PHP • composer.json • PHP

Slide 34

Slide 34 text

34 2 PHP7.4 PHP8.0 2. PHP

Slide 35

Slide 35 text

35 2 PHP7.4 PHP8.0 2. PHP • Docker PHP • composer install • • • • • OK

Slide 36

Slide 36 text

36 2 PHP7.4 PHP8.0 2. PHP

Slide 37

Slide 37 text

37 2 PHP7.4 PHP8.0 3. • PHP7 PHP8 • • PHP7 • PHP7 • Laravel 9 PHP7

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

- Renovate -

Slide 40

Slide 40 text

40 composer.json {} composer.lock {} Repository Renovate Renovate

Slide 41

Slide 41 text

41 composer.json {} composer.lock {} Repository Renovate composer.json composer.lock Renovate

Slide 42

Slide 42 text

42 composer.json {} composer.lock {} Repository Renovate Renovate

Slide 43

Slide 43 text

43 Renovate

Slide 44

Slide 44 text

44 • Renovate composer.json composer.lock • • 2 • • • composer update (composer.lock

Slide 45

Slide 45 text

45 Renovate • 2 1 • Renovate • Renovate • •

Slide 46

Slide 46 text

46 • Renovate • • • • Wiki •

Slide 47

Slide 47 text

47 • Renovate • • • • Dockerfile PHP • package.json

Slide 48

Slide 48 text

48 https://speakerdeck.com/blue_goheimochi/phperkaigi2022

Slide 49

Slide 49 text

まとめ

Slide 50

Slide 50 text

50 • PHP • Active support 2 Security fixes only 1 3 • PHP • • Renovate

Slide 51

Slide 51 text

PHP

Slide 52

Slide 52 text

⻘ごへいもち / @blue_goheimochi 株式会社オウケイウェイヴ PHP(Laravel), JavaScript(Vue.js/Nuxt.js), ランニング, サッカー, フットサル, 浜松まつり, PUBG Mobile, さわやかのげんこつハンバーグ