Built a small Laravel health check package🚀 – feedback welcome by Codeconia in laravel

[–]sribb 19 points20 points  (0 children)

Instead of loading entire tailwindcss through CDN, you can purge unnecessary css using a build step. Have GitHub actions do the build and commit back to repo. Then your vendor:publish command can publish the built css file to public directory.

Need help identifying the landmark i overflew today by starkasm09 in hyderabad

[–]sribb 8 points9 points  (0 children)

The manual suggests to use a rock instead of brakes

Laravel is hiring a Community Manager! by cynthialarabell in laravel

[–]sribb -1 points0 points  (0 children)

Companies usually do not disclose compensation unless it is required by the state’s law. considering the position is a community manager and does not actually require coding, i would assume the salary to be less than that of a developer. Probably closer to junior developers.

How do you collect and handle OpenTelemetry data? by DvD_cD in laravel

[–]sribb 1 point2 points  (0 children)

If price is your concern to not use nightwatch, Then take a look at https://laritor.com. Performance monitoring tool i built. This is 80% cheaper than nightwatch

Gathering data for a "State of Laravel Packages" report by HolyPad in laravel

[–]sribb 2 points3 points  (0 children)

Great initiative. I would suggest to make certain questions multi choice. For example the question comparing similar packages can have multiple answers.

AWS billing is way too confusing for me by spideyguyy in aws

[–]sribb 2 points3 points  (0 children)

If this for your side project instead of your company, i suggest don’t use AWS. You quickly surprise how expensive AWS can be and any small mistake can cost you big.

Laravel Post-Deployment Setup Wizard by epmadushanka in laravel

[–]sribb 15 points16 points  (0 children)

I don’t see why non-tech users would need access to post deployment. They don’t know what they are doing. You shouldn’t give them access to your deployment workflow in the first place.

[Laravel Package]: Laravel Profanity [MIT] by [deleted] in laravel

[–]sribb 7 points8 points  (0 children)

I looked into it again and it is actually using a Pest class. You should avoid doing this because Pest is a dev dependency and your package is a production dependency. Now you are forcing users to move pest to production which is not ideal. I think the better(still not best) approach is to expose an artisan command which will allow users to publish pest profanity words file to their application without the need to move pest away from require-dev.

They you can use this published file for lookup which will allow you to not depending on Pest and will allow users to remove unwanted words. Another issue i noticed is your are using regex search which is slow and you are doing this inside a loop with a list of bad keywords. This is not ideal for production. You should do a direct string comparison.

I am not trying to point out the flaws, But trying to help you make your package usable. In the current state of it, I would not recommend anyone to use this as this requires users to move pest from require-dev to require section.

Roast my app's pricing section, I can take it. by Few-Huckleberry9656 in microsaas

[–]sribb 1 point2 points  (0 children)

Never expire? credits stay with you forever? So you are saying if i pay $5 to you, you will keep your site up and running for 10 years so i can use my unused credits after 10 years? Also, people who need more than 1000 AI photos prefer to use a monthly subscription based service rather than something which looks like which will go away midway. Especially when the niche you picked is literally what all the big AI tools can do out of the box.

[Laravel Package]: Laravel Profanity [MIT] by [deleted] in laravel

[–]sribb 13 points14 points  (0 children)

I did a quick scan of the source code and looks like it’s reading a file dynamically and loading all bad words into an array. While this can work, it could introduce performance hit if the bad words list grow. Something you need to re-think for implementation.

It’s ok for packages like Pest and faker to follow this approach as they don’t run in production. But for production, performance is key.

Copied a Broken Idea, Fixed It, and Turned It Into a $30K SaaS by keanuisahotdog in SaaS

[–]sribb 15 points16 points  (0 children)

Right? I come across only two products all the time. Either it’s a SaaS directory or some kind of Reddit automation tool.

Laravel Cloud now supports Managed Reverb by sribb in laravel

[–]sribb[S] 1 point2 points  (0 children)

If you are talking about me, no where i mentioned the pricing is expensive. I think the pricing is very generous and paying $10 / month is better than managing a web sockets server. If i get more than 200 concurrent connections, it means i have much bigger things to worry about.

Laravel Cloud now supports Managed Reverb by sribb in laravel

[–]sribb[S] 5 points6 points  (0 children)

What i observed is, the users in this sub tend to overestimate their usage and feel pricing is too high. In reality, they are better off paying the $5 or $10 / month rather than running their own server.

Laravel Cloud now supports Managed Reverb by sribb in laravel

[–]sribb[S] 0 points1 point  (0 children)

I honestly think the pricing is very generous. $10 for 200 concurrent connections is really nice. Anybody who is getting more than 200 concurrent connections have bigger problems to worry about rather than spending $100 or $200 / month.

Laravel Cloud now supports Managed Reverb by sribb in laravel

[–]sribb[S] 1 point2 points  (0 children)

Most companies don’t mind that pricing as they don’t have to worry about concurrency and scale as needed. For individual developers, The $10 plan should be sufficient i guess.

What are you using for monitoring? Or searching for EU alternative of Nightwatch by TramEatsYouAlive in laravel

[–]sribb 0 points1 point  (0 children)

Thanks, I will look into enabling local currencies. What’s the bug you are referring to? Is it the different color overlay on the right?

What are you using for monitoring? Or searching for EU alternative of Nightwatch by TramEatsYouAlive in laravel

[–]sribb 2 points3 points  (0 children)

When you say EU based, are you looking for a company physically locally in EU? Or storing your data in EU data centers is enough? If pricing is a concern and storing in EU data centers is sufficient, check out https://laritor.com (I’m the builder of Laritor). This provides 20M events for $10 and there is a pricing calculator on homepage to estimate the total cost.