PHPackages                             sycho/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. sycho/sourcemap

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

sycho/sourcemap
===============

Work with JavaScript/CSS Source Map

2.0.0(4y ago)11.1M↓20.9%3MITPHPPHP &gt;=7.3

Since Mar 16Pushed 4y agoCompare

[ Source](https://github.com/SychO9/sourcemap)[ Packagist](https://packagist.org/packages/sycho/sourcemap)[ Docs](https://github.com/sycho9/sourcemap)[ RSS](/packages/sycho-sourcemap/feed)WikiDiscussions main Synced 1mo ago

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

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/1e3b70374ce5a22774aa3385ec7b561e59b8f8c6a75da5d41cb46fcbe55e6a8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e332d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Build Status](https://camo.githubusercontent.com/c2c1aae9dc1d17b4214af8b87e6eb24a8f9f92b3e2107cb397bead4fdb35fda6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f61787970726f2f736f757263656d61702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/axypro/sourcemap)[![Coverage Status](https://camo.githubusercontent.com/5cad90f3d72f29e94413b25da13c225e513605abbeddf3de37e5b57c77300072/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f61787970726f2f736f757263656d61702f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/axypro/sourcemap?branch=master)[![License](https://camo.githubusercontent.com/a9b0d997dbe3c11ad086cc9939f4739d5ca4f2356ff6be50cafc0a18bebb0826/68747470733a2f2f706f7365722e707567782e6f72672f6178792f736f757263656d61702f6c6963656e7365)](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](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

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 94.5% 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 ~430 days

Recently: every ~479 days

Total

7

Last Release

1500d ago

Major Versions

0.1.5 → 2.0.02022-04-09

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

2.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3653255?v=4)[SychO](/maintainers/SychO)[@Sycho](https://github.com/Sycho)

---

Top Contributors

[![vasa-c](https://avatars.githubusercontent.com/u/557081?v=4)](https://github.com/vasa-c "vasa-c (138 commits)")[![SychO9](https://avatars.githubusercontent.com/u/20267363?v=4)](https://github.com/SychO9 "SychO9 (5 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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/sycho-sourcemap/health.svg)](https://phpackages.com/packages/sycho-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)[axy/sourcemap

Work with JavaScript/CSS Source Map

24734.1k5](/packages/axy-sourcemap)[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)

PHPackages © 2026

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