Category: PHP

Laravel

Laravel 5.7 Route [login] not defined

Since Laravel comes with Frontend Scaffolding and supports Vue within the box, therefore I decided to test…

 Posted in Laravel, PHP Tagged
Laravel

“storage/oauth-private.key” does not exist or is not readable

If you are runing Laravel app and using Passport, you might encounter this error while…

 Posted in Laravel, PHP 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
Laravel

Install Laravel required PHP & Extentions

Following requirement part is taken from laravel official Laravel Installation documentation page. Purpose is to help beigners to…

 Posted in Laravel, PHP, Ubuntu 16.04, Ubuntu 17 Tagged , , , ,

Fixing Generic Symfony 3.3 to 3.4 Deprecations

If you are running Symfony 3.3 and want to migrate to Symfony 4 here I…

 Posted in PHP, Symfony Tagged , , , , ,
Laravel

Self relation in laravel eloquent

Use case:  Suppose you need to store endless parent child objects in single table. Example:…

 Posted in Laravel, PHP Tagged , , ,
Laravel

PHPUnit test environment with Laravel 5.5

Laravel provides fully covered online documentation. But if you are still wondering, how to run…

 Posted in Laravel 5.5, PHP Tagged , , ,

Drupal7 Clean URLs

If you are runing drupal7 site on shared hosting with apache2, you definitely don’t have…

 Posted in CMS, Heandy Tips, PHP Tagged , , , ,