repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/SignatureValidators/SinchSignatureValidator.php
app/Http/Webhooks/SignatureValidators/SinchSignatureValidator.php
<?php namespace App\Http\Webhooks\SignatureValidators; use Illuminate\Http\Request; use Spatie\WebhookClient\WebhookConfig; use Spatie\WebhookClient\SignatureValidator\SignatureValidator; class SinchSignatureValidator implements SignatureValidator { public function isValid(Request $request, WebhookConfig $config)...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/SignatureValidators/CommioSignatureValidator.php
app/Http/Webhooks/SignatureValidators/CommioSignatureValidator.php
<?php namespace App\Http\Webhooks\SignatureValidators; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; use Spatie\WebhookClient\WebhookConfig; use Spatie\WebhookClient\SignatureValidator\SignatureValidator; class CommioSignatureValidator implements SignatureValidator { public function isValid(Re...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/SinchWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/SinchWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Illuminate\Http\Request; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; class SinchWebhookProfile implements WebhookProfile { public function shouldProcess(Request $request): bool { return true; } }
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/BandwidthWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/BandwidthWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Illuminate\Http\Request; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; class BandwidthWebhookProfile implements WebhookProfile { public function shouldProcess(Request $request): bool { return true; } }
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/MailgunWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/MailgunWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Throwable; use App\Models\User; use App\Models\Voicemails; use Illuminate\Support\Str; use Illuminate\Http\Request; use App\Models\DefaultSettings; use App\Models\FaxAllowedEmails; use Illuminate\Support\Facades\Log; use App\Models\FaxAllowedDomainNames; use Illu...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/TelnyxWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/TelnyxWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Illuminate\Http\Request; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; class TelnyxWebhookProfile implements WebhookProfile { public function shouldProcess(Request $request): bool { return true; } }
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/ClickSendWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/ClickSendWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Illuminate\Http\Request; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; class ClickSendWebhookProfile implements WebhookProfile { public function shouldProcess(Request $request): bool { return true; } }
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/PostmarkWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/PostmarkWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Throwable; use App\Models\User; use App\Models\Voicemails; use Illuminate\Http\Request; use App\Models\FaxAllowedEmails; use Illuminate\Support\Facades\Log; use App\Models\FaxAllowedDomainNames; use App\Jobs\SendFaxInvalidEmailNotification; use App\Jobs\SendFaxIn...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/CommioWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/CommioWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Illuminate\Http\Request; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; class CommioWebhookProfile implements WebhookProfile { public function shouldProcess(Request $request): bool { return true; } }
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Webhooks/WebhookProfiles/RingotelWebhookProfile.php
app/Http/Webhooks/WebhookProfiles/RingotelWebhookProfile.php
<?php namespace App\Http\Webhooks\WebhookProfiles; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; class RingotelWebhookProfile implements WebhookProfile { public function shouldProcess(Request $request): bool { try { ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/CheckFusionPBXLogin.php
app/Http/Middleware/CheckFusionPBXLogin.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Session; use Symfony\Component\HttpFoundation\Response; class CheckFusionPBXLogin { /** * Handle an incoming request. * * @param \Closure(\Illuminate\...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/Authenticate.php
app/Http/Middleware/Authenticate.php
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string|null ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/RedirectIfAuthenticated.php
app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use App\Providers\RouteServiceProvider; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure(\Illu...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/TrustProxies.php
app/Http/Middleware/TrustProxies.php
<?php namespace App\Http\Middleware; use Illuminate\Http\Middleware\TrustProxies as Middleware; use Illuminate\Http\Request; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array<int, string>|string|null */ protected $proxies; /** ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/CheckUserEnabled.php
app/Http/Middleware/CheckUserEnabled.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class CheckUserEnabled { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Respons...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/PreventRequestsDuringMaintenance.php
app/Http/Middleware/PreventRequestsDuringMaintenance.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware; class PreventRequestsDuringMaintenance extends Middleware { /** * The URIs that should be reachable while maintenance mode is enabled. * * @var array<int, string> */ ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/TrimStrings.php
app/Http/Middleware/TrimStrings.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; class TrimStrings extends Middleware { /** * The names of the attributes that should not be trimmed. * * @var array<int, string> */ protected $except = [ 'current_password', ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/DigestProvisionAuth.php
app/Http/Middleware/DigestProvisionAuth.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Str; use App\Services\Provisioning\VendorRouter; class DigestProvisionAuth { public function handle(Request $request, Closure $next) { // turn debug off or on ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/RequireBearerToken.php
app/Http/Middleware/RequireBearerToken.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; class RequireBearerToken { public function handle(Request $request, Closure $next) { // External calls must send Authorization: Bearer <token> if (! $request->bearerToken()) { return response()->json([ ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/HandleInertiaRequests.php
app/Http/Middleware/HandleInertiaRequests.php
<?php namespace App\Http\Middleware; use Inertia\Middleware; use Illuminate\Http\Request; use Illuminate\Support\Facades\Session; use PhpParser\Node\Expr\FuncCall; class HandleInertiaRequests extends Middleware { /** * The root template that's loaded on the first page visit. * * @see https://inert...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/AuthorizeUser.php
app/Http/Middleware/AuthorizeUser.php
<?php namespace App\Http\Middleware; use App\Exceptions\ApiException; use App\Services\Auth\PermissionService; use Closure; use Illuminate\Http\Request; class AuthorizeUser { public function __construct(private PermissionService $authz) {} public function handle(Request $request, Closure $next, string $perm...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/TrustHosts.php
app/Http/Middleware/TrustHosts.php
<?php namespace App\Http\Middleware; use Illuminate\Http\Middleware\TrustHosts as Middleware; class TrustHosts extends Middleware { /** * Get the host patterns that should be trusted. * * @return array<int, string|null> */ public function hosts() { return [ $this->...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/RequireCookieAuthForSpaRequests.php
app/Http/Middleware/RequireCookieAuthForSpaRequests.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; class RequireCookieAuthForSpaRequests { public function handle(Request $request, Closure $next) { // If they sent an Authorization bearer token, this is NOT a SPA cookie request. if ($request->bearerToken()) { ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/EncryptCookies.php
app/Http/Middleware/EncryptCookies.php
<?php namespace App\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as Middleware; class EncryptCookies extends Middleware { /** * The names of the cookies that should not be encrypted. * * @var array<int, string> */ protected $except = [ // ]; }
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Middleware/VerifyCsrfToken.php
app/Http/Middleware/VerifyCsrfToken.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array<int, string> */ protected $except = [ 'webhook/pos...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Http/Resources/BusinessHourHolidayResource.php
app/Http/Resources/BusinessHourHolidayResource.php
<?php namespace App\Http\Resources; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; class BusinessHourHolidayResource extends JsonResource { /** * Transform the resource into an array. * * @return array<string, mixed> */ public function toArray($request): arr...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/FaxInTransit.php
app/Mail/FaxInTransit.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Illuminate\Support\Facades\Log; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Symfony\Component\Mime\Email; class FaxInTransit extends Mailable { use ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/VoicemailNotification.php
app/Mail/VoicemailNotification.php
<?php namespace App\Mail; use App\Models\DomainSettings; use App\Models\DefaultSettings; use Illuminate\Mail\Mailables\Content; use Illuminate\Support\Facades\Storage; use Illuminate\Mail\Mailables\Attachment; class VoicemailNotification extends BaseMailable { public function __construct($params) { ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/ExportCompleted.php
app/Mail/ExportCompleted.php
<?php namespace App\Mail; use Illuminate\Mail\Mailables\Content; class ExportCompleted extends BaseMailable { public function __construct($params) { parent::__construct($params); } /** * Build the message. * * @return $this */ public function build() { /...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/LoginVerificationCode.php
app/Mail/LoginVerificationCode.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Illuminate\Mail\Mailables\Content; use Illuminate\Queue\SerializesModels; class LoginVerificationCode extends Mailable { use Queueable, SerializesModels; public $attributes; /** ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/S3UploadReport.php
app/Mail/S3UploadReport.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Symfony\Component\Mime\Email; class S3UploadReport extends Mailable { use Queueable, SerializesModels; ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/BaseMailable.php
app/Mail/BaseMailable.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Illuminate\Mail\Mailables\Address; use Illuminate\Mail\Mailables\Headers; use Illuminate\Queue\SerializesModels; use Illuminate\Mail\Mailables\Envelope; abstract class BaseMailable extends Mailab...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/AppCredentials.php
app/Mail/AppCredentials.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Symfony\Component\Mime\Email; use Illuminate\Support\Facades\Log; use Illuminate\Mail\Mailables\Content; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Simp...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/SmsToEmail.php
app/Mail/SmsToEmail.php
<?php namespace App\Mail; use Illuminate\Mail\Mailables\Content; class SmsToEmail extends BaseMailable { /** * Build the message. * * @return $this */ public function build() { // Add line unsubscrible header $this->buildMessageHeaders(); return $this->from(c...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/FaxFailed.php
app/Mail/FaxFailed.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Illuminate\Support\Facades\Log; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Symfony\Component\Mime\Email; class FaxFailed extends Mailable { use Que...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/FaxNotAuthorized.php
app/Mail/FaxNotAuthorized.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Illuminate\Support\Facades\Log; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Symfony\Component\Mime\Email; class FaxNotAuthorized extends Mailable { ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/EmergencyCallNotificationEmail.php
app/Mail/EmergencyCallNotificationEmail.php
<?php namespace App\Mail; use Illuminate\Mail\Mailables\Content; class EmergencyCallNotificationEmail extends BaseMailable { public function __construct($params) { parent::__construct($params); } /** * Build the message. * * @return $this */ public function build() ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/FaxQueueStatus.php
app/Mail/FaxQueueStatus.php
<?php namespace App\Mail; use Illuminate\Mail\Mailables\Content; class FaxQueueStatus extends BaseMailable { public function __construct($params) { parent::__construct($params); } /** * Build the message. * * @return $this */ public function build() { //...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Mail/FaxInvalidDestination.php
app/Mail/FaxInvalidDestination.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use App\Models\DefaultSettings; use Illuminate\Support\Facades\Log; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Symfony\Component\Mime\Email; class FaxInvalidDestination extends Mailable {...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Traits/ChecksLimits.php
app/Traits/ChecksLimits.php
<?php namespace App\Traits; trait ChecksLimits { /** * Friendly names for resources. */ protected array $friendlyNames = [ 'users' => 'Users', 'extensions' => 'Extensions', 'ring_groups' => 'Ring Groups', 'ivr_menus' =>...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Traits/HasUserResourcePermissions.php
app/Traits/HasUserResourcePermissions.php
<?php namespace App\Traits; use Illuminate\Database\Eloquent\Builder; trait HasUserResourcePermissions { /** * Scope: Filter results to only those the user has access to for a given resource type. * * @param Builder $query * @param mixed|null $user * @param string|null $resourceTyp...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/EmailSendingLogger.php
app/Listeners/EmailSendingLogger.php
<?php namespace App\Listeners; use App\Models\EmailLog; use Illuminate\Support\Str; use Illuminate\Mail\Events\MessageSending; class EmailSendingLogger { /** * Create the event listener * * @return void */ public function __construct() { // } /** * Handle the eve...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/SuspendUserWhenExtensionIsDeleted.php
app/Listeners/SuspendUserWhenExtensionIsDeleted.php
<?php namespace App\Listeners; use App\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Support\Facades\Redis; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Facades\Session; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Disp...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/LogSuccessfulLogin.php
app/Listeners/LogSuccessfulLogin.php
<?php namespace App\Listeners; use Carbon\Carbon; use App\Models\UserLog; use Illuminate\Support\Str; use Illuminate\Auth\Events\Login; class LogSuccessfulLogin { /** * Handle the event. * * @param Login $event * @return void */ public function handle(Login $event) { $u...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/SetUpUserSession.php
app/Listeners/SetUpUserSession.php
<?php namespace App\Listeners; use App\Models\Domain; use App\Models\DomainSettings; use App\Models\DefaultSettings; use Illuminate\Auth\Events\Login; use Illuminate\Support\Facades\DB; use App\Providers\RouteServiceProvider; use Illuminate\Support\Facades\Session; use App\Services\SessionDomainService; class SetUp...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/LogFailedLogin.php
app/Listeners/LogFailedLogin.php
<?php namespace App\Listeners; use Carbon\Carbon; use Illuminate\Auth\Events\Failed; use Illuminate\Support\Str; use App\Models\UserLog; class LogFailedLogin { public function handle(Failed $event) { $request = request(); $user = $event->user; // may be null if ema...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/NotifyModelsOnGreetingDeleted.php
app/Listeners/NotifyModelsOnGreetingDeleted.php
<?php namespace App\Listeners; use Illuminate\Bus\Queueable; use App\Events\GreetingDeleted; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Support\Facades\Redis; use Illuminate\Queu...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/LogPasswordReset.php
app/Listeners/LogPasswordReset.php
<?php namespace App\Listeners; use Carbon\Carbon; use Illuminate\Auth\Events\PasswordReset; use Illuminate\Support\Str; use App\Models\UserLog; class LogPasswordReset { public function handle(PasswordReset $event) { $user = $event->user; $request = request(); UserLog::create([ ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/HandleExtensionSuspendedStatusChange.php
app/Listeners/HandleExtensionSuspendedStatusChange.php
<?php namespace App\Listeners; use App\Models\Activity; use App\Jobs\SuspendAppUser; use Illuminate\Bus\Queueable; use App\Jobs\UpdateAppSettings; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/NotifySuperadminListener.php
app/Listeners/NotifySuperadminListener.php
<?php namespace App\Listeners; use App\Models\User; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use App\Jobs\SendSystemStatusNotificationToSlack; class NotifySuperadminListener { /** * Create the event listener. * * @return void */ public function ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/UpdateUserWhenExtensionIsUpdated.php
app/Listeners/UpdateUserWhenExtensionIsUpdated.php
<?php namespace App\Listeners; use App\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Support\Facades\Redis; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Facades\Session; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Disp...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Listeners/EmailSentLogger.php
app/Listeners/EmailSentLogger.php
<?php namespace App\Listeners; use App\Models\EmailLog; use Illuminate\Mail\Events\MessageSent; class EmailSentLogger { public function handle(MessageSent $event): void { try { $logId = optional($event->message->getHeaders()->get('X-Email-Log-Id')) ?->getBodyAsString() ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Imports/PhoneNumbersImport.php
app/Imports/PhoneNumbersImport.php
<?php namespace App\Imports; use Illuminate\Support\Str; use App\Models\Destinations; use Illuminate\Validation\Rule; use Illuminate\Support\Collection; use Maatwebsite\Excel\Concerns\Importable; use Maatwebsite\Excel\Concerns\SkipsErrors; use Maatwebsite\Excel\Concerns\SkipsOnError; use Maatwebsite\Excel\Concerns\To...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Imports/ContactsImport.php
app/Imports/ContactsImport.php
<?php namespace App\Imports; use App\Models\Contact; use App\Models\ContactPhones; use App\Models\ContactUsers; use App\Models\User; use Illuminate\Validation\Rule; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Session; use Maatwebsite\Excel\Concerns\Importable; use Maatwebsite\Excel\Concerns\Skip...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Imports/VoicemailsImport.php
app/Imports/VoicemailsImport.php
<?php namespace App\Imports; use App\Models\Voicemail; use Maatwebsite\Excel\Concerns\ToModel; use Maatwebsite\Excel\Concerns\Importable; use Maatwebsite\Excel\Concerns\SkipsErrors; use Maatwebsite\Excel\Concerns\SkipsOnError; use Maatwebsite\Excel\Concerns\SkipsEmptyRows; use Maatwebsite\Excel\Concerns\WithHeadingRo...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Imports/ExtensionsImport.php
app/Imports/ExtensionsImport.php
<?php namespace App\Imports; use App\Models\Devices; use App\Models\Extensions; use App\Models\Voicemails; use App\Models\DeviceLines; use App\Models\FusionCache; use App\Rules\UniqueExtension; use Illuminate\Validation\Rule; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Session; use Maatwebsite\E...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/BusinessHourHolidayObserver.php
app/Observers/BusinessHourHolidayObserver.php
<?php namespace App\Observers; use App\Models\BusinessHourHoliday; use App\Models\BusinessHour; use App\Http\Controllers\BusinessHoursController; class BusinessHourHolidayObserver { public function created(BusinessHourHoliday $holiday) { $this->regenerate($holiday); } public function updated...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/EmergencyCallMemberObserver.php
app/Observers/EmergencyCallMemberObserver.php
<?php namespace App\Observers; use App\Models\EmergencyCallMember; use Illuminate\Support\Facades\Cache; class EmergencyCallMemberObserver { public function created(EmergencyCallMember $member): void { Cache::forget('emergency_calls'); } public function updated(EmergencyCallMember $member): ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/EmergencyCallObserver.php
app/Observers/EmergencyCallObserver.php
<?php namespace App\Observers; use App\Models\EmergencyCall; use Illuminate\Support\Facades\Cache; class EmergencyCallObserver { public function created(EmergencyCall $emergencyCall): void { Cache::forget('emergency_calls'); } public function updated(EmergencyCall $emergencyCall): void {...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/DeviceObserver.php
app/Observers/DeviceObserver.php
<?php namespace App\Observers; use App\Models\Devices; use App\Services\CloudProviderSelector; use App\Services\DeviceCloudProvisioningService; class DeviceObserver { /** * Handle the Devices "created" event. */ public function created(Devices $device): void { try { $params ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/CallTranscriptionPolicyObserver.php
app/Observers/CallTranscriptionPolicyObserver.php
<?php namespace App\Observers; use App\Models\CallTranscriptionPolicy; use App\Services\CallTranscriptionConfigService; class CallTranscriptionPolicyObserver { public function saved(CallTranscriptionPolicy $model): void { app(CallTranscriptionConfigService::class)->invalidate($model->domain_uuid); ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/DomainObserver.php
app/Observers/DomainObserver.php
<?php namespace App\Observers; use App\Models\Domain; use App\Models\FusionCache; use App\Models\DefaultSettings; use App\Services\FreeswitchEslService; use Illuminate\Support\Facades\Session; use App\Services\DialplanProvisioningService; use Illuminate\Support\Facades\File; class DomainObserver { protected arr...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/ExtensionObserver.php
app/Observers/ExtensionObserver.php
<?php namespace App\Observers; use App\Models\Extensions; use Illuminate\Support\Arr; use App\Events\ExtensionCreated; use App\Events\ExtensionDeleted; use App\Events\ExtensionUpdated; use App\Jobs\FireFollowMePresenceJob; class ExtensionObserver { /** * Handle the Extensions "created" event. * * ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/UserDomainGroupPermissionsObserver.php
app/Observers/UserDomainGroupPermissionsObserver.php
<?php namespace App\Observers; use App\Models\UserDomainGroupPermissions; use Illuminate\Support\Facades\Cache; class UserDomainGroupPermissionsObserver { protected function flushForUser(?string $userUuid): void { if (! $userUuid) return; Cache::tags(['auth', "user:{$userUuid}", 'domain_acce...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/DomainGroupRelationsObserver.php
app/Observers/DomainGroupRelationsObserver.php
<?php namespace App\Observers; use App\Models\DomainGroupRelations; use App\Models\UserDomainGroupPermissions; use Illuminate\Support\Facades\Cache; class DomainGroupRelationsObserver { protected function flushForDomainGroup(string $domainGroupUuid): void { // Get all users assigned to this domain gr...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/EmergencyCallEmailObserver.php
app/Observers/EmergencyCallEmailObserver.php
<?php namespace App\Observers; use App\Models\EmergencyCallEmail; use Illuminate\Support\Facades\Cache; class EmergencyCallEmailObserver { public function created(EmergencyCallEmail $email): void { Cache::forget('emergency_calls'); } public function updated(EmergencyCallEmail $email): void ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/UserObserver.php
app/Observers/UserObserver.php
<?php namespace App\Observers; use App\Models\User; use Illuminate\Support\Facades\Cache; class UserObserver { public function saved(User $user): void { // Any time the user record changes, invalidate auth-related caches for that user Cache::tags(['auth', "user:{$user->user_uuid}", 'domain_ac...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Observers/CallTranscriptionProviderConfigObserver.php
app/Observers/CallTranscriptionProviderConfigObserver.php
<?php namespace App\Observers; use App\Models\CallTranscriptionProviderConfig; use App\Services\CallTranscriptionConfigService; class CallTranscriptionProviderConfigObserver { public function saved(CallTranscriptionProviderConfig $model): void { app(CallTranscriptionConfigService::class)->invalidate(...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Actions/Fortify/UpdateUserProfileInformation.php
app/Actions/Fortify/UpdateUserProfileInformation.php
<?php namespace App\Actions\Fortify; use App\Models\User; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\Rule; use Laravel\Fortify\Contracts\UpdatesUserProfileInformation; class UpdateUserProfileInformation implements UpdatesUserProfileInformation {...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Actions/Fortify/UpdateUserPassword.php
app/Actions/Fortify/UpdateUserPassword.php
<?php namespace App\Actions\Fortify; use App\Models\User; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Laravel\Fortify\Contracts\UpdatesUserPasswords; class UpdateUserPassword implements UpdatesUserPasswords { use PasswordValidationRules; /** * Validate and update ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Actions/Fortify/CreateNewUser.php
app/Actions/Fortify/CreateNewUser.php
<?php namespace App\Actions\Fortify; use App\Models\User; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\Rule; use Laravel\Fortify\Contracts\CreatesNewUsers; class CreateNewUser implements CreatesNewUsers { use PasswordValidationRules; /** * Val...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Actions/Fortify/PasswordValidationRules.php
app/Actions/Fortify/PasswordValidationRules.php
<?php namespace App\Actions\Fortify; use Illuminate\Validation\Rules\Password; trait PasswordValidationRules { /** * Get the validation rules used to validate passwords. * * @return array<int, \Illuminate\Contracts\Validation\Rule|array|string> */ protected function passwordRules(): array...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Actions/Fortify/RedirectToEmailChallengeIf2FAIsNotEnabled.php
app/Actions/Fortify/RedirectToEmailChallengeIf2FAIsNotEnabled.php
<?php namespace App\Actions\Fortify; use Laravel\Fortify\Fortify; use Laravel\Fortify\Features; use Illuminate\Auth\Events\Failed; use Laravel\Fortify\LoginRateLimiter; use Illuminate\Support\Facades\Cookie; use App\Events\TwoFactorEmailChallenged; use Illuminate\Contracts\Auth\StatefulGuard; use Illuminate\Validatio...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Actions/Fortify/ResetUserPassword.php
app/Actions/Fortify/ResetUserPassword.php
<?php namespace App\Actions\Fortify; use App\Models\User; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Laravel\Fortify\Contracts\ResetsUserPasswords; class ResetUserPassword implements ResetsUserPasswords { use PasswordValidationRules; /** * Validate and reset the ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Rules/UniqueExtension.php
app/Rules/UniqueExtension.php
<?php namespace App\Rules; use App\Models\BusinessHour; use Closure; use App\Models\Faxes; use App\Models\IvrMenus; use App\Models\CallFlows; use App\Models\Extensions; use App\Models\RingGroups; use App\Models\Voicemails; use App\Models\Conferences; use App\Models\CallCenterQueues; use App\Models\ConferenceCenters; ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Rules/ValidVoicemailPassword.php
app/Rules/ValidVoicemailPassword.php
<?php namespace App\Rules; use Illuminate\Contracts\Validation\ValidationRule; class ValidVoicemailPassword implements ValidationRule { /** * Validate the attribute. * * @param string $attribute * @param mixed $value * @param \Closure $fail * @return void */ public f...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/TelnyxMessageProvider.php
app/Services/TelnyxMessageProvider.php
<?php namespace App\Services; use App\Jobs\SendTelnyxSMS; use App\Services\Interfaces\MessageProviderInterface; class TelnyxMessageProvider implements MessageProviderInterface { public function send($message_uuid) { // Implementation for sending SMS via Sinch SendTelnyxSMS::dispatch($message_...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/DeviceActionService.php
app/Services/DeviceActionService.php
<?php namespace App\Services; use App\Jobs\SendEventNotify; class DeviceActionService { public function handleDeviceAction($reg, $action) { $agent = $this->determineAgent($reg['agent']); if (!$agent) return; // if agent is cisco then override the action if ($agent == 'cisco-...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/PolycomCloudProvider.php
app/Services/PolycomCloudProvider.php
<?php namespace App\Services; use App\Models\DomainSettings; use App\Models\DefaultSettings; use Illuminate\Support\Collection; use App\DTO\PolycomOrganizationDTO; use Illuminate\Http\Client\Response; use Illuminate\Support\Facades\Http; use App\DTO\OrganizationDTOInterface; use App\Models\Devices; use App\Services\E...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/DialplanProvisioningService.php
app/Services/DialplanProvisioningService.php
<?php namespace App\Services; use SimpleXMLElement; use App\Models\Domain; use App\Models\Dialplans; use Illuminate\Support\Str; use App\Models\DefaultSettings; use App\Models\DialplanDetails; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; class DialplanProvisioningService { /** * B...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/CeretaxService.php
app/Services/CeretaxService.php
<?php namespace App\Services; use GuzzleHttp\Client; use Illuminate\Support\Arr; use App\Models\BillingProduct; use Illuminate\Support\Carbon; use App\Models\CeretaxTransaction; use Illuminate\Http\Client\Response; use Illuminate\Support\Facades\Http; use GuzzleHttp\Exception\RequestException; class CeretaxService {...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/WatsonService.php
app/Services/WatsonService.php
<?php namespace App\Services; use App\Exceptions\TranscriptionConfigurationException; use Exception; use Illuminate\Http\Client\RequestException; use Illuminate\Support\Facades\Http; class WatsonService { protected $apiKey; protected $url; public function __construct() { $this->apiKey = conf...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/KeygenAPIService.php
app/Services/KeygenAPIService.php
<?php namespace App\Services; use Illuminate\Support\Facades\Http; class KeygenAPIService { protected $baseUrl; protected $accountId; public function __construct() { $this->baseUrl = config('services.keygen.api_url'); // e.g. https://api.keygen.sh/v1/accounts/{account_id} $this->acco...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/CallRecordingUrlService.php
app/Services/CallRecordingUrlService.php
<?php namespace App\Services; use Illuminate\Support\Facades\URL; use Illuminate\Support\Facades\Storage; use App\Models\CDR; class CallRecordingUrlService { /** * Return a temporary URL (string|null) for a recording by CDR UUID. * - Local: returns a signed route to a streaming controller (supports HTT...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/CloudProviderSelector.php
app/Services/CloudProviderSelector.php
<?php namespace App\Services; class CloudProviderSelector { public function getCloudProvider($vendor) { switch (strtolower($vendor)) { case 'polycom': return new \App\Services\PolycomCloudProvider(); default: return null; } } }
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/DeviceCloudProvisioningService.php
app/Services/DeviceCloudProvisioningService.php
<?php namespace App\Services; use App\Jobs\RegisterDeviceWithCloudProvider; use App\Jobs\DeregisterDeviceWithCloudProvider; use App\Jobs\DeleteDeviceCloudProvisioningRecord; use App\Models\DeviceCloudProvisioning; class DeviceCloudProvisioningService { public function register($params) { // Create/up...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/SinchMessageProvider.php
app/Services/SinchMessageProvider.php
<?php namespace App\Services; use App\Jobs\SendSinchSMS; use App\Services\Interfaces\MessageProviderInterface; class SinchMessageProvider implements MessageProviderInterface { public function send($message_uuid) { // Implementation for sending SMS via Sinch SendSinchSMS::dispatch($message_uui...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/AzureService.php
app/Services/AzureService.php
<?php namespace App\Services; use Illuminate\Support\Facades\Http; class AzureService { protected $apiKey; protected $region; public function __construct() { $this->apiKey = config('services.azure.api_key'); $this->region = config('services.azure.region'); if (empty($this->a...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/OpenAIService.php
app/Services/OpenAIService.php
<?php namespace App\Services; use Illuminate\Support\Facades\Http; class OpenAIService { protected $apiKey; public function __construct() { $this->apiKey = config('services.openai.api_key'); } public function textToSpeech($model = 'tts-1-hd', $input, $voice = 'alloy', $response_format =...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/SansayApiService.php
app/Services/SansayApiService.php
<?php namespace App\Services; use Illuminate\Support\Facades\Http; class SansayApiService { protected $servers; public function __construct() { $this->servers = config('sansay.servers'); } public function fetchStats(array $params) { try { if (!isset($params['serv...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/FaxSendService.php
app/Services/FaxSendService.php
<?php namespace App\Services; use fpdi; use TCPDF_FONTS; use Carbon\Carbon; use App\Models\Faxes; use App\Models\FaxQueues; use Illuminate\Support\Str; use App\Models\DefaultSettings; use Illuminate\Support\Facades\Log; use Symfony\Component\Process\Process; use App\Jobs\SendFaxFailedNotification; use Illuminate\Supp...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/DialplanBuilderService.php
app/Services/DialplanBuilderService.php
<?php namespace App\Services; use App\Models\Dialplans; use App\Models\FusionCache; use App\Models\Destinations; use App\Models\DialplanDetails; class DialplanBuilderService { public function buildDialplanForPhoneNumber(Destinations $phoneNumber, $domainName): void { // logger($phoneNumber); ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/SessionDomainService.php
app/Services/SessionDomainService.php
<?php namespace App\Services; use App\Models\Domain; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Session; class SessionDomainService { /** * Rebuild domains-related session state for this user. * * - Rebuilds Session::get('domains') and $_SESSION['domains'] * - Ensures d...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/CdrDataService.php
app/Services/CdrDataService.php
<?php namespace App\Services; use App\Models\CDR; use Spatie\QueryBuilder\QueryBuilder; use Spatie\QueryBuilder\AllowedFilter; class CdrDataService { public function getData($params = []) { $currentDomain = $params['domain_uuid']; // Check if user is allowed to see all CDRs for tenant ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/VoicemailTranscriptionService.php
app/Services/VoicemailTranscriptionService.php
<?php namespace App\Services; class VoicemailTranscriptionService { public function transcribe(array $options) { try { $provider = $options['provider'] ?? 'openai'; $filePath = $options['file_path'] ?? null; $language = $options['language'] ?? null; $do...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/BandwidthMessageProvider.php
app/Services/BandwidthMessageProvider.php
<?php namespace App\Services; use App\Jobs\SendBandwidthSMS; use App\Services\Interfaces\MessageProviderInterface; class BandwidthMessageProvider implements MessageProviderInterface { public function send($message_uuid) { // Implementation for sending SMS via Sinch SendBandwidthSMS::dispatch(...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/CallTranscriptionConfigService.php
app/Services/CallTranscriptionConfigService.php
<?php namespace App\Services; use Carbon\Carbon; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Redis; use App\Models\CallTranscriptionPolicy; use App\Models\CallTranscriptionProvider; use App\Models\CallTranscriptionProviderConfig; use Illuminate\Database\Eloquent\Casts\ArrayObject; class Call...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/RingotelApiService.php
app/Services/RingotelApiService.php
<?php namespace App\Services; use App\DTO\RingotelUserDTO; use App\DTO\RingotelRegionDTO; use App\Models\DomainSettings; use App\Models\DefaultSettings; use App\DTO\RingotelConnectionDTO; use Illuminate\Support\Facades\DB; use App\DTO\RingotelOrganizationDTO; use App\Models\MobileAppUsers; use Illuminate\Support\Faca...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
true
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/ClickSendMessageProvider.php
app/Services/ClickSendMessageProvider.php
<?php namespace App\Services; use App\Jobs\SendClickSendSMS; use App\Services\Interfaces\MessageProviderInterface; class ClickSendMessageProvider implements MessageProviderInterface { public function send($message_uuid) { // Implementation for sending SMS via Sinch SendClickSendSMS::dispatch(...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false
nemerald-voip/fspbx
https://github.com/nemerald-voip/fspbx/blob/47d3bed001b07e9cd7716605b8581d207fa93103/app/Services/LineKeyTypesService.php
app/Services/LineKeyTypesService.php
<?php namespace App\Services; class LineKeyTypesService { public static function getYealinkKeyTypes() { return [ // ['value' => '0', 'name' => 'N/A'], // ['value' => '1', 'name' => 'Conference'], // ['value' => '2', 'name' => 'Forward'], // ['value' => ...
php
Apache-2.0
47d3bed001b07e9cd7716605b8581d207fa93103
2026-01-05T04:28:35.214556Z
false