定制 momosc/push-urls 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

momosc/push-urls

Composer 安装命令:

composer require momosc/push-urls

包简介

Push urls to search engine

README 文档

README

NOW, Only Support baidu.

Features

  • Support actions:
    • Sogou
    • 360
    • Google

Installation

Required

  • PHP 7.0 +
  • Laravel 5.5 +

You can install the package using composer

$ composer require composer require momosc/push-urls

Then add the service provider to config/app.php

Momosc\LaravelPushUrls\PushUrlsServiceProvider::class

Publish the migrations file:

$ php artisan vendor:publish --provider='Momosc\LaravelPushUrls\PushUrlsServiceProvider::class' --tag="migrations"

As optional if you want to modify the default configuration, you can publish the configuration file:

$ php artisan vendor:publish --provider='Momosc\LaravelPushUrls\PushUrlsServiceProvider::class' --tag="config"

And create tables:

$ php artisan migrate

Usage

use Momosc\LaravelPushUrls\PushUrlsServiceProvider;

class News
{
    use BaiduTrait;
    public function index()
    {
        $urls = ['http://www.***.com'];
        $this->pushUrls($urls);
    }
}

License

MIT

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固