YAML is a text-based data format that commonly used to store application configuration. Basically, YAML consist of collection of key/value pairs separated by a colon (:). A table includes a...
There are various ways to authenticate an API user in Laravel application. API authentication can be implemented using Laravel Passport, Laravel Sanctum, etc. External packages offer great features, but there...
Laravel provides various Artisan commands under the make: namespace which allows creating empty controllers, models, listeners, providers and many other types of classes. This means that we don't need to...
SHA3-224 is a cryptographic hash function that accepts a string of any length and returns a 224-bit fixed-length digest value, commonly represented as a sequence of 56 hexadecimal digits. SHA3-224...
SHA-224 is a cryptographic hash function that accepts a string of any length and returns a 224-bit fixed-length digest value, commonly represented as a sequence of 56 hexadecimal digits. SHA-224...
One of the ways to debug Laravel application is logging all executed SQL queries. After that, we can analyze queries, find bugs and optimize the performance of a Laravel application...
A file extension is a suffix at the end of a filename which specifies the file type. For example, .gz is the extension of the filename archived.tar.gz. Programming languages provides...
Argon2 is a cryptographic hash function that commonly used for password hashing. Argon2d, Argon2i and Argon2id are variants of Argon2. Argon2id is a combination of Argon2i and Argon2d which has...
Argon2 is a cryptographic hash function that commonly used for password hashing. Argon2d, Argon2i and Argon2id are variants of Argon2. Argon2id is a combination of Argon2i and Argon2d which has...
PHP has the gettype function that allows to get the type of variable. This function can be useful for debugging, testing, creating error messages, etc.
Since PHP 8.0, we can...