Download the PHP package netzmacht/php-leaflet without Composer
On this page you can find all versions of the php package netzmacht/php-leaflet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download netzmacht/php-leaflet
More information about netzmacht/php-leaflet
Files in netzmacht/php-leaflet
Download netzmacht/php-leaflet
More information about netzmacht/php-leaflet
Files in netzmacht/php-leaflet
Vendor netzmacht
Package php-leaflet
Short Description PHP leaflet definition and javascript generator
License LGPL-3.0-or-later
Package php-leaflet
Short Description PHP leaflet definition and javascript generator
License LGPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package php-leaflet
PHP Leaflet library
This library provides a PHP API to setup the Leaflet map definitions. The goal of the library is to provide a handy way to handle dynamic map configurations working in a PHP context.
Install
You can install the library using composer:
Features
This library provides different components:
- Definition classes to define the leaflet map with all layers, controls and so on.
- Value classes which have real behaviour and can be used to handle LatLng or GeoJSON features.
- The Encoder component to convert the PHP leaflet definition into javascript.
- Support for several Leaflet plugins.
- Assets handling to autoload all required javascripts and css files from all plugins.
Before you start
- The definition classes has some mixed behaviours. There useful behaviour is implemented. Some method creates just javascript method calls.
- The goal is to have a close reflection of the Javascript API. Since the languages differs there are some changes which you should be aware of.
Requirements
This library requires PHP 5.6 and the symfony event dispatcher. The event dispatcher is used by the php-javascript-builder which encodes the PHP definition.
Example
All versions of php-leaflet with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1 || ^8.0
ext-json Version *
beberlei/assert Version ~2.0 || ^3.0
netzmacht/php-javascript-builder Version ~1.0
symfony/event-dispatcher Version ^4.4 || ^5.1
ext-json Version *
beberlei/assert Version ~2.0 || ^3.0
netzmacht/php-javascript-builder Version ~1.0
symfony/event-dispatcher Version ^4.4 || ^5.1
The package netzmacht/php-leaflet contains the following files
Loading the files please wait ....