nguyenanhung/template-crawler-package

Structure Repository Template for Crawler Package

v1.0.2 2024-09-21 20:07 UTC

This package is auto-updated.

Last update: 2024-11-21 20:33:32 UTC


README

Latest Stable Version Total Downloads Daily Downloads Monthly Downloads License PHP Version Require

Template start Crawler Packages

Template for repository Crawler Packages - Basic, Simple and Lightweight

Use this Template

First, you can Use this template for new project: Use this template

Second, clone your project to your to path in your machine

Finally, your edit file composer.json in root folder of project

{
    "type": "library",
    "name": "nguyenanhung/template-crawler-package",
    "description": "Structure Repository Template for Crawler Package",
    "keywords": [
        "crawler",
        "helper",
        "library",
        "php"
    ],
    "homepage": "https://github.com/nguyenanhung/template-crawler-package",
    "license": "MIT",
    "minimum-stability": "stable",
    "authors": [
        {
            "name": "Nguyen An Hung",
            "email": "dev@nguyenanhung.com",
            "homepage": "https://nguyenanhung.com",
            "role": "Developer"
        }
    ],
    "require": {
        "php": ">=7.1.3",
        "ext-curl": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "nguyenanhung/requests": "^3.0",
        "nguyenanhung/database": "^3.0",
        "nguyenanhung/my-crawler": "^1.0"
    },
    "autoload": {
        "psr-4": {
            "nguyenanhung\\Crawlers\\Your_Project\\": "src/"
        },
        "files": [
            "helpers/helpers.php"
        ]
    }
}

Replace name space REPLACE_FOR_YOUR to Project Crawler space, example: Google. After change namespace, project namespace same "nguyenanhung\\Crawlers\\Google\\": "src/"

Finished, your can writing new awesome helper and library now time.

Contact & Support

If any question & request, please contact following information

From Vietnam with Love <3