Laravel 5 – generic document management

I have a system where you can create different types of unique documents. For instance, one document is called Project Identified and this expects certain inputs. Originally,…

Laravel5.5 is not running in PHP7.0

As the Laravel 8 is not supported on PHP 7.0, I decided to go with lower version of Laravel. Because, we are not in the position of…

Displaying Transaction Id to the customers view

I’ve been making an eCommerce laravel system and I’ve been struggling with showing the customers their transactions Id after they’ve completed all their payment. I’m using an…

Laravel 5 using Intervention with Post Model

Hi I am not having much luck to try and use Intervention with an Image model. Really beginner to this, and have tried many many many changes…

Laravel 5.2 – Adding laravelcollective/html 5.2 throws errors

I’m using Laravel v5.2 and have followed the instructions below to install laravelcollective/html, but it still throws errors: Browser: FatalErrorException in ProviderRepository.php line 119: Call to undefined…

Laravel: a model that belongs to two other models

In laravel, is there a way to get the list of objects that belong to two models? For example, Model transactions: belongs to users belongs to category…

Dynamic row value insertion to the database [duplicate]

i have a recipe form of which ingredient, unit and quantity fields row can be added dynamically, I wanted to add these field into a single column…

read pdf with php and PDF2Text or pdf-to-text (spatie)

i´m traying to extract text from my PDF with class PDF2Text or spatie/pdf-to-text but i can´t to do… i´m traying first with: PDF2Text if($request->file(‘adjunto’) != “”){ $fileName…

Laravel 5.2 upgrade – class AuthServiceProvider not found

I’m currently spending time to upgrade my project from Laravel 4.2 to Laravel 5.2. After lots of troubles I managed to get a 5.1 version running correctly…

Laravel 5 – Display different views based on database query

I have the following database design Within the Models, I have set up the relationships appropriately. Now this is the tricky part I am having difficulties solving….