Download the PHP package pushinbr/pam-native-svg without Composer

On this page you can find all versions of the php package pushinbr/pam-native-svg. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

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.
Please rate this library. Is it a good library?

Informations about the package pam-native-svg

**Native vector graphics and render-thread animations for PAM Native.**
Icons, progress rings, gradients and dashed strokes parsed once, retained natively and animated without crossing back to PHP. [![Packagist](https://img.shields.io/packagist/v/pushinbr/pam-native-svg?label=packagist&color=f53003)](https://packagist.org/packages/pushinbr/pam-native-svg) [![Latest release](https://img.shields.io/github/v/release/push-in/pam-native-svg?label=release&color=e3a008)](https://github.com/push-in/pam-native-svg/releases/latest) ![PHP 8.5](https://img.shields.io/badge/php-8.5-777bb4) [![License](https://img.shields.io/github/license/push-in/pam-native-svg?color=1f6feb)](LICENSE) [Install](#install) · [Quick example](#quick-example) · [Platforms](#platform-support) · [Features](#features) · [Docs](#docs) · [Issues](https://github.com/push-in/pam-native-svg/issues)

Install

Inside a PAM Native project, add only this capability:

New to PAM? Create a project with pam init my-app --template native (see the PAM Native overview), then come back here. Composer owns the manifest and the lockfile; pam composer runs it on PAM's verified PHP runtime.

Quick example

Declarative .pam components use the same native view:

PHP builds or loads the markup; the native side parses each content hash once into a retained tree (Android Canvas + RenderNode, iOS CAShapeLayer) and runs animations itself, so a progress ring updating 30 times a second never re-renders PHP or re-parses a path. A complete screen is in examples/UploadProgress.php.

Platform support

Platform Support Notes
Android API 24+ Canvas / RenderNode; Choreographer animations only while visible
iOS 15.0+ Core Animation (CAShapeLayer, CABasicAnimation); see iOS validation
PAM Native 1.0.0 to < 2.0.0 From pam-native.plugin.json (composer.json requires ^1.0.15); PHP 8.5+

Requirements

No permissions and no dependencies beyond the platform SDKs (iOS frameworks: CoreGraphics, QuartzCore, UIKit). The plugin registers one host view, svg.view.

Features

Best for Icons, progress rings, badges, gradients, decorative vectors
Native path Android Canvas / RenderNode · Core Animation
Animation Choreographer (only while visible) · CABasicAnimation
Dependencies None beyond the platform SDKs

See docs/svg.md for the full API, supported markup and the comparison with react-native-svg.

Testing

iOS: follow docs/ios-validation.md on a Mac.

Docs

Part of the PAM ecosystem

PAM runs PHP natively on servers, desktops and phones. This repository is one piece of it.

PAM PAM Desktop PAM Native Ecosystem
the runtime and CLI native desktop apps in PHP native Android and iOS apps in PHP every official package and plugin

Docs: push-in.github.io/pam-docs · Issues

Apache License 2.0 · Made in Brazil by Pushin


All versions of pam-native-svg with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
pushinbr/pam-native Version ^1.53.1
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-svg contains the following files

Loading the files please wait ...