Wallogit.com
2017 © Pedro Peláez
图片鉴黄
阿里云 php 图片鉴黄, (*1)
如何创建一个自己的 Composer 库 提交PHP组件到Packagist 发布自己的Composer包 进入Packagist官网,登录你的账户,点击Submit, (*2)
填写你提交到GitHub的仓库地址。点击Check,需要注意根目录下需要 composer.json, (*3)
Packagist包自动更新, (*4)
Go to your GitHub repository Click the "Settings" button Click "Integrations & services" 选择 packagist Add a "Packagist" service, and configure it with your API token(https://packagist.org/profile/), plus your Packagist username,domain is https://packagist.org Check the "Active" box and submit the form
curl 自动更新
curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=lovecn&apiToken=API_TOKEN' -d'{"repository":{"url":"https://packagist.org/packages/lovecn/check-sex-pic"}}', (*5)