- This package provides to audit process of reviewing and evaluating a mysql database system.
- DB Auditor scan your mysql database and give insights of mysql standards, constraints and provide option to add the constraints through CLI.
- The result of audit process shows list of tables & columns which doesn't have proper standards.
Requires PHP 8.0+ | Laravel 8.0+
Require Laravel DB Auditor using Composer:
composer require vcian/laravel-db-auditor
You can access DB Auditor using below artisan commands.
This command give you options to select feature like check the database standards or check the constraint.
Note:
If you want to check standalone feature then you can execute below artisan command one by one.
This command gives you result with list of tables with primary,foreign,unique,index constraint.
You can add more constraint to the table by seeing existing constraint with table.
This command give you result with list of table with standard follow indication.
You can also see table specific column name which doesn't have standard followed.
Note:
You have to set your database name with DB_DATABASE parameter in you laravel .env file to use this feature.
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
We believe in
👇
ACT NOW
PERFECT IT LATER
CORRECT IT ON THE WAY.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.