{"id":19144367,"url":"https://github.com/piotrpress/elementor","last_synced_at":"2026-01-30T17:30:54.432Z","repository":{"id":61765682,"uuid":"554884494","full_name":"PiotrPress/elementor","owner":"PiotrPress","description":"This library simplifies HTML elements rendering.","archived":false,"fork":false,"pushed_at":"2024-09-16T08:46:20.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-29T00:39:25.058Z","etag":null,"topics":["attribute","attributes","dom-element","dom-elements","element","elementor","elements","html-attribute","html-attributes","html-dom","html-dom-element","html-element","html-elements","html-tag","html-tags"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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/PiotrPress.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-20T15:05:58.000Z","updated_at":"2024-09-16T08:46:11.000Z","dependencies_parsed_at":"2022-10-20T20:30:51.504Z","dependency_job_id":null,"html_url":"https://github.com/PiotrPress/elementor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrPress%2Felementor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrPress%2Felementor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrPress%2Felementor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrPress%2Felementor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiotrPress","download_url":"https://codeload.github.com/PiotrPress/elementor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223800480,"owners_count":17204996,"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":["attribute","attributes","dom-element","dom-elements","element","elementor","elements","html-attribute","html-attributes","html-dom","html-dom-element","html-element","html-elements","html-tag","html-tags"],"created_at":"2024-11-09T07:34:40.530Z","updated_at":"2026-01-30T17:30:54.424Z","avatar_url":"https://github.com/PiotrPress.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elementor\n\nThis library simplifies HTML elements rendering.\n\n## Installation\n\n```shell\n$ composer require piotrpress/elementor\n```\n\n## Example\n\n```php\nrequire __DIR__ . '/vendor/autoload.php';\n\nuse PiotrPress\\Elementor;\nuse PiotrPress\\Elementor\\Element;\nuse PiotrPress\\Elementor\\Attributes;\n\n// Example #1\necho new Elementor( [\n    [ 'div',\n        [ 'class' =\u003e 'main' ],\n        [\n            [ 'input',\n                [\n                    'type' =\u003e 'submit',\n                    'required'\n                ]\n            ],\n            [ 'a',\n                [\n                    'href' =\u003e 'https://piotr.press',\n                    'class' =\u003e [ 'red', 'border' ]\n                ],\n                'Click'\n            ]\n        ]\n    ]\n] );\n// \u003cdiv class=\"main\"\u003e\u003cinput type=\"submit\" required /\u003e\u003ca href=\"https://piotr.press\" class=\"red border\"\u003eClick\u003c/a\u003e\u003c/div\u003e\n\n// Example #2\necho new Element( 'a', [\n    'href' =\u003e 'https://piotr.press',\n    'class' =\u003e [ 'red', 'border' ]\n], 'Click' );\n// \u003ca href=\"https://piotr.press\" class=\"red border\"\u003eClick\u003c/a\u003e\n\n// Example #3\necho new Element( 'input', [\n    'type' =\u003e 'submit',\n    'required'\n] );\n// \u003cinput type=\"submit\" required /\u003e\n\n// Example #4\necho new Attributes( [\n    'href' =\u003e 'https://piotr.press',\n    'class' =\u003e [ 'red', 'border' ]\n] );\n// href=\"https://piotr.press\" class=\"red border\"\n```\n\n## Requirements\n\nPHP \u003e= `7.4` version.\n\n## License\n\n[MIT](license.txt)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrpress%2Felementor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrpress%2Felementor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrpress%2Felementor/lists"}