Download the PHP package rvalitov/backlink-checker-php without Composer

On this page you can find all versions of the php package rvalitov/backlink-checker-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package backlink-checker-php

Backlink Validator for SEO

PHP version icon Platform icon Packagist Downloads Packagist Stars Codacy Badge Codacy Badge Code Smells Maintainability Rating Security Rating Bugs Vulnerabilities Reliability Rating Technical Debt Tests GitHub License

This project is a package for developers to validate backlinks in SEO. Unlike other tools that scan the Internet or analyze Google Search results to find backlinks, our tool focuses exclusively on verifying backlinks from a list you already have.

You might get this list of backlinks through:

Once you have a list of donor web pages, it's crucial to confirm that the backlinks are present and functional. Moreover, ongoing validation is necessary to ensure the backlinks remain active and haven’t been removed over time.

This package simplifies backlink checking and verification by:

With this package, monitoring and maintaining your backlinks becomes efficient and hassle-free.

Browser Scraping Modes

Simple

Pros:

Cons:

Chromium

The Chromium headless mode is used for JavaScript-enabled browsing. This approach allows parsing any website, and this is the universal mode, but it uses more resources on the server and requires a little bit more time to configure the server.

Pros:

Cons:

How to Install

Step 1. Add the Package via Composer

You must have a Composer installed. Run the following command:

Step 2. Install the Chromium

Note: You can skip this step if you don't need the Chromium mode.

You need to install the following packages first, to make the Chromium work.

For Debian/Ubuntu:

You must have a Node.js installed. If it's not installed, install it using the official manual. Then run the following command to install the Chromium:

Step 3. Use Autoload

Include the autoload.php in your source PHP file, for example:

How to Use

First, include the dependencies:

Then decide which mode to use, for Chromium mode use:

Or if you want a simple mode without JavaScript support use:

Make a scan of the desired URL with a desired pattern (use the PCRE pattern syntax):

The function getBacklinks has the following additional options:

Now we should check the $result, if the function succeeded:

The function $result->getBacklinks() returns an array of objects that describe the backlink. Each object supports the following functions:

The $response object supports the following functions:

Note. If you use function json_encode on an object that contains the screenshot, then this screenshot will be converted to base64 format automatically.

Examples

Examples are available in a dedicated project on GitHub. Tests are in tests folder.

System Requirements

PHP 8.0.7+ required with the following extensions:


All versions of backlink-checker-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4.20 || ^8.0.7 || ^8.1 || ^8.2 || ^8.3 || ^8.4
guzzlehttp/guzzle Version 7.*
ext-json Version *
zoon/puphpeteer Version 1.6.* || 2.* || v2.*
voku/simple_html_dom Version 4.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rvalitov/backlink-checker-php contains the following files

Loading the files please wait ....