fxjson
V2EX  ›  PHP

自动美化 PHP 代码工具有哪些

  •  
  •   fxjson · Mar 17, 2021 via Android · 3650 views
    This topic created in 2075 days ago, the information mentioned may be changed or developed.
    结合项目需要,又不想每次提交代码之前手动执行 phpcbf 命令,于是利用 git 钩子写了个脚本,地址如下:fxjson.com/archives/88/,不知道大家有没有更好的工具
    8 replies  •  2021-03-18 13:56:05 +08:00
    ben1024
    ben1024
    Mar 17, 2021
    1
    PHPStorm 自动格式化?
    Phpcs
    phpmd
    Php Inspections
    FaceBug
    FaceBug
    Mar 17, 2021❤️1
    2
    command+option+L 工具
    mingl0280
    mingl0280
    Mar 17, 2021 via Android
    3
    PHPStorm 自动格式化
    phpfpm
    phpfpm
    Mar 17, 2021
    4
    php-cs-fixer
    Visionhope
    Visionhope
    Mar 18, 2021
    5
    Prettier 有个 PHP 的插件, https://prettier.io/
    RickyC
    RickyC
    Mar 18, 2021
    6
    vs code 里的 PHP Intelephense
    smartsl
    smartsl
    Mar 18, 2021
    7
    @RickyC 我也用的这个,推荐
    meshell
    meshell
    Mar 18, 2021
    8
    同 #2
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1236 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:23 · PVG 01:23 · LAX 09:23 · JFK 12:23
    ♥ Do have faith in what you're doing.