Download the PHP package snippetify/laravel-sniptbot without Composer
On this page you can find all versions of the php package snippetify/laravel-sniptbot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download snippetify/laravel-sniptbot
More information about snippetify/laravel-sniptbot
Files in snippetify/laravel-sniptbot
Package laravel-sniptbot
Short Description Sniptbot for laravel
License MIT
Homepage https://github.com/snippetify/laravel-sniptbot
Informations about the package laravel-sniptbot
Laravel Sniptbot
This repository implements a simple ServiceProvider that makes the instances of the Snippet Crawler and Sniffer easily accessible via a Facade in Laravel. See @Snippetify/Snippet-sniffer for more information about the PHP Snippet sniffing and its interfaces.
What it does
This library allows you
- To get code snippets using search engine api (Google)
- To get code snippets from any web page by crawling url seeds.
How to use it
Configuration
Open the created file in the config/sniptbot.php
and customize the configuration options to your liking.
Sniffing from search engine api
Crawl url seeds
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
You must set the PROVIDER_NAME, PROVIDER_CX, PROVIDER_KEY, CRAWLER_URI, keys in phpunit.xml file before running tests.
Important: Those links must contains at least one snippet otherwise the tests will failed.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sniptbot with dependencies
illuminate/support Version ^5|^6|^7
snippetify/snippet-sniffer Version dev-master