Skip to content

Commit

Permalink
Merge pull request #28 from wotzebra/feature/change-namespace-to-wotz
Browse files Browse the repository at this point in the history
Change namespace from 'NextApps' to 'Wotz'
  • Loading branch information
gdebrauwer authored Sep 26, 2024
2 parents 11fa5fd + 677d015 commit d5e1cea
Show file tree
Hide file tree
Showing 22 changed files with 72 additions and 72 deletions.
32 changes: 16 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,55 +4,55 @@ All notable changes to `laravel-poeditor-sync` will be documented in this file

## 1.0.1 - 2024-03-15

- Added: Laravel 11 support ([#27](https://github.com/nextapps-be/laravel-poeditor-sync/pull/27))
- Added: Laravel 11 support ([#27](https://github.com/wotzebra/laravel-poeditor-sync/pull/27))

## 1.0.0 - 2024-01-23

- Changed: Modernize codebase ([#16](https://github.com/nextapps-be/laravel-poeditor-sync/pull/16))
- Removed: Drop support for PHP 7.4 until 8.0 and for Laravel 7 and 8 ([#15](https://github.com/nextapps-be/laravel-poeditor-sync/pull/15))
- Removed: Docblocks (add typehints instead) ([#15](https://github.com/nextapps-be/laravel-poeditor-sync/pull/15))
- Changed: Modernize codebase ([#16](https://github.com/wotzebra/laravel-poeditor-sync/pull/16))
- Removed: Drop support for PHP 7.4 until 8.0 and for Laravel 7 and 8 ([#15](https://github.com/wotzebra/laravel-poeditor-sync/pull/15))
- Removed: Docblocks (add typehints instead) ([#15](https://github.com/wotzebra/laravel-poeditor-sync/pull/15))

## 0.8.1 - 2024-01-19

- Fixed: Do not delete excluded translation files when downloading poeditor translations ([#14](https://github.com/nextapps-be/laravel-poeditor-sync/pull/14))
- Fixed: Do not delete excluded translation files when downloading poeditor translations ([#14](https://github.com/wotzebra/laravel-poeditor-sync/pull/14))

## 0.8.0 - 2023-12-15

- Added: PHP 8.3 support ([#13](https://github.com/nextapps-be/laravel-poeditor-sync/pull/13))
- Added: PHP 8.3 support ([#13](https://github.com/wotzebra/laravel-poeditor-sync/pull/13))

## 0.7.1 - 2023-10-26

- Fix PHP deprecation warning in string concatenation ([#12](https://github.com/nextapps-be/laravel-poeditor-sync/pull/12))
- Fix PHP deprecation warning in string concatenation ([#12](https://github.com/wotzebra/laravel-poeditor-sync/pull/12))

## 0.7.0 - 2023-08-25

- Add support for mapping multiple internal locales to the same POEditor locale ([#11](https://github.com/nextapps-be/laravel-poeditor-sync/pull/11))
- Add support for mapping multiple internal locales to the same POEditor locale ([#11](https://github.com/wotzebra/laravel-poeditor-sync/pull/11))

## 0.6.0 - 2022-04-05

- Add PHP 8.2 and Laravel 10 support ([#10](https://github.com/nextapps-be/laravel-poeditor-sync/pull/10))
- Add PHP 8.2 and Laravel 10 support ([#10](https://github.com/wotzebra/laravel-poeditor-sync/pull/10))

## 0.5.0 - 2022-02-16

- Add PHP 8.1 and Laravel 9 support ([#9](https://github.com/nextapps-be/laravel-poeditor-sync/pull/9))
- Add PHP 8.1 and Laravel 9 support ([#9](https://github.com/wotzebra/laravel-poeditor-sync/pull/9))

## 0.4.1 - 2021-07-31

- Prevent unwanted creation of empty 'vendor.php' file when vendor translations are present ([#8](https://github.com/nextapps-be/laravel-poeditor-sync/pull/8))
- Prevent unwanted creation of empty 'vendor.php' file when vendor translations are present ([#8](https://github.com/wotzebra/laravel-poeditor-sync/pull/8))

## 0.4.0 - 2021-02-15

- Add php8 support and switch to github actions ([#6](https://github.com/nextapps-be/laravel-poeditor-sync/pull/6))
- Add php8 support and switch to github actions ([#6](https://github.com/wotzebra/laravel-poeditor-sync/pull/6))

## 0.3.0 - 2020-10-09

- Do not create JSON translations file if it will be empty ([#4](https://github.com/nextapps-be/laravel-poeditor-sync/pull/4))
- Add option to exclude files from upload ([#3](https://github.com/nextapps-be/laravel-poeditor-sync/pull/3))
- Throw "invalid argument" exception if API key or Project ID is empty ([#2](https://github.com/nextapps-be/laravel-poeditor-sync/pull/2))
- Do not create JSON translations file if it will be empty ([#4](https://github.com/wotzebra/laravel-poeditor-sync/pull/4))
- Add option to exclude files from upload ([#3](https://github.com/wotzebra/laravel-poeditor-sync/pull/3))
- Throw "invalid argument" exception if API key or Project ID is empty ([#2](https://github.com/wotzebra/laravel-poeditor-sync/pull/2))

## 0.2.0 - 2020-09-09

- Add Laravel 8 support, and drop Laravel 6 support ([#5](https://github.com/nextapps-be/laravel-poeditor-sync/pull/5))
- Add Laravel 8 support, and drop Laravel 6 support ([#5](https://github.com/wotzebra/laravel-poeditor-sync/pull/5))

## 0.1.0 - 2020-05-08

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Next Apps
Copyright (c) 2024 Who Owns The Zebra

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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Laravel Poeditor Synchronization

[![Latest Version on Packagist](https://img.shields.io/packagist/v/nextapps/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/nextapps/laravel-poeditor-sync)
[![Total Downloads](https://img.shields.io/packagist/dt/nextapps/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/nextapps/laravel-poeditor-sync)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/wotz/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/wotz/laravel-poeditor-sync)
[![Total Downloads](https://img.shields.io/packagist/dt/wotz/laravel-poeditor-sync.svg?style=flat-square)](https://packagist.org/packages/wotz/laravel-poeditor-sync)

Upload and download POEditor translations.
Both PHP and JSON translation files are supported.
Expand All @@ -12,13 +12,13 @@ Vendor PHP / JSON translations can also be uploaded / downloaded.
You can install the package via composer:

```bash
composer require nextapps/laravel-poeditor-sync --dev
composer require wotz/laravel-poeditor-sync --dev
```

You can publish the configuration file:

```bash
php artisan vendor:publish --provider="NextApps\PoeditorSync\PoeditorSyncServiceProvider"
php artisan vendor:publish --provider="Wotz\PoeditorSync\PoeditorSyncServiceProvider"
```

Set the POEditor API key and Project ID in your env-file:
Expand Down Expand Up @@ -111,7 +111,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## Credits

- [Günther Debrauwer](https://github.com/nextapps)
- [Günther Debrauwer](https://github.com/gdebrauwer)
- [All Contributors](../../contributors)

## License
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "nextapps/laravel-poeditor-sync",
"name": "wotz/laravel-poeditor-sync",
"description": "Upload and download POEditor translations",
"keywords": [
"nextapps",
"laravel",
"poeditor"
"poeditor",
"translations"
],
"homepage": "https://github.com/nextapps/laravel-poeditor-sync",
"homepage": "https://github.com/wotzebra/laravel-poeditor-sync",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Günther Debrauwer",
"email": "gunther@nextapps.be",
"email": "gunther.debrauwer@whoownsthezebra.be",
"role": "Developer"
}
],
Expand All @@ -33,12 +33,12 @@
},
"autoload": {
"psr-4": {
"NextApps\\PoeditorSync\\": "src"
"Wotz\\PoeditorSync\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"NextApps\\PoeditorSync\\Tests\\": "tests"
"Wotz\\PoeditorSync\\Tests\\": "tests"
}
},
"scripts": {
Expand All @@ -53,7 +53,7 @@
"extra": {
"laravel": {
"providers": [
"NextApps\\PoeditorSync\\PoeditorSyncServiceProvider"
"Wotz\\PoeditorSync\\PoeditorSyncServiceProvider"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/Commands/DownloadCommand.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace NextApps\PoeditorSync\Commands;
namespace Wotz\PoeditorSync\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use NextApps\PoeditorSync\Poeditor\Poeditor;
use NextApps\PoeditorSync\Translations\TranslationManager;
use Wotz\PoeditorSync\Poeditor\Poeditor;
use Wotz\PoeditorSync\Translations\TranslationManager;

class DownloadCommand extends Command
{
Expand Down
6 changes: 3 additions & 3 deletions src/Commands/StatusCommand.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace NextApps\PoeditorSync\Commands;
namespace Wotz\PoeditorSync\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use NextApps\PoeditorSync\Poeditor\Poeditor;
use NextApps\PoeditorSync\Translations\TranslationManager;
use Wotz\PoeditorSync\Poeditor\Poeditor;
use Wotz\PoeditorSync\Translations\TranslationManager;

class StatusCommand extends Command
{
Expand Down
6 changes: 3 additions & 3 deletions src/Commands/UploadCommand.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace NextApps\PoeditorSync\Commands;
namespace Wotz\PoeditorSync\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Arr;
use NextApps\PoeditorSync\Poeditor\Poeditor;
use NextApps\PoeditorSync\Translations\TranslationManager;
use Wotz\PoeditorSync\Poeditor\Poeditor;
use Wotz\PoeditorSync\Translations\TranslationManager;

class UploadCommand extends Command
{
Expand Down
8 changes: 4 additions & 4 deletions src/Commands/ValidateCommand.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace NextApps\PoeditorSync\Commands;
namespace Wotz\PoeditorSync\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Validator;
use NextApps\PoeditorSync\Translations\TranslationManager;
use NextApps\PoeditorSync\Validation\HasMatchingPluralization;
use NextApps\PoeditorSync\Validation\HasMatchingReplacements;
use Wotz\PoeditorSync\Translations\TranslationManager;
use Wotz\PoeditorSync\Validation\HasMatchingPluralization;
use Wotz\PoeditorSync\Validation\HasMatchingReplacements;

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

namespace NextApps\PoeditorSync\Poeditor;
namespace Wotz\PoeditorSync\Poeditor;

use Illuminate\Support\Facades\Http;
use Illuminate\Support\Sleep;
Expand Down
2 changes: 1 addition & 1 deletion src/Poeditor/UploadResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NextApps\PoeditorSync\Poeditor;
namespace Wotz\PoeditorSync\Poeditor;

class UploadResponse
{
Expand Down
12 changes: 6 additions & 6 deletions src/PoeditorSyncServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace NextApps\PoeditorSync;
namespace Wotz\PoeditorSync;

use Illuminate\Support\ServiceProvider;
use NextApps\PoeditorSync\Commands\DownloadCommand;
use NextApps\PoeditorSync\Commands\StatusCommand;
use NextApps\PoeditorSync\Commands\UploadCommand;
use NextApps\PoeditorSync\Commands\ValidateCommand;
use NextApps\PoeditorSync\Poeditor\Poeditor;
use Wotz\PoeditorSync\Commands\DownloadCommand;
use Wotz\PoeditorSync\Commands\StatusCommand;
use Wotz\PoeditorSync\Commands\UploadCommand;
use Wotz\PoeditorSync\Commands\ValidateCommand;
use Wotz\PoeditorSync\Poeditor\Poeditor;

class PoeditorSyncServiceProvider extends ServiceProvider
{
Expand Down
2 changes: 1 addition & 1 deletion src/Translations/TranslationManager.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NextApps\PoeditorSync\Translations;
namespace Wotz\PoeditorSync\Translations;

use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Collection;
Expand Down
2 changes: 1 addition & 1 deletion src/Validation/HasMatchingPluralization.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NextApps\PoeditorSync\Validation;
namespace Wotz\PoeditorSync\Validation;

use Closure;
use Illuminate\Contracts\Validation\ValidationRule;
Expand Down
2 changes: 1 addition & 1 deletion src/Validation/HasMatchingReplacements.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NextApps\PoeditorSync\Validation;
namespace Wotz\PoeditorSync\Validation;

use Closure;
use Illuminate\Contracts\Validation\ValidationRule;
Expand Down
2 changes: 1 addition & 1 deletion tests/DownloadCommandTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NextApps\PoeditorSync\Tests;
namespace Wotz\PoeditorSync\Tests;

use Illuminate\Filesystem\Filesystem;

Expand Down
6 changes: 3 additions & 3 deletions tests/PoeditorTest.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace NextApps\PoeditorSync\Tests;
namespace Wotz\PoeditorSync\Tests;

use Illuminate\Http\Client\Request;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Sleep;
use InvalidArgumentException;
use NextApps\PoeditorSync\Poeditor\Poeditor;
use NextApps\PoeditorSync\Poeditor\UploadResponse;
use Wotz\PoeditorSync\Poeditor\Poeditor;
use Wotz\PoeditorSync\Poeditor\UploadResponse;

class PoeditorTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/StatusCommandTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NextApps\PoeditorSync\Tests;
namespace Wotz\PoeditorSync\Tests;

use Illuminate\Filesystem\Filesystem;

Expand Down
6 changes: 3 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace NextApps\PoeditorSync\Tests;
namespace Wotz\PoeditorSync\Tests;

use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Str;
use NextApps\PoeditorSync\Poeditor\Poeditor;
use NextApps\PoeditorSync\PoeditorSyncServiceProvider;
use Orchestra\Testbench\TestCase as BaseTestCase;
use Symfony\Component\VarExporter\VarExporter;
use Wotz\PoeditorSync\Poeditor\Poeditor;
use Wotz\PoeditorSync\PoeditorSyncServiceProvider;

class TestCase extends BaseTestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/UploadCommandTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace NextApps\PoeditorSync\Tests;
namespace Wotz\PoeditorSync\Tests;

use Illuminate\Filesystem\Filesystem;
use NextApps\PoeditorSync\Poeditor\Poeditor;
use NextApps\PoeditorSync\Poeditor\UploadResponse;
use Wotz\PoeditorSync\Poeditor\Poeditor;
use Wotz\PoeditorSync\Poeditor\UploadResponse;

class UploadCommandTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ValidateCommandTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NextApps\PoeditorSync\Tests;
namespace Wotz\PoeditorSync\Tests;

use Illuminate\Filesystem\Filesystem;

Expand Down
6 changes: 3 additions & 3 deletions tests/Validation/HasMatchingPluralizationRuleTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace NextApps\PoeditorSync\Tests\Validation;
namespace Wotz\PoeditorSync\Tests\Validation;

use Illuminate\Support\Facades\Validator;
use NextApps\PoeditorSync\Tests\TestCase;
use NextApps\PoeditorSync\Validation\HasMatchingPluralization;
use Wotz\PoeditorSync\Tests\TestCase;
use Wotz\PoeditorSync\Validation\HasMatchingPluralization;

class HasMatchingPluralizationRuleTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Validation/HasMatchingReplacementsRuleTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace NextApps\PoeditorSync\Tests\Validation;
namespace Wotz\PoeditorSync\Tests\Validation;

use Illuminate\Support\Facades\Validator;
use NextApps\PoeditorSync\Tests\TestCase;
use NextApps\PoeditorSync\Validation\HasMatchingReplacements;
use Wotz\PoeditorSync\Tests\TestCase;
use Wotz\PoeditorSync\Validation\HasMatchingReplacements;

class HasMatchingReplacementsRuleTest extends TestCase
{
Expand Down

0 comments on commit d5e1cea

Please sign in to comment.