Skip to content

Commit 32ff01e

Browse files
committed
Updated License Checker
1 parent 564c96c commit 32ff01e

9 files changed

+14
-15
lines changed

config/coderstm.php

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
'tunnel_domain' => env('TUNNEL_WEB_DOMAIN', null),
2222
'reset_password_url' => env('RESET_PASSWORD_PAGE', '/auth/reset-password'),
2323
'admin_email' => env('APP_ADMIN_EMAIL', null),
24+
'license_key' => env('APP_LICENSE_KEY', null),
2425

2526
/*
2627
|--------------------------------------------------------------------------

src/Http/Controllers/ApplicationController.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ public function getSettings($key)
4141
public function config(Request $request)
4242
{
4343
$response = [];
44-
$config = AppSetting::findByKey('config')->filter(function ($item, $key) {
45-
return !in_array($key, ['license_key']);
46-
});
44+
$config = AppSetting::findByKey('config');
4745

4846
$config->merge([
4947
'currency_symbol' => currency_symbol(),

src/Providers/CoderstmEventServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/* __________________________________________________
33
| Obfuscated by YAK Pro - Php Obfuscator 2.0.16 |
4-
| on 2025-04-20 18:18:19 |
4+
| on 2025-04-22 01:53:54 |
55
| GitHub: https://github.com/pk-fr/yakpro-po |
66
|__________________________________________________|
77
*/
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
/* __________________________________________________
33
| Obfuscated by YAK Pro - Php Obfuscator 2.0.16 |
4-
| on 2025-04-20 18:18:19 |
4+
| on 2025-04-22 01:53:54 |
55
| GitHub: https://github.com/pk-fr/yakpro-po |
66
|__________________________________________________|
77
*/
88
/*
99
1010
*/
11-
namespace Coderstm\Providers; use Coderstm\Models\Permission; use Illuminate\Support\Facades\Gate; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; class CoderstmPermissionsServiceProvider extends ServiceProvider { public function register() { } public function boot() { try { goto c3qGC; c3qGC: Permission::get()->map(function ($permission) { Gate::define($permission->scope, function ($user) use($permission) { return $user->hasPermission($permission->scope); }); }); goto oXMqV; oXMqV: Blade::directive("\x67\x72\x6f\x75\160", function ($group, $guard = "\165\163\145\162\163") { return "\151\x66\x28\147\165\x61\x72\x64\x28\51\40\75\75\40{$guard}\40\x26\46\40\x75\x73\145\x72\50\x29\x2d\x3e\x68\141\163\107\x72\x6f\165\160\x28{$group}\x29\x29\40\72"; }); goto UfHh2; UfHh2: Blade::directive("\x65\x6e\144\x67\x72\x6f\165\160", function ($group) { return "\x65\156\144\x69\146\x3b"; }); goto mDLGz; mDLGz: } catch (\Exception $e) { report($e); } } }
11+
namespace Coderstm\Providers; use Coderstm\Models\Permission; use Illuminate\Support\Facades\Gate; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; class CoderstmPermissionsServiceProvider extends ServiceProvider { public function register() { } public function boot() { try { goto HSPYh; M9kCA: Blade::directive("\x67\162\157\165\160", function ($group, $guard = "\165\163\x65\162\163") { return "\x69\x66\x28\147\165\x61\162\x64\50\51\40\x3d\75\x20{$guard}\x20\46\46\40\x75\x73\145\x72\x28\x29\55\x3e\x68\x61\x73\107\162\x6f\x75\160\50{$group}\51\51\x20\72"; }); goto Izjmh; HSPYh: Permission::get()->map(function ($permission) { Gate::define($permission->scope, function ($user) use($permission) { return $user->hasPermission($permission->scope); }); }); goto M9kCA; Izjmh: Blade::directive("\x65\156\x64\147\162\x6f\165\160", function ($group) { return "\x65\x6e\x64\x69\146\x3b"; }); goto RZ1Yb; RZ1Yb: } catch (\Exception $e) { report($e); } } }

src/Providers/CoderstmServiceProvider.php

+2-2
Large diffs are not rendered by default.

src/Providers/License.php

+2-2
Large diffs are not rendered by default.
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
/* __________________________________________________
33
| Obfuscated by YAK Pro - Php Obfuscator 2.0.16 |
4-
| on 2025-04-20 18:18:19 |
4+
| on 2025-04-22 01:53:54 |
55
| GitHub: https://github.com/pk-fr/yakpro-po |
66
|__________________________________________________|
77
*/
88
/*
99
1010
*/
11-
namespace Coderstm\Providers; use Coderstm\Shortcodes as Component; use Illuminate\Support\ServiceProvider; use Vedmant\LaravelShortcodes\Facades\Shortcodes; class ShortcodeServiceProvider extends ServiceProvider { public function register() : void { } public function boot() : void { goto ECXYA; Fl1kV: Shortcodes::add("\x62\154\157\x67\55\x74\x69\x74\x6c\145", function ($atts, $content, $tag, $manager) { return request()->input("\x62\x6c\x6f\147\56\x74\x69\164\154\x65"); }); goto wlopu; ECXYA: Shortcodes::add(["\160\x6c\x61\156\x73" => Component\Plans::class, "\x63\141\154\x65\156\x64\x61\162" => Component\Calendar::class, "\x6f\160\x65\x6e\x69\x6e\147\x2d\x74\151\155\x65\163" => Component\OpeningTimes::class, "\x63\157\156\164\141\143\x74\x2d\146\157\x72\155" => Component\ContactForm::class, "\142\154\157\147\x73" => Component\Blogs::class, "\150\x65\x61\x64\145\162" => Component\Header::class, "\x66\x6f\157\164\145\x72" => Component\Footer::class, "\x6d\x65\156\x75" => Component\Menu::class, "\x63\x6f\155\x70\x61\x6e\x79\x2d\141\x64\144\162\145\x73\x73" => Component\CompanyAddress::class, "\x65\x6d\141\151\x6c" => Component\Email::class, "\160\x68\157\156\145" => Component\Phone::class, "\163\x6f\143\x69\141\154\x73" => Component\Socials::class, "\142\x6c\157\x67" => Component\Blog::class, "\162\x65\143\x65\156\164\x2d\x62\154\157\147\x73" => Component\RecentBlogs::class, "\x62\x6c\x6f\x67\55\164\141\x67\x73" => Component\BlogTags::class]); goto Fl1kV; wlopu: Shortcodes::add("\x70\x61\x67\x65\x2d\164\151\x74\x6c\145", function ($atts, $content, $tag, $manager) { return request()->input("\x70\x61\147\x65\56\x74\x69\x74\154\x65"); }); goto LAZOA; LAZOA: } }
11+
namespace Coderstm\Providers; use Coderstm\Shortcodes as Component; use Illuminate\Support\ServiceProvider; use Vedmant\LaravelShortcodes\Facades\Shortcodes; class ShortcodeServiceProvider extends ServiceProvider { public function register() : void { } public function boot() : void { goto NOMAi; NOMAi: Shortcodes::add(["\x70\x6c\141\x6e\163" => Component\Plans::class, "\x63\141\x6c\145\x6e\x64\141\162" => Component\Calendar::class, "\157\x70\145\156\151\156\147\x2d\x74\151\x6d\145\163" => Component\OpeningTimes::class, "\x63\x6f\156\x74\x61\x63\164\55\146\x6f\x72\155" => Component\ContactForm::class, "\x62\x6c\157\147\163" => Component\Blogs::class, "\x68\x65\x61\x64\145\x72" => Component\Header::class, "\x66\x6f\157\x74\145\162" => Component\Footer::class, "\x6d\145\x6e\x75" => Component\Menu::class, "\x63\x6f\x6d\160\x61\156\171\x2d\x61\144\144\x72\x65\163\x73" => Component\CompanyAddress::class, "\x65\x6d\141\151\154" => Component\Email::class, "\x70\150\157\x6e\x65" => Component\Phone::class, "\x73\x6f\143\x69\x61\154\x73" => Component\Socials::class, "\142\x6c\157\x67" => Component\Blog::class, "\x72\x65\x63\x65\x6e\x74\55\142\154\x6f\x67\x73" => Component\RecentBlogs::class, "\142\154\157\147\55\x74\141\147\163" => Component\BlogTags::class]); goto ydMM5; m_1Nv: Shortcodes::add("\160\x61\147\x65\55\164\151\164\154\x65", function ($atts, $content, $tag, $manager) { return request()->input("\x70\141\x67\x65\56\x74\x69\x74\154\145"); }); goto Hvrlc; ydMM5: Shortcodes::add("\x62\x6c\x6f\x67\x2d\164\x69\x74\154\145", function ($atts, $content, $tag, $manager) { return request()->input("\142\x6c\157\x67\x2e\x74\x69\x74\x6c\145"); }); goto m_1Nv; Hvrlc: } }
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
/* __________________________________________________
33
| Obfuscated by YAK Pro - Php Obfuscator 2.0.16 |
4-
| on 2025-04-20 18:18:19 |
4+
| on 2025-04-22 01:53:54 |
55
| GitHub: https://github.com/pk-fr/yakpro-po |
66
|__________________________________________________|
77
*/
88
/*
99
1010
*/
11-
namespace Coderstm\Providers; use Coderstm\Services\Mix; use Coderstm\Services\Theme; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Route; use Illuminate\Support\ServiceProvider; use Coderstm\Services\MaskSensitiveConfig; use Coderstm\Http\Middleware\RequestThemeMiddleware; class ThemeServiceProvider extends ServiceProvider { public function register() : void { $this->app->singleton(Mix::class); $this->app->singleton("\x62\154\141\144\145\x2e\x63\x6f\155\x70\x69\x6c\x65\x72", function () { return new MaskSensitiveConfig($this->app["\x66\x69\x6c\145\x73"], $this->app["\x63\x6f\156\x66\151\147"]["\166\x69\145\x77\56\x63\x6f\x6d\x70\x69\154\145\x64"]); }); } public function boot() : void { goto zD5HW; jB7AJ: Theme::set($theme); goto mu102; zD5HW: if (!($theme = settings("\x74\150\x65\155\145", "\x61\x63\164\151\x76\145"))) { goto lkvm_; } goto jB7AJ; mu102: lkvm_: goto aEyra; aEyra: $kernel = $this->app->make("\111\x6c\154\x75\x6d\151\156\x61\x74\145\134\x43\157\156\164\162\x61\143\x74\163\134\x48\x74\x74\x70\134\x4b\x65\x72\156\145\x6c"); goto Q2Psb; Q2Psb: $kernel->pushMiddleware(RequestThemeMiddleware::class); goto fXkL7; fXkL7: } }
11+
namespace Coderstm\Providers; use Coderstm\Services\Mix; use Coderstm\Services\Theme; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Route; use Illuminate\Support\ServiceProvider; use Coderstm\Services\MaskSensitiveConfig; use Coderstm\Http\Middleware\RequestThemeMiddleware; class ThemeServiceProvider extends ServiceProvider { public function register() : void { $this->app->singleton(Mix::class); $this->app->singleton("\x62\154\141\x64\x65\x2e\x63\x6f\x6d\x70\x69\x6c\145\162", function () { return new MaskSensitiveConfig($this->app["\x66\x69\x6c\x65\x73"], $this->app["\143\x6f\x6e\146\151\x67"]["\x76\151\x65\x77\56\x63\157\155\x70\x69\154\145\x64"]); }); } public function boot() : void { goto HuBFg; liF72: dZWOZ: goto XP3uT; VAqWC: $kernel->pushMiddleware(RequestThemeMiddleware::class); goto rRb8Y; WRm3i: Theme::set($theme); goto liF72; XP3uT: $kernel = $this->app->make("\111\x6c\154\x75\x6d\151\156\x61\x74\145\134\x43\157\156\x74\x72\141\x63\x74\x73\134\x48\164\164\160\134\x4b\145\162\x6e\x65\154"); goto VAqWC; HuBFg: if (!($theme = settings("\x74\150\x65\155\x65", "\x61\x63\x74\x69\x76\x65"))) { goto dZWOZ; } goto WRm3i; rRb8Y: } }

stubs/database/data/app-settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
{
77
"key": "config",
8-
"options": "{\"lang\":\"en-US\",\"name\":\"AppName\",\"timezone\":\"Asia\\/Calcutta\",\"phone\":\"+9733014543\",\"email\":\"hello@coderstm.com\",\"country\":\"India\",\"currency\":\"usd\",\"shop\":true,\"license_key\":\"27|FB8y5tpXIVde6AIyQE60hP6r7vhdIPprlHmRtUYx\"}"
8+
"options": "{\"lang\":\"en-US\",\"name\":\"AppName\",\"timezone\":\"Asia\\/Calcutta\",\"phone\":\"+9733014543\",\"email\":\"hello@coderstm.com\",\"country\":\"India\",\"currency\":\"usd\",\"shop\":true}"
99
},
1010
{
1111
"key": "mail",

0 commit comments

Comments
 (0)