Move Hashids classes from app/Hashids to app/Services/Hashids

This commit is contained in:
Darko Gjorgjijoski
2026-04-03 15:41:05 +02:00
parent 0ce88ab817
commit e208e3ba56
6 changed files with 27 additions and 27 deletions

View File

@@ -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,

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace App\Hashids;
namespace App\Services\Hashids;
use Hashids\Hashids;
use Illuminate\Support\Arr;

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace App\Hashids;
namespace App\Services\Hashids;
use Hashids\Hashids;
use Illuminate\Contracts\Config\Repository;

View File

@@ -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;

View File

@@ -1,12 +1,12 @@
<?php
use App\Hashids\HashidsServiceProvider;
use App\Providers\AppConfigProvider;
use App\Providers\AppServiceProvider;
use App\Providers\DropboxServiceProvider;
use App\Providers\PDFServiceProvider;
use App\Providers\RouteServiceProvider;
use App\Providers\ViewServiceProvider;
use App\Services\Hashids\HashidsServiceProvider;
return [
HashidsServiceProvider::class,

View File

@@ -3,7 +3,7 @@
/**
* Hashids connection config (per model class).
*
* Wired by App\Hashids\HashidsServiceProvider using the hashids/hashids package.
* Wired by App\Services\Hashids\HashidsServiceProvider using the hashids/hashids package.
*/
use App\Models\Company;