Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHPコードを消すライブラリを作った

1851e42555822b0fc915dbf3ef0c0f76?s=47 kubotak
April 11, 2022

 PHPコードを消すライブラリを作った

PHPerKaigi 2022 @ 2022/04/11 14:20〜 Track A レギュラートーク(20分)

1851e42555822b0fc915dbf3ef0c0f76?s=128

kubotak

April 11, 2022
Tweet

More Decks by kubotak

Other Decks in Programming

Transcript

  1. Copyright© M&A PHP PHPerKaigi 2 02 2 @ Kenjiro Kubota

  2. Copyright© M&A Profile kubotak-is kubotak_public kenjiro.kubota M&A (Java|Type)Script PHP https://kubotak.page

    Web Laravel ( )
  3. Copyright© M&A M&A 3 ങ͍ख ɾҊ݅ใु͸M&A੒ޭใुͷΈ ɾ࠷௿ख਺ྉͳ͠ ɾചΓखιʔγϯάͷνϟωϧ͕૿͑Δ ɾM&AχʔζΛൃ৴͢Δ͚ͩͰചΓखΛू٬ ɾ஥հۀऀΛհͣ͞ʹμΠϨΫτʹ΍ΓऔΓՄೳ

    ɾજࡏ૚ʹ΋Ϧʔν͕Մೳ ख਺ྉແྉ ※ϓϥοτϑΥʔϜҊ݅ͷ৔߹ ※ ചΓख 1.ܝࡌ͢Δ ɾങ͍खͷM&AχʔζΛࣗΒௐ΂Δ͜ͱ͕Մೳ
 ɾ஥հۀऀΛհͣ͞ʹμΠϨΫτʹ΍ΓऔΓՄೳ
 ɾങ͍खͷM&A୲౰ऀʹ௚઀ίϯλΫτΛͱΕΔ
 ɾ஥հۀऀΛ࢖Θͳ͍ͷͰख਺ྉ͕ແྉ 2.ΦϑΝʔ͢Δ M&Aɾग़ࢿχʔζΛܝࡌ ങ͍खͷϝϦοτ ചΓखͷϝϦοτ ɾ஥հۀऀΛ࢖Θͳ͍ͷͰख਺ྉ͕ແྉ ʓʓྖҬͷձࣾΛ ืू͠·͢ ͜ͷձࣾͱҰॹʹ ΍͍͖͍ͬͯͨʂ 3 PR
  4. Copyright© M&A INDEX PHP PHP Composer Bin Command Packagist

  5. Copyright© M&A PHP

  6. Copyright© M&A PHP PHP 🤔

  7. Copyright© M&A PHP M&A M&A

  8. Copyright© M&A ON/OFF if

  9. Copyright© M&A if FeatureFlag::isTrue()

  10. Copyright© M&A if FeatureFlag::isTrue() 😵😭🤬🤯😨

  11. Copyright© M&A PHP php-del https://packagist.org/packages/kubotak-is/php-del PHP

  12. Copyright© M&A php-del.json dirs extensions php,blade.php,css,sass,scss,stylus

  13. Copyright© M&A php-del start flag ~ php-del end flag

  14. Copyright© M&A php-del start flag ~ php-del end flag

  15. Copyright© M&A Composer Bin Command

  16. Copyright© M&A Composer Bin Command

  17. Copyright© M&A Composer Bin Command 🤗

  18. Copyright© M&A ⾒ php-del ignore start,end

  19. Copyright© M&A ⾒ php-del ignore start,end ignore

  20. Copyright© M&A ⾒ php-del line flag ⾒ php-del file flag

  21. Copyright© M&A ⾒ php-del line flag ⾒ php-del file flag

    GitHub 🤩
  22. Copyright© M&A

  23. Copyright© M&A 1 ) start 2 ) start 1 3

    ) end 4 ) end 5 )
  24. Copyright© M&A 1 ) start 2 ) start 1 3

    ) end 4 ) end 5 )
  25. Copyright© M&A 1 ) start 2 ) start 1 3

    ) end 4 ) end 5 ) 1
  26. Copyright© M&A 1 ) start 2 ) start 1 3

    ) end 4 ) end 5 )
  27. Copyright© M&A 1 ) start 2 ) start 1 3

    ) end 4 ) end 5 )
  28. Copyright© M&A 1 ) start 2 ) start 1 3

    ) end 4 ) end 5 )
  29. Copyright© M&A ignore 1 ) ignore start 2 ) 1

    3 ) ignore end 4 ) 2
  30. Copyright© M&A ignore 1 ) ignore start 2 ) 1

    3 ) ignore end 4 ) 2
  31. Copyright© M&A ignore 1 ) ignore start 2 ) 1

    3 ) ignore end 4 ) 2 1
  32. Copyright© M&A ignore 1 ) ignore start 2 ) 1

    3 ) ignore end 4 ) 2
  33. Copyright© M&A ignore 1 ) ignore start 2 ) 1

    3 ) ignore end 4 ) 2 2
  34. Copyright© M&A ignore 5)

  35. Copyright© M&A A: B: str_replace

  36. Copyright© M&A A: B: str_replace A: B:

  37. Copyright© M&A A: B: str_replace A: B: while file_put_contents 🔁

  38. Copyright© M&A Composer Bin Command Composer Bin Command PHPer PHPUnit

    vendor/bin Composer Bin Command 🙏
  39. Copyright© M&A bin shebang PHP php-del

  40. Copyright© M&A bin shebang PHP php-del env php PATH PHP

  41. Copyright© M&A

  42. Copyright© M&A composer autoload

  43. Copyright© M&A autoload ⾒

  44. Copyright© M&A autoload

  45. Copyright© M&A autoload PSR- 4 CLImate https://climate.thephpleague.com

  46. Copyright© M&A composer.json bin vendor/bin/~

  47. Copyright© M&A composer.json bin vendor/bin/~ 2 🤗

  48. Copyright© M&A Packagist composer install Packagist Packagist Composer Packagist Composer

    URL
  49. Copyright© M&A Packagist name Github description require autoload name Github

    license composer.json
  50. Copyright© M&A Packagist Packagist GitHub Submit GitHub

  51. Copyright© M&A Packagist Packagist GitHub Submit GitHub 😎

  52. Copyright© M&A README.md 👇

  53. Copyright© M&A Badge Poser🚀 https://poser.pugx.org Pakckagist Badge Poser README.md

  54. Copyright© M&A GitHub Actions GitHub Actions Actions Create status badge

  55. Copyright© M&A Composer Bin Command Packagist

  56. Copyright© M&A php-del

  57. Copyright© M&A Thanks for watching this :)