This snippet will teach you how to scrape data from any website using guzzle http with php
In this snippet I will teach you how to create unique validation related to another column
Sometimes, you might need to call two ajax requests at the same time or request, here is a good example to do so
In some cases you might want to inject extra values to the request object that already is holding a form data for example, to do so there are numerous ways, here are some:
If you wish you application to auto logout after a certain amount of time the user is inactive on it, here is a sample code that will work in laravel.
In case you have an array and would like to create pagination over it here is a user sample code.
In this snippet I will teach you how to validate the date to be equal or after today with localization
In this snippet I will teach you the right way of displaying record number in lavael blade with pagination
Sometimes, You will need to order by a varchar column as an integer. for example if you have the billNumbers in two rows as 5 and 1400 the order as varchar in desc order will get that with 5 first then that with 1400. While the opposite is what is wanted in the ordering using integers.
this snippet will teach you how to calculate difference in days between two dates in laravel blade