Questions tagged laravel-vapor

Explore the latest questions and answers asked by our top developers.

Laravel Vapor Scheduler Not Sending Emails

So I have 3 Commands created to dispatch emails based on certain criteria and have them set to run in Kernel every morning. I get the emailOutputTo notification every morning at the right time without fail but the emails that are supposed to go out never go out. If I run the command on the […]

By mcirami
Categorised as laravel, laravel-scheduler, laravel-vapor Tagged , ,

Error on Composer before deploying on Bitbucket Pipeline

We have a CI&CD process that have a dockerfile within for deploying to laravel vapor environments via bitbucket pipeline which consists of 4 basic steps: Install Build Test Deploy The interesting point is that, we’re passing 3 steps without any problems. We can run the same command on the 4th step on our local environment […]

By jnbn
Categorised as bitbucket, docker, laravel, laravel-vapor Tagged , , ,

How to change php config in php.ini & post_max_size in laravel vapor? I’m facing error 413 Request Entity Too Large

How to changes php config & post_max_size setting in laravel vapor? I’m facing error 413 Request Entity Too Large when trying to upload image on AWS S3. Application is using Angular as frontend & Laravel is used for backend API. I’m able to upload image size upto 200-250 KB on AWS-S3 but can’t able to […]

By Rhythm
Categorised as amazon-s3, aws-lambda, laravel, laravel-vapor, php Tagged , , , ,

Laravel, model->save() does not return new id (in some cases)

When i run the following code the Order does get saved in the database. But the resulting id of the save is 0 in some cases. In the database the Order has a normal id of say 100,101. $this->order->save(); // new order not in database yet //dd($this->order); $id = $this->order->id; if ($id === 0 || […]

By sietse85
Categorised as eloquent, homestead, laravel, laravel-vapor, php Tagged , , , ,

Laravel Vapor Deployment Permission Denied

I’ve started to transition to using Laravel Vapor, but having trouble actually deploying. A user has been created with AdministratorAccess, network and environments created etc, but it fails when it comes to deploying. The deployment artifact gets to S3 but then when it goes to do the assets I get a 403 Forbidden error SignatureDoesNotMatch […]

By Paul
Categorised as amazon-s3, laravel, laravel-vapor Tagged , ,

Validation file extensions

I am working on a Laravel/VueJS Serverless project. I am trying to whitelist/blacklist some file extensions for my AWS S3 bucket to avoid people uploading files I don’t want. I use Vapor in VueJS to temporary upload files and get a key that I send to my Controller in POST method to get back the […]

Issue with running Puppeteer and Browsershot in Laravel Vapor Docker runtime

I am trying to run Puppeteer and Spatie/Browsershot in Laravel Vapor Docker Runtime but getting following error type: ‘error’, message: ‘socket hang up’, error: Error: socket hang up at connResetException (internal/errors.js:639:14) at Socket.socketOnEnd (_http_client.js:499:23) at Socket.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1334:12) at processTicksAndRejections (internal/process/task_queues.js:82:21) { code: ‘ECONNRESET’ } Here’s my Dockerfile FROM laravelphp/vapor:php80 # Installs latest […]

Laravel website is target by bots on AWS, how to prevent this?

In Laravel there is Telescope, where you easily can monitor requests. I have an issue that I get spammed a lot by (probably) scrapers. And of course they wanna scan for WordPress-related information. I have my website hosted via Laravel Vapor, so via AWS.. and every requests costs money. Is there a way to prevent […]

By user1469734
Categorised as laravel, laravel-vapor Tagged ,

Cannot get Laravel Passport to work with Vapor

Following Passport’s instructions, since I cannot store public/private keys in a storage directory for Vapor I use the following command to publish the passport.php configuration file, as per their instructions: php artisan vendor:publish –tag=passport-config This enables me to set environment vars PASSPORT_PRIVATE_KEY and PASSPORT_PUBLIC_KEY so I can use them with Vapor since vapor has no […]

By Joel Joel Binks
Categorised as laravel, laravel-vapor, php Tagged , ,

Login to laravel vapor in codebuild using api key

I am attempting to do a CI/CD pipeline for a laravel vapor application using AWS codepipeline and code build. Since deploying to vapor just requires running the vapor deploy command, I figured I could run that command on my codebuild image. Problem is that vapor requires authentication prompt using vapor login command. Would it be […]

1 2 3 5

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us