{"id":27918520,"url":"https://github.com/vcian/php-db-auditor","last_synced_at":"2025-05-06T18:23:01.905Z","repository":{"id":197173266,"uuid":"653953790","full_name":"vcian/php-db-auditor","owner":"vcian","description":"Audit your mysql database -Database DB Auditor provide leverage to audit your MySql database standards and also provide options to add constraints in table","archived":false,"fork":false,"pushed_at":"2023-12-15T08:14:13.000Z","size":697,"stargazers_count":49,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-04T22:40:41.361Z","etag":null,"topics":["audit","database-standard","db","dbaudit","hacktoberfest","mysql","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/vcian/php-db-auditor","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vcian.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-15T05:12:58.000Z","updated_at":"2024-11-12T14:42:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"86fde6de-e829-4d29-acdd-14cd48df6159","html_url":"https://github.com/vcian/php-db-auditor","commit_stats":null,"previous_names":["vcian/php-db-auditor"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcian%2Fphp-db-auditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcian%2Fphp-db-auditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcian%2Fphp-db-auditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcian%2Fphp-db-auditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vcian","download_url":"https://codeload.github.com/vcian/php-db-auditor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741880,"owners_count":21797103,"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":["audit","database-standard","db","dbaudit","hacktoberfest","mysql","php"],"created_at":"2025-05-06T18:23:01.295Z","updated_at":"2025-05-06T18:23:01.855Z","avatar_url":"https://github.com/vcian.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/php-db-auditor-hr.svg\" width=\"50%\" alt=\"Logo PHP DB Auditor\"\u003e\u003c/p\u003e\n\n![Packagist License](https://img.shields.io/packagist/l/vcian/php-db-auditor\n)\n[![Total Downloads](https://img.shields.io/packagist/dt/vcian/php-db-auditor\n)](https://packagist.org/packages/vcian/php-db-auditor)\n\n## Introduction\n\n- Introducing \"PHP DB Auditor\" – your go-to solution for meticulous MySQL database system auditing. This powerful PHP package is your key to ensuring the utmost integrity and compliance with MySQL standards and constraints in your database. Dive into the world of database auditing with ease, thanks to its user-friendly command-line interface (CLI).\n\n## Key Points\n\n1. Comprehensive Auditing: PHP DB Auditor is a specialized PHP package designed to perform comprehensive audits on MySQL database systems.\n\n2. Thorough Evaluation: It conducts a thorough and detailed evaluation of the entire MySQL database structure.\n\n3. Standards Compliance: The package employs advanced scanning techniques to assess the database's adherence to MySQL standards and constraints.\n\n4. Command-Line Interface (CLI): Users can effortlessly interact with PHP DB Auditor through its intuitive command-line interface, making the auditing process seamless.\n\n5. Constraint Management: PHP DB Auditor empowers you to add essential constraints directly to your MySQL database via the CLI.\n\n6. Detailed Audit Report: Upon completion of the auditing process, the package generates a detailed report.\n\n7. Identifying Non-Compliance: The audit report provides a comprehensive list of tables and columns that fall short of meeting established MySQL standards and constraints.\n\n8. Database Integrity: With PHP DB Auditor, you can proactively maintain the integrity of your database and ensure it aligns with the necessary standards.\n\n## Installation\n\n**Requires [PHP 8.1+](https://php.net/releases/)\n#### **As a standalone project under linux**\n\n    # create directory (feel free to give your own)\n    mkdir dbauditor\n    cd dbauditor\n\n    # install package\n    composer require vcian/php-db-auditor\n\n    # create symbolic links\n    ln -s vendor/vcian/php-db-auditor/dbauditor dbauditor\n    ln -s vendor/vcian/php-db-auditor/src/config.php config.php\n\n    # edit config.php to configure the database settings\n\n#### **As a standalone project under windows**\n\n    # create directory (feel free to give your own)\n    mkdir dbauditor\n    cd dbauditor\n\n    # install package\n    composer require vcian/php-db-auditor\n\n    # create symbolic links\n    mklink vendor/vcian/php-db-auditor/dbauditor dbauditor\n    mklink vendor/vcian/php-db-auditor/src/config.php config.php\n\n    # edit config.php to configure the database settings\n\n## Usage:\n\n#### **See database information**\n\n    php dbauditor db:summary\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-auditor-summary.png\" width=\"100%\" alt=\"PHP DB Auditor Standard UI\"\u003e\u003c/p\u003e\n\n#### **See a list of table with standard follow indication**\n\n    php dbauditor db:standard\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-standard-ui.png\" width=\"100%\" alt=\"PHP DB Auditor Standard UI\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-standard-table-report-1.png\" width=\"100%\" alt=\"PHP DB Auditor Standard UI\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-standard-table-report-2.png\" width=\"100%\" alt=\"PHP DB Auditor Standard UI\"\u003e\u003c/p\u003e\n\n\n#### **See a list of tables with fields, primary, foreign, unique, index constraint.**\n\n    php dbauditor db:constraint\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-constraint-ui.png\" width=\"100%\" alt=\"PHP DB Auditor Constraint UI\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-constraint-add.png\" width=\"100%\" alt=\"PHP DB Auditor Constraint UI\"\u003e\u003c/p\u003e\n\nYou can add more constraint to a table.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-constraint-selection.png\" width=\"100%\" alt=\"PHP DB Auditor Constraint UI\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vcian/art/main/php-db-auditor/db-constraint-result.png\" width=\"100%\" alt=\"PHP DB Auditor Constraint UI\"\u003e\u003c/p\u003e\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n       We believe in\n            👇\n          ACT NOW\n      PERFECT IT LATER\n    CORRECT IT ON THE WAY.\n\n## Security\n\nIf you discover any security-related issues, please email ruchit.patel@viitor.cloud instead of using the issue tracker.\n\n## Credits\n\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcian%2Fphp-db-auditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcian%2Fphp-db-auditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcian%2Fphp-db-auditor/lists"}