Work with JavaScript/CSS Source Map in PHP
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
errors
helpers
indexed
parents
parsing
tests
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
PosGenerated.php
PosMap.php
PosSource.php
README.md
SourceMap.php
composer.json
cs.sh
index.php
phpmd.sh
phpmd.xml.dist
phpunit.xml.dist

README.md

axy\sourcemap

The library for work with Source Map files from PHP.

Latest Stable Version Minimum PHP Version Build Status Coverage Status License

  • The library does not require any dependencies (except composer packages).
  • Tested on PHP 5.4+, PHP 7, HHVM (on Linux), PHP 5.5 (on Windows).
  • Install: composer require axy/sourcemap.
  • License: MIT.

Documentation

The library provider the following features for work with source map:

  • Creating a new source map file.
  • Search in an existing file.
  • Making changes to an existing file.
  • Simple changes: remove and rename sources, modify positions, etc.
  • Changing source map when inserted and removal from the generated content.
  • Concatenation source map files when concatenated files of code.
  • Merge intermediate source map files.

The library works with source map only. The library does not process the source files and does not generates the output file.

Contents