Skip to content

Commit c595b33

Browse files
committed
Update namespace to wotz
1 parent 8fe4331 commit c595b33

26 files changed

Lines changed: 75 additions & 69 deletions
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Feature request
4-
url: https://github.com/codedor/filament-menu/discussions/new?category=ideas
4+
url: https://github.com/wotzebra/filament-menu/discussions/new?category=ideas
55
about: Share ideas for new features
66
- name: Support question
7-
url: https://github.com/codedor/filament-menu/discussions/new?category=q-a
7+
url: https://github.com/wotzebra/filament-menu/discussions/new?category=q-a
88
about: Ask the community for help
99
- name: Report a security issue
10-
url: https://github.com/codedor/filament-menu/README.md#security
10+
url: https://github.com/wotzebra/filament-menu/README.md#security
1111
about: Learn how to notify us for sensitive bugs
1212
- name: Report a bug
13-
url: https://github.com/codedor/filament-menu/issues/new
13+
url: https://github.com/wotzebra/filament-menu/issues/new
1414
about: Report a reproducable bug

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ phpstan.neon
99
testbench.yaml
1010
vendor
1111
node_modules
12+
.claude

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
info@codedor.be.
63+
info@whoownsthezebra.be.
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the

CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ Some things to consider before submitting an issue
4545

4646
## Coding style
4747

48-
See our [guidelines](https://guidelines.codedor.be/coding-standards/php).
49-
5048
### Laravel Pint
5149

5250
Don't worry if your code styling is not perfect! Each of our packages have a [Laravel Pint](https://github.com/laravel/pint) Github Action will automatically merge any style fixes into the package when you commit changes to a pull request.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
You can install the package via composer:
66

77
```bash
8-
composer require codedor/filament-menu
8+
composer require wotz/filament-menu
99
```
1010

1111
You can publish and run the migrations with:
@@ -39,7 +39,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed re
3939

4040
## Security Vulnerabilities
4141

42-
If you discover any security-related issues, please email info@codedor.be instead of using the issue tracker.
42+
If you discover any security-related issues, please email info@whoownsthezebra.be instead of using the issue tracker.
4343

4444
## License
4545

UPGRADING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Upgrading
22

3+
## From v2 to v3
4+
5+
- Install `wotz/filament-menu` instead of `codedor/filament-menu`
6+
- Replace all occurrences of `Codedor\FilamentMenu` namespace with new `Wotz\FilamentMenu` namespace
7+
38
## From v1 to v2
49

510
This major release introduces a completely refactored menu system with a more flexible and extensible architecture. The main change is the introduction of **Navigation Elements** - a new way to handle different types of menu items that allows for better customization and future extensibility.
@@ -70,7 +75,7 @@ Menu item data is now stored as:
7075
### Upgrade Path
7176

7277
1. **Backup your database** before upgrading
73-
2. Run `composer update codedor/filament-menu`
78+
2. Run `composer update wotz/filament-menu`
7479
3. Run `php artisan migrate`
7580
4. Clear caches: `php artisan cache:clear`
7681
5. Check the blade components in your project, they have to be updated to use the new navigation element system

composer.json

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,58 @@
11
{
2-
"name": "codedor/filament-menu",
2+
"name": "wotz/filament-menu",
33
"description": "A menu package for filament",
44
"keywords": [
5-
"codedor",
5+
"who owns the zebra",
66
"laravel",
77
"filament-menu"
88
],
9-
"homepage": "https://github.com/codedor/filament-menu",
9+
"homepage": "https://github.com/wotzebra/filament-menu",
1010
"license": "MIT",
1111
"require": {
1212
"php": "^8.2",
13-
"codedor/filament-link-picker": "dev-feature/filament-v5",
14-
"codedor/filament-translatable-tabs": "dev-feature/filament-v5",
15-
"codedor/laravel-locale-collection": "^1.2",
16-
"codedor/laravel-online-scope": "dev-feature/filament-v5",
1713
"filament/filament": "^4.0|^5.0",
1814
"illuminate/contracts": "^10.0|^11.0|^12.0",
1915
"spatie/eloquent-sortable": "^4.0",
20-
"spatie/laravel-navigation": "^1.2",
16+
"spatie/laravel-navigation": "^1.3",
2117
"spatie/laravel-package-tools": "^1.12",
22-
"spatie/laravel-translatable": "^6.5"
18+
"spatie/laravel-translatable": "^6.5",
19+
"wotz/filament-link-picker": "^2.0",
20+
"wotz/filament-translatable-tabs": "^2.0",
21+
"wotz/laravel-locale-collection": "^2.0",
22+
"wotz/laravel-online-scope": "^2.0"
2323
},
2424
"require-dev": {
2525
"larastan/larastan": "^2.0|^3.0",
2626
"laravel/pint": "^1.0",
2727
"nunomaduro/collision": "^7.0|^8.0",
2828
"orchestra/testbench": "^8.0|^9.0|^10.0",
29-
"pestphp/pest": "^2.0|^3.0",
30-
"pestphp/pest-plugin-laravel": "^2.0|^3.0",
29+
"pestphp/pest": "^2.0|^3.0|^4.0",
30+
"pestphp/pest-plugin-laravel": "^2.0|^3.0|^4.0",
3131
"phpstan/extension-installer": "^1.1|^2.0",
3232
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
33-
"phpstan/phpstan-phpunit": "^1.0|^2.0",
34-
"spatie/laravel-navigation": "^1.2|^2.0"
33+
"phpstan/phpstan-phpunit": "^1.0|^2.0"
3534
},
3635
"autoload": {
3736
"psr-4": {
38-
"Codedor\\FilamentMenu\\": "src",
39-
"Codedor\\FilamentMenu\\Database\\Factories\\": "database/factories"
37+
"Wotz\\FilamentMenu\\": "src",
38+
"Wotz\\FilamentMenu\\Database\\Factories\\": "database/factories"
4039
}
4140
},
4241
"autoload-dev": {
4342
"psr-4": {
44-
"Codedor\\FilamentMenu\\Tests\\": "tests"
43+
"Wotz\\FilamentMenu\\Tests\\": "tests"
4544
}
4645
},
4746
"extra": {
4847
"laravel": {
4948
"providers": [
50-
"Codedor\\FilamentMenu\\Providers\\FilamentMenuServiceProvider"
49+
"Wotz\\FilamentMenu\\Providers\\FilamentMenuServiceProvider"
5150
]
5251
}
5352
},
53+
"support": {
54+
"email": "info@whoownsthezebra.be"
55+
},
5456
"config": {
5557
"sort-packages": true,
5658
"allow-plugins": {

config/filament-menu.php

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

3-
use Codedor\FilamentMenu\NavigationElements;
3+
use Wotz\FilamentMenu\NavigationElements;
44

55
return [
66
'navigation-elements' => [

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
33
<testsuites>
4-
<testsuite name="Codedor Test Suite">
4+
<testsuite name="Wotz Test Suite">
55
<directory>tests</directory>
66
</testsuite>
77
</testsuites>

src/Facades/MenuCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Codedor\FilamentMenu\Facades;
3+
namespace Wotz\FilamentMenu\Facades;
44

55
class MenuCollection extends \Illuminate\Support\Facades\Facade
66
{
77
protected static function getFacadeAccessor()
88
{
9-
return \Codedor\FilamentMenu\MenuCollection::class;
9+
return \Wotz\FilamentMenu\MenuCollection::class;
1010
}
1111
}

0 commit comments

Comments
 (0)