Download the PHP package haianibrahim/tiktok-scraper-laravel without Composer

On this page you can find all versions of the php package haianibrahim/tiktok-scraper-laravel. 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 tiktok-scraper-laravel

Laravel TikTok Scraper

A Laravel package that provides an easy way to scrape TikTok video, photo post, and user profile data directly into your Laravel application. This package is a standalone scraper implementation that adds Laravel-specific features including caching, rate limiting, events, and comprehensive API endpoints.

Features

Installation

Install the package via Composer:

Laravel Auto-Discovery

The package uses Laravel's auto-discovery feature, so the service provider will be automatically registered.

Publish Configuration

Publish the configuration file:

Run Migrations

Publish and run the database migrations for logging:

Configuration

The configuration file is published to config/tiktok-scraper.php. Key configuration options include:

Usage

Using the Facade

Using Dependency Injection

Video Details Object

The VideoDetails object (returned for both video and photo posts) contains the following information:

User Info Object

The UserInfo object is returned by scrapeUser():

Artisan Commands

Test Scraper

Test the scraper functionality:

Bulk Scraping

Scrape multiple URLs from a file:

View Statistics

View scraping statistics:

Cache Management

Manage the cache:

HTTP API Endpoints

The package provides ready-to-use API endpoints:

Scrape Single Video

Scrape User Profile

The user field accepts a bare username, an @username, or a full profile URL.

Bulk Scrape

Validate URL

Get Statistics

Clear Cache

Health Check

Events

The package dispatches Laravel events for monitoring:

VideoScraped Event

UserScraped Event

ScrapingFailed Event

RateLimitHit Event

Exception Handling

The package provides specific exceptions for different error scenarios:

Testing

Run the package tests:

Run tests with coverage:

Requirements

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This package is open-sourced software licensed under the MIT license.

Support

If you find this package helpful, please consider starring the repository.

For issues and feature requests, please use the GitHub issue tracker.

Changelog

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

Security Vulnerabilities

If you discover a security vulnerability, please send an e-mail via the contact information in the composer.json file. All security vulnerabilities will be promptly addressed.

Credits


All versions of tiktok-scraper-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.8
illuminate/cache Version ^11.0|^12.0|^13.0
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
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 haianibrahim/tiktok-scraper-laravel contains the following files

Loading the files please wait ...