marcosper/copyscape-laravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

marcosper/copyscape-laravel

Composer 安装命令:

composer require marcosper/copyscape-laravel

包简介

Copyscape service provider for Laravel 5

README 文档

README

Latest Version on Packagist Software License

Introduction

copyscape-laravel is a laravel 5 service provider to easily Copyscape premium API using php-libCopyScape

Installation

Add copyscape-laravel to your composer.json file:

"require": {
  "marcosper/copyscape-laravel": "dev-master"
}

Use composer to install this package.

$ composer update

Registering the Package

Register the service provider within the providers array found in config/app.php:

'providers' => [
	// ...
	
	Marcosper\CopyscapeLaravel\CopyscapeServiceProvider::class,
]

Add an alias within the aliases array found in config/app.php:

'aliases' => [
	// ...
	
	'Copyscape'     => Marcosper\CopyscapeLaravel\Facades\Copyscape::class,
]

Configuration

Publish configuration file using artisan command

$ php artisan vendor:publish --provider="Marcosper\CopyscapeLaravel\CopyscapeServiceProvider"

Then in .env file add

COPYSCAPE_USER=copyscape_user
COPYSCAPE_KEY=copyscape_key
COPYSCAPE_SSL=false || true(for use systems cacert.pem) or route to use custom cacert.pem 
COPYSCAPE_DEBUG=true

Usage

Search for text on internet:

//Search text with 10 full comparisons
$text = "Search if this text is plaigarism";
Copyscape::searchInternetText($text,10);

Get credits of account:

Copyscape::getCredits();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固