Category: Laravel

Laravel

Tip: Default current timestamp to Laravel migration

Quick tip of the day, how to add default datetime to migration.

 Posted in Laravel Tagged , ,

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.

 Posted in Laravel, PHP Tagged , , , ,
Laravel

Laravel: Usage of old() in form when editing

Best practice to show old value when editing a form in Laravel?

 Posted in Daily Tips, Laravel, Tips Tagged , ,
Lumen

Lumen/Lumen: Create & Check Password

Laravel/Lumen comes with Hash facade that provides the secure Bcrypt & Argon2 hashing for storing user string passwords.

 Posted in Laravel Tagged , , ,
database

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…

 Posted in Databases, Eloquent, Laravel, PHP, Symfony, Tips, Uncategorized Tagged , , , , , , ,
Laravel

Configure Redis with Laravel/Lumen 5.8

What is Redis Redis is a storage server that stores data in memory for very…

 Posted in Laravel, Laravel 5.5, Lumen, Uncategorized Tagged , , , , ,
Laravel

Connect Laravel to remote MySql DB with SSH

Quick way of connecting remote database with SSH key, will be by running SSH tunnel….

 Posted in Laravel, Laravel 5.5, Uncategorized Tagged , , , , , , ,
Laravel

Solved: local.ERROR: RuntimeException: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths

I got this issue while setting up LumenPassport in Laravel/Lumen micro framework. Error local.ERROR: RuntimeException:…

 Posted in Laravel, Lumen, PHP Tagged , , , , , , , ,
Laravel

Solved: Call to undefined method Laravel\Lumen\Application::group()

You might have come across this issue while setting up LumenPassport When you are listing…

 Posted in Laravel, Lumen, PHP Tagged , ,
Lumen

Lumen 5.8 activity log composer package

Activity log is upgraded to Lumen 5.8, follow the complete post at link given below…

 Posted in Laravel, Lumen, Uncategorized Tagged , , ,