Skip to content

Instantly share code, notes, and snippets.

View arcnexus's full-sized avatar

Marc Miralles arcnexus

View GitHub Profile
@brwnll
brwnll / form_macro.php
Last active September 7, 2020 09:46
Laravel 4 form inputs for Number and Telephone
<?php
/***
* If you prefer automatic updates or using packages, this is available as a composer
* package: https://github.com/smalldogs/html5inputs
*
* Thank you to @silentcoast for the adding the support of non-valued attributes (such as `required`)
*
* This file allows you to use the other 11 HTML elements the same way as text, email, and URL.
*
* 1. Create the folder /app/misc, or use your preferred directory