Alternative ways of doing the same things in Laravel
Updated 29th March 2022
Laravel is a large framework, with contributions coming from almost 2000 developers worldwide. Over its 10 year journey, there have been additions to the framework to do the same thing, only shorter. In this post, I have highlighted some alternative ways of doing the same things in Laravel. How to get the authenticated users id
How to use a robots.txt file to improve your website’s SEO
Updated 16th August 2022
A robots.txt file is a text file that tells web robots (also known as spiders or crawlers) which pages on your website to crawl and which pages to ignore. Robots are often used by search engines to index websites, so the more information you can give them about your site, the better! You can use
PHP Numeric Literal Separator
Updated 14th December 2023
First introduced in PHP 7.4, the Numeric Literal Separator in PHP makes large integers within your code easy to read. Naturally, we find it easier to read number which are grouped, for example, 1,650,000. Using the numeric literal separator in PHP Since PHP 7.4, we can now use numbers like this: Adding an underscore between
0 Comment