Native PHP Open Sourced0:00
In the last few months, we've released two major versions of native PHP for mobile and a major version for desktop. These have brought incredible improvements to the entire stack of tools that we're building, and I wanna show some of them to you. Now, the first and most important thing is that now native PHP for mobile is completely free and open source composer require native PHP.
and open source composer require native PHP. Mobile is all you need as part of making it free. We've trimmed down the core of native PHP, so it only does really basic things to get all of the extra native functionality. You need plugins, most plugins will be free, others will be premium plugins like geolocation, and you can even distribute your plugins to other native PHP users.
Introducing Native UI Components0:58
and you can even distribute your plugins to other native PHP users. We've worked really hard to start bringing full native UI into native PHP as well, and you can start tapping into that. Today we've built some components that you can use in your apps, so a good place for those is in a central view file, such as your layout, that's going to be re rendered on every request. So here in our App Blade, we have our components
that's going to be re rendered on every request. So here in our App Blade, we have our components that actually being loaded by live wire in this case. So let's go and have a look at that component. These native components like this top bar side nav, and the bottom nav all get picked up by native PHP and rendered as truly native components that you see in the app right now. And you can see we're intermingling PHP code, normal blade syntax,
Simplified Hot Reloading1:53
And you can see we're intermingling PHP code, normal blade syntax, and it's pushing all of that through to the native side. Next, we've got a big upgrade to hot reloading. Hot reloading was a little bit complicated in previous versions of NATO, PHP for mobile, but we've taken the time to make it really easy to use. To opt into it, you just need to make some changes to your v config file. It's just three lines of code
Bioprost Cross-Platform Builds2:21
to your v config file. It's just three lines of code to bring hot reloading into place. In an earlier lesson, we talked about how your setup is going to define which platforms you can compile apps for. We wanted to smooth over as much of those cracks as possible and make it so that anybody using any platform can build apps for any platform. Bioprost is a build service.
apps for any platform. Bioprost is a build service. It will take your application, it will connect to your repository, pull in your code, and we'll build your applications for every platform, for iOS, for Android, and eventually for Mac, windows, and Linux. Two, it does way more than just compiling your apps though, and we've got big plans to make it go even further.
Jump Instant Device Preview3:10
than just compiling your apps though, and we've got big plans to make it go even further. Wouldn't it be great if you could just take your larva application and push it onto your phone without any complex setup? That's exactly what Jump does. So let's have a look and we've added this native helper, which I like to use. It's a shorthand really for Artisan, and it narrows the commands down
It's a shorthand really for Artisan, and it narrows the commands down to just the ones in the native namespace, so I can use this slash native and then just jump. So I'm just doing native jump. What that's done behind the scenes is create a bundle of our whole larva application that's ready to run on a phone. It hasn't compiled a native application, it's just wrapped up the PHP code and all of our assets
It hasn't compiled a native application, it's just wrapped up the PHP code and all of our assets and all of our vendor directory and all of that. And then it's opened this page. So I've installed the jump app here, and now on the development tab, all I need to do is scan the QR code that's on the screen, and now we've got access to all of the first party plugins and native functionality that comes with native PHP without having to download Xcode
and native functionality that comes with native PHP without having to download Xcode or Android Studio or any of those things. We've just installed an app on our phone and we bundled our Laravel application from our development machine and we're running it on our device. This is super cool for speeding up your workflow. Now, you don't have to install loads of stuff to start building apps and running them on your phone. You can demo projects really, really quickly.
to start building apps and running them on your phone. You can demo projects really, really quickly. A really cool thing is that it doesn't just run one app at a time. You can have multiple apps on the go in development, et cetera, all within that one jump app on that device. I just three finger swipe away from the app that I'm in, and I'm back to the jump apps kind of console. I can connect my rost account and I can choose the team that I want to connect to.
I can connect my rost account and I can choose the team that I want to connect to. And from there I can see all of my projects and I can go ahead and build any one of these and run it on my device. Within minutes. I can even choose the branch that I want to build from. The Jump app works on Android and iOS, so now there's no excuses for not being able to test your apps on both devices.
Mimi AI App Builder5:38
and iOS, so now there's no excuses for not being able to test your apps on both devices. The Jump app is completely free for both platforms, and the jump command comes as standard with native PHP version three. And the final thing that I'm proud to share with you is Mimi. Mimi is a part of rost. It's at ai. It's built on top of Claude Code and it lets you rapidly build applications.
It's built on top of Claude Code and it lets you rapidly build applications. This is so cool. I can type just what I want, or I can even say what I want my app to be. Choose my front end. If I'm logged into bioprost, I can choose which team it becomes part of and I just start building. When I say I just start building, I don't do anything.
and I just start building. When I say I just start building, I don't do anything. Mimi's doing all of the work. You can try Mimi at today. Just go to bioprost native PHP dot com slash mimi. That's MIMI. You can get started building your first project for free. You don't need to bring any API keys or pay for any tokens after your first few prompts. You'll need to sign up for a buy frust account,
after your first few prompts. You'll need to sign up for a buy frust account, and you'll need to bring your own Anthropic Claude API key. Let's have a look at a project that I've built or rather that Mimi's built for me. So as part of this course, we've been looking at maybe building a laracasts app, right? A few days ago, I asked Mimi to start building me a laracasts app, and within just a few minutes it came back.
to start building me a laracasts app, and within just a few minutes it came back. With this. I think this is incredible. I think AI is the future of software development, and with Mimi, you can get building native mobile applications and soon native desktop applications without having to do any complex setup of your local environment. To run all of this AI stuff, we've sweated the details so that you have everything you need to hand right here in a single interface.
that you have everything you need to hand right here in a single interface. You can preview the application, you can speak to Mimi and tell it to do things differently. It does everything that you need. It will write tests, it will run build tools. It'll refresh the preview when things have changed and it keeps you updated on everything that it's doing. You can dig into the files that have been updated. You can see everything as it exists in your project,
You can dig into the files that have been updated. You can see everything as it exists in your project, and then it's not stuck inside of Mimi. We're not holding onto your project. You can connect your GitHub account and your project moves immediately into your own space. Then you can do whatever you want with it. It's a Laravel project. It's got all of the packages that you expect to have installed.
It's got all of the packages that you expect to have installed. Anything that you've asked Mimi to do is already there and you can do whatever you want with it from that point. What's more you can preview directly from Mimi on your device. It only takes a moment to run a build and get a QR code. This is really powerful stuff. Now you can get going without any tooling at all. All you need is a phone
Now you can get going without any tooling at all. All you need is a phone and it to be connected to the internet. Soon we'll be adding Mimi into the Jump app, so you'll be able to build apps from inside, jump using Mimi, and then deploy them from jump through Biros to the stores. Thanks for making it all the way to the end of this course. I hope you enjoyed it. I'd love your feedback. Come and find me on Twitter.
I hope you enjoyed it. I'd love your feedback. Come and find me on Twitter. Come and join the native PHP discord. Come and join the community. Make ship happen.
