Download the PHP package koala-framework/sourcemaps without Composer
On this page you can find all versions of the php package koala-framework/sourcemaps. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download koala-framework/sourcemaps
More information about koala-framework/sourcemaps
Files in koala-framework/sourcemaps
Download koala-framework/sourcemaps
More information about koala-framework/sourcemaps
Files in koala-framework/sourcemaps
Vendor koala-framework
Package sourcemaps
Short Description Sourcemaps Utities
License BSD-2-Clause
Homepage http://www.koala-framework.org/
Package sourcemaps
Short Description Sourcemaps Utities
License BSD-2-Clause
Homepage http://www.koala-framework.org/
Please rate this library. Is it a good library?
Informations about the package sourcemaps
Source Maps Utilities Php Library
Features
- creating mappings
- reading mappings
- source map aware string replace for existing mapping
- concat maps (optimized for best performance)
Requirements
- Php 5.2+
Installation
Install using composer:
composer require koala-framework/sourcemaps
Example Usage
//read
$map = new Kwf_SourceMaps_SourceMap($mapContents, $minimiedFileContents);
$map->getMappings()
//create new map
$map = Kwf_SourceMaps_SourceMap::createEmptyMap($minimiedFileContents);
$map->addMapping(2, 3, 10, 12, 'foo.js'); //$generatedLine, $generatedColumn, $originalLine, $originalColumn, $originalSource, $originalName = null)
$map->getMapContents();
//merge two maps
$map1->concat($map2);
//perform string replacement
$map->stringReplace('foo', 'bar');
All versions of sourcemaps with dependencies
PHP Build Version
Package Version
No informations.
The package koala-framework/sourcemaps contains the following files
Loading the files please wait ....