Trending

#NativePHP

Latest posts tagged with #NativePHP on Bluesky

Latest Top
Trending

Posts tagged #NativePHP

Post image

Experimenting with NativePHP to build a mobile app with Laravel.

Starting with a focused budgeting app to leverage the stack I already use.

First build already running.

#Laravel #NativePHP #BuildInPublic

2 0 1 0
Preview
Ultimate Guide to Build Mobile Apps using NativePHP (Now Open Source!) Hey Laravel devs! Imagine shipping iOS and Android apps using your PHP skills — no React Native or Flutter learning curve required…

PHP + Laravel for native iOS/Android apps? NativePHP v3 is FREE & open source! Build offline-first mobile magic. [Tutorial + code inside](codermanjeet.medium.com/ultimate-gui...)
#laravel #php #coding #programming #nativephp

1 0 1 0
Post image

Finally got @FilamentPHP running inside a native mobile app — all thanks to @NativePHP 🚀🔥
Never thought I’d see my Filament panels loading smoothly on iOS like this.
This changes everything for my Laravel + mobile workflow.

Onward to Phase 1. 💪📱

#NativePHP #FilamentPHP #IndieDev #BuildInPublic

11 1 2 0
PHP Alive And Kicking Episode 13 - Shane and Simon
PHP Alive And Kicking Episode 13 - Shane and Simon YouTube video by PHP Architect

Last night @ccmiller2018.bsky.social and I talked to @shanedrosenthal.bsky.social and Simon about @nativephp.com and more

www.youtube.com/watch?v=Omx0...

@phparch.com

#PHP #NativePHP #Laravel

1 1 0 0
Preview
How to sign your NativePHP Android App for the Google Play Store This article explains the basics of getting your NativePHP application to the Google Play...

How to sign your NativePHP Android App for the Google Play Store This article explains the basics of getting your NativePHP application to the Google Play Store. Before you begin, you will need to ...

#nativephp #php #laravel #android

Origin | Interest | Match

1 0 0 0
Preview
Frontend Mentor | Weather app coding challenge Build a responsive weather app with search functionality, unit conversion, and detailed forecasts using the Open-Meteo API.

#FrontendMentor are running a #hackathon around a little weather app that consumes the open meteo api. This looks like a great wee learning project for #NativePHP #PHP

www.frontendmentor.io/challenges/weather-app-K...

0 1 0 0
Preview
NativePHPを使ってスマホアプリをLaravelで作成してみる | Nな人のWeb示録 Nな人が行き詰まったときに調べた解決方法をまとめたエンジニアTech Blogです

#NativePHP#スマホ #アプリ を作る!!
公式ドキュメントだけだと全然準備が足りなかったので、まとめてみた

WebもPCアプリもスマホアプリも
#Laravel / #PHP で作る時代に!!!

nnahito.com/articles/128

1 0 0 0
Preview
PHP on My Mobile Phone? | PHP Architect How hard is it to create a mobile app for this?....Very by Scott Keck-Warren

My article on #nativePhp for mobile is out in the July issue of @phparch

#phpc #mobile #laravel

www.phparch.com/article/2025...

0 0 0 0
Video

At this point, I'm only playing with CSS ^^

viewport-fit=cover
.select-none
.backdrop-blur
env(safe-area-inset-*)

#NativePHP #Laravel #Livewire

1 0 0 0

Really enjoyed @scottkekwarren ‘s #php community corner podcast on #NativePHP. Doubtful I’ll ever build a mobile app, but that we can run #laravel on our phones is really cool. #ThingsWeCanDo

0 0 0 0
Preview
Laravel + Electron = Native Power: How NativePHP Works Under the Hood NativePHP is opening up a new era for Laravel developers—bringing the elegance of Laravel to the desktop world. But how exactly does it all work under the hood? In this article, we’ll take a peek behind the curtain and explore how **NativePHP blends Laravel with Electron** to deliver powerful, native-feeling desktop apps. ## 🔧 What is NativePHP, Really? At its core, **NativePHP** is a Laravel package that allows you to build desktop applications using familiar Laravel syntax. But rather than reinventing the wheel, it cleverly leverages **Electron** , a popular framework that powers apps like VS Code, Slack, and Figma. So what NativePHP really does is: * Act as a **bridge** between Laravel (backend) and Electron (frontend). * Abstract away the complexity of managing Electron from Laravel. * Let you define window properties, menus, tray icons, and more in pure PHP. ## ⚙️ Under the Hood: Key Components Let’s break down how NativePHP works internally: ### 1. **Laravel as the Backend Brain 🧠** Laravel serves as your API/backend engine. It handles: * Routing * Controllers * Views (via Blade or Inertia) * Business logic * Authentication The frontend in Electron communicates with this backend just like any web app would. ### 2. **Electron as the Window Renderer 🪟** Electron launches a Chromium instance that loads a web view, powered by your Laravel server. This is what gives it a **native desktop appearance** , while still being web tech at heart. Your Laravel app gets rendered in Electron like a website inside a browser—only it's now your own custom window. ### 3. **The NativePHP Package as the Glue 🧩** This is the real magic layer. NativePHP handles: * Electron lifecycle (launching, quitting, reloading) * Window creation and customization (`Window::open()`) * Interactions like opening new windows, setting icons, etc. * Serving your Laravel app to Electron on a local port (typically `localhost:8000`) It hides most of the Electron config in favor of clean Laravel syntax. ## 🧱 File Structure Overview When you install NativePHP, it introduces files like: app/NativePHP/MainWindow.php config/nativephp.php The `MainWindow.php` class is where you define your primary app window, while the config file lists all your app windows and NativePHP-specific settings. ## 🔄 Serving the App Here’s how the pieces fit when you run the app: 1. `php artisan serve` – Starts Laravel on a local port. 2. `php artisan native:serve` – Boots Electron, points it to Laravel's URL. 3. Electron loads the Laravel view and displays it as a native window. ## 🧪 DevTools, Hot Reload & Debugging NativePHP gives you access to Electron's DevTools for debugging JavaScript and frontend views. It also supports hot reloading, so when you update a view or backend logic, the Electron app reflects changes immediately. Window::open() ->devtools(true) ->resizable() ->url('http://localhost:8000'); ## 📡 Communication Between Electron and Laravel Need to send data between the frontend (Electron) and backend (Laravel)? Here’s how it works: * Laravel APIs (routes) respond to HTTP calls from Electron. * You can use Inertia.js, Livewire, or Vue components. * Electron can also execute native OS functions via Node.js scripts. ## 💻 Why This Matters Before NativePHP, building native apps required you to learn: * Electron + Node.js * Inter-process communication (IPC) * Packaging, window management, etc. Now, Laravel devs can skip all that and: ✅ Use the skills they already have ✅ Create true desktop apps ✅ Access native OS APIs ✅ Bundle and distribute cross-platform apps ## 🚀 Recap * NativePHP combines **Laravel + Electron** to create native desktop apps. * Laravel handles routing, views, and logic—just like normal. * Electron renders the UI as a desktop window. * NativePHP glues them together with a smooth dev experience.
0 0 0 0
Preview
Exploring the NativePHP Directory and File Structure Once you've installed **NativePHP** in your Laravel project, you might notice a few new files and folders appear. But what do they do? Where should you write your code to customize the native behavior of your desktop app? In this article, we'll take a deep dive into the **directory and file structure** of a NativePHP project, so you can understand what’s going on and where to go next. ## 🧱 The Basics After running: composer require nativephp/electron php artisan native:install NativePHP scaffolds a few things to integrate itself into your Laravel project. Let’s look at the key components it adds or modifies. ## 📁 Key Directories and Files ### 1. `/app/NativePHP/` This is the **heart of your NativePHP application logic**. #### 🗂️ `MainWindow.php` This file defines how your desktop window behaves. Example: use Native\Laravel\Facades\Window; public function boot() { Window::open() ->title('My Native App') ->width(1024) ->height(768); } Here, you can: * Set window size * Set title * Control the initial route/view * Enable dev tools * More advanced behaviors like multi-window support You can also create multiple window classes if you want to open several independent windows. ### 2. `/config/nativephp.php` This configuration file allows you to customize NativePHP’s behavior at the app level. Some of the options you’ll find: 'url' => 'http://localhost:8000', 'windows' => [ App\NativePHP\MainWindow::class, ], Here, you can: * Define which windows to load * Modify URL source (local vs. remote) * Set options for production builds ### 3. `/resources/js/native/` (Optional, if using JS UI) If you're using Vue, React, or any frontend JavaScript framework, NativePHP can work with those too. You might choose to organize frontend-specific logic here. ### 4. NativePHP Artisan Commands NativePHP brings a few new Artisan commands: php artisan native:install // Set up files php artisan native:serve // Launch Electron window php artisan native:build // Package the app You can think of `native:serve` as the "run app" command during development. ## 🧰 Optional Files NativePHP doesn’t force you into any directory structure beyond what’s necessary. But for more complex apps, you might create: * `/app/NativePHP/Tray.php` – to control system tray behavior * `/app/NativePHP/Menu.php` – to manage native menus * `/app/NativePHP/Notifications.php` – for system notifications * `/app/NativePHP/Hotkeys.php` – to register global hotkeys * `/app/NativePHP/FileHandlers.php` – for drag/drop or file integrations These are **not mandatory** , but organizing them like this keeps your project clean. ## 🖼 How Laravel & NativePHP Connect Here's a quick map of how everything ties together: [ Laravel Routes ] ↓ [ Blade / SPA View ] ↓ [ NativePHP Window (MainWindow.php) ] ↓ [ Electron Shell ] You can continue using: * Controllers * Middleware * Blade templates * Laravel Mix / Vite * Eloquent & DB Just like you would in a regular web app—except now, it runs in a native window! ## 🧪 Bonus Tip: Debugging the Window You can enable dev tools like this in `MainWindow.php`: Window::open() ->devtools(true); This opens up the familiar Chrome DevTools within your Electron shell. ## 📦 When You Build for Production When you run: php artisan native:build NativePHP uses Electron Builder to package your app for: * macOS (`.dmg` or `.app`) * Windows (`.exe` or `.msi`) * Linux (`.AppImage` or `.deb`) The output is placed in a `/dist` folder, ready for distribution. ## 🧭 Wrapping Up The NativePHP structure is surprisingly simple, yet extremely powerful. You don’t need to learn a new way of building software—you just enhance your Laravel apps with native power.

Exploring the NativePHP Directory and File Structure Once you've installed NativePHP in your ...

dev.to/therahul_gupta/exploring...

#nativephp #php #laravel #desktop

Result Details

0 0 0 0
Post image

It's 2:09 AM, the last day of @phptek, can't sleep, and more importantly, I can't stop thinking about #NativePHP.
Welp, I guess it's fine to fire up a new project and play with NativePHP for a little while.
#phptek

0 0 0 0
Preview
NativePHP: Building Mobile Apps with Laravel At NativePHP we are pushing the boundaries of what PHP is capable of. Check out how simple it is to get started building your next side project or your company’s app.

🔥 We are going LIVE in less than 1 hour! 🚀

Don’t miss @shanedrosenthal.bsky.social diving into 'Building Mobile Apps with Laravel' using @nativephp.com.📱

🕒 9:00 PM IST

Unleash your coding potential! 🌟

#Laravel #PHP #NativePHP
🔗 youtube.com/live/KCY5Oxb...

1 0 0 1
Post image

🚨 Happening Today! 🚀

Join the Laravel Spotlight live stream with @shanedrosenthal.bsky.social as he dives into "Building Mobile Apps with Laravel" using @nativephp.com! 📱

📅 April 30, 2025
🕒 9:00 PM IST (3:30 PM UTC)

Level up your Laravel skills! 🔥
#Laravel #PHP #NativePHP #iOS #Android

2 1 1 0
Preview
Build Mobile Apps with Laravel At NativePHP we are pushing the boundaries of what PHP is capable of. Check out how simple it is to get started building your next side project or your company’s app.

🚀 Laravel Devs, don’t miss this! Join my Laravel Spotlight live stream! 💡

@shanedrosenthal.bsky.social, the genius behind PHP on Android, dives into "Building Mobile Apps with Laravel"! 📱

📅 April 30
🕒 3:30 PM UTC

Level up your Laravel skills! 🔥
#Laravel #PHP #NativePHP
youtube.com/live/KCY5Oxb...

3 1 1 0

If you're running a #PHP or #Laravel meetup and are looking for sponsorship, please feel free to DM me 👍🏼

Looking to keep on spreading the good message about #NativePHP 📣

And y'all know how much I love pizza 🍕

12 1 3 0
Post image

PHP devs be like 😂 #NativePHP

5 0 1 0
Preview
Building NativePHP for Mobile YouTube video by Punyapal Shah

Watch live on YouTube 🙌
youtube.com/live/GPZ5fAt... #NativePHP

2 0 1 0
Post image

Laravel Devs, Join the Laravel Artisans Meetup! 💪

@simonhamp.me ( @nativephp.bsky.social Co-creator) on making PHP work on iOS + Android update. 🤌

📅 Mar 28, 9:00 PM IST (3:30 PM UTC)

#Laravel #PHP #NativePHP #IOS #Android

6 2 1 0
Preview
ファイナルフロンティア - IT関連ニュース 【 #ITニュース 】iOS/Android向けNativePHP、早期アクセスプログラムへの参加申し込みを受付中 #NativePHP #CodeZine

#ITニュース 】iOS/Android向けNativePHP、早期アクセスプログラムへの参加申し込みを受付中
#NativePHP #CodeZine

0 0 0 0
Preview
ITちゃんねる iOS/Android向けNativePHP、早期アクセスプログラムへの参加申し込みを受付中 #NativePHP #ITニュース

iOS/Android向けNativePHP、早期アクセスプログラムへの参加申し込みを受付中
#NativePHP #ITニュース

0 0 0 0
Preview
Building Desktop Apps with PHP | Confoo 2025 Extism is a cross-language plugin framework for building with WebAssembly​. It's goal is to make all software programmable.

Just dropped my #ConFoo slides on 'Building Desktop Apps with PHP'! 🚀

Covered #local-first, #NativePHP, #PHPDesktop & built a single-binary desktop app with #FrankenPHP, #Webview & #StaticPHPCLI. Huge kudos to @simonhamp.me for pushing NativePHP forward! 🙏

gamma.app/docs/Buildin...

1 0 1 0
Building Desktop Apps...with PHP? | ConFoo.ca FullStack Conference for developers February 26-28, 2025 in Montreal, Canada.

🚀 Tomorrow, I'm bringing #PHP to the desktop at #ConFoo, building on my first talk!

Can we create a single-binary desktop app with #FrankenPHP & #go — without @electronjs.org and pluggable with WASM? 🤔

Come find out! 9 AM, ST-Laurent 8 🔥

🎟️ confoo.ca/en/2025/sess... #nativephp

5 1 0 0
View on Old Montreal from Port of Montreal Tower

View on Old Montreal from Port of Montreal Tower

After a 2-year conference sabbatical, I'm back on the speaker circuit! First stop: #ConFoo in Montreal.

This year’s talks cover and include #WASM,
@extism.bsky.social, #NativePHP, #FrankenPHP, #Golang, #PHP, #JS ... and a few surprises.

More: confoo.ca/en/speaker/j...

See you tomorrow!

4 1 0 0
Post image

the Laravel team know the score 🔥

#NativePHP

16 0 0 0

https://zephpyr.com/ 👀

#PHP #Laravel #NativePHP

3 0 1 1

This is so nice to see 👀

#nativephp #ios #swift #laravel

6 0 0 0