2017 © Pedro Peláez
 

library mangafox

image

railken/mangafox

  • Wednesday, February 21, 2018
  • by railken
  • Repository
  • 0 Watchers
  • 1 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

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)

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

The Versions