{"id":20974492,"url":"https://github.com/koala-framework/sourcemaps","last_synced_at":"2026-02-26T16:17:59.572Z","repository":{"id":22106108,"uuid":"25436435","full_name":"koala-framework/sourcemaps","owner":"koala-framework","description":"Source Maps Utilities Php Library","archived":false,"fork":false,"pushed_at":"2017-02-14T09:25:24.000Z","size":70,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-14T01:37:44.682Z","etag":null,"topics":["koala-framework","kwf","php","sourcemap","sourcemaps"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koala-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-19T18:48:45.000Z","updated_at":"2025-01-22T09:04:43.000Z","dependencies_parsed_at":"2022-08-20T20:10:49.606Z","dependency_job_id":null,"html_url":"https://github.com/koala-framework/sourcemaps","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fsourcemaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fsourcemaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fsourcemaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fsourcemaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koala-framework","download_url":"https://codeload.github.com/koala-framework/sourcemaps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254142450,"owners_count":22021530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["koala-framework","kwf","php","sourcemap","sourcemaps"],"created_at":"2024-11-19T04:29:38.301Z","updated_at":"2026-02-26T16:17:59.492Z","avatar_url":"https://github.com/koala-framework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Source Maps Utilities Php Library[![Build Status](https://travis-ci.org/koala-framework/sourcemaps.svg?branch=master)](https://travis-ci.org/koala-framework/sourcemaps)\n\n### Features\n\n* creating mappings\n* reading mappings\n* source map aware string replace for existing mapping\n* concat maps (optimized for best performance)\n\n### Requirements\n\n* Php 5.2+\n\n### Installation\nInstall using composer:\n\n    composer require koala-framework/sourcemaps\n\n### Example Usage\n\n    //read\n    $map = new Kwf_SourceMaps_SourceMap($mapContents, $minimiedFileContents);\n    $map-\u003egetMappings()\n\n    //create new map\n    $map = Kwf_SourceMaps_SourceMap::createEmptyMap($minimiedFileContents);\n    $map-\u003eaddMapping(2, 3, 10, 12, 'foo.js'); //$generatedLine, $generatedColumn, $originalLine, $originalColumn, $originalSource, $originalName = null)\n    $map-\u003egetMapContents();\n\n    //merge two maps\n    $map1-\u003econcat($map2);\n\n    //perform string replacement\n    $map-\u003estringReplace('foo', 'bar');\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoala-framework%2Fsourcemaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoala-framework%2Fsourcemaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoala-framework%2Fsourcemaps/lists"}