Top "Laravel-5.4" questions

Laravel 5 is the previous major version of the open-source PHP web development MVC framework created by Taylor Otwell.

Laravel Blade - Advantage of @slot/@component vs @include?

Laravel 5.4 Blade introduced the concept of components & slots - but I can't see what they add over the traditional @…

php laravel blade laravel-5.4 laravel-blade
Laravel dompdf error "Image not found or type unknown"

I am getting error "Image not found or type unknown" after downloading PDF in Laravel 5.4 using dompdf package. Here is …

php laravel laravel-5.4 dompdf
How to Fix Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() Issue

I uploaded my Laravel project to server. It displays following error. How to fix it? Fatal error: Call to undefined …

php laravel laravel-5.3 iconv laravel-5.4
How to integrate Swagger in Lumen/Laravel for REST API?

I have built some REST API in Lumen micro framework and it's working fine. Now I want to integrate Swagger …

laravel-5.4 lumen
Can't catch exceptions in laravel

I have the following situation: try { DB::beginTransaction(); $task = new Task(); $task->setTracker(""); //thrown \Symfony\Component\Debug\Exception\FatalThrowableError …

php laravel try-catch laravel-5.4 php-7.1
Laravel: Integrating Throttle in Custom Login

How to integrate laravel throttle if I did not use the default LoginController given by laravel? here's my controller: use …

php laravel validation laravel-5.4 throttling
Laravel seeding results in Null timestamp

So i had a seeder for Languages Table (LanguageTableSeeder) as follows: DB::table('languages')->insert([ 'name' => 'English', …

laravel eloquent laravel-5.4 laravel-seeding
How to use ftp with laravel 5?

The file Storage section of the laravel docs shows an example FTP config, but it doesn't explain how to use …

laravel laravel-5 ftp laravel-5.4 ftp-client
Ubuntu 14.04: Unable to locate package php7.0-zip

I am not being able to install package php7.0-zip. The error I get after doing sudo apt-get install php7.0…

php ubuntu ubuntu-14.04 laravel-5.4 php-7.0
Laravel 5.4 need to get distinct records through eloquent relation

I have a table "transactions". in that table I have multiple columns which are id, user_id, customer_name, restaurant_…

php mysql laravel-5.4 laravel-eloquent distinct-values