Laravelstream· May 24, 2025· 1:32:53
All right, I think we are live. Good morning, good afternoon, good evening to everyone who is joining us. We'll get started here in a bit just to give some people some time as they roll. I'm going to make sure that we're actually live on every place.
um we've uh looks like we have um a couple people joining in on on x on the twitter as well i don't know how many people out there still call it x or still call it twitter but uh it is what it is let's see on youtube there's a couple of uh folks joining us as well uh for those who are watching who are just joining.
This is hopefully going to be a regular occurrence. Don't know how often it will, but the goal is basically just to hang out with you all for a little bit, for an hour or so, and answer your questions. We code ORBIT. We are here. Well, nice to see you. Glad to have you here. Super excited to hang out with you for these office hours. Jorge, nice to see you as well.
I recognize that profile picture on on X or Twitter. Nice to see you. Hey as well. And then Nuno. Awesome. Always glad to have you have you join the the the goat the Nuno Maduro everyone. If you're not checking out his content on YouTube as well be sure to be sure to check it out. Like and subscribe for our channel and then like and subscribe for Nuno's channel as well. Matthew
Miranda. Nice to have you here as well. Hello, hello. And then Ashley, Ashley, great to have you here as well. For those who don't know, Ashley has been doing some awesome stuff within, uh, in the, in the Laravel community, specifically with stuff like MCP and, um, and, uh, what that looks like within Laravel. I think he even has a, uh, Wisp PHP, which is like a Laravel PHP.
it's not Laravel specific it is a PHP SSH server and it's it's really really awesome Victor what's up nice to see you Jay what's up watching from Guyana nice to see you glad to have you here this morning or this evening this afternoon wherever it is for you individually Kenya events nice to have you here thank you so much for joining it's awesome to see people from
all over there all over the world i am from arizona in the united states so i am in the it is it is warm outside for me right now it is morning i'm not a morning person but i'm always happy to to jump on with all of you and and get to get you guys give me energy so i'm super excited arslan nice to see you uh tj punyapal nice to see you as well laravel forever let's keep shipping
let's go awesome the nilsen from angola nice to have here i apologize if i mispronounce anybody's names as well most of the time i'm pretty good at them but i also uh i might just misread it so i apologize i apologize in advance but yeah glad to have you all here uh we'll probably just get started um uh is this working dan i hope it's working uh we'll we'll see uh hopefully you might
see your own comment and maybe that was just a test to see if uh to see if your comment shows up uh it looks like you're on vacation with the palm tree at least in slack i think that's the the uh the default palm tree like hey we're out of the office emoji um but if you're joining from vacation hopefully your vacation is going well um yeah but glad to have you all here like i said uh when i
start uh dan said that was that was a great pink test yeah i don't know the exact uh what the latency is between when i see it and when it actually or when you type it when it actually shows up but anyways glad to have you here i think on x it might be a little slower than youtube i think youtube is technically fastest when it goes for like latency anything like that we don't have any delay set up so whatever delay is actually happening is what youtube and linkedin everything
just have out of the box. But yeah, we're super excited to kick off this office hours. The goal is mostly to, one, hang out with you all, two, answer your questions that you might have. I'm not going to have all of the answers. I'm not going to be, I'm not going to just know right off the bat anything that you all bring up, but I'm going to try my best. And two, maybe we can point ourselves in the right direction. If I can't answer it, we have a lovely support team, a fantastic support team,
who is willing to help answer that with us, even if we kind of have to take it offline. But the goal is hopefully just to get as many of those initial questions out of the way as possible, or just things that you might have to think about, especially in regards to deploying to Laravel Cloud, maybe even domain registrants. Those are the things that I usually see when it comes into tickets that are coming in within Laravel Cloud.
But if there are questions that you might have about Forge, Nightwatch, there's not too many questions I can answer for Nightwatch that aren't already kind of answered out there, Laravel Vapor, or just anything else about Laravel, I'm happy to kind of just answer them. I think the goal is to be a transparent open book this morning. And so, like I said, I'll do my best to answer everything, but we can always just work through things together and hopefully just have a chance to hang out, learn some things,
maybe even maybe just have some fun chatting as well. Yeah, just Steve King, everyone's favorite front-end dev. Hey, Josh, I don't know if that means I'm everyone's favorite front-end dev or you are or maybe everyone. like i think there's a bunch of everyone's favorite front-end devs in the channel well we'll just go for that or nuno i don't know if nuno can be considered a front-end dev
uh bobby um or i think it's bobby i don't know if it's bobby but bobby uh any other awesome news i don't think so other than i'm i'm super i'm super pumped for the things that are coming out of the Laravel team and for the things that you are going to see at Laracon US. For those who have the opportunity to show up to Laracon US, the tickets are on sale. I'm super excited for that.
I'm super excited to, one, get to go to Laracon US. Last year was my first time going to Laracon US and I was planning on going even before I got hired on the Laravel team. And then now I get the opportunity to go as part of Laravel team and interact with folks like you who I've just known online who are show up in this in these comments on the channel so yeah if you have the means to go
and have time off or your company is willing to like help pitch in for a little bit it is absolutely incredible I love being able to meet people there and it was just an absolute blast last year. So many cool people around. I agree. It's been awesome. Ashley is best. Okay. Ashley. Yes. Ashley is this one. This Ashley right there is, is awesome. Samuel. Nice to see you. Glad to have you here this morning, afternoon, evening, wherever it is for you all. I guess that's a good
question. It is my morning for everyone in the chat. It is what, what time is it for you evening? Are you staying up late? Is it middle of the workday? And I don't tell your employer what's happening. What's what's up? Is it morning, afternoon or evening? Let us know in the comments. Prexia. Hello. Sounds more insightful. Thank you. Any hints, the new updates coming to forge? I unfortunately don't have any of those since one, because I probably couldn't talk about
them and might get fired if I do too. I don't really know too much. Honestly, there's there's stuff that I do know. um one i think it's just i think i'm just super excited for what's going to be announced at laravel cloud uh but yeah no no new updates unfortunately on my end uh hey if possible share experience about auto scale okay we can talk about that auto scaling in laravel cloud
and experience um i don't have personally too much firsthand experience but we can talk about what that looks like and then what things to look out for especially when it comes to uh, terms of pricing and stuff like that. Any new secret projects? I'm actually trying to think I'm not, I'm not lying when I say, I don't think there's any new secret projects. There's some smaller things that I'm excited that are kind of like in the works. Uh, but, um, and most of that
is going to be open source stuff, but nothing, nothing new, uh, secret projects beyond that, that I that I know of at least hello and good morning from India nice to see you I got to go to Laracon India for the first time in when was that February March I can't remember exactly I think it was in February I'm excited to see the Laravel updates well glad to have you here
Mahesh awesome we have a lot of people I'm gonna try to get to all the comments or all the questions at once. MySQL DB ready on cloud. So MySQL is, is in the sense ready. There are people who are using it in, in production environments for that. I believe we still have it flagged. I could be wrong, but I believe we still have it flagged as, as like a developer preview,
mostly because, you know, there's, there's things that we just want to make sure we have completely 100% you know ready for for you so it's something that you know we is ready for you to use in Laravel cloud but we still have it marked as developer preview mostly just to give you an idea that there are some things that we might want to change and improve on upon that how to
use ShadCN with Livewire there really is no ShadCN with Livewire ability in the sense that you have like the specific frameworks or libraries that are html dependent for shad c for livewire that's not livewire specific but the closest thing you're probably going to get with shad cn with livewire is what the livewire starter kits use within uh laravel so all of these starter kits
use the free version of livewire flux which was built by the creator of livewire and looks and feels a lot like what you would expect from something like Shad Cien. Awesome. We have all the times, everyone. 6 p.m. from John. Nice to good evening, John. Jorge's 4 p.m. Ryan's 8 a.m.
TJ 11 0 8 a.m. from NJ, New Jersey. I was like, I was like, hopefully I'm trying to think if that that's like an actual country and not a state but yeah new jersey dan 11 a.m 8 a.m 8 38 p.m in india 6 10 p.m in dubai that's one of those that's like half hour difference oh no india is the one that's
half hour difference that's what it is uh pedro 4 p.m from lisbon awesome so many people in the chat it's great to have you all here we'll try to get some we'll try to get some uh uh try to get all these questions answered. And if not, we're just going to jump right in. Again, like I said, for those new who are joining, this is hopefully going to be a regular occurrence in the sense that it's an opportunity for me to get to hang out with y'all and just to kind of riff and answer
some questions. But two, mostly just to be able to get to learn together. Like maybe there's some things that we can kind of troubleshoot together. And if you have questions specifically about Laravel Cloud, about Laravel, about maybe just things part of the Laravel ecosystem or community, I'm going to try my best to help answer them this morning in the time that we have. Do I answer hard questions regarding Laravel Octane? I guess that's a good point.
I probably don't know too much when it comes to the intricacies and in-depths of Laravel open source or like framework stuff. A lot of that is probably going to be best answered. And we have like an unofficial Laravel Slack channel or a Discord that a lot of people would know or maybe even in the github is probably um going to be a great point as well but i could
probably find the person who would know that question um let's see let's see let's see good morning good evening everyone uh we have what would live in your routes.ai.php file taylor did tweet that for those who are unfamiliar with like this phrasing taylor tweeted what would live in your routes slash ai.php file um that could be a hint to uh what might be coming up in in new
laravel things as well um let's go ahead uh let's see let's see um any idea when the sydney region is opening in laravel cloud taylor mentioned it was likely a next region win during the stream with primogen i've been checking daily i don't think there's a specific date as to when i know the Laravel Cloud team is working hard to find additional regions, not just Sydney, but other
ones as well to say, and just kind of making sure that we have everything in place to not only be able to deploy there, but also to have every single resource that you're looking to, to create and host there. And that's really like the biggest, the biggest thing that the folks at the Laravel Cloud team are working to, to happen. Awesome. 12, 11 from Brazil, 12, 11 from Brazil. Wow. staying up late if that's i think brazil now i think that's still 12 11 p.m i believe in brazil
11 a.m in detroit 12 11 p.m yep from brazil there we go uh 10 p.m from thailand so you're probably one of our latest ones i believe thailand nice to have you here um and tessa i love that the office hours are live well glad to have you here uh uh tessa is on twitter and x yeah i'm super excited to try to get this this up and running and mostly just be able to hang out answer questions
maybe dive into some things as well let's go ahead and i'm going to i'm going to share my screen and we can talk through a couple of things together now that a couple of questions are kind of popping up as well um let's go ahead and see again for those just joining in as well if you do have questions regarding level cloud i'll try to get my my best to one answer them two to see them and
try to try to pop that pop them up on the screen so we can kind of answer them together so i'm gonna share my screen and we can get going here
All right. Let's go ahead. And for some reason, I didn't select the right one. That is not the one I want. This one. There we go. Awesome.
so uh for those of you who are new um john it'd be funny to for to have me try to speak russian i don't even know where i would start honestly so i don't know if it'd be funny or just embarrassing for me and anyone who is actually uh is actually russian um but yeah glad to uh glad to have
everyone here as well um uh how can i implement qr code reader anyone able to help um great question luis uh yeah built an app with laravel live wire how can i implement a qr code reader anyone able to help we probably can't help with that live on stream but i'll kind of help point you in the right direction um i would say the first thing to kind of look for is basically a qr
code reader, there's probably a package for one. That'd be the first thing I'd look to implement. But in one sense, QR codes are just text, but formulated in one specific image. So it's just finding the right package. There's probably either a JavaScript package that works with native browser tools in the sense of using the camera within a browser, or there's probably one
for PHP as well, but it's probably going to be a JavaScript package that you'll have to reach for. Wondering how to cancel a queued job. Bobby, is that for Laravel Clown specifically, or is that going to be for just maybe where are you hosting this, this queue job? I'm curious
with that question all right let's go ahead all right your question we have from advance is there a way to go custom on Laravel cloud running a multi-tenant application with multiple databases with
custom domains and subdomains per tenant i would say there there is a way to do that it's it's something that you would probably have to think through yourself in the sense of um where those domains or how how often currently there's no way to drew custom domains in the sense that um you could have you can't you can't have multiple domains per um application at this time
uh but if you had subdomains like let's say you have a subdomains for your main domain if i have example.com or let's say if i have this this curate one on my screen if i if i had a domain attached to this one i could have multiple uh kind of like wildcard subdomains for that and be able to then route based off of that but in terms of custom domains and multiple of them per application
that's not something that's possible as of right now awesome and and for everyone uh kind of seeing on the screen yeah my camera's doing some weird thing with like uh the green glitch so that's not you that is me uh it's probably some uh weird setting that i um or just overload of my system at the time so that is not you that is that is me um let's go ahead and
see okay abroad laravel is highly recommended how important is it um yeah that's a i guess that's a that's a great question is how how important is laravel it kind of depends on uh what you're using it for so like uh laravel is built to handle high loads when you're using it for um anything like an api or you can use as a full stack application to be able to serve and render
your application using using front-end technologies whether that's just server rendered templates like laravel blade or using live wire or live wire or inertia on the front end i'm going to go ahead and and hide my screen. I wonder if that's like kickstarted where my fragments on my screen
were coming from. Very interesting. Yeah, we'll bump to share my screen here in a little bit. I'm just going to try a different way to do that because it looks like that's what was causing some of the issues as well. But yeah, keep bringing in all those questions while I look to try to fix that but yeah the goal of being able to answer some of these questions is going to
one get to shed more insight onto what other people might be struggling with and what you know there are some things to kind of think through when it comes to deploying within Laravel Cloud but then also but then also the ability to have the ability to be able to chat with you as we talk through all these things as well um jorge josh is in the matrix
yeah i think that eventually stopped emil can you show how to add more advanced npm v stuff having multiple v apps in the repo okay this is a great question let's go ahead and jump with that i'm going to uh share my screen a different way and maybe we can see if this works the way i want it
so let's go ahead and sweet awesome so this should be a little bit better um we'll go ahead and say so there's kind of like two things to kind of think through when it talks about when we're talking about advanced npm and beat stuff and so what emil is talking about here is i have this app uh curate in my laravel cloud application and when i go into an environment um in the
settings, we're going to have the ability for deployments to say, I want to have specific build commands. So we can do stuff on the node processes. So we have things out of the box. We have npm ci, audit false, we have npm run build things. These are things that are given to us out of the box from Laravel cloud. But there's more things that we can do both here in these build
commands with things that are actually talking to the deployment process and talking to the actual server itself. So one of the things I always like to bring a note of is in our documentation in the knowledge base tab. And then if we go to this mono repo support, this is the one I kind of always like to point to. Mostly,
It doesn't specifically answer your question, Emil, but it also does point to the opportunities that there are to kind of go deeper into what can be possible within this. So basically, a lot of people would like to do advanced NPM and Vite stuff within Laravel Cloud by having multiple repos. If they have one repo that you're attaching to Laravel Cloud, but that repo has multiple apps in it, well, how do we deploy that?
well maybe you have you know a front end that's being deployed elsewhere but then your back end Laravel is also in that same repo and here's like some code that can walk you through what that might look like as well and in the sense of saying okay we have our a temporary repo and again these build commands that we see here in Laravel cloud they really just are interaction with the server
that you have. Now, we don't have full interaction like SSH keys and stuff like that. But at the same time, you do have this little step process to be able to talk with like a temporary, temporary folder directories, as well as, you know, your specific repo that that Laravel cloud is downloading and hosting for you. So this is basically just saying, you might have a specific subdirectories, a repo folder that we want to move in order to make this happen, even if the root directory is
not the Laravel application. So I would say this is more, okay, in this sense, it's probably not much advanced NPM Vita for hosting Laravel Cloud, but this shows that this is possible in the sense that there is a lot to think about and a lot to also have the ability to do when it comes to hosting on Laravel Cloud. Let's go ahead and take a look back at the comments
let's see when deploying laravel apps to the cloud how do you balance between performance optimization and cost efficiency this is a great question you're queuing me up irhan i'm glad to have you here in the in the chat as well but let's go ahead and let's try to tackle tackle this
together. So the first thing that I like to think through, let me kind of pull this up. Actually, I'll go ahead and do this layout right here. Okay, the first thing that I like to kind of think through when it comes to cost efficiency, as well as optimization. First, there's going to be a great YouTube video on the Laravel channel by Chris Sev, who is our director of DevRel here
at Laravel. And Chris has a fantastic video talking about five tips on how to save money, basically, with hosting with Laravel Cloud. But the first things that I like to kind of point out and think through is this screen is kind of going to be your source of truth. Within the environment, you have this grid, this screen to be able to say, okay, I can see at a glance everything
that is happening. One thing that I like to note is that within Laravel Cloud, resources are not specifically created and exist only within a environment. So in that sense, if I was to create a database right here, and I was going to create a new database, and I want to call this Curate, because that's the name of my app, and let's go ahead and say that this is, we'll just keep it
has a serverless postgrad. Okay, well now we have specific configuration options that this is like a dev environment versus a pro environment. And I'm just going to go ahead and create that database cluster. Now we created this database within this particular environment, but the resource itself lives outside of our specific environment. So if I was to save these changes, I'm just gonna save them only
not actually deploy these particular changes. But let's go ahead and look at our main team. So this is my account. And if I go to resources, I now see that I have that database. So we have this curate database. So it lives outside of that environment. Because if I was to go into this application here, take a look at that. Maybe I, and that application already has a database
attached to it. But if I was to go into, let's see, if I was to go into, we'll do this application here. This is a little sneak peek at what we're whipping up at Laravel as well. So no spoilers, but maybe a little bit of spoilers. I can actually attach that database to this new environment.
a bunch of glitches i apologize everyone uh that is not you that's me um so what this means here uh what this means here is when we create an a database it's going to live outside of that environment that we created on it just gives us a neat little button to click to create it and of course we can add existing ones we can have specific database sections living within a full
database resource. So one, that is the best way to save money when it comes to a database, because you're using the same resources, especially if you select a MySQL database, like if we were to create a new database that is a MySQL database, and you have multiple apps using that database, that's going to be one way to save resources. Another thing to think of is that database is there's ways to have hibernation. So when it comes to balancing performance optimization and
cost efficiency. The biggest one is going to be in terms of how you are utilizing your hibernation of settings, as well as the hibernation settings of maybe your database as well. So if we go into edit for like this app environment, we see here that we have the ability to set no replicas, but a specific size. And then we also have the ability to set custom replicas, so a minimum and
a maximum of specific replicas and maybe that could be a smaller size and so this is where it kind of depends on what your resources are and how horizontally you need to scale in terms of your application we do have a pricing calculator on laravel cloud that allows you to kind of look through uh it kind of gives you some tips and tricks and just some things of like okay if i
did have multiple replicas of let's see for the flex class maybe i had this specific flex um and i did want it to right now this is not hibernating but i didn't want to hibernate and i wanted it to hibernate for i don't know 80 of the time and then this is what it's going to kind of look like if you're using like the pay as you go, the free, the $0 plus costing plan. And so that is one thing to kind of think through is, okay, using the price calculator
to kind of calculate what you might be using in the future. But another thing to think through is that hibernation feature of being able to turn the hibernation feature on. That's going to be specific for the application environment. Now, this is also going to include, so any request that hits this environment is going to trigger that hibernation, that sleep off.
But this is a great way to, a lot of times people use hibernation for if they have an application that really only serves a lot of requests during work hours or serves a lot of requests during the weekdays, but not during the weekends. then hibernating your application is going to be one of the most cost efficient ways to kind of keep this going. Because if you're not running any queues, you don't want to, or you just don't necessarily even have any web traffic to your application,
then hibernation for like this is perfect. I'll also say that when it comes to the database, if you are using the serverless Postgres database, you have opportunities to say how much this is hibernating after specific seconds. Now, the wake-up time for a Postgres database is going to be a lot faster than your application,
mostly because those cold start times are a lot quicker within a database usage rather than an application resource itself. So I would say that this is a better way to kind of bring that down, especially if this is okay to do like within like work hours versus um days which with the
application environment would be as well now when it comes to cash it's kind of same thing as the um the database resources how they live outside of your environment so as much as you can if you are in need of a cache maybe it's just using the database for a cache like that's probably going to be one of the most cost efficient ways to do that. But if you do need a dedicated cash, then I would say make sure to because they start at $5 per month on the with while hosting your
cash on Laravel cloud, again, you're not locked in to keep to have this cash available on Laravel cloud. But you do have the ability to use that cash across multiple environments, multiple programs or multiple projects as well. Yeah, so I think that's something to keep in mind is like environments are their own entity, but most of these resources, any buckets, any caches, any
databases are going to live outside of those environments and can be used in conjunction with multiple environments. That's one of the easiest ways to save money. But a lot of times, it's also one of the things that you might have to think through is, okay, maybe that database is still being connected to somewhere and I don't necessarily need that database connected and so maybe that database just needs to be destroyed because you don't necessarily use it anymore.
Let's go ahead and I'm going to take a look through some of the comments as well. Will reverb on Laravel Cloud be similarly easy to implement like EGBucket right now? I don't have specifics on what reverb on laravel cloud is going to look like i know that it's something that is you know on the forefront of our level clouds team's mind on what that looks like right now but yeah i would imagine just like with everything else that we kind of
shoot for when it comes to implementing things in the level cloud it's going to be as easy as possible but yeah super excited for when that when that time comes as well is there a way to switch apps between organizations i do not believe so at this point um um i can we can kind of like a
double check be sure to email the support team or uh um on laravel cloud just to see if that is possible i don't believe so though at this point or if it's something that we can't we can't do manually, but I don't believe there's a way to switch apps between organizations. Right now, they kind of live in this organization, and I believe it's all attached to that organization,
mostly because it's billed per organization. If you create a new organization, you're asked to kind of set up billing for that specific account as well. Let's go ahead and see. uh chris has don't leak the flux i'm surprised you caught that chris um i only showed half of it
but yeah that is uh if for those who are using uh live wire flux and um let's go ahead for those who uh for those who are using live wire flux the easiest way and the docs of live wire flux actually say it as well. But you can use the if you have paid for a live wire flux, like the full version,
there is a way to activate it using the cloud. And that's going to be in the build commands. So Chris was referencing that I showed it was showing half of it, I think my email, for example, and then it showed like maybe two or three characters. So you can't steal it because you didn't see the full thing um let's go ahead and see what other questions are coming in um let's
see regarding composer npm stuff the mono repo stuff jag deep i think maybe that got cut off i wonder how can i code review the security of laravel itself can we do that without laravel test test i mean if developer doesn't write clean or code according to security optimized great question, Wally. There's probably multiple ways to do it. And it's kind of just going to depend on like your specific preference, as well as like what your company or what you are looking for
within that. Security is kind of separate from like testing in the sense that security, you can't really have automated stuff that's like, oh, make sure that this is just secure. There's no easy way to do that. What I would say is within testing, you have to make sure that you are testing to make sure, oh, this route cannot be accessed unless you have this particular policy.
Or this particular controller method cannot be performed unless you have the correct authorization. And so that's really where something like Laravel Pest for testing can come in to make sure that those security purposes, those security tests are actually created.
And then same thing with like, it's great to have something like PHP Stand or something like PHP Rector to be able to say, okay, is this code as modern and as simple and as efficient as possible, which helps with that too. um let's go ahead akram hi hello from pakistan glad to have you here everyone thanks again for
for joining so much uh it's been awesome to just uh just be able to hang out with you all and answer these questions as well thank you again for joining for those who are just joining we're kind of starting this office hours time to be able to answer your questions hang out a little bit dive into some things within laravel cloud or other parts about laravel but yeah be sure to like and subscribe this video helps within our Laravel channel to make sure that we're
getting to as many people as possible so that would help us as well but yeah thank you so much for being here if you're in the morning night evening whatever that might be super excited for you all as well and yeah Chris mentioned you'd recommend looking up Stephen Reese Carter he has a website with great info try searching for securing Laravel I believe there is a Laravel cast episode from Stephen Reese Carter. I believe it is free.
I don't know completely if that is the case, but it's fantastic kind of talking through, okay, what are the absolute basic things you have to think through when it comes to security within Laravel? Is it possible to install all the requirements an app needs? Example, Spotsy Browser Shot, which means Puppeteer. If not, what cloud tech is preventing it? That's a great question.
Let me go ahead and pull up my screen as well. I can't necessarily talk to what cloud tech is preventing it. I do know that there are a lot of things. Let's go ahead and say like PHP extensions. There are a lot of PHP extensions that we install out of the box for you within each individual one.
um so these are a great kind of resource to say okay these are available for you and again you mentioned you mentioned browser shot which needs puppeteer so this necessarily isn't a great answer to your question but for those who are uh looking to use laravel cloud but you're like oh i need imagic or i need uh you know the zend opcash or whatever that might be there are php extensions
that Laravel Cloud supports and installs out of the box for you within that environment. Now, when it comes to additional things, something like me as Puppeteer, which would be part of the node environment, I don't necessarily know the full limitations in the sense that I don't know if that's necessarily on the roadmap or if it's something that has been discussed. I know it is something that is requested a lot, and so the team is definitely aware of
it. But it's more one of those things that how can we make this efficient as a possible for everyone? How can we give the right people the right permissions and the right set of customization so that you do feel that you can have that kind of customization, but it doesn't hinder it for everyone else who might be hosting within Laravel Cloud as well. So I would say
definitely keep checking um definitely keep checking the official like uh twitter or any kind of like level resources such as like our youtube channel as well because i do know that this is something that is probably going to happen um i just don't necessarily know when but it is something that the team is definitely looking at or at least aware of at that point as
well. Let's go ahead and see. I don't know what Chris was answering, but Chris in the comments said you can use the same DB as long as it's in the same region. If it's a different region, you can still use it, but it will be slow and needs to be configured manually, I think. So I don't necessarily know. Okay, this was the answer to is it possible to use the same database server
across projects with different databases defined inside of them so yes as long as it's the same region everything should work fairly similarly but yeah different region would like like chris mentioned it probably would need to be configured manually at that point and you do have within laravel cloud you do have the ability to if i was to pull up my cloud resources well i'm not going to
leak them. But if I was to view these credentials right here, you do have the ability to have those credentials just given to you. So you can connect to this, you know, from a different application, even if it's not in that same region as you had, like if it's in the same region, same region and same organization, it's as simple as just attaching it to the environment. But if for whatever reason, you do need to, you know, link to that resource,
Wherever that resource lives, you can view those credentials and connect to it just like you would any other database. Is MySQL available? It is. So if I was to create a new database and create it with MySQL, I'm going to share my screen again. Apologies for that. So yeah, Laravel MySQL is available. We just still have it configured as a developer preview.
it's not recommended for use in production folks are using in production for those who are for those who are who want to use it it's kind of just more of a use at your own risk in that sense that it is it is something that we just have still marked as a developer as a developer preview and that's one of the things that we kind of mentioned here in the docs as well as in the application just to know that within mysql that things might change one in how it's deployed but then also
So maybe like stability as well. But that's something that the team is actively working on. And it's something that a lot of folks are actually using it in production too. All right. Let's see what else. Other questions, everyone. Thanks again, everyone, for being here. Super excited to have you all. Let's go ahead and see. John, Jean-Pierre.
Hello, I'm new to cloud, but with Laravel Cloud, would I be able to access the server, for example, to the NGINX configurations? Unfortunately not. That is not something that is accessible at this point in time. So basically, the only configurations that you have within your Laravel Cloud server are specifically going to be through the Laravel Cloud UI. So anything that needs to be configured when it comes to what kind of domain you're attaching
or what kind of like what's the those hibernation settings or how much scale a specific app environment is going to be doing. That's all going to be done through the Laravel Cloud UI. So no like SSH connection at this time for Laravel Cloud. All right. How do you overcome the bots calling your site?
will this impact hibernation or a cloud fair cache handle that it's never going to be 100% accurate in the sense that you know there's always going to be stuff that happens like cloudflare which is something that Laravel cloud uses out of the box within your within your setup so we basically the the cloud any app that is hosted on Laravel cloud uses cloudflare as a globally distributed caching and network security and so basically any of those
incoming HTTP requests, usually they have to go through these security layers like a DDoS mitigation, as well as any kind of like web firewall layers. And so if, you know, Cloudflare itself is not even going to be 100% and catch all of those bots 100% of the time, but any app hosted within Laterville Cloud is going to have that mitigated using the best technology possible,
in my opinion within within cloudflare um ashley says steven is great plus 100 yes steven is great especially for those security questions uh i've learned a lot from steven and i think everyone here can too um i don't get it why i need 20 monthly for level cloud just have the privilege to use custom domain yeah i get it right i know that this is kind of tough to um tough to know
within like the production is like, yes, the production does give you more than just the domain. So you do have additional included resources with that as well. And it's, it includes more than just the domain itself. So it's one of those things where the pay as you go and the $0 plus any kind of resource that you use within the sandbox plan is going to be great, especially if you're just needing to test it out. But yes, custom domain is going to be attached to the
production to the production plan uh thanks chris and josh for clarifying security might is something like htaccess got removed and envis public some kind of security we faced recently okay yeah that makes sense um yeah and with that uh i think that means like security within laravel cloud um i would say a lot of that is just kind of uh up to you so like whatever you do within your application is going to be deployed and configured like we don't try to catch that but
we do by default, an application that is deployed to Laravel Cloud, by default is going to have the app env of production. So you do have to have a little bit of manual work to override that. So if there is an issue, most of the time it's probably going to be something that, you know, you're either doing on intentionally or something that is just might have been missed locally as
well. So I think Laravel Cloud tries to prevent that as much as possible, especially within using like the saying, any application that gets pushed to Laravel Cloud is going to be a production application, even if it's not. Ashley, thank you for this answer. Emil probably needs to use Sidecar with BrowserShot for now. I had great skits for that. That's a great, great option as well. So for those who don't know, Sidecar was created by Aaron Francis to
kind of be able to host something like a node process on AWS, but being able to attach it or connect to it easily within your Laravel application. So if you do need stuff like that, I know that I've used Sidecar myself, even with hosting with Laravel Vapor, there was stuff that I just needed to have an additional resource attached. And this is great for it's kind of like a microservice kind of thing for your Laravel application.
Lim, great work on Laravel. Make it a lot easier to use PHP. Any plans to add more features to Laravel Forge? There are a lot of plans to add more features to Laravel Forge. Taylor has kind of mentioned how updates to Laravel Forge are coming. uh it's not something that most people think that oh laravel cloud is going to replace laravel forge that's not the case laravel cloud and laravel forge live together in harmony they are for two
distinct purposes and they are both fantastic for the purposes that you need and so uh be on the lookout for updates to laravel forge but you're going to see most of them um most of them will probably be teased before them but most of them will also probably be as shown on the lara con us
stage um come uh july um awesome uh well david thank you so much for the the com the comment and the compliment i appreciate that glad to have you here um uh chris any thoughts on neom being purchased by databricks i don't personally have any thoughts unfortunately um i uh i think it's I think it's great for everyone involved.
But yeah, those are my personal thoughts. I don't think that we have an official stance as a company as well. A tip for everyone worried about cost, deploying app and look at the usage after a couple of days, easier to try and test instead of worrying too much. That is my AWS strategy as well. Thank you, Emilio. That's a great strategy as well. It's one of those things where, and for those who don't know, let me go ahead and share my screen back again. If you go into any one of your environments,
let me find a good one right here um what you will see is one metrics is going to be one of those things that's a great test to see okay how many requests is this particular application doing this is just a demo environment so you're not going to see too much here but this metrics tab shows within 24 hours seven days or 30 days and that does give you at least a little
indication of like, okay, how popular, how popular is this one? How much traffic am I actually hosting to? But then there's further steps that you can take within Laravel cloud to just actually at least start to review what this might cost you as well. So one of the, one of the things that you can look at is if you go to your, your whole organization, you have that usage as well,
But then you also have in your invoices tab, you also have the ability to see what this preview might look like here too. And so that's the ability to say, okay, what does this look like particularly for your application as well? Let me go ahead and let's go ahead and bring my screen back just now.
Can you change the main database as defined in the credentials dialogue? I don't know. I don't necessarily know what you mean by that. CCY. Main database. Are you referring to? Are you referring to the like changing a database structure?
So like Laravel Postgres, you want to migrate it to Laravel Cloud. Let us know what you mean specifically by that as well. Doctor, hello with best solution to self-hosted monitoring for Laravel. Yeah, I guess like there's probably a bunch of different options.
One that like it depends on how in depth you need for for self hosted monitoring. There's probably a bunch of different resources out there as well. But within like the Laravel first party ecosystem, you have Laravel telescope, which is not recommended for production. But within locally, that's something that you can kind of have built into your application to say, OK, this is what this looks like locally. And then you can test that a little bit further in production. There is Laravel Pulse, which is self hosted.
And then in the future, it's not going to be self-hosted, at least to start, but it's not going to be. But Laravel Nightwatch is going to be coming out soon as well. Let's see. Hi from South Africa. Glad to have you here at Leonardis. And CCY, the database name and the database credentials dialogue. I see by default it is main. That's actually a great question.
why don't we figure that out together? Actually, I don't know off the top of my head if that can be changed. Why don't we try it out? So if I go into here, into our main database, I want to detach it. Let's go ahead and create a new one. Yeah, I believe only the cluster name can be changed here. And then if I was to attach a database
and attach a new database, this is where I can create a new database within there. So I believe that that main, you can adjust it from the resources tab within your environment. So resources tab, I believe, so this one's main here. I don't know if we can, yeah, we can't edit that specific main after we create it. So it looks like once you create it, then you have your specific cluster name
that you can give it. But then the only way to change, at least through the UI, you probably can change it by connecting to it through a database GUI and change that specific name. I know that that's what I did for this specific CloudDB, for example. But anytime you attach a new resource to a database, like a new environment or a new project to a database, you have the ability to attach a new database to that cluster. And so that's where you can change the name as well.
But I would say a lot of these things, you don't necessarily have to rely on the UI. It doesn't look like we allow you to change that from this UI, but you can connect to it from a database GUI to let that happen as well. Any plans to support BUN and PMPM as a by default package manager other than NPM? I don't know if there are any plans for that, unfortunately. Not off the top of my head.
um i can i can ask around i'll make a i'll uh i'll try to make a tweet about it just for to try to answer for this question i don't know if there are any plans specifically um but yeah that i know that a lot of people on the cloud and laterville team are huge fans of bun and pnpm as well wasn't aware of adding the multiple dpns in the cluster like you just showed they answered my question looks great love the content awesome glad to have uh one glad to have you here ccy
why and also glad to help in that resource so that yeah so any um any resource whether it is a database and i'll go ahead and share my screen again so i you're not just looking at my face while i'm talking about it but any resources whether it's a database or a cache or object storage looks like i don't have any of those created on this account but any resource can be shared across multiple environments multiple projects um so even uh so one of the things and
and you might know this as well, but if I was to create a new environment and I wanted to, let's actually do this with a different, let me go ahead and create this. If I was to create a new environment and I want this to happen here, any new environment that I give, let's go ahead and
make this dev. Any new environment now has the ability to attach to that resource as well. So whether that's a database, a cache, or a bucket, even if I have two environments, a main environment, or a dev environment, I can attach those already created resources and then just create a new
database name underneath that cluster. So this one, I'm just going to create a database here of dev. And so now I have the dev named database, but it's all living within that one cluster. So that way, that is one of the easiest ways to save money, especially within resources, because if you have a MySQL database or a Postgres database that has a lot of connections,
so it's not hibernating as much and caches are expensive. So as much as you can use and utilize one cache across all of your applications, the better it's going to be. And then it's just as simple as, okay, maybe one application is using that cache too much. Well, it's as simple as maybe detaching it and adding a new cache for that particular resource, that particular environment, or you just up the cache size. And so that's one way to kind of keep everything
as cost efficient as possible because you're just sharing resources across your application, across your account. Awesome. I wonder how powerful PHP Native and Laravel Cloud will be. That'll be very interesting to see. I got the chance to play around with PHP Native myself just the other day.
um i it's very very fascinating very interesting and pairing it like with the with an api let's host on laravel cloud is going to be going to be incredible and even um i have a react native application myself that also has a laravel api that is hosted on laravel cloud um and i think laravel cloud is fantastic not just for the full stack applications but even for the apis as well because it just makes it super simple.
I actually had a video on the Laravel official channel that talks about using Next.js within Laravel in the sense that using Laravel as an API for Next.js. And in that, we hosted that Laravel API on Laravel Cloud. And it was extremely simple to basically just get that up and running and to accept connections from Laravel Cloud.
um let's go ahead and see if there's any other questions that i missed again thank you all so much for uh for being here and for just kind of hanging out as well i want to go through uh setting up uh account mostly because a lot of the questions that come in through our support channels as well as things that i see online uh relate to attaching a domain to laravel cloud It is one of those things that domains can be finicky in and of itself.
They can be tricky sometimes. It can take three minutes sometimes, depending on propagation, depending on your DNS server, depending on so many other factors. I don't even know all of them and what it means or what's going on behind the scenes most of the time. But it also can take up to 24 hours a lot of times, too, for that propagation to take effect.
So I figured we would go and attach a domain to an existing resource that I have in my Laravel cloud account just to see if everything, see how, see what kind of issues we might run up against and see or see how seamless it is. Doing it live is a great example of what you might need to expect or to think through. I don't think there was any other big ones. So we can jump right into doing that.
or Trevor says, can you create a Nux 3 module for Laravel Echo? Yeah, first of all, Nux 3 and their modules are fantastic. I know that there is a module already built for Sanctum. I don't know if there's one built for Laravel Echo yet, but I would believe the Use Echo hook, which is specific for Vue and React that was just released by the Laravel team, can be used within Nux as well.
There's nothing inertia specific within that. It is view and react specific within the echo JS library. So that should be, while it wouldn't be as clean, maybe as a module, it's a, it's a package specifically for view and react as well. So let me go ahead and share my screen. I can actually show that as well. So if we go to the use echo, we'll go echo Laravel again. Let's do it. Let's do it live.
So I haven't pulled this up beforehand or anything like that. But in the broadcasting environment, there's a new video out on the channel by Christoph that talks about this in a little bit more in depth. And so this would be specific for JavaScript front end, your client side, to connect to Echo to say, one, I want to listen to things and what happens when I listen to it.
basically providing you a function, a callback to say when something happens within my echo broadcasting environment. Well, now I'm listening to that anyways. I believe you should be able to use this with Nuxt, I believe. There's nothing specific about it. So basically, as long as that configuration settings for your pusher or reverb channel are set up properly, and this is how you
would do it within view for example you make sure that that echo is configured but then it's as simple as let's go ahead and find those documentation as well but then it's as simple as this use echo hook for view to say okay and and again i might be
completely wrong based off of my understanding of Nuxt, but I think all of this can be used outside of inertia, outside of Letterbell. So you just grab this setup view, import echo, and if your echo, like I said, is already configured to connect to your reverb server, wherever that lives outside of your Nuxt application, then you just use this use echo hook. And it's as simple as listening to that particular broadcasting event and then doing something with it on the back end. So maybe not
as clean or as uh maybe nuxt-ish as a module but still extremely simple and this just came out last week i believe yeah last week uh yeah so be sure to be sure to check that out trevor if you have not already uh joe reverberman cloud i know i know it's something that a lot of people are are hoping for the team is not the team is aware of how important something like this is i don't
have any clear dates or when that might happen or what it even looks like but i know that it's something that the team is hard at work on um will night watch just be a tick box to enable in laravel cloud i um i don't know if that is something that's going to happen right at launch um but i know that it is something that's you know both with laravel cloud and laravel forge that the team wants to be as seamless as possible and right now honestly the the setup for laravel night watch
is extremely simple, extremely painless in the sense that you basically install the PHP Artisan Nightwatch command, or you install the Composer package, you run the PHP Artisan Nightwatch command, you basically connect to your specific API key that is given through Nightwatch, and you're basically good to go. So yeah, a tick box to change those three steps might be more helpful in that sense, so you don't have to change your environment, but I believe it's probably
going to be extremely simple regardless if that checkbox is there on day one. Let's see. Is there a reason to change from a $10 web post-it with SSDBs and 260 gigabytes? Again, Simon, Simon D'Angelo. It kind of just all depends on your specific needs, your specific purpose,
And then also just what you want out of hosting. So if you are someone who wants to help to manage everything, to make sure that everything is properly, if you're the one that's going to be on call in the middle of the night, something breaks, then there's no reason to change. Like there's a reason why Laravel Forge exists, for example, because there are people who want to handle that.
And I have even some applications that they just work best within a Laravel Forge application. And then there's some, especially like demos or just things that I either don't want to care about if it goes down or uptime or anything like that. Then that's what I'm going to put on Laravel Cloud. So it just depends on your specific needs, your specific use cases. and on the Laravel Cloud landing page, there's also a great kind of comparison
between when you might want to use Laravel Cloud versus Laravel Forge as well. Again, it's not a us versus them thing. We're all, it's all part of Laravel anyways, but it's one of those things where it just depends on who you are and what your application needs. And then it also just depends on how much do you want to be in charge of handling it and how much customization do you want? Because if you do want that customization
and being able to manually SSH into something and change it, well, right now, Forge is the best option because you can't do that within Laravel Cloud, too. From a pure cost-efficient standpoint, especially if it's something that runs consistently but not that much resources, you're probably going to be cheaper using Laravel Forge, even using the Laravel Forge subscription price per month.
Can I use this hook without inertia, just API backing and pushing and React? I believe so. Again, there might be someone in the comments who might correct me. But as far as I know about Echo and about the specific use Echo hooks that were created by Joe Tannenbaum on our Laravel open source team, Yes, they are completely separate from any front end through through Laravel, similar to like Wayfinder.
Wayfinder is separate from inertia itself in the sense that Wayfinder is the ability to have typed routes and typed action calls. But yeah, you can use that hook without inertia. It would just be setting up your echo configuration to make sure it's connecting to the proper configuration.
So you would have to have that setup happen outside of a Laravel application in your own, whether you're using like a Nuxt or Next or whatever that might be. But it is entirely doable. How is best solution for use no SPA mode? Big modular inertia system.
system. Yeah, so Inertia has the ability to have SSR mode. And even within Laravel Cloud, the ability to set up. So if I go into this app environment, let's say I had Inertia set up on this particular app. We'll reset that. We have the ability to use Inertia SSR just with a click. It's basically pre-rendering your JavaScript pages on your server. And so SSR
and inertia specifically is going to be, if you didn't want to use the SPA mode within inertia, then SSR is going to be a great option. But the good thing is none of your actual modularity and none of your code structure is going to change. It's as simple as really like thinking through, okay, is this something that I want to be server rendered? And it's more of like, does your application need it?
and less about, okay, how do I work with it now that it's enabled? For almost everything, it's not going to change your code at all. What did I miss? Rob, well, glad to have you here. We're still going. We're still going strong. We've been live for an hour and 10 minutes now. I think in my schedule-wise,
I think we'll maybe have another 10 minutes or so to wrap this up or 10, 10 to 15 minutes or so to wrap this up. But glad to have you here. You didn't miss too much. Mostly we're just been hanging out, answering some questions, talking through Laravel Cloud and resources like that. I think the biggest thing that we've kind of come to agreement on or maybe like a familiarity and interest on throughout the conversation has been that resources in Laravel cloud,
especially for cost efficiency, can be used across different projects. So you can use one database for 10 different projects and save a bunch of money as well in the process. But yeah. uh yeah simon thanks for the answer normal laravel view with github actions sweet yeah i think as far as i know again i can i can be wrong i'm not all knowing and i'm not
100 right on everything um but i think there's no reason that you can't use those use echo hooks As well as just yesterday, there was the use stream hooks that were released by the open source team as well. So let's go use stream Laravel. Let's go ahead and here. Oh, there it is.
So use stream hooks easily streams in your React and Vue applications. So just really bare bones, not bare bones, but really a minimal or very early start of this use stream hooks. But it was something that I know that was tweeted about by a couple of people yesterday as well, Taylor and Joe Tannenbaum. But basically you have this ability and we can look at the documentation here.
If I was to do, let's do the view one since that's what you're kind of mentioning. but you can consume streams in your view application so it's currently in beta like I said subject to change prior to that but similar to like that use echo hook where you have the ability to say okay let's say we have this chat stream I want to do x y or z in that I want to when I'm sending this to whatever that stream looks like it's basically just a post request
again all requests are sent as json post requests so this is something that can be used outside of inertia it doesn't have to be using inertia it makes it easier in a lot of ways to use as inertia but you can set these specific headers csrf token credentials and if you're doing that within a view single page application or nuxt completely doable so yeah those are those are some small
things that you think you think oh that doesn't make sense that Laravel would spend time working on them when it's not super specific to Laravel but it is in a lot of sense as well too this just makes it easier to work with a Laravel API or a Laravel back end regardless of of how you're
serving up that front end. Um, uh, I can't see any regions roll out on the Laravel clouds. I can a rollout page be added to give hope for people in other regions. That's a great, great, uh, question showstopper. I will, I will bring that. I know most, some of our Laravel team is watching right now and probably taking notes, um, as, as well. And so I think, um, that's something that, you know, I will definitely bring, bring to our team and would be awesome to know for,
for others like yourself to know um if this is something that you should hold out hope for i guess or what is next in terms of what people are looking at again i think the biggest um just to kind of give some insight i don't know 100 the reason why i i'm not part of the infrastructure cloud team but at the same time i know that a lot of the the dip not difficulty but a lot of what all goes into adding a new region to laravel cloud and even things like laravel vapor
um means that we have to make sure that all of the resources that we create that we use when it comes to building out an application when it comes to using um something like postgres or mysql or any of those resources the database cluster uh the the cache cluster or the the buckets all of those have to make we have to make sure also can exist in that region as well not just the application infrastructure but yeah i'll definitely bring that up to our to our team as well
uh matthews big fan here josh uh matthews i'm a huge fan as well for those who don't know uh matthews is now on the uh um on the laravel team so we're glad to have him here and uh he's he's putting a lot of work into into laravel cloud so he knows probably more about uh all of those questions i answer than i do um so yeah glad to have you here matthews huge fan as well uh trevor
another question can i i really love the variable reverb uh i don't know why i started over that i really love laravel reverb but when you leave the level starter kits and try to use it with another framework like flutter for mobile it becomes a big conflict that that makes sense i i know you know anything that you're using something else outside um of you know an api it becomes
tricky to to connect to that um i would say so reverb is basically just pusher pusher friendly so i'll try honestly i've not used flutter so this might be entirely wrong but i would look at flutter packages that are uh google pusher friendly because it is the same uh infrastructure i don't know the right word it's not coming to my head but it's the same setup it is compatible like pusher
compatible, just like a lot of bucket configurations are S3 compatible. Reverb is pusher compatible. So you'll basically be using any pusher compatible package within Flutter. You just change those settings to make sure that it is reverb. So if you have a reverb server hosted on Laravel Forge, you should be able to connect to that using any pusher compatible Flutter package. Again, Not something that I've tried specifically or use Flutter myself.
I have not even used React Native or anything like that with Reverb. But that might be something I want to dive in and try because that would be very interesting to me. Thanks for answering all my questions. Thanks for being here, Showstopper. You literally stopped the show. But yeah, as we kind of wind down, I wanted to just deploy an application with a new environment on Laravel Cloud.
I'll freak out some of our cloud infrastructure engineers who have worked on the domain side of things. And we'll just do it live and see what happens as well. But just so everyone knows, domains are finicky in and of themselves in the sense that it can take 24 hours to propagate. So I don't think that this will be up. This might not be up and live within the couple minutes that we have to just try it out. But I wanted to show what it looks like to add a domain to a specific environment.
So I have this main environment right here that I want to add a domain to. And so if we go into settings and domains here, I can add this domain here. Now, one of the things you click on learn more and we can pull up our docs. One of the things I always like to think through when it comes to domains is one is if you have this domain verification timeout page on our knowledge base docs,
is going to be extremely helpful for you because there's some things to think through. One, you have to make sure that you're redirecting both the www.as well as the at. Usually most DNS providers have it as an at, which is the example.com. But then you also have to make sure you push the www record because what Laravel is kind of doing behind the scenes is redirecting www.to your example.com domain.
And so if you didn't add an entry for that redirect, then it's just going to fail because it's trying to redirect something that you don't have an entry for. Another thing is using Squarespace as a DNS provider. And I don't know if Squarespace is the only one, but at least there's probably others that are not super popular that might be this way as well. But basically, Squarespace automatically adds the example.com or the .example.com to DNS verification records.
So you don't have to add the full thing that Laravel Cloud gives you. Instead, you would just omit the example.com. And these docs kind of show that as well. And then lastly, there's sometimes when a domain is flagged on Cloudflare, which is what we use for domain verification. Sometimes when it's flagged as like improper or it's something that, you know, there's a potential abuse concern or something like that. If that is the case, again, that's very rare.
But if that is the case, reach out to our support team within Literal Cloud and we can make sure that that is the case. Now, again, it might just be as simple as it takes about 24 hours for global DNS providers to propagate a domain. And so if it's past 24 hours and you're still seeing something like, oh, this looks like it successfully happened using external DNS tools, but it's still showing as validating or timed hours or something like that, that's when it's good to reach out.
So yeah, don't reach out five minutes after because it's probably just you have to wait longer. Every now and then, like it takes five minutes for me to set up a domain. But then every now and then it takes 14, 24 hours sometimes. DNS can be finicky like that. So I want to add this. I have this curate.ai domain. I'm using Namecheap to do it, but I was figuring why don't we push this through together to show you the process of what it looks like
And just like any hiccups that might happen along the way. Again, live coding something or just like live setting something up. There's always going to be stuff that just naturally happens. And so here I'll kind of talk through like the process of what happens behind the scenes. So we have the ability to support this domain or support all subdomains. This is basically saying if I want to in the future, I've done this for my personal domains. A lot of times for like a lot of demos, I want to be able to say, okay, a new project that I have.
I just want to be up and ready to say this is now blog.curate.ai, but it's a completely new environment. It's a completely new project. Well, you wouldn't have to go through this process again if you supported all wildcard subdomains. For right now, we'll go ahead and support it. And then this is where we like redirect. So again, that's that setting that I talked to you about that is the www.needs to be redirected to the root domain. We're going to add the domain. So
it's going to give us some options to add. And this is what I can then use on my Namecheap account. So it needs to verify the ownership, but we have a text record and a CNAME record. Let's go ahead and we'll grab this. So let's go ahead and in my Namecheap account, we need a text record that we add. So I'm going to manage this one right here.
in advanced DNS. I want to add a new record and we're going to add a text record. And the value is this. Let's go ahead and bring this up here. So I have at the same time. And then that was the name. This is the value. Let's actually do this side by side. See,
see if this works all right add new record we'll add a text record here the name is going to be this and the value is going to be this we'll save changes um we'll add a new one text record name cheap looks terrible on the small of a screen but the good thing is Laravel cloud looks really good and uh apologize to any front-end engineers from the Laravel cloud team who are on the call because
it's not meant to be this small of a screen. But they did a great job. It looks great, huh? So we'll do this and we'll plop in this value, save changes. Then we have a CNAME record we can add. So CNAME of this. We'll do this and this value, bam. And then we'll have another text record.
and so we'll add this right here text record bam and then bam and so i think that is all correct we have exit that one so we have the the text record for the acme challenge we have the cname record hosting to this these values so everything looks correct there and so basically um the the next
step within Laravel Cloud is exactly kind of like what we talked about. It's just kind of like waiting for, I might've accidentally closed out that one. The good thing is all this happens behind the scenes for us. So it's not like I have to have that page open for me. If I go back into my main environment and go to the domains, we should see that this is, it's verifying that ownership. Again, this can take up to 24 hours. I don't know if this will be ready for us even before we end the stream today. But while we're waiting for this, we can look at these.
I'll look at these spinners kind of behind the scenes. Let's go ahead and answer some more questions. We're probably going to be wrapping up here in the next seven minutes, but thank you so much, everyone, for being here as well. If there's any other big questions, whether about Laravel Cloud, Laravel itself, again, I try to answer them as much as I can, as good as possible. I am not the sole source of truth for everything knowledge-wise when it comes to Laravel, but I at least might know a little bit enough to point us in the right direction as well.
I want to know about more about cash memo. I'm really looking forward to your video about it. Kyle, glad to have you here and thanks so much for supporting. Yeah, cash memo is very interesting for those who don't know. I'll kind of pull up my screen and kind of take a look at it as well. But if you go to the cache settings of, oops, cache memo settings of Laravel, we have this ability to, very similar to if you have used Livewire and you have computed properties,
we have this ability to temporarily store these resolved cache values in memory during a singular request or a job execution. And so this is going to save resources. Basically, just like it says here, it prevents the repeated cache hits within the same execution, significantly improving performance. And so if you have something that you're like, um, within that same request, you are accessing that cache multiple times, or at least checking
for that cache multiple times. This memoized cache basically takes that cache and makes another for all intents and purposes, another little cache within that, that cache itself. So you're caching your cache in a lot of ways. Um, it's, it's storing that resolved cache value. So the first time you grab it, you are resolving it, you are taking it from the cache itself, but then it's
being stored in memory for that request for that job execution. Again, I can't think of the top of my head and someone in the chat might be able to say, hey, this is a great use case for this, but a single request, I can't think of the top of my head of when might be a good example of that in terms of a request that you're probably, you know, using that value multiple times, or at least retrieving that value multiple times. But within job executions, it's a perfect use case for this
within a single job, I grab something from the cash. I don't want to within that, maybe it's a, maybe it's like further down the job, or maybe it's like an if else statement where if something happens, I need to go back and grab that cash and grab that. Instead of having to do all that work beforehand and saving that to a particular value, this just memoizes it. So now that value is going to be memoed. It's going to be stored in memory
so that you can use it throughout your application. And you can also do that within putting values as well. So it's written to the underlying cache, but it's also memoized as well. So like this one, writes the underlying cache, memo, git hits the underlying cache, and then memoize does not hit cache is right here. So the next time you get it. So this is writes to it. It hits the underlying cache and then this one,
if you get it a second time, because we called it again, it does not hit the cache. So again, a great way to kind of just stop a foot gun from happening. If you're trying to hit the cache multiple times, this is the best way to do it. But yeah, full video would be awesome because me personally, off the top of my head, I don't know other than jobs. I don't know of like a best way that's practically this comes into be, comes into play. And I know that this was created for a reason.
And most of the time, things that were created were probably for the Laravel team itself. So I'd love to dive into that a little bit more myself as well. By the way, I really appreciate you answering all questions without just picking the ones that you like. It's not coming out. Well, thank you so much, Treasure. I appreciate that. Again, like I said, we try to be an open book. here at Laravel. There's some things I'm just not going to know. There's some things I am going to
know, but I can't tell you. But most of the time, we try to just be as transparent as possible without me losing my job, I should say. Cal, thank you for your time with the explanations. I appreciate that. Ryan, will Laravel become a domain registrar and allow me to purchase a domain directly on cloud at some point? I actually don't know if that's even been talked about. I mean, obviously, it's probably something that the team has probably thought about at one point of reason in time um i don't know if that's something that's in the future um and if i do
it's probably something that um or and if it is in the future i i don't know it probably would be further in the future um but there's a lot of things that we would i think the cloud team has more focus on i'll say it that way the cloud team probably has more things that they're focusing on um that make cloud better than the domain registrar purchase at this point um yeah great question because it's like, like I said, anything that I answer here, there's, it's probably going to
change. A lot of things change development changes, but, uh, uh, uh, I try to try to answer as best to my knowledge and I did not prepare for anything beforehand. So I try to just, just say what I, what I know. Um, and you might see tweets from Taylor saying exact opposite and that's okay because he's the boss. Um, but yeah, let's go ahead and check back into the, uh, Laravel cloud domain. I'm curious of if anything changes. So it's still verifying ownership.
If we click into that, you can see here that it's continuing to do that. And so, like I said, it can take up to 24 hours. It really depends on your DNS. It just depends on that DNS provider. Like I'm using Namecheap. Sometimes, like I said, it takes five minutes. Sometimes it takes a little bit longer. This was more meant to show that if there was some errors that showed up, it'd be nice to try to walk through them with you, but we haven't gotten any errors yet. So that's a good sign. It's probably just DNS propagation doing DNS propagation things.
Awesome. I think there's a few more questions and then we'll go ahead and call it for the day. How will SSL for the custom domain work? Can you import the SSL certificate on the Laravel Cloud UI? So I believe SSL is kind of already given out of the box within Laravel Cloud domains. I don't know. Let me do a quick search. Import SSL. I don't think there is a way
at this point in time to import an existing SSL certificate for that domain. I could be wrong about that. If that is something that you absolutely need, be sure to write into our support team. I don't know the correct answer off the top of my head, but SSL is given for custom domains out of the box within Laravel, within Laravel cloud.
I'll try to get to everyone's questions, but I'll try to wrap up here in a little bit as well. So I apologize if I do not get to your questions, but thank you so much everyone for joining in. Bruno, hi from Uruguay. Thank you so much for joining in. Lots of questions about the cloud from Kayo. I think it would be cool to have a live with the cloud infrastructure guys. That is a great option. I know that we've talked about a little bit like within our Reddit AMA. A lot of those questions still hold true. Those answers still hold true with Joe Dixon, who is the lead engineer on the cloud team.
But yeah, I think this is a great, great point. Something I'll bring up to the team as well. Difference between cache and sessions. So cache is going to be stored externally, usually like in a separate table. So like you can use a database cache or something like Redis. and then session is going to be stored in memory as well. Kenny has a huge Laravel fan base, hosts Africa's first Laravel. Who knows?
I know that Laravel meetups are something that we're wanting more and more people to host their own Laravel meetups and be able to have that opportunity. So we never know when opportunities like that might arise. Yeah, we'll call it there, everyone. Thank you so much again for everyone who joined, everyone who hung out in the chat i really appreciate it and just loved hanging out with
all of you um and just uh appreciate just being able to to walk through this as well um and then chris did answer for showstoppers as far as i know it'll be a new certificate issued and managed by cloud fair via laravel cloud no need to use let's encrypt or pay for ssl yes that's correct if you did happen to need your own ssl certificate i know some people need that for whatever reason for their specific domain. And I don't think existing SSL certificates are supported, but let us know
in support if that is something you absolutely need. But yeah, thanks so much for joining again. If you want to click that like and subscribe button, that helps us that way. And the next time we go live, it just pushes the algorithm and all that kind of stuff that helps push it out to as many people as possible. But thank you everyone for joining, for being here. I really appreciate everyone and i just like hanging out with all of you as well so yeah uh thanks kayo thanks chris
hopefully you have a fantastic rest of your day evening night morning wherever you are have a good night's sleep have a good day and we will see you next time on level cloud or next time on laravel channel um i think there might be a uh some some more live streams as well as some more videos coming out shortly so make sure to to stay tuned for that and hopefully to see you all at laricon
so have a great day