Skip to content

Laravel Lumen Logging gives A facade root has not been set

I have set up the basic example of Laravel lumen with composer create-project –prefer-dist laravel/lumen demo. I am using Lumen version 8. My .env file looks like I have created a controller TrackerController and called it in routes/web.php. My /app/routes/web.php looks like I would like to add logging …

Detect pdf landscpe with ssh pdfinfo

After researching to see how I can make PHP know the orientation of the pdf, and found a solution with pdfinfo, it works fine by bash. but I can’t get that by PHP with executing exec command, I receive the response under the string to be able to create an if rule. I do not understand why the if of

PHP json_encode to C# Object unable to convert

I have this array of objects that contains some strings and an array of strings that I want to return from my server: “[{“original_file_name”:”Plain_HAIR.pdf”,”encrypted_file_name”:”UTTSJG13V1EC46J.pdf”,”is_successful”:true,”message&#8221…

Sending an envelope: getting 301 response code back

PHP 7.4, Windows Server 2012, IIS8 I’m using the DocuSign PHP SDK method createEnvelope, which sends the envelope object to their server. The URL is with these headers I’m successfully using the JWT key for, say, getUserInfo, but when I submit the envelope I get back. As far as I can tell, the env…