Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Code Examples of pterodactyl/panel

Discover how to use Laravel's pterodactyl/panel examples.

18 examples

Helpers

Files in this example

  • app/helpers.php
    • app/Repositories/Eloquent/EggRepository.php
View all examples

Collection Methods: MapWithKeys

Files in this example

  • app/Traits/Helpers/AvailableLanguages.php
View all examples

Traits

Files in this example

  • app/Traits/Services/HasUserLevels.php
    • app/Services/Servers/VariableValidatorService.php
View all examples

Custom artisan commands

Files in this example

  • app/Console/Commands/Maintenance/CleanServiceBackupFilesCommand.php
    • app/Console/Kernel.php
View all examples

Service classes

Files in this example

  • app/Services/Users/UserCreationService.php
    • app/Console/Commands/User/MakeUserCommand.php
View all examples

Custom validation rules

Files in this example

  • app/Rules/Username.php
    • app/Models/User.php
View all examples

Interfaces

Files in this example

  • app/Contracts/Repository/TaskRepositoryInterface.php
    • app/Repositories/Eloquent/TaskRepository.php
      • app/Contracts/Repository/RepositoryInterface.php
View all examples

View composers

Files in this example

  • app/Providers/ViewComposerServiceProvider.php
    • app/Http/ViewComposers/AssetComposer.php
      • resources/views/templates/wrapper.blade.php
View all examples

Observers

Files in this example

  • app/Observers/ServerObserver.php
    • app/Providers/AppServiceProvider.php
View all examples

Notifications

Files in this example

  • app/Notifications/AccountCreated.php
    • app/Services/Users/UserCreationService.php
View all examples

Custom exceptions

Files in this example

  • app/Exceptions/Http/HttpForbiddenException.php
    • app/Http/Controllers/Api/Client/Servers/WebsocketController.php#L58
View all examples

Invokable controllers

Files in this example

  • app/Http/Controllers/Admin/Nodes/SystemInformationController.php
    • routes/admin.php
View all examples

Lazy collection

Files in this example

  • database/migrations/2020_03_22_163911_merge_permissions_table_into_subusers.php
View all examples

HasManyThrough

Files in this example

  • app/Models/Server.php
    • app/Models/Location.php
View all examples

Captcha

Files in this example

  • app/Http/Middleware/VerifyReCaptcha.php
    • app/Http/Kernel.php
View all examples

Database transactions

Files in this example

  • app/Http/Controllers/Api/Remote/Servers/ServerTransferController.php
View all examples

Lcobucci/jwt

Files in this example

  • composer.json
    • app/Services/Nodes/NodeJWTService.php
      • app/Http/Controllers/Api/Client/Servers/FileUploadController.php
View all examples

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.