Tag: Laravel 5.6

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

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

Laravel Cookies vs Javascript

Creating cookies in Laravel: Default Laravel encrypts the when using Cookie::make and decrypts when getting…

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

Laravel composer install – Your requirements could not be resolved to an installable set of packages.

If you are running Laravel app, on Ubuntu local machine or cloud server. You might…

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

Laravel 5.6 use a prefix on database tables

Using database table prefix can be helful avoiding conflicts, if you are using same database…

 Posted in Laravel, PHP Tagged , ,
Laravel

Laravel5.6 This form has expired. Please refresh and try again

If you are fasing this issue upon submitting form, there could be diffrent reasons. Your…

 Posted in Laravel, Laravel 5.5, PHP Tagged