Libraries tagged by duplicate code
infocyph/phpprobe
104799 Downloads
Standalone PHP quality gates and deterministic source-graph extraction.
appzcoder/phpcloc
3262 Downloads
Cloc & duplicate code checker tool.
drupal/varbase_ai_content_operations_base
937 Downloads
A content operations assistant for the editors of a Varbase 11 site: audits broken internal links and missing alt text, drafts missing meta descriptions, finds unused and near-duplicate terms, reports editorial status, and renames a term across content with a diff. It works with the editor's own permissions, shows every change first, and saves only what the editor approves, as new revisions. Experimental: Tool API and Tool Belt have no stable release. No custom PHP or shell code.
pekral/test-redundancy
173 Downloads
Finds PHPUnit and Pest tests whose covered lines other tests already cover, and shows what each candidate asserts beyond them.
schrammel-codes/magento2-salesrule
1124 Downloads
Adds duplicate functionality and mass actions to Cart Price Rules
postboost/php-sdk
56 Downloads
The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace's plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request's `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account's daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
omnibridge/static
122 Downloads
The static host of the omnibridge family: a generic exporter that enumerates an application's addresses (explicit lists, a router's #[Route] routes with the values of their parameters, a sitemap), renders each at build time by the application's own code (its host's request handling, its actions, or any callable), and writes a deterministic folder for a static host or a CDN - HTML pages, the files of an asset manifest (Vite, Webpack), the files the pages refer to, redirections, 404.html, sitemap.xml and a report with checksums and diagnostics (broken links, duplicate outputs, missing assets, non-deterministic pages). No framework, no bundler.
roseblade/ss-duplicate-dataobject
146 Downloads
Adds a duplicate button to GridField in the CMS that enables duplicating of dataobjects. Code originally by Kong Jin Jie and upgraded for SS 5.2.
vmorozov/laravel_duplicate_query_cache
11 Downloads
This small library contents all needed code to cache duplicate queries during one request
elrayn/twins
1 Downloads
Find files that were copy-pasted across many projects and have drifted apart since
codegenie-be/laravel-env-guard
39 Downloads
Automatically audit Laravel environment variables for missing, unused, duplicate, inconsistent and unsafe usage during development.
schrammel-codes/magento2-salesrule-commerce
625 Downloads
Commerce staging support for SalesRule duplicate functionality
hubalekt/db
22 Downloads
DB is simple Mysql library for quick data manipulation with minimum duplicate php code
pandudud/notify
8 Downloads
Duplicate from codecourse/notify
shipmonk/copy-paste-detector
9089 Downloads
Finds duplicated PHP code structures using AST-based analysis, inspired by CloneDR to detect Type-2 (parameterized) code clones.