
👨💻 Software developer, #indiehacker 🚀 Building https://teapawt.org/t.co/wKiHWE7K7q + https://teapawt.org/t.co/CNbXYgHGra + https://teapawt.org/t.co/ccCfELe27p
Vilnius, Lithuania
Joined August 2010
- Tweets2K
- Following246
- Followers853
- Likes4.1K
Pinned Tweet
Replying to @arukomp
Spike - billing portal for your Laravel apps. Takes care of handling payments, subscriptions, and also includes credit management which is just perfect for selling APIs and other credit-based features!
Check it out:
spike.opcodes.io/
2
4
536
Want better cash flow and happier enterprise customers?
Try selling credits, which can drive more purchases and better value understanding from your customers.
Learn how to implement API credits in Laravel - complete guide with code:
spike.opcodes.io/blog/how-to…
4
204
Arunas Skirius retweeted
Be mindful what performance issues you choose to optimise. Some are just not worth it.
The main costs and dangers of optimising performance are:
1) Cost of your time
2) Risk of introducing new bugs
3) Risk of slowing down other parts of the system
Let’s start with time 👇
Arunas Skirius retweeted
🕋 Black Friday deal for Spike is up!
If your Laravel project is missing a way to charge customers, Spike is the perfect Billing Portal for you. Works with Stripe and Paddle, and switching is easy 😉
33% off until 2nd December 👇
spike.opcodes.io/
Arunas Skirius retweeted
When using queued jobs in Laravel, if the associated model is deleted before the job runs, it can cause errors.
To handle this gracefully, use the `$deleteWhenMissingModels` property in your job class.
This prevents exceptions for models expected to be occasionally missing:
Be mindful what performance issues you choose to optimise. Some are just not worth it.
The main costs and dangers of optimising performance are:
1) Cost of your time
2) Risk of introducing new bugs
3) Risk of slowing down other parts of the system
Let’s start with time 👇
Risk of impacting the performance of another feature of the system.
For example, that new database index might solve the performance of this one page you’re looking at, but it might also cause other, more important pages to now use a less optimal index and cause THEM to be less performant!
Or, automatically eager-loading most frequent relationships on your model, thinking “this should help across the whole app”, but ends up slowing down the rest of the system instead, because other parts don’t actually need all those relations loaded.
Isolate your improvements, learn the anti patterns of your framework, and consider the impact of your performance improvements on the rest of the system.
To summarise 👇
1
79
1) Weigh the cost of time against the potential improvement. Zoom out and think of how much time this will save per week, per month, per year.
2) Be careful not to introduce bugs. High risk, low reward? Don’t do it.
3) Ensure your improvements do not slow down other features of the system.
And finally, have an APM set up in production! Your local performance tests might not work out the same in production. Keep an eye on how things are going in prod, which is a great way to also figure out what’s worth improving in the first place.
📣 What are some of your tips and learnings for improving app performance?
80
When using queued jobs in Laravel, if the associated model is deleted before the job runs, it can cause errors.
To handle this gracefully, use the `$deleteWhenMissingModels` property in your job class.
This prevents exceptions for models expected to be occasionally missing:
🕋 Black Friday deal for Spike is up!
If your Laravel project is missing a way to charge customers, Spike is the perfect Billing Portal for you. Works with Stripe and Paddle, and switching is easy 😉
33% off until 2nd December 👇
spike.opcodes.io/
Just had a pesky bug with Laravel generating a new session on every page load, for some reason.
Turns out, one of our custom middlewares called “$next($request)” twice 🥲 whoops!
117
What a great review! ☺️
You can support me too by buying a coffee here — buymeacoffee.com/arunas/c/10…
Let me know how Log Viewer has helped you!
1
1
98
Check out the Log Viewer for Laravel here:
log-viewer.opcodes.io/
64
Arunas Skirius retweeted
i have been to a ton of conferences in the last year and each one has been so great, but i must say that Laracon was something special. I have never been around so many kind and encouraging people. @taylorotwell you have built something truly special and i am very honored to have been part of Laracon this year
Arunas Skirius retweeted
Looking for a Europe-based Laravel + Vue.js job?
Just met a friend at @LaravelLiveDK who is a team lead and is looking for devs.
Seems like a cool culture there!
All info here: careers.nordhealth.com/jobs/…
Arunas Skirius retweeted
Spike by @arukomp is a billing portal with credit management, helping you to offer one-time purchases and/or recurring subscriptions 💸 - madewithlaravel.com/spike












