Using throw as an expression in PHP 8
December 23, 2020 — Up until now, when you want to throw exceptions from your code, you would use the throw keyword to throw the exception which can be caught by the catch block like so.
December 23, 2020 — Up until now, when you want to throw exceptions from your code, you would use the throw keyword to throw the exception which can be caught by the catch block like so.
December 21, 2020 — There might be some situations where you would want to crawl a third-party website and perform some actions right from your PHP codebase. For instance, submitting forms, logging into your account, clicking links, etc. to add some degree of automation in your workflow.
December 18, 2020 — Lately, I’ve been revamping the “Featured Articles” section which is there on the homepage using CSS Grid layout. It’s not that it wasn’t using grids previously. Just that the way I have implemented them previously was sort of inefficient and bloated.
December 16, 2020 — Sometimes, it would be convenient if you get details regarding things right in your terminal. Take for instance, all your scheduled commands that you have defined in your application’s App\Console\Kernel class’ schedule method like so.
December 15, 2020 — There are several different coding languages that can be used in the design of online video games. Per Code Digest, some of the most common among them are HTML5, C++, Java, C#, and JavaScript. Each of these languages has been used successfully to produce games, and each one can be used for this purpose even by a relative beginner (so long as he or she is willing to learn during the process).
December 15, 2020 — There is no denying the popularity of PHP. It has been a constant force in the web development world since its release in 1995. And now, thanks to Laravel, it is still going as strong as ever!
December 14, 2020 — Up until now, if you would need to delay notifications, you could do it by chaining the delay method onto your notification instantiation like so.
December 12, 2020 — Since my blog is built on to of Jekyll, many a times, I have been in a situation where I would try to implement certain features according to my needs.
December 9, 2020 — Imagine you just bought a new computer and the next thing you want to do is create a brand new Laravel application in your brand new machine.
December 8, 2020 — If you’ve ever worked with PHPUnit for TDD, you might be aware of the fact that PHPUnit’s default test reports are pretty minimal and ambiguous.