Skip to content

Commit

Permalink
namespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
0wain committed Jul 23, 2024
1 parent c93dd0d commit f30c3d0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor/
.idea
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@

This packages allows you to display when other users are viewing the same resource in Filament PHP.

https://packagist.org/packages/owainjones74/filament-gaze
https://packagist.org/packages/discoverydesign/filament-gaze

## How to use
1. Install the package using `composer require owainjones74/filament-gaze`
2. Add `\OwainJones74\FilamentGaze\FilamentGazePlugin::make()` to your Filament Panel provider.
1. Install the package using `composer require discoverydesign/filament-gaze`
2. Add `\DiscoveryDesign\FilamentGaze\FilamentGazePlugin::make()` to your Filament Panel provider.
```
$panel->plugins([
\OwainJones74\FilamentGaze\FilamentGazePlugin::make()
\DiscoveryDesign\FilamentGaze\FilamentGazePlugin::make()
])
```
3. Import the package inside your Filament Resource with `use OwainJones74\FilamentGaze\Forms\Components\GazeBanner`.
3. Import the package inside your Filament Resource with `use DiscoveryDesign\FilamentGaze\Forms\Components\GazeBanner`.
4. Add the `GazeBanner` form component to your form with `GazeBanner::make()`.
5. If required, publish the translation files with `php artisan vendor:publish --tag=filament-gaze-translations`.

Expand All @@ -28,7 +28,7 @@ $panel->plugins([

namespace App\Filament\Resources;

use OwainJones74\FilamentGaze\Forms\Components\GazeBanner;
use DiscoveryDesign\FilamentGaze\Forms\Components\GazeBanner;
// ...

class OrderResource extends Resource
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"license": "MIT",
"autoload": {
"psr-4": {
"OwainJones74\\FilamentGaze\\": "src/"
"DiscoveryDesign\\FilamentGaze\\": "src/"
}
},
"authors": [
{
"name": "Owain Jones"
"name": "Discovery Design"
}
],
"minimum-stability": "dev",
Expand All @@ -21,7 +21,7 @@
"extra": {
"laravel": {
"providers": [
"OwainJones74\\FilamentGaze\\FilamentGazeServiceProvider"
"DiscoveryDesign\\FilamentGaze\\FilamentGazeServiceProvider"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/FilamentGazePlugin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OwainJones74\FilamentGaze;
namespace DiscoveryDesign\FilamentGaze;

use Filament\Contracts\Plugin;
use Filament\Panel;
Expand Down
2 changes: 1 addition & 1 deletion src/FilamentGazeServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OwainJones74\FilamentGaze;
namespace DiscoveryDesign\FilamentGaze;

use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
Expand Down
2 changes: 1 addition & 1 deletion src/Forms/Components/GazeBanner.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OwainJones74\FilamentGaze\Forms\Components;
namespace DiscoveryDesign\FilamentGaze\Forms\Components;

use Carbon\Carbon;
use Filament\Facades\Filament;
Expand Down

0 comments on commit f30c3d0

Please sign in to comment.