Give me feedback

A Laravel 5.0 Model that represents a city found directly from the html page of another website

This class has 2 important methods. "findByNomeEstado()" search for an string at the database and "findFromIbge()" can search for that same string, but this time, we use "phpQuery" library to inspect the html from another webpage and find the elements we want, in order to fill some attributes and save at the database.

Reactions 0 reactions

No reactions yet, be the first: comment or tweak the code

Comment on this code:

Please Login or Register to leave a comment.