PHP 8.3 / Laravel 11 support
I was trying to setup our Laravel project, it runs on the latest PHP/Laravel version but I could not find it in the services list. I think I have to set up a Ubuntu container?
21 Replies
@Jan Saidl can we add 8.3?
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Hi, I'm working on it. 🏃♂️
PHP 8.3 + nginx released and ready to build and deploy. 🎉

I'll send you some tips / examples how to run Laravel app tomorrow, it's just couple small things thats needs changing, like outputting logs to syslog instead of files
Wow that's so cool, thank you guys!
I got these errors when I try to create the service, with a blank dialog

Yay it works now 🙂
I'm sorry, I only made the import option and forgot to create the service directly. It's fixed now.
@Puub @sylverix I'll have a laravel 11 example with laravel jetstream ready today
it showcases:
- filesystem / upload to our object storage
- sessions and cache in redis
- postgres db
- idempotent migrations
- smtp mock service (Mailpit) for local development
- healthchecks
@Puub @sylverix give it a try https://github.com/zeropsio/recipe-laravel-jetstream
Whew I pasted the import script and it just worked, super easy!
I like the setup with seperated containers
it could be improved still, some of the env variables could be in zerops.yml and we are also working on an improvement where nginx config can be just pointing to a path, instead of writing it directly in the import
I'll also list of the manual changed I've had to make to make it work, there are some laravel quirks.. but it should be a decent starting point 🙂
btw I also made this today https://github.com/zeropsio/recipe-umami
it's a recipe for this https://umami.is self hosted, privacy / gdpr friendly google analytics alternative
Interesting!
I want to host them all but the only downside is that it's somewhat pricy for amateur/hobbyists due to the minimum of 0.5gb/1gb ram per container (after the generous free credits will expire) 😅
But I can imagine that was decided to establish a profit margin
You can go as low as 256 MiB of RAM per container, but we had to increase
minFree
(how much free RAM container has to have before it starts scaling up/down) to 256 MiB due to some issues with Ubuntu. That is why even with 256 MiB container always scales to 512 MiB.
So it is currently just a technical limitation that should be fixed some time soon (or at least users should be given option to set MinFree themselves).Aah good to know, thanks
Also, the 1 GiB you might think is a minimum is just a setting in the recipe.
You can go into the UI and change Automatic Scaling and same with your own imports, you can set different values.
yea, we can't quite afford to offer a free tier, the way each project is set up with all the dedicated balancers and core containers it's quite a lof of resources, but compared to say render.com, fly.io, railway.app and other popular moderm paas:
- resources costs around half of you pay on other services
- there are no resources packages with jumps from 2 to 4 to 8 gb with fixed amount of cores, our scaling is fine grained (0.25 GB RAM, 0.5 GB Disk, 1 core)
- there are no "tiers", you don't pay for "seats", you pay $5/m flat per one project with all the features unlocked (if you really want to save on costs, you can put all your projects and apps under a single Zerops project) + for resources your services use
so it's not free, it's not quite as cheap as some contabo/hertzner VPS, but we try our best to make the pricing afforable, fair, transparent and dev-friendly
Yeah understandable, sounds well thought out
fyi @Puub, we've actually decided to lower the pricing by some 25%-40%
before:
now:
and we also implemeted advanced scaling setting, that will allow you to keep services even on 250 MB RAM

Woah that's amazing! Now I'll definitely move my VPS to Zerops services