Code Snippet to Update a record in Laravel using Eloquent.
Code snippet for "IN" Query in Eloquent and in Query Builder.
Managing a school is a difficult task. Tracking student's performance, teachers, course offered, result generation and keeping track of fees manually is a mess.
This simple snippet can flatten a multi dimensional Array and keep the keys intact.
PHP snippet function to check whether a string endsWith with a specified string or not. Function returns Boolean. This function can also handle case sensitivity.