#php
Read more stories on Hashnode
Articles with this tag
The eloquent relationship provides a fluent way by which we define the relationship between databases and their respective models in Laravel. It is an...
Return types in PHP refer to the type of data returned by a function in PHP. In strongly typed languages like JAVA, every function must have a return...
New Static new static() has been around since PHP 5.2. It is used in PHP classes and it returns the current class object in which it is called...
in_array() This array method checks if a value is in a given array. It accepts 3 arguments: The value we want to search for in an array. The...
In this article, we will build a social media skeleton project to demonstrate the importance and use of composer using PHP 8.
If you don't know, composer is a PHP dependency manager. It is the PHP version of NPM (Node Package Manager). Dependencies simply means the codes your...