How to add middleware to restrict user access without login in Laravel 11?
I am developing a project in which I have to make sure that the user can access the page only if he is logged in, otherwise he should remain at the login page. …
Read more →Long-form pieces from the Nirvaat team on web development, Laravel, PHP, SEO, digital marketing and what we're learning along the way.

I am developing a project in which I have to make sure that the user can access the page only if he is logged in, otherwise he should remain at the login page. …
Read more →
Are you adding reCAPTCHA validation to your website forms and Google for the first time and google's guide is going right above your head? That was me, today mo…
Read more →
Focusing on Skills Over Degrees Reframe the Degree Mindset: Degrees are just one part of the equation. Attributes like problem-solving, adaptability, and critic…
Read more →Many times it happens that you click a great picture, but it gets spoiled because of any unwanted object, person, text, or something else. If you want to remove…
Read more →To remove the pagination from wordpress search page, add the following script in your theme's functions.php file: function no_nopaging($query) { $query->set(…
Read more →Humans and bots will do similar things, but bots will do things that humans don't. Let's try to identify those things. Before we look at behavior, let's accept …
Read more →SPF records are required for the EMail address verification by most of the email servers now a days. To help you generate the correct SPF record for your domain…
Read more →To add/install MSSQL support in PHP5 on Debian linux server, follow the below steps: Install FreeTDS and the PHP MS SQL extension sudo apt-get install freetds-c…
Read more →In cakephp most of us use ACL with Auth component to manage logins and access to various pages. When we need to implement this feature based on User Roles only.…
Read more →For one of my project I was required to upload files on an FTP server from the PHP script. Searching on Google I found code required but it was not completely a…
Read more →