敏感词过滤
https://github.com/tuyuwei/SensitiveWord
https://github.com/tuyuwei/SensitiveWord
如果你需要在中间表中更新一条已存在的记录,可以使用 updateExistingPivot
。此方法接收中间表的外键与要更新的数据数组进行更新:
$user = App\Models\User::find(1);
$user->roles()->updateExistingPivot($roleId, $attributes);
进入php目录,以php7.4.21为例
$ cd /Applications/MAMP/bin/php/php7.4.21
phpredis
安装包$ git clone https://github.com/nicolasff/phpredis.git
phpize
命令,生成.configure
可执行文件$ cd phpredis
$ phpize
$ ./configure --with-php-config=/Applications/MAMP/bin/php/php7.4.21/bin/php-config
$ make
phpredis/modules
下会生成redis.so
,把它复制到对应扩展目录下redis.so
到扩展目录$ sudo cp -p modules/redis.so /Applications/MAMP/bin/php/php7.4.21/lib/php/extensions/no-debug-non-zts-20190902/
redis
拓展加到php.ini
里,这里非常注意坑,对应的位置在/Applications/MAMP/bin/php/php7.4.21/conf/php.ini
里增加://php.ini
...
extension=redis.so
...
redis
(上面只是编译redis.so
)$ brew install redis
redis
如下(brew services start redis
)To have launchd start redis now and restart at login:
brew services start redis
Or, if you don't want/need a background service you can just run:
redis-server /usr/local/etc/redis.conf
redis
在后台运行$ sudo vim /usr/local/etc/redis.conf
如下图,
将daemonize
改为yes
,表示需要后台开启服务器端。原来默认是no,然后ESC+:wq
保存退出。
参考:https://www.it610.com/article/1288352079018008576.htm
php
设计模式 http://www.imooc.com/learn/236
php
异常,错误处理 http://www.imooc.com/learn/380
开源地址:https://github.com/d2-projects/d2-admin
文档地址:https://d2.pub/zh/doc/d2-admin/
效果预览:https://d2.pub/d2-admin/preview/#/index
开源协议:MIT
开源地址:https://github.com/PanJiaChen/vue-element-admin
文档地址:https://panjiachen.github.io/vue-element-admin-site/zh/
效果预览:https://d2.pub/d2-admin/preview/#/index
开源协议:MIT
开源地址:https://github.com/zhangdaiscott/jeecg-boot
文档地址:https://panjiachen.github.io/vue-element-admin-site/zh/
效果预览:http://boot.jeecg.com/
开源协议:Apache-2.0 License
开源地址:https://github.com/flipped-aurora/gin-vue-admin
文档地址:https://www.gin-vue-admin.com/
效果预览:http://demo.gin-vue-admin.com/#/layout/dashboard
开源协议:Apache-2.0 License
开源地址:https://github.com/chuzhixin/vue-admin-beautiful
文档地址:https://www.gin-vue-admin.com/
效果预览:http://beautiful.panm.cn/
开源协议:MPL-2.0 License
开源地址:https://github.com/jqhph/dcat-admin
文档地址:http://www.dcatadmin.com/
效果预览:http://103.39.211.179:8080/admin
开源协议:MIT License
开源地址:https://gitee.com/y_project/RuoYi
文档地址:https://doc.ruoyi.vip/
效果预览:https://vue.ruoyi.vip/index
开源协议:MIT License
开源地址:https://gitee.com/renrenio/renren-fast-vue
文档地址:https://www.renren.io/guide
效果预览:http://demo.open.renren.io/renren-fast/#/home
开源协议:MIT License
开源地址:https://github.com/ant-design/ant-design-pro
文档地址:https://pro.ant.design/index-cn/
效果预览:https://pro.ant.design/
开源协议:MIT License
开源地址:https://github.com/iview/iview-admin
文档地址:https://lison16.github.io/iview-admin-doc/
效果预览:https://admin.iviewui.com/home
开源协议:MIT License
开源地址:https://github.com/creativetimofficial/material-dashboard#demo
文档地址:https://demos.creative-tim.com/material-dashboard/docs/2.1/getting-started/introduction.html
效果预览:https://demos.creative-tim.com/material-dashboard/examples/dashboard.html
开源协议:MIT License
开源地址:https://github.com/suruibuas/eadmin
文档地址:http://doc.eadmin.com.cn/
效果预览:http://www.eadmin.com.cn/
开源协议:无
源地址:https://mp.weixin.qq.com/s/lGz4Cc5jqGAqqmaOteatvA
做个记号。
安装fileinfo
扩展即可,找到相应的php
版本,如下图:
作个记号先。
https://easydingtalk.github.io/start.html
说明你的php
已经安装了pcntl
,不用再安装。
你可以在php.ini
中注释掉pcntl
扩展
如:;extension=pcntl.so