PAM Native
A framework for building native Android and iOS apps in typed PHP, with a Rust reconciler and native renderer and no WebView.
At a Glance
PAM Native core framework is open source under Apache-2.0; build and sell proprietary or open applications without a revenue limit or runtime royalty.
Engagement
Available On
Alternatives
Listed Dec 2026
About PAM Native
PAM Native is an open-source framework from Pushin that turns typed PHP components into real Android Views and UIKit controls. Rust handles validation, reconciliation, diffing and layout, while Kotlin and Swift apply compact mutation batches on the native side. It runs without a WebView, JavaScript runtime or browser CSS engine, and is distributed through Composer as pushinbr/pam-native.
What It Is
PAM Native is a retained-native mobile application platform for PHP developers. Apps are written as typed PHP trees, class components with templates, or single-file .pam components, using attributes such as #[Prop], #[State] and #[Action]. Core rendering, state, templates, styling, navigation, the Visual DOM, the bridge and generated Android/iOS hosts ship in the main package. Specialized capabilities such as camera, maps, payments, Bluetooth and offline sync are separate optional Composer packages.
Workflow and Tooling
Projects are created with the PAM CLI (pam init my-app --template native), and pam doctor --fix checks and repairs the toolchain, including the Android SDK, runtimes and the prebuilt renderer. pam dev runs the app on an Android device or emulator with hot reload, and pam ios:dev runs it in the iOS Simulator on macOS. Builds produce APK, AAB and IPA outputs, and the docs describe a build-hygiene contract that removes regenerable Gradle, Xcode, SwiftPM and Rust intermediates.
Styling and UI Model
The PAM Style Language accepts CSS-like syntax and compiles it to a typed IR and bytecode. It supports scoped styles, tokens, recipes, responsive media and container queries, and compositor keyframe animation. Unsupported CSS is rejected at build time rather than approximated. Native components cover layout, text and input, images, recycled lists, gestures, modals and bottom sheets, video and audio, and a host-allowlisted WebView.
Platform Boundaries
The docs list PHP 8.5 as the default, Android API 26–36 and an iOS UIKit host. The README states a default iOS minimum of 15.0. The project is licensed under Apache-2.0.
Collections
Popular collections
- Find the Ways Your AI App Can Fail Before Launch
Collection by @samirhaddad
- Give Your AI Agent the Meaning Behind Your Database
Collection by @danielokafor
- Black Friday 2026: Learn with AI
Collection by @evtuff
- Black Friday 2026: Coding Agent Tools
Collection by @samofcode
Add PAM Native to one of your collections.
Community Discussions
Be the first to start a conversation about PAM Native
Share your experience with PAM Native, ask questions, or help others learn from your insights.
Pricing
Open Source (Apache-2.0)
PAM Native core framework is open source under Apache-2.0; build and sell proprietary or open applications without a revenue limit or runtime royalty.
- Apache License 2.0
- No revenue limit or runtime royalty
- Rust reconciler and native renderer, no WebView or JavaScript runtime
- Available on Packagist as pushinbr/pam-native
Capabilities
Key Features
- Typed PHP components rendered as real Android Views and UIKit controls
- Rust reconciler with compact native mutation batches
- Typed tree, declarative tag and single-file .pam authoring
- PAM Style Language with tokens, recipes, media and container queries
- UI-thread animation and native gesture handling
- Recycled virtualized lists
- Navigation with stacks, tabs, drawers and deep links
- Global store and local state
- Hot reload and runtime DevTools
- Composer-based plugin SDK with typed IDL
- Optional packages for camera, maps, payments, Bluetooth, NFC, sync and more
- Build and signing for APK, AAB and IPA
