diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 145abc8..d343b1f 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,14 +1,14 @@ blank_issues_enabled: false contact_links: - name: Ask a question - url: https://github.com/bekwoh/laravel-db-doc/discussions/new?category=q-a + url: https://github.com/cleaniquecoders/laravel-db-doc/discussions/new?category=q-a about: Ask the community for help - name: Request a feature - url: https://github.com/bekwoh/laravel-db-doc/discussions/new?category=ideas + url: https://github.com/cleaniquecoders/laravel-db-doc/discussions/new?category=ideas about: Share ideas for new features - name: Report a security issue - url: https://github.com/bekwoh/laravel-db-doc/security/policy + url: https://github.com/cleaniquecoders/laravel-db-doc/security/policy about: Learn how to notify us for sensitive bugs - name: Report a bug - url: https://github.com/bekwoh/laravel-db-doc/issues/new + url: https://github.com/cleaniquecoders/laravel-db-doc/issues/new about: Report a reproducible bug diff --git a/CHANGELOG.md b/CHANGELOG.md index 81c938d..3740db9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,59 +6,59 @@ All notable changes to `laravel-db-doc` will be documented in this file. ### What's Changed -* Bump aglipanci/laravel-pint-action from 2.1.0 to 2.2.0 by @dependabot in https://github.com/bekwoh/laravel-db-doc/pull/6 -* Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/bekwoh/laravel-db-doc/pull/7 -* Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/bekwoh/laravel-db-doc/pull/8 -* Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/bekwoh/laravel-db-doc/pull/10 +* Bump aglipanci/laravel-pint-action from 2.1.0 to 2.2.0 by @dependabot in https://github.com/cleaniquecoders/laravel-db-doc/pull/6 +* Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/cleaniquecoders/laravel-db-doc/pull/7 +* Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/cleaniquecoders/laravel-db-doc/pull/8 +* Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/cleaniquecoders/laravel-db-doc/pull/10 * Added CSV Presentation e8e3d8b8785edad3ae5b337b9f7e4fb00df082f6 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.1.0...1.2.0 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.1.0...1.2.0 ## 1.1.0 - 2023-02-25 ### What's Changed -- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/bekwoh/laravel-db-doc/pull/2 -- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/bekwoh/laravel-db-doc/pull/5 +- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/cleaniquecoders/laravel-db-doc/pull/2 +- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/cleaniquecoders/laravel-db-doc/pull/5 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.7...1.1.0 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.7...1.1.0 ## 1.0.7 - 2022-10-15 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.6...1.0.7 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.6...1.0.7 ## 1.0.6 - 2022-10-15 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.5...1.0.6 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.5...1.0.6 ## 1.0.5 - 2022-10-15 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.4...1.0.5 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.4...1.0.5 ## 1.0.4 - 2022-10-15 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.3...1.0.4 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.3...1.0.4 ## 1.0.3 - 2022-10-04 ### What's Changed -- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/bekwoh/laravel-db-doc/pull/1 +- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/cleaniquecoders/laravel-db-doc/pull/1 ### New Contributors -- @dependabot made their first contribution in https://github.com/bekwoh/laravel-db-doc/pull/1 +- @dependabot made their first contribution in https://github.com/cleaniquecoders/laravel-db-doc/pull/1 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.2...1.0.3 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.2...1.0.3 ## 1.0.2 - 2022-09-20 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.1...1.0.2 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.1...1.0.2 ## 1.0.1 - 2022-09-20 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/compare/1.0.0...1.0.1 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/compare/1.0.0...1.0.1 ## 1.0.0 - 2022-09-20 -**Full Changelog**: https://github.com/bekwoh/laravel-db-doc/commits/1.0.0 +**Full Changelog**: https://github.com/cleaniquecoders/laravel-db-doc/commits/1.0.0 diff --git a/LICENSE.md b/LICENSE.md index 656c4c0..24f0fae 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) bekwoh +Copyright (c) cleaniquecoders Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index c728b8b..7c88d49 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Generate Database Schema Documentation -[![Latest Version on Packagist](https://img.shields.io/packagist/v/bekwoh/laravel-db-doc.svg?style=flat-square)](https://packagist.org/packages/bekwoh/laravel-db-doc) -[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/bekwoh/laravel-db-doc/run-tests?label=tests)](https://github.com/bekwoh/laravel-db-doc/actions?query=workflow%3Arun-tests+branch%3Amain) -[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/bekwoh/laravel-db-doc/Fix%20PHP%20code%20style%20issues?label=code%20style)](https://github.com/bekwoh/laravel-db-doc/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) -[![Total Downloads](https://img.shields.io/packagist/dt/bekwoh/laravel-db-doc.svg?style=flat-square)](https://packagist.org/packages/bekwoh/laravel-db-doc) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/cleaniquecoders/laravel-db-doc.svg?style=flat-square)](https://packagist.org/packages/cleaniquecoders/laravel-db-doc) +[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/cleaniquecoders/laravel-db-doc/run-tests?label=tests)](https://github.com/cleaniquecoders/laravel-db-doc/actions?query=workflow%3Arun-tests+branch%3Amain) +[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/cleaniquecoders/laravel-db-doc/Fix%20PHP%20code%20style%20issues?label=code%20style)](https://github.com/cleaniquecoders/laravel-db-doc/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) +[![Total Downloads](https://img.shields.io/packagist/dt/cleaniquecoders/laravel-db-doc.svg?style=flat-square)](https://packagist.org/packages/cleaniquecoders/laravel-db-doc) A package to provide you easy way to generate Markdown / JSON format of database schema. Viewable in non-production environment at your `http://domain.com/doc/db-schema`. @@ -16,13 +16,13 @@ A package to provide you easy way to generate Markdown / JSON format of database You can install the package via composer: ```bash -composer require bekwoh/laravel-db-doc +composer require cleaniquecoders/laravel-db-doc ``` Add the following in your route file: ```php -use Bekwoh\LaravelMediaSecure\LaravelDbDoc; +use CleaniqueCoders\LaravelMediaSecure\LaravelDbDoc; LaravelDbDoc::routes(); ``` @@ -50,7 +50,7 @@ php artisan vendor:publish --tag="laravel-db-doc-views" To generate database schema in Markdown format: ```php -php artisan db:schema +php artisan db:schema ``` To generate database schema in JSON format: diff --git a/composer.json b/composer.json index f6ad0a6..ff0b6b2 100644 --- a/composer.json +++ b/composer.json @@ -1,12 +1,12 @@ { - "name": "bekwoh/laravel-db-doc", + "name": "cleaniquecoders/laravel-db-doc", "description": "Generate Database Schema Documentation", "keywords": [ - "bekwoh", + "cleaniquecoders", "laravel", "laravel-db-doc" ], - "homepage": "https://github.com/bekwoh/laravel-db-doc", + "homepage": "https://github.com/cleaniquecoders/laravel-db-doc", "license": "MIT", "authors": [ { @@ -35,13 +35,13 @@ }, "autoload": { "psr-4": { - "Bekwoh\\LaravelDbDoc\\": "src", - "Bekwoh\\LaravelDbDoc\\Database\\Factories\\": "database/factories" + "CleaniqueCoders\\LaravelDbDoc\\": "src", + "CleaniqueCoders\\LaravelDbDoc\\Database\\Factories\\": "database/factories" } }, "autoload-dev": { "psr-4": { - "Bekwoh\\LaravelDbDoc\\Tests\\": "tests" + "CleaniqueCoders\\LaravelDbDoc\\Tests\\": "tests" } }, "scripts": { @@ -60,10 +60,10 @@ "extra": { "laravel": { "providers": [ - "Bekwoh\\LaravelDbDoc\\LaravelDbDocServiceProvider" + "CleaniqueCoders\\LaravelDbDoc\\LaravelDbDocServiceProvider" ], "aliases": { - "LaravelDbDoc": "Bekwoh\\LaravelDbDoc\\Facades\\LaravelDbDoc" + "LaravelDbDoc": "CleaniqueCoders\\LaravelDbDoc\\Facades\\LaravelDbDoc" } } }, diff --git a/config/db-doc.php b/config/db-doc.php index 591cc8d..5d6fde8 100644 --- a/config/db-doc.php +++ b/config/db-doc.php @@ -1,10 +1,10 @@ 'markdown', diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9a7e884..09a33fa 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -19,7 +19,7 @@ verbose="true" > - + tests diff --git a/src/Commands/LaravelDbDocCommand.php b/src/Commands/LaravelDbDocCommand.php index a258d56..aca10f2 100644 --- a/src/Commands/LaravelDbDocCommand.php +++ b/src/Commands/LaravelDbDocCommand.php @@ -1,8 +1,8 @@ in(__DIR__); diff --git a/tests/TestCase.php b/tests/TestCase.php index b80703e..0bb0676 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,9 +1,9 @@ 'Bekwoh\\LaravelDbDoc\\Database\\Factories\\'.class_basename($modelName).'Factory' + fn (string $modelName) => 'CleaniqueCoders\\LaravelDbDoc\\Database\\Factories\\'.class_basename($modelName).'Factory' ); }