{"id":21602065,"url":"https://github.com/wpbp/page-madness-detector","last_synced_at":"2025-06-19T04:42:34.287Z","repository":{"id":41415495,"uuid":"509417027","full_name":"WPBP/Page-Madness-Detector","owner":"WPBP","description":"A WordPress library to detect if the website is using a pagebuilder/visual builder","archived":false,"fork":false,"pushed_at":"2023-05-04T10:46:04.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T00:54:58.812Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WPBP.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,"governance":null}},"created_at":"2022-07-01T10:42:09.000Z","updated_at":"2023-10-19T10:13:18.000Z","dependencies_parsed_at":"2022-08-28T13:21:09.247Z","dependency_job_id":null,"html_url":"https://github.com/WPBP/Page-Madness-Detector","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"29163a418b46928ba8e87f9b0844339da8eed038"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WPBP%2FPage-Madness-Detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WPBP%2FPage-Madness-Detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WPBP%2FPage-Madness-Detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WPBP%2FPage-Madness-Detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WPBP","download_url":"https://codeload.github.com/WPBP/Page-Madness-Detector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248329667,"owners_count":21085580,"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-24T19:11:54.594Z","updated_at":"2025-04-11T02:32:23.457Z","avatar_url":"https://github.com/WPBP.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Page Madness Detector\n\nThe library name is just an information for something that *WordPress developers know*.  \nPage Builders/Visual Composers create a huge entropy with the various features that they offers with difference by versions.  \nThis library is a way to create a wrapper that let's the developer to detect if they are used in the website.\n\n## Detect list\n\n### Plugins\n\n* Elementor\n* Elementor Pro\n* WP Bakery\n* Site Origin\n* Beaver Builder Lite\n* Fusion Page Builder\n* Oxygen Builder\n* Bricks Builder (it is a theme with child but use a constant)\n\n### Themes (that include those solutions)\n\n* Divi\n\n## Examples\n\n```php\n\u003c?php\n$builder = new Page_Madness_Detector();\n// Specific plugin/theme\nif ( $builder-\u003edetect('elementor') || $builder-\u003edetect('elementor-pro') ) {\n    echo 'Elementor';\n}\n\n// Boolean value if a plugin/theme of that list is detect\n$builder-\u003ehas_entropy();\n// String if a version number is available or false if not detected\n$builder-\u003eversion('elementor');\n\n// Filters\nadd_filter( 'page_madness_detector_add_plugin_detection', fuction( $plugins ) {\n    return $plugins;\n});\nadd_filter( 'page_madness_detector_add_theme_detection', fuction( $themes ) {\n    return $themes;\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpbp%2Fpage-madness-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpbp%2Fpage-madness-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpbp%2Fpage-madness-detector/lists"}