themsaid

themsaid

Web Developer at Laravel

Member Since 5 Years Ago

Cairo

Experience Points
8,130
Total
Experience

1,870 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
4
Lessons
Completed
Best Reply Awards
9
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected]m with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 2
8,130 XP
Feb
24
2 days ago
Activity icon

Replied to Laravel Vapor With MongoDB

@nedstrk The size of the runtime Vapor uses is limited since the runtime + your project must not exceed 250MB. So we're very picky about the extensions we include out of the box.

MongoDB is not supported in the Laravel Core so we don't see a big need for it to be included in the runtime and would just add extra precious megabytes. You can however compile your own runtime and use it with Vapor if you want.

Feb
17
1 week ago
Activity icon

Started a new Conversation How Much Are You Paying After You've Moved To Vapor?

Hey Everyone,

I'm trying to collect data on how much people are paying in cloud costs after moving to Vapor. Will use this data to help others who're considering moving to running serverless estimate the costs.

You can share screenshots of the AWS bill breakdown for the services used by Vapor, like:

  • Lambda
  • APIGateway
  • ALB
  • DynamoDB
  • S3
  • SQS
  • CloudFront

If you prefer not sharing in the forums, you can send to my email [email protected] Appreciate all replies :)

Activity icon

Replied to Vapor Manifest Not Found During Deploy.

Hey,

Make sure you run vapor init inside your project root as per the docs.

Feb
13
1 week ago
Activity icon

Replied to Speeding Up Laravel Vapor API Calls

Make sure the memory settings you're using in your environment matches what's on the DO server if you want to compare the response time.

Activity icon

Replied to Vapor Timeout Not Being Ignored

@booni3 yes a $timeout on the job will be taken into account. The exception means an attempt has timed out and we'll be retrying again.

Feb
07
2 weeks ago
Activity icon

Replied to SES On Vapor

@harrygulliford we only support 'us-east-1', 'us-west-2', 'eu-west-1' for now. Will look into supporting more regions soon.

Activity icon

Replied to Vapor Series

I'm sure at some point there'll be a video series on Laracasts covering Vapor. Meanwhile, feel free to ask me any question regarding it :)

Feb
06
2 weeks ago
Activity icon

Replied to SES On Vapor

You'll need to use a different mail provider. SES support is limited to those regions I'm afraid :/

Feb
05
3 weeks ago
Activity icon

Replied to SES On Vapor

Email is only available for 'us-east-1', 'us-west-2', 'eu-west-1'. Which region are you deploying to?

Feb
04
3 weeks ago
Activity icon

Replied to Vapor Timeout Not Being Ignored

@lambooni I can see the issue here. Seems like the attempts for the job aren't incremented when the lambda timeouts. Looking into possible solutions.

Activity icon

Awarded Best Reply on Vapor Timeout Not Being Ignored

Vapor will run your job until the lambda timeouts, the job specific timeout will be ignored.

Activity icon

Replied to Vapor For Everything?

The wonderful thing about Vapor is, that I don't have to care about monitoring and updating the servers.

Indeed. That's where Vapor shines. Focus on the code not the infrastructure.

@mina as for the cost, it really depends. But the lambda costs are very low for low traffic/medium. Check this post https://divinglaravel.com/cost-performance-optimization-in-laravel-vapor

Activity icon

Replied to Vapor Deployment Do Not Upload Local Changes

When you are able to publish a version of the website please share it. Otherwise I'm really unable to help.

Activity icon

Replied to Update Laravel-vapor NPM / JS Script To Use XmlHttpRequest

You can submit this as a Pull Request so we can review.

Activity icon

Replied to Vapor ASSET_URL And Images In Vue

I don't know if this can be done via webpack, you're referencing your images using a relative path. I don't think webpack is able to convert this to use the ASSET_URL out of the box.

Activity icon

Awarded Best Reply on Laravel Forge, Queues, Keep Restarting

What if you lower the number of processes? Could be that your server is running out of resources.

Feb
03
3 weeks ago
Activity icon

Replied to Unable To Install Spark

Did you install Spark using the CLI installer or Composer?

Activity icon

Replied to Anyone Figured Out Logging Using Laravel Vapor?

Papertrail won't work. Use Bugsnag or Flare.

Activity icon

Replied to Vapor Timeout Not Being Ignored

Vapor will run your job until the lambda timeouts, the job specific timeout will be ignored.

Activity icon

Replied to Vapor Deployment Do Not Upload Local Changes

Ok this means the "js/app.js" file was updated already.

Can you please share a link to your website so I can see how this file is loaded in the HTML?

Activity icon

Replied to Laravel Forge, Queues, Keep Restarting

What if you lower the number of processes? Could be that your server is running out of resources.

Activity icon

Replied to NPM Error On Vapor

No, you can remove it if you don't need it.

Activity icon

Replied to Vapor Deployment Do Not Upload Local Changes

Hey,

After you change the vue files locally and deploy. vapor.yml should have a build command to compile these assets and generate new files in your public directory, yes?

Now when you upload, Vapor should show show in the CLI that it's uploading the new asset files, not copying from existing ones. Can you confirm this?

Activity icon

Replied to Unable To Deploy Vapor Project Using GitLabs CI

Hey,

I suggest that you try again and see if you get the same issues.

Activity icon

Replied to Vapor For Everything?

@realrandyallen

It depends. For example on a $5 forge server you can have your app + workers + database + redis cache + free LE certificate + more. Just for $5. On vapor you'll need to pay for an RDS instance + Cache cluster + lambda costs + APIGateway costs.

Vapor works very well if you're expecting variable load on your app, but if you don't expect so much load then the initial costs to host on Lambda is going to be much higher than a simple Forge server.

Activity icon

Replied to Subdomain Using Vapor

Hey,

You just need to add the root domain to Vapor withouts witching the DNS records, you can later use the subdomain in your vapor.yml and update the DNS records for only that subdomain.

Activity icon

Replied to NPM Error On Vapor

Hey,

This command runs on your machine so you need to find out why it's failing and update/remove it if you want. It's just there by default as an example of what you can do with Vapor.

Jan
31
3 weeks ago
Activity icon

Awarded Best Reply on Where Are AWS Resources Created By Forge?

Hey,

Make sure you are checking the correct region in the AWS console. If you are getting billed for an EC2 instance that means it's there.

Activity icon

Replied to Vapor For Everything?

I'm representing myself here :)

Activity icon

Replied to Where Are AWS Resources Created By Forge?

Hey,

Make sure you are checking the correct region in the AWS console. If you are getting billed for an EC2 instance that means it's there.

Activity icon

Replied to Laravel Forge, Queues, Keep Restarting

Which version of Laravel are you running? Can you please share the worker configuration on Forge?

Activity icon

Replied to Vapor For Everything?

It makes sense to use Vapor for every type of applications, but not static websites :)

Jan
26
1 month ago
Activity icon

Replied to Confusion About Queue Timeouts

Here are some details on what you need to watch out for: https://divinglaravel.com/prevent-your-queued-jobs-from-duplicating

Jan
23
1 month ago
Activity icon

Replied to Queue Worker Stops Processing Jobs

Is everyone here using the database driver when this issue happens? Does it happen on different drivers?

Jan
22
1 month ago
Activity icon

Replied to Queue Worker Stops Processing Jobs

Hello everyone, I'm trying to figure this out. Can you share the exact worker command that you run?

Jan
06
1 month ago
Activity icon

Replied to Why Doesn't Laravel Vapor Inject ASSET_URL In My Build Step?

@aligajani does it work normally on your machine then?

Activity icon

Replied to Why Doesn't Laravel Vapor Inject ASSET_URL In My Build Step?

So that's not on your local machine? Seems like GitHub actions is overriding all environment variables and sets its own?

Please test on your local machine, if it's related to GitHub actions then you'll need to contact their support so they may explain.

Activity icon

Replied to Why Doesn't Laravel Vapor Inject ASSET_URL In My Build Step?

Hey everyone. I'm trying to figure out why it's failing to read the environment variables for some people but working for others.

Can you please share the output of console.log(process.env) in your webpack.mix.js file after you run vapor deploy?

Notice that you must run vapor deploy not vapor build

Sep
26
5 months ago
Activity icon

Replied to Using Laravel Vapor

Hey,

Multiple domains isn't supported at the moment but it's something we're planning for the future.

As for your first question, I'll need to take a look at your setup and your vapor.yaml file so I can stand on why the migrate command isn't working, most of the time it's because Lambda is unable to communicate with your DB instance.

Can you please email [email protected]?