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 |
|---|---|---|---|---|---|---|---|---|
asyncphp/paper | https://github.com/asyncphp/paper/blob/40e1decdcecf6b4924e018d8531a7e903c7bb1e5/tests/PrinceDriverTest.php | tests/PrinceDriverTest.php | <?php
namespace AsyncPHP\Paper\Tests;
use AsyncPHP\Paper\Runner\AmpRunner;
use AsyncPHP\Paper\Driver\PrinceDriver;
use AsyncPHP\Paper\Driver\SyncDriver;
use PHPUnit\Framework\TestCase;
class PrinceDriverTest extends TestCase
{
public function testPrinceDriver()
{
$which = `which prince`;
if ... | php | MIT | 40e1decdcecf6b4924e018d8531a7e903c7bb1e5 | 2026-01-05T02:26:46.578497Z | false |
asyncphp/paper | https://github.com/asyncphp/paper/blob/40e1decdcecf6b4924e018d8531a7e903c7bb1e5/tests/RunnerTest.php | tests/RunnerTest.php | <?php
namespace AsyncPHP\Paper\Tests;
use AsyncPHP\Paper\Runner\AmpRunner;
use AsyncPHP\Paper\Runner\ReactRunner;
use AsyncPHP\Paper\Driver\DomDriver;
use AsyncPHP\Paper\Driver\SyncDriver;
use PHPUnit\Framework\TestCase;
class RUnnerTest extends TestCase
{
public function testDomDriver()
{
error_repo... | php | MIT | 40e1decdcecf6b4924e018d8531a7e903c7bb1e5 | 2026-01-05T02:26:46.578497Z | false |
asyncphp/paper | https://github.com/asyncphp/paper/blob/40e1decdcecf6b4924e018d8531a7e903c7bb1e5/examples/sync-amp-dom.php | examples/sync-amp-dom.php | <?php
require __DIR__ . "/../vendor/autoload.php";
use AsyncInterop\Loop;
use AsyncPHP\Paper\Factory;
error_reporting(E_ERROR | E_PARSE);
$sample = file_get_contents(__DIR__ . "/sample.html");
$factory = new Factory();
$driver = $factory->createDriver([
"sync" => true,
"driver" => "dom",
]);
$runner = $f... | php | MIT | 40e1decdcecf6b4924e018d8531a7e903c7bb1e5 | 2026-01-05T02:26:46.578497Z | false |
asyncphp/paper | https://github.com/asyncphp/paper/blob/40e1decdcecf6b4924e018d8531a7e903c7bb1e5/examples/async.php | examples/async.php | <?php
require __DIR__ . "/../vendor/autoload.php";
use AsyncInterop\Loop;
use AsyncPHP\Paper\Factory;
error_reporting(E_ERROR | E_PARSE);
// this too could be async...
$sample = file_get_contents(__DIR__ . "/sample.html");
Loop::execute(Amp\wrap(function() use ($sample) {
Loop::repeat(10, function() {
... | php | MIT | 40e1decdcecf6b4924e018d8531a7e903c7bb1e5 | 2026-01-05T02:26:46.578497Z | false |
asyncphp/paper | https://github.com/asyncphp/paper/blob/40e1decdcecf6b4924e018d8531a7e903c7bb1e5/examples/sync-react-webkit.php | examples/sync-react-webkit.php | <?php
require __DIR__ . "/../vendor/autoload.php";
use AsyncInterop\Loop;
use AsyncPHP\Paper\Factory;
error_reporting(E_ERROR | E_PARSE);
$sample = file_get_contents(__DIR__ . "/sample.html");
$factory = new Factory();
$driver = $factory->createDriver([
"sync" => true,
"driver" => "webkit",
]);
$runner =... | php | MIT | 40e1decdcecf6b4924e018d8531a7e903c7bb1e5 | 2026-01-05T02:26:46.578497Z | false |
asyncphp/paper | https://github.com/asyncphp/paper/blob/40e1decdcecf6b4924e018d8531a7e903c7bb1e5/examples/async-react-webkit.php | examples/async-react-webkit.php | <?php
require __DIR__ . "/../vendor/autoload.php";
use AsyncPHP\Paper\Factory;
use React\EventLoop\Factory as EventLoopFactory;
error_reporting(E_ERROR | E_PARSE);
// this too could be async...
$sample = file_get_contents(__DIR__ . "/sample.html");
$factory = new Factory();
$driver = $factory->createDriver([
... | php | MIT | 40e1decdcecf6b4924e018d8531a7e903c7bb1e5 | 2026-01-05T02:26:46.578497Z | false |
asyncphp/paper | https://github.com/asyncphp/paper/blob/40e1decdcecf6b4924e018d8531a7e903c7bb1e5/examples/async-amp-dom.php | examples/async-amp-dom.php | <?php
require __DIR__ . "/../vendor/autoload.php";
use AsyncInterop\Loop;
use AsyncPHP\Paper\Factory;
error_reporting(E_ERROR | E_PARSE);
// this too could be async...
$sample = file_get_contents(__DIR__ . "/sample.html");
Loop::execute(Amp\wrap(function() use ($sample) {
$factory = new Factory();
$driver... | php | MIT | 40e1decdcecf6b4924e018d8531a7e903c7bb1e5 | 2026-01-05T02:26:46.578497Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/.php-cs-fixer.php | .php-cs-fixer.php | <?php
$finder = PhpCsFixer\Finder::create()
->exclude('node_modules')
->exclude('vendor')
->in(__DIR__)
->name('*.php')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
return (new PhpCsFixer\Config())
->setFinder($finder)
->setRules([
'@PSR2' => true,
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/NovaInlineRelationship.php | src/NovaInlineRelationship.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship;
use Carbon\Carbon;
use Laravel\Nova\Nova;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Laravel\Nova\Fields\ID;
use Laravel\Nova\Fields\File;
use Laravel\Nova\Fields\Field;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Collection;
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/NovaInlineRelationshipServiceProvider.php | src/NovaInlineRelationshipServiceProvider.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship;
use Laravel\Nova\Nova;
use Laravel\Nova\Fields\Field;
use Illuminate\Support\ServiceProvider;
use KirschbaumDevelopment\NovaInlineRelationship\Helpers\NovaInlineRelationshipHelper;
use KirschbaumDevelopment\NovaInlineRelationship\Exceptions\UnsupportedRela... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/NovaInlineRelationshipRequest.php | src/NovaInlineRelationshipRequest.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship;
use Illuminate\Http\Request;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Collection;
use Laravel\Nova\Http\Requests\NovaRequest;
use Symfony\Component\HttpFoundation\Exception\SessionNotFoundException;
class NovaInlineRelationshipRequest exte... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Exceptions/UnsupportedRelationshipType.php | src/Exceptions/UnsupportedRelationshipType.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Exceptions;
use InvalidArgumentException;
class UnsupportedRelationshipType extends InvalidArgumentException
{
/**
* @param string $type
* @param string $key
*
* @return UnsupportedRelationshipType
*/
public static function... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Exceptions/UnsupportedNestedRelationship.php | src/Exceptions/UnsupportedNestedRelationship.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Exceptions;
use InvalidArgumentException;
class UnsupportedNestedRelationship extends InvalidArgumentException
{
/**
* @param string $key
* @param string $value
*
* @return UnsupportedNestedRelationship
*/
public static fun... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Exceptions/IncorrectRelationshipFormat.php | src/Exceptions/IncorrectRelationshipFormat.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Exceptions;
use InvalidArgumentException;
class IncorrectRelationshipFormat extends InvalidArgumentException
{
/**
* @param string $key
* @param string $value
*
* @return IncorrectRelationshipFormat
*/
public static functio... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Exceptions/ContractMissingException.php | src/Exceptions/ContractMissingException.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Exceptions;
use Exception;
class ContractMissingException extends Exception
{
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Exceptions/InvalidRelationshipName.php | src/Exceptions/InvalidRelationshipName.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Exceptions;
use InvalidArgumentException;
class InvalidRelationshipName extends InvalidArgumentException
{
/**
* @param string $key
* @param string $value
*
* @return InvalidRelationshipName
*/
public static function create... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Helpers/Fluent.php | src/Helpers/Fluent.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Helpers;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
class Fluent extends \Illuminate\Support\Fluent
{
/**
* Fill the model with an array of attributes.
*
* @param array $attributes
*
* @return $this
*/
p... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Helpers/NovaInlineRelationshipHelper.php | src/Helpers/NovaInlineRelationshipHelper.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Helpers;
class NovaInlineRelationshipHelper
{
/**
* Returns Observer Classname for a relationship
*
* @param $relationship
*
* @return string
*/
public static function getObserver($relationship)
{
return '\\... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Traits/RequireRelationship.php | src/Traits/RequireRelationship.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Traits;
trait RequireRelationship
{
/**
* Set that at least one child relationship is required.
*
* @var bool
*/
public $requireChild = false;
/**
* Require that a child relationship must be created.
*
* @retu... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Observers/HasManyObserver.php | src/Observers/HasManyObserver.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Observers;
use Illuminate\Support\Arr;
use Illuminate\Database\Eloquent\Model;
class HasManyObserver extends BaseObserver
{
/**
* {@inheritdoc}
*/
public function updating(Model $model, $attribute, $value)
{
$model->{$attribut... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Observers/HasOneObserver.php | src/Observers/HasOneObserver.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Observers;
use Illuminate\Database\Eloquent\Model;
class HasOneObserver extends BaseObserver
{
/**
* {@inheritdoc}
*/
public function updating(Model $model, $attribute, $value)
{
$childModel = $model->{$attribute}()->first();
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Observers/BaseObserver.php | src/Observers/BaseObserver.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Observers;
use Illuminate\Database\Eloquent\Model;
use KirschbaumDevelopment\NovaInlineRelationship\Contracts\RelationshipObservable;
abstract class BaseObserver implements RelationshipObservable
{
/**
* Handle updating event for the relationship
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Observers/BelongsToObserver.php | src/Observers/BelongsToObserver.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Observers;
use Illuminate\Database\Eloquent\Model;
class BelongsToObserver extends BaseObserver
{
/**
* {@inheritdoc}
*/
public function updating(Model $model, $attribute, $value)
{
$parentModel = $model->{$attribute}()->first... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Observers/NovaInlineRelationshipObserver.php | src/Observers/NovaInlineRelationshipObserver.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Observers;
use Laravel\Nova\Nova;
use Illuminate\Database\Eloquent\Model;
use Laravel\Nova\Http\Requests\NovaRequest;
use KirschbaumDevelopment\NovaInlineRelationship\Integrations\Integrate;
use KirschbaumDevelopment\NovaInlineRelationship\NovaInlineRelatio... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Observers/MorphOneObserver.php | src/Observers/MorphOneObserver.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Observers;
class MorphOneObserver extends HasOneObserver
{
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Observers/MorphManyObserver.php | src/Observers/MorphManyObserver.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Observers;
class MorphManyObserver extends HasManyObserver
{
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Rules/RelationshipRule.php | src/Rules/RelationshipRule.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Rules;
use Illuminate\Support\MessageBag;
use Illuminate\Contracts\Validation\Rule;
use Illuminate\Support\Facades\Validator;
class RelationshipRule implements Rule
{
public $rules = [];
/**
* @var array
*/
protected $messages;
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Contracts/RelationshipObservable.php | src/Contracts/RelationshipObservable.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Contracts;
use Illuminate\Database\Eloquent\Model;
interface RelationshipObservable
{
/**
* Handle updating event for the relationship
*
* @param Model $model
* @param $attribute
* @param $value
*
* @return mixed
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Integrations/Field.php | src/Integrations/Field.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Integrations;
use KirschbaumDevelopment\NovaInlineRelationship\Integrations\Contracts\ThirdPartyContract;
class Field extends ThirdParty implements ThirdPartyContract
{
/**
* Fields array from object.
*
* @return array
*/
public... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Integrations/ThirdParty.php | src/Integrations/ThirdParty.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Integrations;
abstract class ThirdParty
{
/**
* @var mixed
*/
protected $field;
/**
* ThirdPartyContract constructor.
*
* @param $field
*/
public function __construct($field)
{
$this->field = $field... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Integrations/Panel.php | src/Integrations/Panel.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Integrations;
use KirschbaumDevelopment\NovaInlineRelationship\Integrations\Contracts\ThirdPartyContract;
class Panel extends ThirdParty implements ThirdPartyContract
{
/**
* Fields array from object.
*
* @return array
*/
public... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Integrations/Integrate.php | src/Integrations/Integrate.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Integrations;
use ReflectionClass;
use KirschbaumDevelopment\NovaInlineRelationship\Exceptions\ContractMissingException;
use KirschbaumDevelopment\NovaInlineRelationship\Integrations\Field as FieldInterface;
use KirschbaumDevelopment\NovaInlineRelationship\... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Integrations/NovaDependencyContainer.php | src/Integrations/NovaDependencyContainer.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Integrations;
use KirschbaumDevelopment\NovaInlineRelationship\Integrations\Contracts\ThirdPartyContract;
class NovaDependencyContainer extends ThirdParty implements ThirdPartyContract
{
/**
* Fields array from object.
*
* @return array
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/src/Integrations/Contracts/ThirdPartyContract.php | src/Integrations/Contracts/ThirdPartyContract.php | <?php
namespace KirschbaumDevelopment\NovaInlineRelationship\Integrations\Contracts;
interface ThirdPartyContract
{
/**
* ThirdPartyContract constructor.
*
* @param $field
*/
public function __construct($field);
/**
* Fields array from object.
*
* @return array
*/
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Department.php | tests/Department.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class Department extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['title'];
public function users()
{
return $this->hasMany(User::class);
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Team.php | tests/Team.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class Team extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['title'];
public function employees()
{
$this->belongsToMany(Employee::class);
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Profile.php | tests/Profile.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class Profile extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['phone'];
public function employee()
{
$this->belongsTo(Employee::class);
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/User.php | tests/User.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name'];
public function department()
{
return $this->belongsTo(Department::class);
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/TestCase.php | tests/TestCase.php | <?php
namespace Tests;
use App\Nova\Resource;
use Laravel\Nova\Nova;
use Illuminate\Foundation\Application;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Schema\Blueprint;
use Laravel\Nova\Http\Requests\NovaRequest;
use Orchestra\Testbench\TestCase as Orchestra... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Comment.php | tests/Comment.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['text', 'weight'];
public function commentable()
{
return $this->morphTo();
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Bill.php | tests/Bill.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class Bill extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['amount', 'weight'];
public function employee()
{
$this->belongsTo(Employee::class);
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Employee.php | tests/Employee.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class Employee extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name'];
public function profile()
{
return $this->hasOne(Profile::class);
}
publ... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Summary.php | tests/Summary.php | <?php
namespace Tests;
use Illuminate\Database\Eloquent\Model;
class Summary extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['text'];
public function summarizable()
{
return $this->morphTo();
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/Department.php | tests/Resource/Department.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
class Department extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\Department::class;
public function f... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/Team.php | tests/Resource/Team.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
class Team extends Resource
{
public function fields(Request $request)
{
return [
Text::make('Title'),
];
}
}
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/Profile.php | tests/Resource/Profile.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
class Profile extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\Profile::class;
public function fields(... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/EmployeeTeams.php | tests/Resource/EmployeeTeams.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\BelongsToMany;
class EmployeeTeams extends Resource
{
public function fields(Request $request)
{
return [
Text::make('Name'),
BelongsT... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/EmployeeMorphOne.php | tests/Resource/EmployeeMorphOne.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\MorphOne;
class EmployeeMorphOne extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\E... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/User.php | tests/Resource/User.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\BelongsTo;
class User extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\User::class;... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/EmployeeMorphMany.php | tests/Resource/EmployeeMorphMany.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\MorphMany;
class EmployeeMorphMany extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/Comment.php | tests/Resource/Comment.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Trix;
class Comment extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\Comment::class;
public function fields(... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/Bill.php | tests/Resource/Bill.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Currency;
class Bill extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\Bill::class;
public function fields(Re... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/Employee.php | tests/Resource/Employee.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\HasMany;
class Employee extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\Employee::... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/EmployeeHasMany.php | tests/Resource/EmployeeHasMany.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\HasMany;
class EmployeeHasMany extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\Emp... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Resource/Summary.php | tests/Resource/Summary.php | <?php
namespace Tests\Resource;
use Laravel\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Textarea;
class Summary extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \Tests\Summary::class;
public function fie... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Unit/HasOneTest.php | tests/Unit/HasOneTest.php | <?php
namespace Tests\Unit;
use Tests\Profile;
use Tests\Employee;
use Tests\TestCase;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Http\Requests\NovaRequest;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Validation\ValidationException;
use Tests\Resource\Employee as EmployeeResource;
use Illuminate\F... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Unit/MorphManyTest.php | tests/Unit/MorphManyTest.php | <?php
namespace Tests\Unit;
use Tests\Comment;
use Tests\Employee;
use Tests\TestCase;
use Laravel\Nova\Fields\Trix;
use Tests\Resource\EmployeeMorphMany;
use Laravel\Nova\Http\Requests\NovaRequest;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class MorphManyTest ex... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Unit/BelongsToTest.php | tests/Unit/BelongsToTest.php | <?php
namespace Tests\Unit;
use Tests\User;
use Tests\TestCase;
use Tests\Department;
use Laravel\Nova\Fields\Text;
use Tests\Resource\User as UserResource;
use Laravel\Nova\Http\Requests\NovaRequest;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class BelongsToTest ... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Unit/HasManyTest.php | tests/Unit/HasManyTest.php | <?php
namespace Tests\Unit;
use Tests\Bill;
use Tests\Employee;
use Tests\TestCase;
use Laravel\Nova\Fields\Currency;
use Tests\Resource\EmployeeHasMany;
use Laravel\Nova\Http\Requests\NovaRequest;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class HasManyTest exten... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Unit/MorphOneTest.php | tests/Unit/MorphOneTest.php | <?php
namespace Tests\Unit;
use Tests\Summary;
use Tests\Employee;
use Tests\TestCase;
use Laravel\Nova\Fields\Textarea;
use Tests\Resource\EmployeeMorphOne;
use Laravel\Nova\Http\Requests\NovaRequest;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class MorphOneTest ... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Unit/RequireChildTest.php | tests/Unit/RequireChildTest.php | <?php
namespace Tests\Unit;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithFaker;
use KirschbaumDevelopment\NovaInlineRelationship\NovaInlineRelationship;
class RequireChildTest extends TestCase
{
use WithFaker;
/**
* @var NovaInlineRelationship
*/
protected $inlineRelationship;
... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/tests/Unit/NovaInlineRelationshipServiceProviderTest.php | tests/Unit/NovaInlineRelationshipServiceProviderTest.php | <?php
namespace Tests\Unit;
use Tests\TestCase;
use Laravel\Nova\Fields\HasOne;
use Tests\Resource\EmployeeTeams;
use Laravel\Nova\Http\Requests\NovaRequest;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
use KirschbaumDevelopment\NovaInlineRelationship\NovaInlineRelat... | php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
kirschbaum-development/nova-inline-relationship | https://github.com/kirschbaum-development/nova-inline-relationship/blob/f571a78a10156213b0c10ed49ece337f06018ff9/config/config.php | config/config.php | <?php
return [
'third-party' => [
'KirschbaumDevelopment\NovaInlineRelationship\Integrations',
],
];
| php | MIT | f571a78a10156213b0c10ed49ece337f06018ff9 | 2026-01-05T02:26:34.390789Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/config.php | UnamWebPanel/config.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
$config = [];
/* Change UnamSancam below to change the password. */
$config['password'] = 'UnamSanctam';
/*
* If your web server uses Apache or IIS then there is no need to
* change the db file location since the .htaccess or web.config file
* will pr... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/index.php | UnamWebPanel/index.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'assets/php/session-header.php';
if($loggedin) {
header('Location: pages/miners.php');
} else {
header('Location: pages/login.php');
}
die(); | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/lang/lang.php | UnamWebPanel/lang/lang.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
$langarr = [
'logout'=>['en'=>'Logout', 'sv'=>'Logga Ut', 'fr'=>'Se déconnecter', 'de'=>'Abmelden', 'pl'=>'Wyloguj', 'ru'=>'Выйти', 'uk'=>'Вихід', 'es'=>'Cerrar Sesión'],
'error'=>['en'=>'Error', 'sv'=>'Fel', 'fr'=>'Erreur', 'de'=>'Fehler', 'pl'=>'... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/pages/logout.php | UnamWebPanel/pages/logout.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
include dirname(__DIR__).'/assets/php/session-header.php';
$base->logout(); | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/pages/ip-blocking.php | UnamWebPanel/pages/ip-blocking.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/security.php';
require_once dirname(__DIR__).'/assets/php/datatables.php';
?><!DOCTYPE html>
<html lang="<?= $langID ?>">
<head>
<?php include dirname(__DIR__).'/assets/php/styles.php'; ?>
<title>Unam Web ... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/pages/login.php | UnamWebPanel/pages/login.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/session-header.php';
if($loggedin){
header("Location: miners.php");
}
?><!DOCTYPE html>
<html lang="<?= $langID ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, in... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/pages/configurations.php | UnamWebPanel/pages/configurations.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/security.php';
$configID = getParam('id') ?: 1;
$currentconfig = [];
$configoptions = "";
$configs = $base->unam_dbSelect(getConn(), 'configs', 'cf_configID, cf_name, cf_data', [], false, true);
foreach ($config... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/pages/miners.php | UnamWebPanel/pages/miners.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/security.php';
require_once dirname(__DIR__).'/assets/php/datatables.php';
?><!DOCTYPE html>
<html lang="<?= $langID ?>">
<head>
<?php include dirname(__DIR__).'/assets/php/styles.php'; ?>
<title>Unam Web ... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/pages/statistics.php | UnamWebPanel/pages/statistics.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/security.php';
$stats = ['total' => 0, 'offline' => 0];
$newminers = ['today' => [60 * 60 * 24, 0], '3days' => [60 * 60 * 24 * 3, 0], '7days' => [60 * 60 * 24 * 7, 0], '30days' => [60 * 60 * 24 * 30, 0]];
$gpus =... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/__UNAM_LIB/unam_lib.php | UnamWebPanel/__UNAM_LIB/unam_lib.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
class unam_lib {
private static $usingCustomErrorHandler;
function __construct() {
self::$usingCustomErrorHandler = false;
}
function unam_dbSelect($conn, $table_name, $fields, $where_array = null, $rowcount=false, $fetchAll=fals... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/api/ajax-actions.php | UnamWebPanel/api/ajax-actions.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/security.php';
function checkJSON($input) {
json_decode($input, true);
if(json_last_error() != JSON_ERROR_NONE) {
return false;
}
return true;
}
if(!empty(getParam('action'))) {
switc... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/api/endpoint.php | UnamWebPanel/api/endpoint.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/class/db.php';
$data = json_decode(file_get_contents('php://input'), true);
if(json_last_error() != JSON_ERROR_NONE) {
echo 'Endpoint is up and running. This page is shown since no data was posted during the request or ... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/api/ajax-datatable.php | UnamWebPanel/api/ajax-datatable.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/datatables.php';
require_once dirname(__DIR__).'/class/class.ssp.php';
if($loggedin && !empty([$datatables['tables'][getParam('tableid')]]) && $datatables['tables'][getParam('tableid')]['enabled']){
$table = ... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/api/ajax-auth.php | UnamWebPanel/api/ajax-auth.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/assets/php/session-header.php';
if(getParam('csrf_token') != $_SESSION['csrf_token']) {
$base->unam_echoFailure('Invalid CSRF token.');
} else {
$hostAddress = $_SERVER["REMOTE_ADDR"] ?? '127.0.0.1';
$loginBlock... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/api/ajax-sitewide.php | UnamWebPanel/api/ajax-sitewide.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once(dirname(__DIR__) . '/assets/php/session-header.php');
switch(getParam('action')){
case 'lang-change':
$base->unam_checkCondition(!in_array(getParam('newlangID'), array_keys($config['languages'])), 'Language ID invalid.');
... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/footer.php | UnamWebPanel/assets/php/footer.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__, 2).'/config.php';
?><footer class="main-footer">
<strong>Copyright © 2021-<?php echo date("Y"); ?> <a href="https://github.com/UnamSanctam">Unam Sanctam</a>.</strong>
For educational purposes.
<div class="floa... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/session-header.php | UnamWebPanel/assets/php/session-header.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'safety-check.php';
require_once dirname(__DIR__, 2).'/class/class.base.php';
if(session_status() !== PHP_SESSION_ACTIVE) {
session_set_cookie_params([
'lifetime' => 0,
'httponly' => true,
'samesite' => 'Strict'
... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/styles.php | UnamWebPanel/assets/php/styles.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'security.php';
?><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow">
<link rel="icon" type="image/png" href="../assets/img/favicon.png">
<link rel="styl... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/navbar.php | UnamWebPanel/assets/php/navbar.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'security.php';
function active_link($target) {
return basename($_SERVER["SCRIPT_NAME"]) === $target ? 'active' : '';
}
?><nav class="main-header navbar navbar-expand navbar-dark">
<ul class="navbar-nav">
<li class="nav-item">... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/datatables.php | UnamWebPanel/assets/php/datatables.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'templates.php';
$datatables = [
'tables'=>[
'miner-table'=>[
'db_table'=>'miners',
'db_primary_key'=>'ms_minerID',
'enabled'=>true,
'columns'=>[
[
... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/templates.php | UnamWebPanel/assets/php/templates.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'security.php';
function unamMinerStatus($status){
global $larr;
switch($status){
case 1:
return "<span class='text-status-red'>{$larr['stopped']}</span>";
case 2:
return "<span class='text-stat... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/security.php | UnamWebPanel/assets/php/security.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'session-header.php';
if(!$loggedin) {
$base->logout();
}
if (!empty($_SESSION['HTTP_USER_AGENT'])) {
if ($_SESSION['HTTP_USER_AGENT'] != $_SERVER['HTTP_USER_AGENT']) {
$base->logout();
}
} else {
$_SESSION['HTTP_USER... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/safety-check.php | UnamWebPanel/assets/php/safety-check.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__, 2).'/config.php';
if (!class_exists('PDO')) {
echo '<p style="color:red">The required class PDO could not be found.</p>';
die();
}
if (!in_array('sqlite', PDO::getAvailableDrivers())) {
echo '<p style="color:red"... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/assets/php/scripts.php | UnamWebPanel/assets/php/scripts.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once 'security.php';
?><script src="../assets/modules/jquery/jquery-3.7.1.min.js"></script>
<script src="../assets/modules/datatables/datatables.min.js"></script>
<script src="../assets/modules/select2/select2.min.js"></script>
<script src="../asse... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/class/class.base.php | UnamWebPanel/class/class.base.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
$csp_nonce = base64_encode(random_bytes(16));
header("Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-{$csp_nonce}'; style-src 'self'; img-src 'self' data:; object-src 'none'; frame-src 'none'; child-src 'none'; worker-src 'none'; med... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/class/class.ssp.php | UnamWebPanel/class/class.ssp.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
class SSP
{
static function data_output($columns, $data) {
$escapedData = array_map(function ($row) {
return array_map(function ($value) {
return htmlspecialchars($value ?? '', ENT_QUOTES, 'UTF-8', false);
... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
UnamSanctam/UnamWebPanel | https://github.com/UnamSanctam/UnamWebPanel/blob/7f5536d28012994ac3b4feca88fecb4af0350611/UnamWebPanel/class/db.php | UnamWebPanel/class/db.php | <?php
/* Made by Unam Sanctam https://github.com/UnamSanctam */
require_once dirname(__DIR__).'/config.php';
$conn = null;
function getConn() {
global $conn, $config;
if($conn) {
return $conn;
} else {
$connectionString = "sqlite:{$config['db_file']}";
try {
$conn = new ... | php | MIT | 7f5536d28012994ac3b4feca88fecb4af0350611 | 2026-01-05T02:27:10.418547Z | false |
Elephant418/Markdownify | https://github.com/Elephant418/Markdownify/blob/a4511adecb6fbebe37614e82f06f50eb9d02bc28/src/ConverterExtra.php | src/ConverterExtra.php | <?php
namespace Markdownify;
class ConverterExtra extends Converter
{
/**
* table data, including rows with content and the maximum width of each col
*
* @var array
*/
protected $table = [];
/**
* current col
*
* @var int
*/
protected $col = -1;
/**
... | php | MIT | a4511adecb6fbebe37614e82f06f50eb9d02bc28 | 2026-01-05T02:27:27.377477Z | false |
Elephant418/Markdownify | https://github.com/Elephant418/Markdownify/blob/a4511adecb6fbebe37614e82f06f50eb9d02bc28/src/Parser.php | src/Parser.php | <?php
namespace Markdownify;
class Parser
{
public static $skipWhitespace = true;
public static $a_ord;
public static $z_ord;
public static $special_ords;
/**
* tags which are always empty (<br /> etc.)
*
* @var array<string>
*/
public $emptyTags = [
'br',
... | php | MIT | a4511adecb6fbebe37614e82f06f50eb9d02bc28 | 2026-01-05T02:27:27.377477Z | false |
Elephant418/Markdownify | https://github.com/Elephant418/Markdownify/blob/a4511adecb6fbebe37614e82f06f50eb9d02bc28/src/Converter.php | src/Converter.php | <?php
namespace Markdownify;
/**
* default configuration
*/
define('MDFY_BODYWIDTH', false);
define('MDFY_KEEPHTML', true);
/**
* HTML to Markdown converter class
*/
class Converter
{
/**
* html parser object
*
* @var parseHTML
*/
protected $parser;
/**
* markdown output
... | php | MIT | a4511adecb6fbebe37614e82f06f50eb9d02bc28 | 2026-01-05T02:27:27.377477Z | true |
Elephant418/Markdownify | https://github.com/Elephant418/Markdownify/blob/a4511adecb6fbebe37614e82f06f50eb9d02bc28/test/ConverterTestCase.php | test/ConverterTestCase.php | <?php
namespace Test\Markdownify;
use Markdownify\Converter;
require_once(__DIR__ . '/../vendor/autoload.php');
class ConverterTestCase extends \PHPUnit_Framework_TestCase
{
/* ATTRIBUTES
*************************************************************************/
protected $converter;
/* UNICODE... | php | MIT | a4511adecb6fbebe37614e82f06f50eb9d02bc28 | 2026-01-05T02:27:27.377477Z | false |
Elephant418/Markdownify | https://github.com/Elephant418/Markdownify/blob/a4511adecb6fbebe37614e82f06f50eb9d02bc28/test/ConverterExtraTest.php | test/ConverterExtraTest.php | <?php
namespace Test\Markdownify;
use Markdownify\ConverterExtra;
require_once(__DIR__ . '/../vendor/autoload.php');
class ConverterExtraTest extends ConverterTestCase
{
/* UTILS
*************************************************************************/
public function setUp()
{
$this->co... | php | MIT | a4511adecb6fbebe37614e82f06f50eb9d02bc28 | 2026-01-05T02:27:27.377477Z | false |
Elephant418/Markdownify | https://github.com/Elephant418/Markdownify/blob/a4511adecb6fbebe37614e82f06f50eb9d02bc28/test/ConverterTest.php | test/ConverterTest.php | <?php
namespace Test\Markdownify;
use Markdownify\Converter;
require_once(__DIR__ . '/../vendor/autoload.php');
class ConverterTest extends ConverterTestCase
{
/* UTILS
*************************************************************************/
public function setUp()
{
$this->converter = ... | php | MIT | a4511adecb6fbebe37614e82f06f50eb9d02bc28 | 2026-01-05T02:27:27.377477Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/Client.php | src/Client.php | <?php
namespace paragraph1\phpFCM;
use GuzzleHttp;
/**
* @author palbertini
*/
class Client implements ClientInterface
{
const DEFAULT_API_URL = 'https://fcm.googleapis.com/fcm/send';
/** @var string */
private $apiKey;
/** @var string */
private $proxyApiUrl;
/** @var GuzzleHttp\ClientIn... | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/Notification.php | src/Notification.php | <?php
namespace paragraph1\phpFCM;
/**
* @link https://firebase.google.com/docs/cloud-messaging/http-server-ref#notification-payload-support
*/
class Notification implements \JsonSerializable
{
private $title;
private $body;
private $badge;
private $icon;
private $color;
private $sound;
p... | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/ClientInterface.php | src/ClientInterface.php | <?php
namespace paragraph1\phpFCM;
/**
* @author kbielenberg
*/
interface ClientInterface
{
/**
* add your server api key here
* read how to obtain an api key here: https://firebase.google.com/docs/server/setup#prerequisites
*
* @param string $apiKey
*
* @return \paragraph1\phpFCM\... | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/Message.php | src/Message.php | <?php
namespace paragraph1\phpFCM;
use paragraph1\phpFCM\Recipient\Recipient;
use paragraph1\phpFCM\Recipient\Topic;
use paragraph1\phpFCM\Recipient\Device;
/**
* @author palbertini
*/
class Message implements \JsonSerializable
{
const PRIORITY_HIGH = 'high',
PRIORITY_NORMAL = 'normal';
private $no... | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.