Skip to content

ziming/laravel-scrapingbee

Folders and files

NameName
Last commit message
Last commit date
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021
Aug 21, 2021

Repository files navigation

A PHP Laravel Library for ScrapingBee

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A PHP Laravel Package for ScrapingBee

Installation

You can install the package via composer:

composer require ziming/laravel-scrapingbee

You can publish the config file with:

php artisan vendor:publish --provider="Ziming\LaravelScrapingBee\LaravelScrapingBeeServiceProvider" --tag="laravel-scrapingbee-config"

This is the contents of the published config file:

return [
    'api_key' => env('SCRAPINGBEE_API_KEY'),
    'base_url' => env('SCRAPINGBEE_BASE_URL', 'https://app.scrapingbee.com/api/v1/'),
];

Usage

$scrapingBeeClient = Ziming\LaravelScrapingBee::make();

// Look at the source code of `src/LaravelScrapingBee.php` for now. Proper Docs will be added later.

// https://github.com/ziming/laravel-scrapingbee/blob/main/src/LaravelScrapingBee.php

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.