Carbon时间类库 这个是laravel御用类库,用起来非常的方便
官网地址: http://carbon.nesbot.com
Git地址: https://github.com/briannesbitt/Carbon
用法:
2、Image类库
Intervention Image 是一个PHP图片操作处理库,为图片创建、修改及压缩等处理提供了便捷方式。此外,还提供了服务提供者和门面以便集成到Laravel应用中。
官网地址: http://image.intervention.io
Git地址: https://github.com/Intervention/image
用法:
Laravel学院: http://laravelacademy.org/post/3585.html
3、curl网站开发命令
阮一峰网络日志 http://www.ruanyifeng.com/blog/2011/09/curl.html
GET
curl -X GET http://localhost/form.php?data=1
POST
curl -X POST --data "data=1" http://localhost/form.php