Skip to content

Commit

Permalink
Move namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
robchett committed Oct 26, 2022
1 parent 3cd1e9f commit 8a8d94b
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 37 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Latest Version](https://img.shields.io/packagist/v/robchett/laraberg)](https://packagist.org/packages/robchett/laraberg)
![License](https://img.shields.io/github/license/robchett/laraberg.svg)
[![Latest Version](https://img.shields.io/packagist/v/evosite/laraberg)](https://packagist.org/packages/robchett/laraberg)
![License](https://img.shields.io/github/license/evosite/laraberg.svg)

Laraberg aims to provide an easy way to integrate the Gutenberg editor with your Laravel projects. It takes the Gutenberg editor and adds all the communication and data it needs function in a Laravel environment.

Expand All @@ -21,7 +21,7 @@ Laraberg aims to provide an easy way to integrate the Gutenberg editor with your
Install package using composer:

```bash
composer require robchett/laraberg
composer require evosite/laraberg
```

Add vendor files to your project (CSS, JS & Config):
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "robchett/laraberg",
"name": "evosite/laraberg",
"description": "A Gutenberg implementation for Laravel",
"license": "GPL-3.0-or-later",
"authors": [
Expand All @@ -18,12 +18,12 @@
},
"autoload": {
"psr-4": {
"RobChett\\Laraberg\\": "src"
"Evosite\\Laraberg\\": "src"
}
},
"extra": {
"laravel": {
"providers": "RobChett\\Laraberg\\LarabergServiceProvider"
"providers": "Evosite\\Laraberg\\LarabergServiceProvider"
}
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/robchett/laraberg.git"
"url": "git+https://github.com/evosite/laraberg.git"
},
"author": "Maurice Wijnia",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/robchett/laraberg/issues"
"url": "https://github.com/evosite/laraberg/issues"
},
"homepage": "https://github.com/robchett/laraberg#readme",
"homepage": "https://github.com/evosite/laraberg#readme",
"devDependencies": {
"@babel/preset-react": "^7.18.6",
"css-loader": "^6.5.1",
Expand Down
6 changes: 3 additions & 3 deletions routes/web.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use RobChett\Laraberg\Controllers\BlockRendererController;
use RobChett\Laraberg\Controllers\OEmbedController;
use RobChett\Laraberg\Controllers\MediaLibraryController;
use Evosite\Laraberg\Controllers\BlockRendererController;
use Evosite\Laraberg\Controllers\OEmbedController;
use Evosite\Laraberg\Controllers\MediaLibraryController;

Route::group(['prefix' => config('laraberg.prefix'), 'middleware' => config('laraberg.middlewares')], function () {
Route::get('oembed', [OEmbedController::class, 'show']);
Expand Down
4 changes: 2 additions & 2 deletions src/Blocks/Block.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

use RobChett\Laraberg\Services\OEmbedService;
use Evosite\Laraberg\Services\OEmbedService;

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

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

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

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

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

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

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

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

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

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

/**
* Parses a document and constructs a list of parsed block objects
Expand Down
2 changes: 1 addition & 1 deletion src/Blocks/WordpressBlockParserBlock.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

/**
* Holds the block structure in memory
Expand Down
2 changes: 1 addition & 1 deletion src/Blocks/WordpressBlockParserFrame.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RobChett\Laraberg\Blocks;
namespace Evosite\Laraberg\Blocks;

/**
* Holds partial blocks in memory while parsing
Expand Down
4 changes: 2 additions & 2 deletions src/Controllers/BlockRendererController.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace RobChett\Laraberg\Controllers;
namespace Evosite\Laraberg\Controllers;

use Illuminate\Http\Request;
use RobChett\Laraberg\Blocks\Block;
use Evosite\Laraberg\Blocks\Block;

class BlockRendererController
{
Expand Down
4 changes: 2 additions & 2 deletions src/Controllers/MediaLibraryController.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace RobChett\Laraberg\Controllers;
namespace Evosite\Laraberg\Controllers;

use Illuminate\Http\Request;
use RobChett\Laraberg\Blocks\Block;
use Evosite\Laraberg\Blocks\Block;

class MediaLibraryController {

Expand Down
4 changes: 2 additions & 2 deletions src/Controllers/OEmbedController.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace RobChett\Laraberg\Controllers;
namespace Evosite\Laraberg\Controllers;

use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use RobChett\Laraberg\Services\OEmbedService;
use Evosite\Laraberg\Services\OEmbedService;

class OEmbedController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/OEmbedFetchException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RobChett\Laraberg\Exceptions;
namespace Evosite\Laraberg\Exceptions;

class OEmbedFetchException extends \Exception
{
Expand Down
4 changes: 2 additions & 2 deletions src/Laraberg.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace RobChett\Laraberg;
namespace Evosite\Laraberg;

use RobChett\Laraberg\Blocks\BlockTypeRegistry;
use Evosite\Laraberg\Blocks\BlockTypeRegistry;

class Laraberg
{
Expand Down
10 changes: 5 additions & 5 deletions src/LarabergServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace RobChett\Laraberg;
namespace Evosite\Laraberg;

use RobChett\Laraberg\Blocks\BlockParser;
use RobChett\Laraberg\Blocks\BlockTypeRegistry;
use RobChett\Laraberg\Blocks\ContentRenderer;
use RobChett\Laraberg\Services\OEmbedService;
use Evosite\Laraberg\Blocks\BlockParser;
use Evosite\Laraberg\Blocks\BlockTypeRegistry;
use Evosite\Laraberg\Blocks\ContentRenderer;
use Evosite\Laraberg\Services\OEmbedService;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand Down
4 changes: 2 additions & 2 deletions src/Services/OEmbedService.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace RobChett\Laraberg\Services;
namespace Evosite\Laraberg\Services;

use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Arr;
use RobChett\Laraberg\Exceptions\OEmbedFetchException;
use Evosite\Laraberg\Exceptions\OEmbedFetchException;

class OEmbedService
{
Expand Down

0 comments on commit 8a8d94b

Please sign in to comment.