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 that will make your work so much easier. In this post I would like […]

Allow Cross Domain Fonts with CORS

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 are not hosted on your domain and may […]

laravel 5 controller get url parameters

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 have to import the Request facade using a use Request; statement at the top of […]

Laravel 5 Eloquent – Attribute casting

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, strings. Eloquent models allows you to change datatype […]

Capitalize the first letter of a string in javascript

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face – we are here to solve your problems.ArjunI am Arjun from Hyderabad (India). […]

Check if two arrays are equal

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face – we are here to solve your problems.ArjunI am Arjun from Hyderabad (India). […]

Flatten Nested Arrays Using PHP

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 keys with dot notation. This function takes nested array as input. While working with laravel […]

DMCA.com Protection Status