Laravel – Dropdowns with Collection’s Lists method
The Collection class in Laravel is really awesome. In Laravel, Eloquent returns result in the collection object. The class contains a lot of handy methods
The Collection class in Laravel is really awesome. In Laravel, Eloquent returns result in the collection object. The class contains a lot of handy methods
Some browsers like IE doesn’t allow cross-domain fonts by default – unless you set a Access-Control-Allow-Origin header to the font. cross-domain fonts mean fonts that
The Request facade will grant you access to the current request that is bound in the container.Remember, if you are in a namespace, you will
Sometimes you may want send the rendered view in the ajax response instead of showing on the browser. To return html in the ajax response
In this post I just want to show you how to send emails using PHPMailer with GoDaddy SMTP details. Godaddy requires you to utilize their
One of the Laravel 5 awesome feature is Attribute casting. Casting attribute means changing the attribute values to a particular type. for example Boolean, integer,
var capitalizeMe = "capitalize the first letter of a string in javascript"; var capitalized = capitalizeMe[0].toUpperCase() + capitalizeMe.substring(1); console.log(capitalized); // Capitalize the first letter of
In this post I would like to share with you code snippet, which you can use to flatten nested array into one array with string
Login Throttling is also called rate limiting which is very useful to increase the security of the application by protecting login form. Basically the
You often have to display money numbers in business applications like eCommerce apps. So in general we fetch the value from the database and print
Laravel 5.1 makes it easy to disabling CSRF token check.Sometimes you may wish to exclude a set of URIs from CSRF protection. For example, if
From Ruby on Rails developers “Ruby on Rails® is an open-source web framework that’s optimized for programmer happiness and sustainable productivity. It lets you write
In this post I would like to write about MySQL trim()function.MySQL trim() function removes the specified characters from beginning and ending of the string and
You can use either the MySQL UPPER() or LOWER() functions to format columns in your SQL SELECT statements or you can use these functions in