Latest Articles

Solved - Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found Laravel

Few days ago, i was working on my laravel 5 application and i created some tables using migrations that i required. After sometime i need to change "name" column into "fullname" in users table. I simple created migration for rename of column, But when i run that migration using bellow command: <pre> php artisan migrate </pre> I found bellow error when i run above command: <strong>[Symfony\Compone.....

Posted On April 18, 2017

How to get last record of table in Laravel 5?

Here, i will show you how to select last row of database table using Laravel query builder. In PHP Laravel framework, there are several eloquent method to get last record from table. In this article, I will show you two way to getting last row of the table. In this example i going to use following method of laravel eloquent. 1)first() 2)orderBy() 3)latest() Above three method through we can simp.....

Posted On April 16, 2017

Solved - "Skipped installation of bin phpunit for package phpunit/phpunit: file not found in package"

Yesterday, i was working on my laravel application and when i require to create new clean fresh laravel repository then i run bellow command for getting new fresh laravel project: <pre> composer create-project --prefer-dist laravel/laravel blog </pre> But, when installing vendor package i found bellow error regrading of phpunit. <strong>"Skipped installation of bin phpunit for package phpunit/php.....

Posted On April 16, 2017

Class FORM or HTML not found in Laravel

If you are getting `HTML` or `FORM` class not found error in your laravel 5 application then you are a right place. You have this error because Laravel 5 version made changes in their library. However you can solve this issue by using "laravelcollective/html" package. laravelcollective/html package will provide you HTML and FORM class helper. So, let's run bellow command in your laravel 5 applica.....

Posted On April 16, 2017