PHPackages                             piradoiv/munchitos - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. piradoiv/munchitos

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

piradoiv/munchitos
==================

Objectify HTML like a boss.

1.1.0(12y ago)126MITPHP

Since Mar 3Pushed 12y ago1 watchersCompare

[ Source](https://github.com/piradoiv/munchitos)[ Packagist](https://packagist.org/packages/piradoiv/munchitos)[ Docs](https://github.com/piradoiv/munchitos)[ RSS](/packages/piradoiv-munchitos/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

Munchitos
=========

[](#munchitos)

[![Build Status](https://camo.githubusercontent.com/57a91f7528067df3573456603a4cd28bcb08152d2221bf29872c63a0aaa4cbf7/68747470733a2f2f7472617669732d63692e6f72672f70697261646f69762f6d756e636869746f732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/piradoiv/munchitos)

This library aims to make developer's life easier while trying to parse the HTML contents.

Features
--------

[](#features)

At the moment, Munchitos currently have these features:

- Returns the title of the page.
- Extract Links and Images from the contents.
- Detects meta description.
- Gives the canonical URL, if present.
- List every linked stylesheet.
- Detects the charset encoding.

In the future, Munchitos aims to support:

- Semantic microformat.

How to install
--------------

[](#how-to-install)

Composer is the easier way, just add the library to the dependancies:

```
{
  "require": {
    "piradoiv/munchitos": "dev-master"
  }
}
```

Remember to call **composer install** or **composer update** after adding composer.json file. There are loads of information about setting up [Composer](http://getcomposer.org) on your project.

Munchitos goal isn't to download the HTML itself, so I recommend to also install a cURL wrapper, like [shuber/curl](https://packagist.org/packages/shuber/curl).

How to use
----------

[](#how-to-use)

```
