今天继续给大家分享php开发中可能需要用到的工具或组件,需要的朋友可以点击查看效果哦~欢迎收藏分享~
今天继续给大家分享php开发中可能需要用到的工具或组件,需要的朋友可以点击查看效果哦~欢迎收藏分享~
美化 curl
$ git clone https://github.com/talhasch/php-httpstat$ cd php-httpstat$ cp httpstat.php /usr/local/bin/httpstat$ chmod +x /usr/local/bin/httpstat$ httpstat http://www.google.com
<点击查看>
在线正则表达式测试
<点击查看>
在线练习 git
<点击查看>
检测 PHP 应用的代码复杂度
composer global require 'phploc/phploc=*'$ phploc srcphploc 4.0.0 by Sebastian Bergmann.Directories 3Files 10Size Lines of Code (LOC) 1882 Comment Lines of Code (CLOC) 255 (13.55%) Non-Comment Lines of Code (NCLOC) 1627 (86.45%) Logical Lines of Code (LLOC) 377 (20.03%) Classes 351 (93.10%) Average Class Length 35 Minimum Class Length 0 Maximum Class Length 172 Average Method Length 2 Minimum Method Length 1 Maximum Method Length 117 Functions 0 (0.00%) Average Function Length 0 Not in classes or functions 26 (6.90%)
<点击查看>
php http 请求工具
$response = Zttp::withHeaders(['Fancy' => 'Pants'])->post($url, [ 'foo' => 'bar', 'baz' => 'qux',]);$response->json();// => [// 'whatever' => 'was returned',// ];
<点击查看>
本次的分享就到这里啦,如果你有什么更好的PHP开发工具,欢迎在评论中和大家分享哦~
轻量级且便捷的PHP IDE PhpStorm加入在线订购快捷通道!续费更有优惠,戳这里看详情>>>
<更多产品、活动信息请咨询客服>
标签:PHPPHPIDE
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!