PHPackages                             axy/sourcemap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. axy/sourcemap

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

axy/sourcemap
=============

Work with JavaScript/CSS Source Map

1.1.0(2mo ago)24734.1k↑14.8%7[1 issues](https://github.com/axypro/sourcemap/issues)5MITPHPPHP &gt;=8.1CI passing

Since Mar 16Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/axypro/sourcemap)[ Packagist](https://packagist.org/packages/axy/sourcemap)[ Docs](https://github.com/axypro/sourcemap)[ RSS](/packages/axy-sourcemap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (11)Used By (5)

axy\\sourcemap
==============

[](#axysourcemap)

The library for work with Source Map files from PHP.

[![Latest Stable Version](https://camo.githubusercontent.com/ab04c06af3b7e351ee433a8934ade56c813a752392f19ca4462c3e78167b454b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6178792f736f757263656d61702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axy/sourcemap)[![Minimum PHP Version](https://camo.githubusercontent.com/2d18ce514c7016022dad012ac9e39a8b6f47cc411b2daff6627cbf208f8cea63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Tests](https://github.com/axypro/sourcemap/actions/workflows/test.yml/badge.svg)](https://github.com/axypro/sourcemap/actions/workflows/test.yml)[![Coverage Status](https://camo.githubusercontent.com/6fb2aeb2a585f989e2fe7bc950ba1129557ba1b5e7c63cdd1c9f778d849eb183/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f61787970726f2f736f757263656d61702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/axypro/sourcemap?branch=master)[![License](https://camo.githubusercontent.com/a9b0d997dbe3c11ad086cc9939f4739d5ca4f2356ff6be50cafc0a18bebb0826/68747470733a2f2f706f7365722e707567782e6f72672f6178792f736f757263656d61702f6c6963656e7365)](LICENSE)

### Documentation

[](#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
--------

[](#contents)

- [Supported Format of Source Map](doc/format.md)
- [Basic Concepts](doc/concepts.md)
- [Position Map](doc/PosMap.md)
- [Create, Load, Save](doc/common.md)
- [Search in Map](doc/search.md)
- [Build Source Map](doc/build.md)
- [Sources and Names](doc/sources.md)
- [Insert/Remove Blocks](doc/blocks.md)
- [Concatenation of Files](doc/concat.md)
- [Merging](doc/merge.md)
- [Other Methods](doc/other.md)
- [Errors](doc/errors.md)

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~501 days

Recently: every ~722 days

Total

9

Last Release

66d ago

Major Versions

0.1.5 → 1.0.02023-03-15

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

1.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e5b3a2db8d5614167d4510019e3373dbba63c6aade58d38d23f3e7d2e63c3c4a?d=identicon)[axy](/maintainers/axy)

---

Top Contributors

[![vasa-c](https://avatars.githubusercontent.com/u/557081?v=4)](https://github.com/vasa-c "vasa-c (157 commits)")[![SychO9](https://avatars.githubusercontent.com/u/20267363?v=4)](https://github.com/SychO9 "SychO9 (4 commits)")[![RocketMan](https://avatars.githubusercontent.com/u/6860356?v=4)](https://github.com/RocketMan "RocketMan (1 commits)")[![shenjunru](https://avatars.githubusercontent.com/u/71833?v=4)](https://github.com/shenjunru "shenjunru (1 commits)")[![smirnov-e](https://avatars.githubusercontent.com/u/131781557?v=4)](https://github.com/smirnov-e "smirnov-e (1 commits)")[![Strate](https://avatars.githubusercontent.com/u/392644?v=4)](https://github.com/Strate "Strate (1 commits)")

---

Tags

javascriptcssSource mapsourcemap

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/axy-sourcemap/health.svg)

```
[![Health](https://phpackages.com/badges/axy-sourcemap/health.svg)](https://phpackages.com/packages/axy-sourcemap)
```

###  Alternatives

[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)[stolz/assets

An ultra-simple-to-use assets management library

296519.2k8](/packages/stolz-assets)[efficiently/larasset

Larasset is a library for Laravel 5 which manage assets in an easy way.

684.8k](/packages/efficiently-larasset)[dotsunited/bundlefu

BundleFu is a PHP 5.3+ library which bundles multiple css/javascript files into a big package and sends it out at once

7028.5k3](/packages/dotsunited-bundlefu)[machy8/webloader

Simple, easy to use, php bundler for javascript and css

1934.2k3](/packages/machy8-webloader)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.3k](/packages/trentrichardson-cakephp-shrink)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
