Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Root Namespace #13

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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
36 changes: 18 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) bekwoh <[email protected]>
Copyright (c) cleaniquecoders <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand All @@ -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();
```
Expand Down Expand Up @@ -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:
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand Down Expand Up @@ -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": {
Expand All @@ -60,10 +60,10 @@
"extra": {
"laravel": {
"providers": [
"Bekwoh\\LaravelDbDoc\\LaravelDbDocServiceProvider"
"CleaniqueCoders\\LaravelDbDoc\\LaravelDbDocServiceProvider"
],
"aliases": {
"LaravelDbDoc": "Bekwoh\\LaravelDbDoc\\Facades\\LaravelDbDoc"
"LaravelDbDoc": "CleaniqueCoders\\LaravelDbDoc\\Facades\\LaravelDbDoc"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions config/db-doc.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

// config for Bekwoh/LaravelDbDoc
// config for CleaniqueCoders/LaravelDbDoc

use Bekwoh\LaravelDbDoc\Presentation\Csv;
use Bekwoh\LaravelDbDoc\Presentation\Json;
use Bekwoh\LaravelDbDoc\Presentation\Markdown;
use CleaniqueCoders\LaravelDbDoc\Presentation\Csv;
use CleaniqueCoders\LaravelDbDoc\Presentation\Json;
use CleaniqueCoders\LaravelDbDoc\Presentation\Markdown;

return [
'format' => 'markdown',
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
verbose="true"
>
<testsuites>
<testsuite name="Bekwoh Test Suite">
<testsuite name="CleaniqueCoders Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/LaravelDbDocCommand.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Bekwoh\LaravelDbDoc\Commands;
namespace CleaniqueCoders\LaravelDbDoc\Commands;

use Bekwoh\LaravelDbDoc\Processor;
use CleaniqueCoders\LaravelDbDoc\Processor;
use Illuminate\Console\Command;

class LaravelDbDocCommand extends Command
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Presenter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Bekwoh\LaravelDbDoc\Contracts;
namespace CleaniqueCoders\LaravelDbDoc\Contracts;

interface Presenter
{
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Column.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Bekwoh\LaravelDbDoc\Data;
namespace CleaniqueCoders\LaravelDbDoc\Data;

class Column
{
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Schema.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Bekwoh\LaravelDbDoc\Data;
namespace CleaniqueCoders\LaravelDbDoc\Data;

class Schema
{
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Table.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Bekwoh\LaravelDbDoc\Data;
namespace CleaniqueCoders\LaravelDbDoc\Data;

class Table
{
Expand Down
6 changes: 3 additions & 3 deletions src/Facades/LaravelDbDoc.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php

namespace Bekwoh\LaravelDbDoc\Facades;
namespace CleaniqueCoders\LaravelDbDoc\Facades;

use Illuminate\Support\Facades\Facade;

/**
* @see \Bekwoh\LaravelDbDoc\LaravelDbDoc
* @see \CleaniqueCoders\LaravelDbDoc\LaravelDbDoc
*/
class LaravelDbDoc extends Facade
{
protected static function getFacadeAccessor()
{
return \Bekwoh\LaravelDbDoc\LaravelDbDoc::class;
return \CleaniqueCoders\LaravelDbDoc\LaravelDbDoc::class;
}
}
2 changes: 1 addition & 1 deletion src/LaravelDbDoc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Bekwoh\LaravelDbDoc;
namespace CleaniqueCoders\LaravelDbDoc;

use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Storage;
Expand Down
4 changes: 2 additions & 2 deletions src/LaravelDbDocServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Bekwoh\LaravelDbDoc;
namespace CleaniqueCoders\LaravelDbDoc;

use Bekwoh\LaravelDbDoc\Commands\LaravelDbDocCommand;
use CleaniqueCoders\LaravelDbDoc\Commands\LaravelDbDocCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand Down
6 changes: 3 additions & 3 deletions src/Presentation/AbstractPresenter.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Bekwoh\LaravelDbDoc\Presentation;
namespace CleaniqueCoders\LaravelDbDoc\Presentation;

use Bekwoh\LaravelDbDoc\Contracts\Presenter;
use Bekwoh\LaravelDbDoc\Facades\LaravelDbDoc;
use CleaniqueCoders\LaravelDbDoc\Contracts\Presenter;
use CleaniqueCoders\LaravelDbDoc\Facades\LaravelDbDoc;
use Illuminate\Support\Facades\Storage;

abstract class AbstractPresenter implements Presenter
Expand Down
4 changes: 2 additions & 2 deletions src/Presentation/Csv.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Bekwoh\LaravelDbDoc\Presentation;
namespace CleaniqueCoders\LaravelDbDoc\Presentation;

use Bekwoh\LaravelDbDoc\Contracts\Presenter;
use CleaniqueCoders\LaravelDbDoc\Contracts\Presenter;

class Csv extends AbstractPresenter implements Presenter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Presentation/Json.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Bekwoh\LaravelDbDoc\Presentation;
namespace CleaniqueCoders\LaravelDbDoc\Presentation;

use Bekwoh\LaravelDbDoc\Contracts\Presenter;
use CleaniqueCoders\LaravelDbDoc\Contracts\Presenter;

class Json extends AbstractPresenter implements Presenter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Presentation/Markdown.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Bekwoh\LaravelDbDoc\Presentation;
namespace CleaniqueCoders\LaravelDbDoc\Presentation;

use Bekwoh\LaravelDbDoc\Contracts\Presenter;
use CleaniqueCoders\LaravelDbDoc\Contracts\Presenter;

class Markdown extends AbstractPresenter implements Presenter
{
Expand Down
6 changes: 3 additions & 3 deletions src/Processor.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Bekwoh\LaravelDbDoc;
namespace CleaniqueCoders\LaravelDbDoc;

use Bekwoh\LaravelDbDoc\Contracts\Presenter;
use Bekwoh\LaravelDbDoc\Data\Schema;
use CleaniqueCoders\LaravelDbDoc\Contracts\Presenter;
use CleaniqueCoders\LaravelDbDoc\Data\Schema;
use Illuminate\Support\Facades\DB;

class Processor
Expand Down
2 changes: 1 addition & 1 deletion tests/LaravelDbDocTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Bekwoh\LaravelDbDoc\LaravelDbDoc;
use CleaniqueCoders\LaravelDbDoc\LaravelDbDoc;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Storage;
Expand Down
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Bekwoh\LaravelDbDoc\Tests\TestCase;
use CleaniqueCoders\LaravelDbDoc\Tests\TestCase;

uses(TestCase::class)->in(__DIR__);
8 changes: 4 additions & 4 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Bekwoh\LaravelDbDoc\Tests;
namespace CleaniqueCoders\LaravelDbDoc\Tests;

use Bekwoh\LaravelDbDoc\Facades\LaravelDbDoc;
use Bekwoh\LaravelDbDoc\LaravelDbDocServiceProvider;
use CleaniqueCoders\LaravelDbDoc\Facades\LaravelDbDoc;
use CleaniqueCoders\LaravelDbDoc\LaravelDbDocServiceProvider;
use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;

Expand All @@ -14,7 +14,7 @@ protected function setUp(): void
parent::setUp();

Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'Bekwoh\\LaravelDbDoc\\Database\\Factories\\'.class_basename($modelName).'Factory'
fn (string $modelName) => 'CleaniqueCoders\\LaravelDbDoc\\Database\\Factories\\'.class_basename($modelName).'Factory'
);
}

Expand Down
Loading