Download the PHP
package pushinbr/pam-native-canvas without Composer
On this page you can find all versions of the php package
pushinbr/pam-native-canvas. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
# PAM Native Canvas
**Retained-mode 2D graphics built for native frame budgets.**
Compose drawing surfaces, paths, paints, and interactions without shipping a WebView or replaying an entire PHP scene every frame.
[](https://packagist.org/packages/pushinbr/pam-native-canvas)
[](https://github.com/push-in/pam-native-canvas/actions)



**[Documentation](https://push-in.github.io/pam-docs/native/overview/) · [Quick start](#quick-start) · [What you can build](#what-you-can-build) · [PAM ecosystem](https://push-in.github.io/pam-docs/ecosystem/) · [Issues](https://github.com/push-in/pam-native-canvas/issues)**
Why PAM Native Canvas
Compose drawing surfaces, paths, paints, and interactions without shipping a WebView or replaying an entire PHP scene every frame. The public API is strictly typed for PHP 8.5; expensive or frame-sensitive work stays in Rust or the platform SDK instead of crossing the application boundary every frame.
Best for
A focused capability you can add to any PAM Native application
Native path
Android Canvas · Core Graphics
Application model
Composer package + generated native integration
Design rule
Independent module; no feed, vertical, or application template bundled
What you can build
Charts, signatures, and annotation tools
Custom controls and data visualization
Lightweight games and interactive diagrams
Quick start
Already have a PAM Native project? Add only this capability:
New to PAM? Follow the five-minute PAM Native setup once, then return here. Your application stays a normal Composer project with a committed lockfile.
See it in action
This is a horizontal retained-mode 2D drawing primitive, not a UI framework, feed, application
template, GPU shader engine, or 3D engine. PHP builds a bounded display list; Android Canvas and
Core Graphics render it without calling PHP for each frame.
Scenes are immutable, capped at 10,000 commands, and use integer-backed command/event kinds.
Platform support: Android API 26+, iOS 15+, PHP 8.5+, PAM Native 0.8.x.
Requiresphp Version
^8.5 pushinbr/pam-native Version
^0.8 || ^0.9 || ^0.10 || ^1.0
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package pushinbr/pam-native-canvas contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.