Skip to content

Tag: laravel

Display all images one by one laravel

On the backend side, my pictures are loaded normally, but I have problems with displaying them on the front My Model I am trying to display all the images on the page like this My page.blade.php But I am getting an error: Undefined variable: $images I need to declare this variable with an array of pictures so…

Issue with DocuSign sending Envelopes

I recently changed my DocuSign integration to use the JWT OAuth flow. To achieve this I have a few classes. OAuth Client Signature Client Service Then, in my constructors where I want to use it I’m doing Finally, I use it like so But I get an error that reads DocuSigneSignClientApiException: Error while…

How to show round figure number in php?

I have a variable called $totalResults which has dynamic values, depend on database entries. I need to show a limit like if $totalResults has 154 results then I want show that 154 out of 500. But I want it dynamically, like if the result cross 500, example the result value is 514, then it’ll show like 5…

Can’t insert data on my database from laravel

When I try to insert data into my database, Laravel does not insert the records, but it is strange because when I migrate the tables to be able to perform the database, Laravel creates them without any problem, I do not know what I can be doing wrong if the migration run but stored no Route: Controler: Templa…