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
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/calls.php
examples/calls.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\CallModel; use AmoCRM\Models\Interfaces\CallInterface; use League\OAuth2\Client\Token\AccessTokenInterface; use Ramsey\Uuid\Uuid; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAc...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/parse_disposable_token.php
examples/parse_disposable_token.php
<?php use AmoCRM\Exceptions\{DisposableTokenExpiredException, DisposableTokenInvalidDestinationException, DisposableTokenVerificationFailedException}; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); // Как пример, получим заголовки с реквеста // И получим нужный нам X-Auth-Token $token =...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/loss_reasons_actions.php
examples/loss_reasons_actions.php
<?php use AmoCRM\Collections\Leads\LossReasons\LossReasonsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\Leads\LossReasons\LossReasonModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($ac...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/account_actions.php
examples/account_actions.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\AccountModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAccountBaseDomain($accessToken->getValues()['baseDomain']) ->...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/chat_templates_actions.php
examples/chat_templates_actions.php
<?php declare(strict_types=1); use AmoCRM\Collections\Chats\Templates\Buttons\ButtonsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\Chats\Templates\Buttons\TextButtonModel; use AmoCRM\Models\Chats\Templates\ReviewModel; use AmoCRM\Models\Chats\Templates\TemplateModel; use League\OAuth2\Client...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/webhooks_actions.php
examples/webhooks_actions.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\WebhookModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAccountBaseDomain($accessToken->getValues()['baseDomain']) ->...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/roles_actions.php
examples/roles_actions.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\Rights\RightModel; use AmoCRM\Models\RoleModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken)...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/talks_actions.php
examples/talks_actions.php
<?php declare(strict_types=1); use AmoCRM\Models\Talks\TalkCloseActionModel; use AmoCRM\Exceptions\AmoCRMApiException; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; /** @var \AmoCRM\Client\AmoCRMApiClient $apiClient */ $accessToken = getToken(); $apiClient ->setAc...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/tags_actions.php
examples/tags_actions.php
<?php use AmoCRM\Enum\Tags\TagColorsEnum; use AmoCRM\Filters\TagsFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Collections\Leads\LeadsCollection; use AmoCRM\Collections\TagsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\LeadModel; use AmoCRM\Models\TagModel; use League\OAuth2\Cli...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/get_account_subdomain.php
examples/get_account_subdomain.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\AccountDomainModel; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); try { /** * В случае потери/смены субдомена аккаунта, мы можем его получить с помощью активного refresh_token. * * Получить субдомен можно сдел...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/links_actions.php
examples/links_actions.php
<?php use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\CatalogElementModel; use AmoCRM\Models\CompanyModel; use AmoCRM\Models\ContactModel; use AmoCRM\Models\Customers\CustomerModel; use AmoCRM\Models\LeadModel; use League\OAuth2\Client\Token\AccessTokenInterface; in...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/segments_actions.php
examples/segments_actions.php
<?php use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\Customers\Segments\SegmentModel; use AmoCRM\Models\CustomFields\TextCustomFieldModel; use AmoCRM\Models\CustomFieldsValues\TextCustomFieldValuesModel; use AmoC...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/customers_actions.php
examples/customers_actions.php
<?php use AmoCRM\Collections\Customers\Segments\SegmentsCollection; use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\CustomersFilter; use AmoCRM\Models\Customers\CustomerModel; use AmoCRM\Models\Customers\Segments\...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/file_custom_field_actions.php
examples/file_custom_field_actions.php
<?php /** @since Release Spring 2022 */ use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Collections\CustomFields\CustomFieldsCollection; use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\LeadsFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Mode...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/base/property.php
src/exceptions/base/property.php
<?php class plBasePropertyException extends Exception { const READ = 1; const WRITE = 2; public function __construct( $key, $type ) { parent::__construct( 'Invalid property access. The property "' . $key . '" is not '. ( $type === self::READ ? 'readable' : 'writable' ) . '.' ); } } ...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/phuml/invalidProcessor.php
src/exceptions/phuml/invalidProcessor.php
<?php class plPhumlInvalidProcessorException extends Exception { public function __construct() { parent::__construct( 'The supplied processor is invalid.' ); } } ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/phuml/invalidProcessorChain.php
src/exceptions/phuml/invalidProcessorChain.php
<?php class plPhumlInvalidProcessorChainException extends Exception { public function __construct( $first, $second ) { parent::__construct( 'To processors in the chain are incompatible. The first processor\'s output is "' . $first . '". The next Processor in the que...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/generator/notFound.php
src/exceptions/generator/notFound.php
<?php class plStructureGeneratorNotFoundException extends Exception { public function __construct( $generator ) { parent::__construct( 'The needed generator class "' . $generator . '" could not be found.' ); } } ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/processor/externalExecution.php
src/exceptions/processor/externalExecution.php
<?php class plProcessorExternalExecutionException extends Exception { public function __construct( $output ) { // Convert array to string if is_array if(is_array($output)) { $output = var_export($output, true); } parent::__construct( 'Execution of external program failed:' . "\n"...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/processor/notFound.php
src/exceptions/processor/notFound.php
<?php class plProcessorNotFoundException extends Exception { public function __construct( $processor ) { parent::__construct( 'The needed processor class "' . $processor . '" could not be found.' ); } } ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/processor/option.php
src/exceptions/processor/option.php
<?php class plProcessorOptionException extends Exception { const READ = 1; const WRITE = 2; const UNKNOWN = 3; public function __construct( $key, $type ) { parent::__construct( 'The option "' . $key . '" is not ' . ( $type === self::...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/exceptions/processor/graphviz/style/notFound.php
src/exceptions/processor/graphviz/style/notFound.php
<?php class plGraphvizProcessorStyleNotFoundException extends Exception { public function __construct( $style ) { parent::__construct( 'The needed dot style "' . $style . '" could not be found.' ); } } ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/interfaces/generator.php
src/interfaces/generator.php
<?php abstract class plStructureGenerator { public static function factory( $generator ) { $classname = 'plStructure' . ucfirst( $generator ) . 'Generator'; if ( class_exists( $classname ) === false ) { throw new plStructureGeneratorNotFoundException( $generator ); ...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/interfaces/processor.php
src/interfaces/processor.php
<?php abstract class plProcessor { public static function factory( $processor ) { $classname = 'pl' . ucfirst( $processor ) . 'Processor'; if ( class_exists( $classname ) === false ) { throw new plProcessorNotFoundException( $processor ); } return new $cla...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/interfaces/processor/externalCommand.php
src/interfaces/processor/externalCommand.php
<?php abstract class plExternalCommandProcessor extends plProcessor { abstract public function execute( $infile, $outfile, $type ); public function process( $input, $type ) { // Create temporary datafiles $infile = tempnam( '/tmp', 'phuml' ); $outfile = tempnam( '/tmp', 'phuml'...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/interfaces/processor/graphviz/style.php
src/interfaces/processor/graphviz/style.php
<?php abstract class plGraphvizProcessorStyle { public static function factory( $style ) { $classname = 'plGraphvizProcessor' . ucfirst( $style ) . 'Style'; if ( class_exists( $classname ) === false ) { throw new plGraphvizProcessorStyleNotFoundException( $style ); ...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/autoload/processor_autoload.php
src/autoload/processor_autoload.php
<?php return array( 'plProcessor' => 'interfaces/processor.php', 'plProcessorOptions' => 'classes/processor/options.php', 'plProcessorOptionException' => 'exceptions/processor/option.php', 'plGraphvizProcessor' ...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/autoload/php_autoload.php
src/autoload/php_autoload.php
<?php return array( 'plPhpClass' => 'classes/php/class.php', 'plPhpFunction' => 'classes/php/function.php', 'plPhpInterface' => 'classes/php/interface.php', 'plPhpAttribute' => 'classes/php/attribute.php', 'plPhpFunctionParameter' => 'classes/php...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/autoload/base_autoload.php
src/autoload/base_autoload.php
<?php return array( 'plBasePropertyException' => 'exceptions/base/property.php', ); ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/autoload/structure_autoload.php
src/autoload/structure_autoload.php
<?php return array( 'plStructureGenerator' => 'interfaces/generator.php', 'plStructureTokenparserGenerator' => 'classes/generator/tokenparser.php', 'plStructureGeneratorNotFoundException' => 'exceptions/generator/notFound.php', ); ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/autoload/phuml_autoload.php
src/autoload/phuml_autoload.php
<?php return array( 'plPhuml' => 'classes/phuml.php', 'plPhumlInvalidProcessorException' => 'exceptions/phuml/invalidProcessor.php', 'plPhumlInvalidProcessorChainException' => 'exceptions/phuml/invalidProcessorChain.php', ); ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/config/config.php
src/config/config.php
<?php define( "BASEDIR", dirname( __FILE__ ) . '/..' ); ini_set( 'include_path', ini_get( "include_path" ) . PATH_SEPARATOR . BASEDIR ); require_once( 'classes/base.php' ); plBase::addAutoloadDirectory( dirname( __FILE__ ). '/../autoload' ); function __autoload( $classname ) { plBase::autoload( $classn...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/base.php
src/classes/base.php
<?php class plBase { private static $autoload = array(); private static $autoloadDirectory = array(); public static function autoload( $classname ) { if ( isset( self::$autoload[$classname] ) ) { include_once( self::$autoload[$classname] ); } } public sta...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/phuml.php
src/classes/phuml.php
<?php class plPhuml { private $properties; private $files; private $processors; public function __construct() { $this->properties = array( 'generator' => plStructureGenerator::factory( 'tokenparser' ), ); $this->files = array(); } public fu...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/generator/tokenparser.php
src/classes/generator/tokenparser.php
<?php class plStructureTokenparserGenerator extends plStructureGenerator { private $classes; private $interfaces; private $parserStruct; private $lastToken; public function __construct() { $this->initGlobalAttributes(); $this->initParserAttributes(); } private funct...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/processor/neato.php
src/classes/processor/neato.php
<?php class plNeatoProcessor extends plExternalCommandProcessor { public $options; public function __construct() { $this->options = new plProcessorOptions(); } public function getInputTypes() { return array( 'text/dot', ); } public function get...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/processor/dot.php
src/classes/processor/dot.php
<?php class plDotProcessor extends plExternalCommandProcessor { public $options; public function __construct() { $this->options = new plProcessorOptions(); } public function getInputTypes() { return array( 'text/dot', ); } public function getOu...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/processor/options.php
src/classes/processor/options.php
<?php class plProcessorOptions { const BOOL = 1; const STRING = 2; const DECIMAL = 3; protected $properties = array(); public function __get( $key ) { if ( !array_key_exists( $key, $this->properties ) ) { throw new plProcessorOptionException( $key, plProce...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/processor/graphviz.php
src/classes/processor/graphviz.php
<?php class plGraphvizProcessor extends plProcessor { private $properties; private $output; private $structure; public $options; public function __construct() { $this->options = new plGraphvizProcessorOptions(); $this->structure = null; $this->output = null; ...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/processor/statistics.php
src/classes/processor/statistics.php
<?php class plStatisticsProcessor extends plProcessor { private $information; public $options; public function __construct() { $this->options = new plProcessorOptions(); $this->information = array(); } public function getInputTypes() { return array( ...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/processor/graphviz/options.php
src/classes/processor/graphviz/options.php
<?php class plGraphvizProcessorOptions extends plProcessorOptions { public function __construct() { $this->properties = array( 'style' => array( 'data' => plGraphvizProcessorStyle::factory( 'default' ), 'type' => sel...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/processor/graphviz/style/default.php
src/classes/processor/graphviz/style/default.php
<?php class plGraphvizProcessorDefaultStyle extends plGraphvizProcessorStyle { } ?>
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/php/attribute.php
src/classes/php/attribute.php
<?php class plPhpAttribute { private $properties; public function __construct( $name, $modifier = 'public', $type = null ) { $this->properties = array( 'name' => $name, 'modifier' => $modifier, 'type' => $type, ); } public functi...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/php/function.php
src/classes/php/function.php
<?php class plPhpFunction { private $properties; public function __construct( $name, $modifier = 'public', $params = array() ) { $this->properties = array( 'name' => $name, 'modifier' => $modifier, 'params' => $params, ); } public ...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/php/class.php
src/classes/php/class.php
<?php class plPhpClass { private $properties; public function __construct( $name, $attributes = array(), $functions = array(), $implements = array(), $extends = null ) { $this->properties = array( 'name' => $name, 'attributes' => $attributes, 'fu...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/php/interface.php
src/classes/php/interface.php
<?php class plPhpInterface { private $properties; public function __construct( $name, $functions = array(), $extends = null ) { $this->properties = array( 'name' => $name, 'functions' => $functions, 'extends' => $extends, ); } public...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
jakobwesthoff/phuml
https://github.com/jakobwesthoff/phuml/blob/f8cb44ebdbd87f2042df41937a8821e2a61c97d6/src/classes/php/functionParameter.php
src/classes/php/functionParameter.php
<?php class plPhpFunctionParameter { private $properties; public function __construct( $name, $type = null ) { $this->properties = array( 'name' => $name, 'type' => $type, ); } public function __get( $key ) { if ( !array_key_exists...
php
BSD-3-Clause
f8cb44ebdbd87f2042df41937a8821e2a61c97d6
2026-01-05T03:20:10.806231Z
false
pheditor/pheditor
https://github.com/pheditor/pheditor/blob/d3d9eea5a575999463f9164c320104b46beb044b/pheditor.php
pheditor.php
<?php /* * Pheditor * PHP file editor * Hamid Samak * https://github.com/pheditor/pheditor * Release under MIT license */ define('PASSWORD', 'c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec'); define('DS', DIRECTORY_SEPARATOR); def...
php
MIT
d3d9eea5a575999463f9164c320104b46beb044b
2026-01-05T03:20:14.190242Z
true
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php require __DIR__ . '/vendor/autoload.php'; $finder = PhpCsFixer\Finder::create()->in([ __DIR__ . DIRECTORY_SEPARATOR . 'src', __DIR__ . DIRECTORY_SEPARATOR . 'tests', ]); return PHLAK\CodingStandards\ConfigFactory::make($finder);
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/src/Version.php
src/Version.php
<?php namespace PHLAK\SemVer; use JsonSerializable; use PHLAK\SemVer\Exceptions\InvalidVersionException; use PHLAK\SemVer\Traits\Comparable; use PHLAK\SemVer\Traits\Incrementable; /** * @property int $major Major release number * @property int $minor Minor release number * @property int $patch Patch release numbe...
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/src/Exceptions/InvalidVersionException.php
src/Exceptions/InvalidVersionException.php
<?php namespace PHLAK\SemVer\Exceptions; use Exception; class InvalidVersionException extends Exception {}
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/src/Traits/Incrementable.php
src/Traits/Incrementable.php
<?php namespace PHLAK\SemVer\Traits; trait Incrementable { /** * Increment the major version value by one. * * @return static This Version object */ public function incrementMajor(): static { $this->setMajor($this->major + 1); return $this; } /** * Increm...
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/src/Traits/Comparable.php
src/Traits/Comparable.php
<?php namespace PHLAK\SemVer\Traits; use PHLAK\SemVer\Enums\Compare; use PHLAK\SemVer\Version; trait Comparable { /** * Compare two versions. Returns -1, 0 or 1 if the first version is less * than, equal to or greater than the second version respectively. * * @param Version $version1 An insta...
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/src/Support/helpers.php
src/Support/helpers.php
<?php use PHLAK\SemVer\Version; if (! function_exists('semver')) { /** * Create a SemVer version object. * * @throws \PHLAK\SemVer\Exceptions\InvalidVersionException */ function semver(string $string): Version { return new PHLAK\SemVer\Version($string); } }
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/src/Enums/Compare.php
src/Enums/Compare.php
<?php namespace PHLAK\SemVer\Enums; enum Compare { case FULL; case MAJOR; case MINOR; case PATCH; }
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
PHLAK/SemVer
https://github.com/PHLAK/SemVer/blob/bf9c3ca45511ed411b576d7afd838a827ee0a6cb/tests/VersionTest.php
tests/VersionTest.php
<?php namespace PHLAK\SemVer\Tests; use JsonSerializable; use PHLAK\SemVer; use PHLAK\SemVer\Enums\Compare; use PHLAK\SemVer\Exceptions\InvalidVersionException; use PHLAK\SemVer\Traits\Comparable; use PHLAK\SemVer\Traits\Incrementable; use PHLAK\SemVer\Version; use PHPUnit\Framework\Attributes\CoversClass; use PHPUni...
php
MIT
bf9c3ca45511ed411b576d7afd838a827ee0a6cb
2026-01-05T03:20:38.941110Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/app/autoload.php
app/autoload.php
<?php use Doctrine\Common\Annotations\AnnotationRegistry; use Composer\Autoload\ClassLoader; /** * @var ClassLoader $loader */ $loader = require __DIR__.'/../vendor/autoload.php'; AnnotationRegistry::registerLoader(array($loader, 'loadClass')); AnnotationRegistry::registerFile( __DIR__.'/../vendor/doctrine/or...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/app/AppKernel.php
app/AppKernel.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Ker...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/app/AppCache.php
app/AppCache.php
<?php require_once __DIR__.'/AppKernel.php'; use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; class AppCache extends HttpCache { }
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/app/check.php
app/check.php
<?php require_once dirname(__FILE__).'/SymfonyRequirements.php'; $symfonyRequirements = new SymfonyRequirements(); $iniPath = $symfonyRequirements->getPhpIniConfigPath(); echo "********************************\n"; echo "* *\n"; echo "* Symfony requirements check *\n"; echo "* ...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/app/SymfonyRequirements.php
app/SymfonyRequirements.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * Users of PHP 5.2 should be able to run the requirements checks. * This is w...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/app/tests/StartTest.php
app/tests/StartTest.php
<?php namespace Vespolina; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class StartTest extends WebTestCase { public function testStartPage() { $client = $this->createClient(array('environment' => 'dev')); $client->request('GET', '/'); $this->assertEquals(200, $client->getRe...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/app/tests/bootstrap.php
app/tests/bootstrap.php
<?php require __DIR__.'/../bootstrap.php.cache';
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Application/UserBundle/UserBundle.php
src/Application/UserBundle/UserBundle.php
<?php namespace Application\UserBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class UserBundle extends Bundle { public function getParent() { return 'FOSUserBundle'; } }
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Application/UserBundle/Document/User.php
src/Application/UserBundle/Document/User.php
<?php namespace Application\UserBundle\Document; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; use FOS\UserBundle\Model\User as BaseUser; use Vespolina\Entity\Partner\PartnerInterface; /** * @MongoDB\Document */ class User extends BaseUser { /** @MongoDB\Id(strategy="auto") */ protected $id; ...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Application/UserBundle/Document/Group.php
src/Application/UserBundle/Document/Group.php
<?php namespace Application\UserBundle\Document; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; use FOS\UserBundle\Model\Group as BaseGroup; /** * @MongoDB\Document */ class Group extends BaseGroup { /** @MongoDB\Id(strategy="auto") */ protected $id; }
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/VespolinaDefaultStoreBundle.php
src/Vespolina/DefaultStoreBundle/VespolinaDefaultStoreBundle.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class VespolinaDefaultStoreBundl...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/SetupCLIProcess.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/SetupCLIProcess.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup; use Vespolina\CommerceBundle\Process\AbstractProcess; use V...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/AbstractSetupStep.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/AbstractSetupStep.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup\Step; use Vespolina\CommerceBundle\Process\AbstractProcessSt...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateCustomers.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateCustomers.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup\Step; use Vespolina\Entity\Partner\Partner; class CreateCus...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateCustomerTaxonomy.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateCustomerTaxonomy.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup\Step; class CreateCustomerTaxonomy extends AbstractSetupStep...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateActionDefinitions.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateActionDefinitions.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup\Step; use Vespolina\Entity\Action\ActionDefinition; use Vesp...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateProducts.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateProducts.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup\Step; use Vespolina\Entity\Pricing\Element\TotalDoughValueEl...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateEmployees.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateEmployees.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup\Step; use Vespolina\Entity\Partner\Partner; class CreateEmp...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateProductTaxonomy.php
src/Vespolina/DefaultStoreBundle/ProcessScenario/Setup/Step/CreateProductTaxonomy.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\ProcessScenario\Setup\Step; class CreateProductTaxonomy extends AbstractSetupStep ...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/DependencyInjection/VespolinaDefaultStoreExtension.php
src/Vespolina/DefaultStoreBundle/DependencyInjection/VespolinaDefaultStoreExtension.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\DependencyInjection; use Symfony\Component\HttpKernel\DependencyInjection\Extensio...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/src/Vespolina/DefaultStoreBundle/Command/SetupCommand.php
src/Vespolina/DefaultStoreBundle/Command/SetupCommand.php
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\DefaultStoreBundle\Command; use Doctrine\Common\Collections\ArrayCollection; use Symfony\Bundle\Frame...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/web/app.php
web/app.php
<?php require_once __DIR__.'/../app/autoload.php'; require_once __DIR__.'/../app/AppKernel.php'; //require_once __DIR__.'/../app/AppCache.php'; use Symfony\Component\HttpFoundation\Request; $kernel = new AppKernel('prod', false); $kernel->loadClassCache(); //$kernel = new AppCache($kernel); $request = Request::creat...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/web/config.php
web/config.php
<?php if (!isset($_SERVER['HTTP_HOST'])) { exit('This script cannot be run from the CLI. Run it from a browser.'); } if (!in_array(@$_SERVER['REMOTE_ADDR'], array( '127.0.0.1', '::1', ))) { header('HTTP/1.0 403 Forbidden'); exit('This script is only accessible from localhost.'); } require_once di...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/web/app_test.php
web/app_test.php
<?php // if you don't want to setup permissions the proper way, just uncomment the following PHP line // read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information //umask(0000); // this check prevents access to debug front controllers that are deployed by accident to produ...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
vespolina/vespolina-sandbox
https://github.com/vespolina/vespolina-sandbox/blob/9b0a1454465764645e0b647b948f849d09fb7113/web/app_dev.php
web/app_dev.php
<?php // if you don't want to setup permissions the proper way, just uncomment the following PHP line // read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information //umask(0000); // this check prevents access to debug front controllers that are deployed by accident to produ...
php
MIT
9b0a1454465764645e0b647b948f849d09fb7113
2026-01-05T03:20:51.937776Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/EarlyAccessServiceProvider.php
src/EarlyAccessServiceProvider.php
<?php namespace Neo\EarlyAccess; use Neo\EarlyAccess\Console\Commands; use Illuminate\Support\ServiceProvider; use Neo\EarlyAccess\Events\UserSubscribed; use Neo\EarlyAccess\Events\UserUnsubscribed; use Neo\EarlyAccess\SubscriptionServices\DatabaseService; use Neo\EarlyAccess\Listeners\SendUnsubscribeNotification; us...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Subscriber.php
src/Subscriber.php
<?php namespace Neo\EarlyAccess; use Illuminate\Notifications\Notifiable; use Neo\EarlyAccess\Events\UserSubscribed; use Illuminate\Contracts\Support\Arrayable; use Neo\EarlyAccess\Events\UserUnsubscribed; use Neo\EarlyAccess\Contracts\Subscription\SubscriptionProvider; /** * @property string|null email * @propert...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/EarlyAccess.php
src/EarlyAccess.php
<?php namespace Neo\EarlyAccess; use Illuminate\Support\InteractsWithTime; use Illuminate\Contracts\Auth\Guard as Auth; use Illuminate\Contracts\Filesystem\Filesystem as Storage; class EarlyAccess { use InteractsWithTime; /** * @var \Illuminate\Contracts\Filesystem\Filesystem */ private $stora...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/SubscriptionServices/DatabaseService.php
src/SubscriptionServices/DatabaseService.php
<?php namespace Neo\EarlyAccess\SubscriptionServices; use Neo\EarlyAccess\Subscriber; use Neo\EarlyAccess\Contracts\Subscription\SubscriptionProvider; use Neo\EarlyAccess\Contracts\Subscription\SubscriptionRepository; class DatabaseService implements SubscriptionProvider { /** * @var \Neo\EarlyAccess\Contra...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/SubscriptionServices/Repositories/Database/EloquentRepository.php
src/SubscriptionServices/Repositories/Database/EloquentRepository.php
<?php namespace Neo\EarlyAccess\SubscriptionServices\Repositories\Database; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Neo\EarlyAccess\Contracts\Subscription\SubscriptionRepository; class EloquentRepository extends Model implements SubscriptionRepository { use SoftD...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Http/Controllers/EarlyAccessController.php
src/Http/Controllers/EarlyAccessController.php
<?php namespace Neo\EarlyAccess\Http\Controllers; use Illuminate\Http\Request; use Neo\EarlyAccess\Subscriber; use Illuminate\Routing\Controller as BaseController; use Neo\EarlyAccess\Traits\InteractsWithEarlyAccess; class EarlyAccessController extends BaseController { use InteractsWithEarlyAccess; /** ...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Http/Middleware/CheckForEarlyAccessMode.php
src/Http/Middleware/CheckForEarlyAccessMode.php
<?php namespace Neo\EarlyAccess\Http\Middleware; use Closure; use Illuminate\Http\Request; use Neo\EarlyAccess\Facades\EarlyAccess; use Symfony\Component\HttpFoundation\IpUtils; class CheckForEarlyAccessMode { /** * The URIs that should be accessible while maintenance mode is enabled. * * @var arr...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Traits/InteractsWithEarlyAccess.php
src/Traits/InteractsWithEarlyAccess.php
<?php namespace Neo\EarlyAccess\Traits; use Neo\EarlyAccess\Facades\EarlyAccess; trait InteractsWithEarlyAccess { /** * @return bool */ public function isEarlyAccessEnabled(): bool { return EarlyAccess::isEnabled(); } /** * @param array $data * @return mixed */ ...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Listeners/SendSubscriptionNotification.php
src/Listeners/SendSubscriptionNotification.php
<?php namespace Neo\EarlyAccess\Listeners; use Neo\EarlyAccess\Events\UserSubscribed; class SendSubscriptionNotification { /** * Handle the event. * * @param \Neo\EarlyAccess\Events\UserSubscribed $event * @return void */ public function handle(UserSubscribed $event) { $n...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Listeners/SendUnsubscribeNotification.php
src/Listeners/SendUnsubscribeNotification.php
<?php namespace Neo\EarlyAccess\Listeners; use Neo\EarlyAccess\Events\UserUnsubscribed; class SendUnsubscribeNotification { /** * Handle the event. * * @param \Neo\EarlyAccess\Events\UserUnsubscribed $event * @return void */ public function handle(UserUnsubscribed $event) { ...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Contracts/Subscription/SubscriptionRepository.php
src/Contracts/Subscription/SubscriptionRepository.php
<?php namespace Neo\EarlyAccess\Contracts\Subscription; interface SubscriptionRepository { /** * Adds a new subscriber to the repository. * * @param string $email * @param string|null $name * @return bool */ public function addSubscriber(string $email, ?string $name): bool; ...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Contracts/Subscription/SubscriptionProvider.php
src/Contracts/Subscription/SubscriptionProvider.php
<?php namespace Neo\EarlyAccess\Contracts\Subscription; interface SubscriptionProvider { /** * Adds a new email to the subscribers list. * * @param string $email * @param string|null $name * @return bool */ public function add(string $email, string $name = null): bool; /** ...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Notifications/UserUnsubscribed.php
src/Notifications/UserUnsubscribed.php
<?php namespace Neo\EarlyAccess\Notifications; use Illuminate\Bus\Queueable; use Neo\EarlyAccess\Subscriber; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; class UserUnsubscribed extends Notification implements ShouldQueue { ...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Notifications/UserSubscribed.php
src/Notifications/UserSubscribed.php
<?php namespace Neo\EarlyAccess\Notifications; use Illuminate\Bus\Queueable; use Neo\EarlyAccess\Subscriber; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; class UserSubscribed extends Notification implements ShouldQueue { ...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Facades/EarlyAccess.php
src/Facades/EarlyAccess.php
<?php namespace Neo\EarlyAccess\Facades; use Illuminate\Support\Facades\Facade; class EarlyAccess extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'early-access'; } }
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Console/Commands/EarlyAccess.php
src/Console/Commands/EarlyAccess.php
<?php namespace Neo\EarlyAccess\Console\Commands; use Illuminate\Console\Command; use Illuminate\Support\InteractsWithTime; use Neo\EarlyAccess\Traits\InteractsWithEarlyAccess; use Illuminate\Contracts\Filesystem\Filesystem as Storage; class EarlyAccess extends Command { use InteractsWithTime, InteractsWithEarly...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Events/UserUnsubscribed.php
src/Events/UserUnsubscribed.php
<?php namespace Neo\EarlyAccess\Events; use Neo\EarlyAccess\Subscriber; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class UserUnsubscribed implements ShouldQueue { use SerializesModels; /** * The name of the queue the job should be sent to. * * @var stri...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/src/Events/UserSubscribed.php
src/Events/UserSubscribed.php
<?php namespace Neo\EarlyAccess\Events; use Neo\EarlyAccess\Subscriber; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class UserSubscribed implements ShouldQueue { use SerializesModels; /** * The name of the queue the job should be sent to. * * @var string...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false
neoighodaro/laravel-early-access
https://github.com/neoighodaro/laravel-early-access/blob/c28e2f5ed9bf3683f7ce384be5bda2bb32710901/tests/TestCase.php
tests/TestCase.php
<?php namespace Neo\EarlyAccess\Tests; use Closure; use Mockery; use Neo\EarlyAccess\Subscriber; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Notification; use Orchestra\Testbench\TestCase as Orchestra; use Neo\EarlyAccess\EarlyAccessServiceProvider; ab...
php
MIT
c28e2f5ed9bf3683f7ce384be5bda2bb32710901
2026-01-05T03:21:04.873225Z
false