Category: Laravel
Laravel: Login with email or phone
How to login with phone or email in Laravel passport?
Laravel: Raw query for between operator
Example for raw query of between operator.
Laravel: update vs fill
Let’s take a look at the difference between update and fill of Eloquent methods.
Tip: Default current timestamp to Laravel migration
Quick tip of the day, how to add default datetime to migration.
Traits in PHP and Laravel?
This is a fact that in PHP you can only have single inheritance. That means a class can inherit from only one other class.
Laravel: Usage of old() in form when editing
Best practice to show old value when editing a form in Laravel?
Lumen/Lumen: Create & Check Password
Laravel/Lumen comes with Hash facade that provides the secure Bcrypt & Argon2 hashing for storing user string passwords.
What is the difference between a model and a repository
Repository actually allows you to separate your business logic from database layer (Model). Repository/Entity are…
Configure Redis with Laravel/Lumen 5.8
What is Redis Redis is a storage server that stores data in memory for very…
Connect Laravel to remote MySql DB with SSH
Quick way of connecting remote database with SSH key, will be by running SSH tunnel….