Tag: Laravel 5.6
What is the difference between a model and a repository
Danyal July 5, 2019
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 Eloquent, Entity, laravel, Laravel 5.6, Models, Repository, Symfony, Symfony 4
Connect Laravel to remote MySql DB with SSH
Danyal June 11, 2019
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 5.6, Laravel 5.8, laravel5.7, lumen, mysql, ssh, tunnel
Laravel Cookies vs Javascript
Danyal February 7, 2019
Creating cookies in Laravel: Default Laravel encrypts the when using Cookie::make and decrypts when getting…
Posted in Laravel, Laravel 5.5 Tagged cookies, encryption, javascript, jQuery, laravel, Laravel 5.6
Laravel composer install – Your requirements could not be resolved to an installable set of packages.
Danyal November 9, 2018
If you are running Laravel app, on Ubuntu local machine or cloud server. You might…
Posted in Laravel, Laravel 5.5, Ubuntu, Uncategorized Tagged composer, laravel, Laravel 5.6, php extensions
Laravel 5.6 use a prefix on database tables
Danyal July 17, 2018
Using database table prefix can be helful avoiding conflicts, if you are using same database…
Posted in Laravel, PHP Tagged database, Laravel 5.6, tables prefix
Laravel5.6 This form has expired. Please refresh and try again
Danyal May 30, 2018
If you are fasing this issue upon submitting form, there could be diffrent reasons. Your…
Posted in Laravel, Laravel 5.5, PHP Tagged Laravel 5.6