Laravel Wikipedia (MediaWiki) Grabber

Posted 11 months ago by dmitry.g.ivanov

Hi, guys!

I've just finished new package - for grabbing Wikipedia (or another MediaWiki) page.

Base usage is very simple:

use Wikipedia;

echo (new Wikipedia)->page('Donald Trump');

It grabs a page with the images, galleries, audio and video files and returns HTML in the specified format. It can be plain HTML, Bulma or Bootstrap (3 and 4).

Also, an information about grabbed page can be retrieved. Such as id, title, page status, etc.

Please, see readme for more info:

https://github.com/dmitry-ivanov/laravel-wikipedia-grabber

Hope it would be useful for someone!

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.