Some of the inspiring Quotes of Bharat Ratna Dr. APJ Abdul Kalam (missile man). 1) If you salute your duty, you need not salute anybody.…
Leave a CommentTutorials / Programming tips Posts
Traits are one of the most powerful feature introduced in PHP 5.4. It allow us to write maximum reusable code. Traits are like Abstract class…
Leave a CommentHey we can easily get names of all modules compiled and loaded in the PHP using PHP’s built-in function called get_loaded_extensions(). This function returns the…
1 CommentThe Collection class in Laravel is really awesome. In Laravel, Eloquent returns result in the collection object. The class contains a lot of handy methods…
Leave a CommentSome 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…
1 CommentThe 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…
Leave a CommentSometimes you may want send the rendered view in the ajax response instead of showing on the browser. To return html in the ajax response…
2 CommentsIn this post, I want to show you how to send emails using PHPMailer with GoDaddy SMTP details. Godaddy requires you to utilize its SMTP…
19 CommentsOne of the Laravel 5 awesome feature is Attribute casting. Casting attribute means changing the attribute values to a particular type. for example Boolean, integer,…
Leave a Commentvar 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…
Leave a CommentIn this post I would like to share with you code snippet, which you can use to flatten nested array into one array with string…
Leave a CommentLogin Throttling is also called rate limiting which is very useful to increase the security of the application by protecting login form. Basically the…
2 CommentsYou often have to display money numbers in business applications like eCommerce apps. So in general we fetch the value from the database and print…
1 CommentLaravel 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…
Leave a Comment