请注意,KouKou并不支持低于IE8的浏览器,为了获得最佳效果,请下载最新的浏览器,推荐下载 Chrome浏览器

tp5.1 使用swoole做服务器简单的接口性能测试

5-08 4,151 views

官方测试地址:官方测试 最近在看tp5.1的think-swoole支持,作为替代php-fpm的一种方案,现在简单的用swoole做为http服务器和用传统的php-fpm分别测试下接口...
阅读全文 0

一个好用的JS 提示信息插件 noty

4-29 15,146 views

Github: https://github.com/needim/noty new Noty({ text: 'NOTY - a dependency-free notification library!', animation: { o...
阅读全文 1

PHP函数学习之——func_get_args

4-27 2,028 views

官方说明 说明 func_get_args ( void ) : array 获取函数参数列表的数组。 该函数可以配合 func_get_arg() 和 func_num_args() 一起使用,从而使得用户自定...
阅读全文 0

星际争霸1人族战术总结(不断完善中~)

4-15 7,332 views

TVP核心思想。 功防,前期利用最少的兵力,防住对方的进攻,利用功防优势,击溃对手的正面兵力。 最大化运营补经济。 TVZ核心思想。节奏      运营+造兵+正...
阅读全文 0

Mysql 分页优化

4-14 2,333 views

在系统中需要进行分页的时候,我们通常会使用limit 加上偏移量的方法实现,再加上合适的order by 子句,如果有对应的索引,通常效率会很不错,否则mysql需要...
阅读全文 0

互联网公司项目的上线过程

4-13 4,874 views

阅读全文 0

lcobucci/jwt —— 一个轻松生成jwt token的插件

4-09 12,870 views

github: https://github.com/lcobucci/jwt/tree/3.4 1.安装 "lcobucci/jwt": "^3.4"版本 php >= 5.6 OpenSSL Extension // 安装 $ ...
阅读全文 2

laravel/lumen —— API 插件 dingo/api

4-08 2,736 views

文档:https://github.com/dingo/api/wiki/Installation 1.安装 #PHP ^7.1 (However soon to be PHP 7.2) composer require dingo/api #LARAVEL php artisa...
阅读全文 0

guzzle —— Guzzle是一个PHP的HTTP客户端,轻松搞定get、post、分流上传下载大文件、http cookies等等

4-07 4,264 views

官方文档:https://guzzle-cn.readthedocs.io/zh_CN/latest/index.html github: https://github.com/guzzle/guzzle 安装 composer require guzzlehttp/guzz...
阅读全文 0

lumen 自定义接口返回成功失败数据格式

4-07 3,725 views

我的lumen版本,5.8 1.找到 app/Http/Controllers/Controller.php 修改成如下代码: <?php namespace App\Http\Controllers; use Laravel\Lumen\Routi...
阅读全文 0