MangaFox Scraper
Search and download manga from mangafox.me, (*1)
MangaFox Scraper is a library that gets all the needed information about manga for a manga-reader, (*2)
Requirements
PHP 7.0.0 or later., (*3)
Composer
You can install it via Composer by typing the following command:, (*4)
composer require railken/mangafox
Dependencies
Getting Started
Simple usage looks like:, (*5)
# 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., (*6)
Copyright
All the manga are copyrighted to their respective author. Please buy the manga if it's available in your country., (*7)