diff --git a/.phpstorm.meta.php b/.phpstorm.meta.php index 9eeee2b9..68581c10 100644 --- a/.phpstorm.meta.php +++ b/.phpstorm.meta.php @@ -64,8 +64,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -147,8 +147,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -230,8 +230,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -313,8 +313,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -396,8 +396,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -479,8 +479,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -562,8 +562,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -645,8 +645,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -728,8 +728,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -811,8 +811,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, @@ -894,8 +894,8 @@ namespace PHPSTORM_META { 'flare.logger' => \Monolog\Logger::class, 'hash' => \Illuminate\Hashing\HashManager::class, 'hash.driver' => \Illuminate\Hashing\BcryptHasher::class, - 'hashids' => \App\Hashids\HashidsManager::class, - 'hashids.factory' => \App\Hashids\HashidsFactory::class, + 'hashids' => \App\Services\Hashids\HashidsManager::class, + 'hashids.factory' => \App\Services\Hashids\HashidsFactory::class, 'log' => \Illuminate\Log\LogManager::class, 'mail.manager' => \Illuminate\Mail\MailManager::class, 'mailer' => \Illuminate\Mail\Mailer::class, diff --git a/app/Hashids/HashidsFactory.php b/app/Services/Hashids/HashidsFactory.php similarity index 96% rename from app/Hashids/HashidsFactory.php rename to app/Services/Hashids/HashidsFactory.php index 91238e5d..495dd0a9 100644 --- a/app/Hashids/HashidsFactory.php +++ b/app/Services/Hashids/HashidsFactory.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Hashids; +namespace App\Services\Hashids; use Hashids\Hashids; use Illuminate\Support\Arr; diff --git a/app/Hashids/HashidsManager.php b/app/Services/Hashids/HashidsManager.php similarity index 98% rename from app/Hashids/HashidsManager.php rename to app/Services/Hashids/HashidsManager.php index db200d08..0d09219f 100644 --- a/app/Hashids/HashidsManager.php +++ b/app/Services/Hashids/HashidsManager.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Hashids; +namespace App\Services\Hashids; use Hashids\Hashids; use Illuminate\Contracts\Config\Repository; diff --git a/app/Hashids/HashidsServiceProvider.php b/app/Services/Hashids/HashidsServiceProvider.php similarity index 97% rename from app/Hashids/HashidsServiceProvider.php rename to app/Services/Hashids/HashidsServiceProvider.php index 08e93e54..10445ef5 100644 --- a/app/Hashids/HashidsServiceProvider.php +++ b/app/Services/Hashids/HashidsServiceProvider.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Hashids; +namespace App\Services\Hashids; use Hashids\Hashids as HashidsClient; use Illuminate\Contracts\Container\Container; diff --git a/bootstrap/providers.php b/bootstrap/providers.php index d9be3959..40436e35 100644 --- a/bootstrap/providers.php +++ b/bootstrap/providers.php @@ -1,12 +1,12 @@