Skip to content

Commit 15a8d8f

Browse files
committed
SimpleMediaCode -> Simplemediacode
1 parent 142a047 commit 15a8d8f

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ composer require simplemediacode/hooks
2323
### Using the Static Facade
2424

2525
```php
26-
use SimpleMediaCode\Hooks\Hooks;
26+
use Simplemediacode\Hooks\Hooks;
2727

2828
// Add a filter
2929
Hooks::addFilter('content', function($content) {
@@ -46,7 +46,7 @@ Hooks::doAction('save_post', 123);
4646
### Using Dependency Injection
4747

4848
```php
49-
use SimpleMediaCode\Hooks\HooksInterface;
49+
use Simplemediacode\Hooks\HooksInterface;
5050

5151
class MyClass
5252
{

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "simplemediacode/hooks",
33
"description": "Modern PHP Hooks System for PHP applications.",
44
"type": "library",
5-
"version": "2.0.0",
5+
"version": "2.0.1",
66
"require": {
77
"php": "~8.0|~8.1|~8.2|~8.3|~8.4"
88
},
@@ -21,7 +21,7 @@
2121
],
2222
"autoload": {
2323
"psr-4": {
24-
"SimpleMediaCode\\Hooks\\": "src/"
24+
"Simplemediacode\\Hooks\\": "src/"
2525
}
2626
},
2727
"minimum-stability": "stable",

src/Hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace SimpleMediaCode\Hooks;
3+
namespace Simplemediacode\Hooks;
44

55
/**
66
* Core class that implements the hook functionality.

src/Hooks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace SimpleMediaCode\Hooks;
3+
namespace Simplemediacode\Hooks;
44

55
/**
66
* Static facade for the hooks system.

src/HooksInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace SimpleMediaCode\Hooks;
3+
namespace Simplemediacode\Hooks;
44

55
/**
66
* Interface for the hooks system.

src/HooksManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace SimpleMediaCode\Hooks;
2+
namespace Simplemediacode\Hooks;
33

44
/**
55
* Main implementation of the HooksInterface.

0 commit comments

Comments
 (0)