{"id":18499745,"url":"https://github.com/s1syphos/php-dejure","last_synced_at":"2026-07-03T22:33:04.348Z","repository":{"id":47359783,"uuid":"379233966","full_name":"S1SYPHOS/php-dejure","owner":"S1SYPHOS","description":"Linking texts with dejure.org, the Class(y) way.","archived":false,"fork":false,"pushed_at":"2021-10-26T04:37:45.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T01:25:58.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/S1SYPHOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-22T10:44:23.000Z","updated_at":"2021-10-26T04:37:48.000Z","dependencies_parsed_at":"2022-09-12T19:03:09.775Z","dependency_job_id":null,"html_url":"https://github.com/S1SYPHOS/php-dejure","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1SYPHOS%2Fphp-dejure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1SYPHOS%2Fphp-dejure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1SYPHOS%2Fphp-dejure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1SYPHOS%2Fphp-dejure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/S1SYPHOS","download_url":"https://codeload.github.com/S1SYPHOS/php-dejure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254084610,"owners_count":22011908,"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":[],"created_at":"2024-11-06T13:47:08.781Z","updated_at":"2025-10-28T02:07:57.567Z","avatar_url":"https://github.com/S1SYPHOS.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-dejure\n[![Release](https://img.shields.io/github/release/S1SYPHOS/php-dejure.svg)](https://github.com/S1SYPHOS/php-dejure/releases) [![License](https://img.shields.io/github/license/S1SYPHOS/php-dejure.svg)](https://github.com/S1SYPHOS/php-dejure/blob/master/LICENSE) [![Issues](https://img.shields.io/github/issues/S1SYPHOS/php-dejure.svg)](https://github.com/S1SYPHOS/php-dejure/issues) [![Status](https://travis-ci.org/S1SYPHOS/php-dejure.svg?branch=master)](https://travis-ci.org/S1SYPHOS/php-dejure)\n\nA PHP library for linking legal norms in texts with [dejure.org](https://dejure.org).\n\n\n## History\n\nThis library started as an OOP port of `vernetzungsfunction.inc.php`, which can be [downloaded here](https://dejure.org/vernetzung.html). Since then, `php-dejure` heavily modified the underlying caching mechanism, now providing a broad range of fully configurable cache drivers while featuring more text processing options.\n\n\n## Getting started\n\nInstall this package with [Composer](https://getcomposer.org):\n\n```text\ncomposer require S1SYPHOS/php-dejure\n```\n\nAn example implementation could look something like this:\n\n```php\n\u003c?php\n\nrequire_once('vendor/autoload.php');\n\nuse S1SYPHOS\\DejureOnline;\n\n$object = new DejureOnline();\n\n$object-\u003esetEmail('hello@mydomain.com');\n$object-\u003esetTarget('_blank');\n\n$text  = '\u003cdiv\u003e';\n$text .= 'This is a \u003cstrong\u003esimple\u003c/strong\u003e HTML text.';\n$text .= 'It contains legal norms, like Art. 12 GG.';\n$text .= '.. or § 433 BGB!';\n$text .= '\u003c/div\u003e';\n\necho $object-\u003edejurify($text);\n```\n\n\n## Roadmap\n\n- [x] ~~Add tests~~\n- [x] ~~Add checks to `__construct`~~\n- [x] ~~Attempt cache directory creation~~\n- [x] ~~Improve code~~\n- [x] ~~Improve code more~~\n- [x] ~~Translate code (almost done)~~\n- [x] ~~`join` paths, so trailing slash is no longer required~~\n- [x] ~~Add cache reset function~~\n\n\n**Happy coding!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs1syphos%2Fphp-dejure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs1syphos%2Fphp-dejure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs1syphos%2Fphp-dejure/lists"}