摘要:
阿里云 Composer 全量镜像 本镜像与 Packagist 官方实时同步,推荐使用最新的 Composer 版本。 最新版本: 1.10.8 下载地址: https://mirrors.aliyun.com/composer/composer.phar 最后更新 官方:2020-07-14 0 阅读全文
摘要:
一、防火墙的开启、关闭、禁用命令 (1)设置开机启用防火墙:systemctl enable firewalld.service (2)设置开机禁用防火墙:systemctl disable firewalld.service (3)启动防火墙:systemctl start firewalld ( 阅读全文
摘要:
php从以前到现在一直都是单继承的语言,无法同时从两个基类中继承属性和方法,为了解决这个问题,php出了Trait这个特性 用法:通过在类中使用use 关键字,声明要组合的Trait名称,具体的Trait的声明使用Trait关键词,Trait不能实例化 如下代码实例: <?php trait Dog 阅读全文
摘要:
ps -axjf|grep swoft 阅读全文
摘要:
{ "name": "brady_frmwork", "description":"php framwork", "type":"Framwork", "keywords":[ "php","PHP Framwork" ], "require":{ "php":">=7.1.0", "filp/wh 阅读全文
摘要:
新建comoser.json { "name": "brady_frmwork", "description":"php framwork", "type":"Framwork", "keywords":[ "php","PHP Framwork" ], "require":{ "php":">=7 阅读全文
摘要:
bean.php 'db' => [ 'class' => Database::class, 'dsn' => 'mysql:dbname=test;host=127.0.0.1', 'username' => 'root', 'password' => '123456', 'charset' => 阅读全文
摘要:
https://www.php.cn/php/php-superglobals.html https://m.php.cn/code/11853.html 阅读全文
摘要:
idea-php-annotation-plugin 设置 插件 搜索 安装 重启 阅读全文
摘要:
目的:1.上传代码后HTTP服务自动重启,不需要自己手动执行:php bin/swoft http:start2.自动重启适用于开发调试阶段,因为不能再后台运行所以在线上环境的话还是要重启http服务 a.Swoft-cli1.下载 wget https://github.com/swoft-clo 阅读全文