railken/mangafox

There is no license information available for the latest version (v1.1.10) of this package.

v1.1.10 2022-01-07 16:35 UTC

This package is auto-updated.

Last update: 2024-11-07 22:51:08 UTC


README

Search and download manga from mangafox.me

MangaFox Scraper is a library that gets all the needed information about manga for a manga-reader

Requirements

PHP 7.0.0 or later.

Composer

You can install it via Composer by typing the following command:

composer require railken/mangafox

Dependencies

Getting Started

Simple usage looks like:

# Creating a new instance of manager
$manager = new \Railken\Mangafox\Mangafox();

# Searching a manga
$results = $manager
    ->search()
    ->type('any')
    ->name('contains', 'One Piece')
    ->author('contains', 'Oda Eiichiro')
    ->artist('contains', 'Oda Eiichiro')
    ->genres('include', ['Action', 'Drama', 'Historical'])
    ->releasedYear('<', '2017')
    ->rating('>', 4)
    ->completed(0)
    ->sortBy('name', 'ASC')
    ->page(1)
    ->get();

# Retrieving all info about a manga
$manga = $manager
	->resource('one_piece')
	->get();


# Retrieving all scans for a given manga, volume and chapter
$scans = $manager
	->scan('one_piece', 1, 1)
	->get();

# Retrieving last updates 
$results = $manager->releases()->page(1)->get();

# Perform a query in the directory
$results = $manager
    ->directory()
    ->browseBy('genre', 'Action')
    ->sortBy('name') 
    ->page(1)
    ->get();

License

Open-source software licensed under the MIT license.

Copyright

All the manga are copyrighted to their respective author. Please buy the manga if it's available in your country.