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
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/ViewCreateTest.php
tests/Generators/ViewCreateTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class ViewCreateTest extends \BlacksmithTest { public function testParentClass() { $instance = new ViewCreate( new Filesystem, ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/ControllerTest.php
tests/Generators/ControllerTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class ControllerTest extends \BlacksmithTest { public function testParentClass() { $instance = new Controller( new Filesystem, ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/UnitTestTest.php
tests/Generators/UnitTestTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class UnitTestTest extends \BlacksmithTest { public function testParentClass() { $instance = new UnitTest( new Filesystem, ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/SeedTest.php
tests/Generators/SeedTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class SeedTest extends \BlacksmithTest { public function testParentClass() { $instance = new Seed( new Filesystem, new Mu...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/ServiceCreatorTestTest.php
tests/Generators/ServiceCreatorTestTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class ServiceCreatorTestTest extends \BlacksmithTest { public function testParentClass() { $instance = new ServiceCreator( new Filesy...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/GeneratorTest.php
tests/Generators/GeneratorTest.php
<?php namespace Generators; use Console\OptionReader; use DateTime; use Generators\Generator; use Illuminate\Filesystem\Filesystem; use Mustache_Engine; use Mockery as m; class GeneratorTest extends \BlacksmithTest { public function testMake() { $parsedTemplate = " Order Order...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/ModelTest.php
tests/Generators/ModelTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class ModelTest extends \BlacksmithTest { public function testParentClass() { $instance = new Model( new Filesystem, new ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/MigrationCreateTest.php
tests/Generators/MigrationCreateTest.php
<?php namespace Generators; use DateTime; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class MigrationCreateTest extends \BlacksmithTest { public function testParentClass() { $instance = new MigrationCreate( ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/ServiceDestroyerTestTest.php
tests/Generators/ServiceDestroyerTestTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class ServiceDestroyerTestTest extends \BlacksmithTest { public function testParentClass() { $instance = new ServiceDestroyer( new Fi...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/RepositoryInterfaceTest.php
tests/Generators/RepositoryInterfaceTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class RepositoryInterfaceTest extends \BlacksmithTest { public function testParentClass() { $instance = new RepositoryInterface( new ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/ViewIndexTest.php
tests/Generators/ViewIndexTest.php
<?php namespace Generators; use DateTime; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class ViewIndexTest extends \BlacksmithTest { public function testParentClass() { $instance = new ViewIndex( new Filesy...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/FunctionalTestTest.php
tests/Generators/FunctionalTestTest.php
<?php namespace Generators; use DateTime; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class FunctionalTestTest extends \BlacksmithTest { public function testParentClass() { $instance = new FunctionalTest( ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Generators/ServiceDestroyerTest.php
tests/Generators/ServiceDestroyerTest.php
<?php namespace Generators; use Console\OptionReader; use Illuminate\Filesystem\Filesystem; use Parsers\FieldParser; use Mustache_Engine; use Mockery as m; class ServiceDestroyerTest extends \BlacksmithTest { public function testParentClass() { $instance = new ServiceDestroyer( new Filesy...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Configuration/ConfigReaderTest.php
tests/Configuration/ConfigReaderTest.php
<?php namespace Configuration; use Configuration\ConfigReader; use Illuminate\Filesystem\Filesystem; use Mockery as m; class ConfigReaderTest extends \BlacksmithTest { /** * @expectedException \Illuminate\Filesystem\FileNotFoundException */ public function testErrorMissingConfig() { $pa...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Console/OptionReaderTest.php
tests/Console/OptionReaderTest.php
<?php namespace Console; use Configuration\ConfigReader; use Factories\GeneratorDelegateFactory; use Illuminate\Filesystem\Filesystem; use Mockery as m; class OptionReaderTest extends \BlacksmithTest { public function testFields() { $optionReader = new OptionReader([ 'f', ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Delegates/AggregateGeneratorDelegateTest.php
tests/Delegates/AggregateGeneratorDelegateTest.php
<?php namespace Delegates; use Delegates\AggregateGeneratorDelegate; use Console\GenerateCommand; use Configuration\ConfigReader; use Generators\Generator; use Illuminate\Support\Str; use Illuminate\Filesystem\Filesystem; use Mustache_Engine; use Mockery as m; class AggregateGeneratorDelegateTest extends \BlacksmithT...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Delegates/GeneratorDelegateTest.php
tests/Delegates/GeneratorDelegateTest.php
<?php namespace Delegates; use Console\OptionReader; use Delegates\GeneratorDelegate; use Console\GenerateCommand; use Configuration\ConfigReader; use Generators\Generator; use Illuminate\Support\Str; use Illuminate\Filesystem\Filesystem; use Mustache_Engine; use Mockery as m; class GeneratorDelegateTest extends \Bla...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Factories/GeneratorDelegateFactoryTest.php
tests/Factories/GeneratorDelegateFactoryTest.php
<?php namespace Factories; use Console\OptionReader; use Factories\GeneratorDelegateFactory; use Mockery as m; class GeneratorDelegateFactoryTest extends \BlacksmithTest { public function testMakesValidGeneratorDelegate() { $cmd = m::mock('Console\GenerateCommand'); $cfg = realpath(__...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Factories/MigrationColumnFactoryTest.php
tests/Factories/MigrationColumnFactoryTest.php
<?php namespace Factories; use Factories\MigrationColumnFactory; use Mockery as m; class MigrationColumnFactoryTest extends \BlacksmithTest { public function testGeneratesSimpleColumn() { $input = [ 'name' => ['type' => 'string'] ]; $output = []; $output[] = "\$...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Factories/ConfigReaderFactoryTest.php
tests/Factories/ConfigReaderFactoryTest.php
<?php namespace Factories; use Configuration\ConfigReaderInterface; use Factories\ConfigReaderFactory; use Mockery as m; class ConfigReaderFactoryTest extends \BlacksmithTest { public function testMakesValidConfigReaderWithGivenPath() { $path = '/path/to/config.json'; $fs = m::mock('Illuminat...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Factories/GeneratorFactoryTest.php
tests/Factories/GeneratorFactoryTest.php
<?php namespace Factories; use Generators\GeneratorInterface; use Factories\GeneratorFactory; use Mockery as m; class GeneratorFactoryTest extends \BlacksmithTest { private $optionReader; public function setUp() { parent::setUp(); $this->optionReader = m::mock('Console\OptionReader'); ...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
Indatus/blacksmith
https://github.com/Indatus/blacksmith/blob/ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1/tests/Parsers/FieldParserTest.php
tests/Parsers/FieldParserTest.php
<?php namespace Parsers; use Parsers\FieldParser; class FieldParserTest extends \BlacksmithTest { protected $parser; public function setUp() { parent::setUp(); $this->parser = new FieldParser; } public function testParsing() { $this->assertEquals([], $this->parser-...
php
MIT
ff6a7423ffcb159f9cd9190af76ea5ed6a5f98b1
2026-01-05T02:37:29.739342Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/test/unit/SparkPostResponseTest.php
test/unit/SparkPostResponseTest.php
<?php namespace SparkPost\Test; use PHPUnit\Framework\TestCase; use SparkPost\SparkPostResponse; use Mockery; class SparkPostResponseTest extends TestCase { /** @var Mockery\MockInterface|\Psr\Http\Message\ResponseInterface */ private $responseMock; /** @var string */ private $returnValue; publi...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/test/unit/SparkPostTest.php
test/unit/SparkPostTest.php
<?php namespace SparkPost\Test; use Http\Client\HttpAsyncClient; use Http\Client\HttpClient; use Http\Message\MessageFactory; use Nyholm\NSA; use PHPUnit\Framework\TestCase; use SparkPost\SparkPost; use SparkPost\SparkPostPromise; use GuzzleHttp\Promise\FulfilledPromise as GuzzleFulfilledPromise; use GuzzleHttp\Promi...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/test/unit/TransmissionTest.php
test/unit/TransmissionTest.php
<?php namespace SparkPost\Test; use PHPUnit\Framework\TestCase; use SparkPost\SparkPost; use Mockery; class TransmissionTest extends TestCase { private $clientMock; /** @var SparkPost */ private $resource; private $postTransmissionPayload = [ 'content' => [ 'from' => ['name' => '...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/bootstrap.php
examples/bootstrap.php
<?php require_once dirname(__FILE__).'/../vendor/autoload.php';
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/templates/delete_template.php
examples/templates/delete_template.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/templates/preview_template.php
examples/templates/preview_template.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/templates/create_template.php
examples/templates/create_template.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/templates/get_template.php
examples/templates/get_template.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/templates/get_all_templates.php
examples/templates/get_all_templates.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/templates/update_template.php
examples/templates/update_template.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/message-events/get_message_events_with_retry_logic.php
examples/message-events/get_message_events_with_retry_logic.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/message-events/get_message_events.php
examples/message-events/get_message_events.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPost($...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/create_transmission_with_recipient_list.php
examples/transmissions/create_transmission_with_recipient_list.php
<?php namespace Examples\Transmissions; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPo...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/create_transmission_with_attachment.php
examples/transmissions/create_transmission_with_attachment.php
<?php namespace Examples\Transmissions; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPo...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/create_transmission.php
examples/transmissions/create_transmission.php
<?php namespace Examples\Transmissions; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPo...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/delete_transmission.php
examples/transmissions/delete_transmission.php
<?php namespace Examples\Transmissions; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPo...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/get_transmission.php
examples/transmissions/get_transmission.php
<?php // Feature has been deprecated // See https://developers.sparkpost.com/api/transmissions/#transmissions-get-retrieve-a-scheduled-transmission
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/create_transmission_with_cc_and_bcc.php
examples/transmissions/create_transmission_with_cc_and_bcc.php
<?php namespace Examples\Transmissions; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPo...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/create_transmission_with_template.php
examples/transmissions/create_transmission_with_template.php
<?php namespace Examples\Transmissions; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); // In these examples, fetch API key from environment variable $sparky = new SparkPo...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/transmissions/get_all_transmissions.php
examples/transmissions/get_all_transmissions.php
<?php // Feature has been deprecated // See https://developers.sparkpost.com/api/transmissions/#transmissions-get-retrieve-a-scheduled-transmission
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/examples/debug/index.php
examples/debug/index.php
<?php namespace Examples\Templates; require dirname(__FILE__).'/../bootstrap.php'; use SparkPost\SparkPost; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); /* * configure options in example-options.json */ $sparky = new SparkPost($httpClient...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/lib/SparkPost/SparkPostResponse.php
lib/SparkPost/SparkPostResponse.php
<?php namespace SparkPost; use Psr\Http\Message\ResponseInterface as ResponseInterface; use Psr\Http\Message\StreamInterface as StreamInterface; class SparkPostResponse implements ResponseInterface { /** * ResponseInterface to be wrapped by SparkPostResponse. */ private $response; /** * A...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/lib/SparkPost/Transmission.php
lib/SparkPost/Transmission.php
<?php namespace SparkPost; class Transmission extends ResourceBase { public function __construct(SparkPost $sparkpost) { parent::__construct($sparkpost, 'transmissions'); } /** * Send post request to transmission endpoint after formatting cc, bcc, and expanding the shorthand emails. ...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/lib/SparkPost/ResourceBase.php
lib/SparkPost/ResourceBase.php
<?php namespace SparkPost; /** * Class ResourceBase. */ class ResourceBase { /** * SparkPost object used to make requests. */ protected $sparkpost; /** * The api endpoint that gets prepended to all requests send through this resource. */ protected $endpoint; /** * Sets...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/lib/SparkPost/Resource.php
lib/SparkPost/Resource.php
<?php namespace SparkPost; /** * Class Resource. * * @deprecated Soft reservations placed on name Resource (as of PHP7) */ class Resource extends ResourceBase { }
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/lib/SparkPost/SparkPostPromise.php
lib/SparkPost/SparkPostPromise.php
<?php namespace SparkPost; use Http\Promise\Promise as HttpPromise; class SparkPostPromise implements HttpPromise { /** * HttpPromise to be wrapped by SparkPostPromise. */ private $promise; /** * Array with the request values sent. */ private $request; /** * set the pro...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/lib/SparkPost/SparkPostException.php
lib/SparkPost/SparkPostException.php
<?php namespace SparkPost; use Http\Client\Exception\HttpException as HttpException; class SparkPostException extends \Exception { /** * Variable to hold json decoded body from http response. */ private $body = null; /** * Array with the request values sent. */ private $request; ...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
SparkPost/php-sparkpost
https://github.com/SparkPost/php-sparkpost/blob/2c7f60d27afbbbea05c72cb33ef9094f9cfceb88/lib/SparkPost/SparkPost.php
lib/SparkPost/SparkPost.php
<?php namespace SparkPost; use Http\Client\HttpClient; use Http\Client\HttpAsyncClient; use Http\Discovery\MessageFactoryDiscovery; use Http\Message\RequestFactory; use Psr\Http\Message\RequestInterface; class SparkPost { /** * @var string Library version, used for setting User-Agent */ private $ve...
php
MIT
2c7f60d27afbbbea05c72cb33ef9094f9cfceb88
2026-01-05T02:37:55.906163Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/updater.php
updater.php
<?php /** @var CUpdater $updater */ if ($updater && $updater instanceof CUpdater) { if (!function_exists('sprint_migration_rmdir')) { function sprint_migration_rmdir($dir) { if (!is_dir($dir)) { return false; } $files = array_diff(scandir($dir), ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/options.php
options.php
<?php global $APPLICATION; use Bitrix\Main\Loader; use Sprint\Migration\Locale; use Sprint\Migration\Module; try { if (!Loader::includeModule('sprint.migration')) { Throw new Exception('need to install module sprint.migration'); } if ($APPLICATION->GetGroupRight('sprint.migration') == 'D') { ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/.settings.php
.settings.php
<?php use Sprint\Migration\SymfonyBundle\Command\ConsoleCommand; return [ 'controllers' => [ 'value' => [ 'defaultNamespace' => '\\Sprint\\Migration\\Controller', ], 'readonly' => true, ], 'console' => [ 'value' => [ 'commands' => [ C...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/include.php
include.php
<?php include(__DIR__ . '/locale/ru.php'); include(__DIR__ . '/locale/en.php'); class_alias('\Sprint\Migration\Builder', '\Sprint\Migration\AbstractBuilder');
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/tools/migrate.php
tools/migrate.php
<?php use Bitrix\Main\Loader; if (php_sapi_name() != 'cli') { die('Can not run in this mode. Bye!'); } set_time_limit(0); error_reporting(E_ERROR); ini_set('zend.exception_ignore_args', 0); defined('NO_AGENT_CHECK') || define('NO_AGENT_CHECK', true); defined('NO_KEEP_STATISTIC') || define('NO_KEEP_STATISTIC', "...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/menu.php
admin/menu.php
<?php global $APPLICATION; use Bitrix\Main\Loader; use Sprint\Migration\Enum\VersionEnum; use Sprint\Migration\Locale; use Sprint\Migration\Module; if ($APPLICATION->GetGroupRight('sprint.migration') == 'D') { return false; } if (!Loader::includeModule('sprint.migration')) { return false; } try { $versi...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/sprint_migrations.php
admin/sprint_migrations.php
<?php use Bitrix\Main\Loader; use Sprint\Migration\Locale; use Sprint\Migration\Module; ini_set('zend.exception_ignore_args', 0); require_once($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php"); /** @global $APPLICATION CMain */ global $APPLICATION; try { if (!Loader::includeMo...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/config_list.php
admin/includes/config_list.php
<?php /** @var $versionConfig VersionConfig */ use Sprint\Migration\Locale; use Sprint\Migration\VersionConfig; $versionConfig = new VersionConfig(); $configList = $versionConfig->getList(); ?> <?php foreach ($configList as $configItem) { ?><?php $configValues = $versionConfig->humanValues($configItem['values'...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/builder_form.php
admin/includes/builder_form.php
<?php /** @var $builder Builder */ use Sprint\Migration\Builder; use Sprint\Migration\Locale; use Sprint\Migration\Out; echo '<form method="post">'; echo $builder->getTitle(); foreach ($builder->getFields() as $fieldCode => $fieldItem) { if ($fieldItem['type'] == 'hidden') { include __DIR__ . '/../fields/...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/errors.php
admin/includes/errors.php
<?php if (isset($sperrors) && is_array($sperrors)): ?> <?php foreach ($sperrors as $sperror) { ?> <div class="sp-col"> <?= $sperror ?> </div> <?php } ?> <?php endif; ?>
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/builder_group.php
admin/includes/builder_group.php
<?php use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; /** @var $versionConfig VersionConfig */ $versionManager = new VersionManager($versionConfig); $builderList = $versionConfig->getVal('version_builders', []); $builderTree = []; foreach ($builderList as $builderName => $builderClass) { ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/help.php
admin/includes/help.php
<?php use Sprint\Migration\Enum\VersionEnum; use Sprint\Migration\Locale; use Sprint\Migration\Module; global $APPLICATION; $isSettinsPage = strpos($APPLICATION->GetCurPage(), 'settings.php'); ?> <div class="sp-table"> <div class="sp-row2"> <div class="sp-col"> <div style="margin-bottom: 10px...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/interface.php
admin/includes/interface.php
<?php use Sprint\Migration\Locale; use Sprint\Migration\Out; $versionConfig = new Sprint\Migration\VersionConfig($_REQUEST['config'] ?? ''); global $APPLICATION; $APPLICATION->SetTitle($versionConfig->getCurrent('title')); if ($versionConfig->getVal('show_admin_interface')) { if ($_SERVER["REQUEST_METHOD"] == "...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/options.php
admin/includes/options.php
<?php use Sprint\Migration\Locale; use Sprint\Migration\Module; use Sprint\Migration\Out; use Sprint\Migration\VersionConfig; $request = Bitrix\Main\Context::getCurrent()->getRequest(); if ($request->isPost() && check_bitrix_sessid()) { if ($request->getPost("options_remove")) { Module::removeDbOptions()...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/includes/version.php
admin/includes/version.php
<?php use Sprint\Migration\Locale; use Sprint\Migration\VersionConfig; /** @var $versionConfig VersionConfig */ $getOnclickMenu = function () { $menu = []; $menu[] = [ 'TEXT' => Locale::getMessage('UP_START_WITH_TAG'), 'ONCLICK' => 'migrationMigrationsUpWithTag()', ]; $menu[] = [ ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/assets/version.php
admin/assets/version.php
<script type="text/javascript"> <?php include __DIR__ . '/script.js' ?> </script>
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/assets/style.php
admin/assets/style.php
<style> <?php include __DIR__ . '/style.css' ?> </style>
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_transfer.php
admin/steps/migration_transfer.php
<?php use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } $existsEvents = ( ($_POST["step_code"] == "migration_transfer") ); if ($existsEvents && check_bitrix_sessid()) { $version = !empty($_POST['version']) ? ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_status.php
admin/steps/migration_status.php
<?php use Sprint\Migration\Enum\VersionEnum; use Sprint\Migration\Locale; use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } if ($_POST["step_code"] == "migration_view_status" && check_bitrix_sessid()) { /** @va...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_mark.php
admin/steps/migration_mark.php
<?php use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } $existsEvents = ( ($_POST["step_code"] == "migration_mark") ); if ($existsEvents && check_bitrix_sessid()) { /** @var $versionConfig VersionConfig */ ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_delete.php
admin/steps/migration_delete.php
<?php use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } $existsEvents = ( ($_POST["step_code"] == "migration_delete") ); if ($existsEvents && check_bitrix_sessid()) { /** @var $versionConfig VersionConfig */ ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_settag.php
admin/steps/migration_settag.php
<?php use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } $existsEvents = ( ($_POST["step_code"] == "migration_settag") ); if ($existsEvents && check_bitrix_sessid()) { /** @var $versionConfig VersionConfig */ ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_list.php
admin/steps/migration_list.php
<?php use Sprint\Migration\Enum\VersionEnum; use Sprint\Migration\Locale; use Sprint\Migration\Out; use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } $listView = ( ($_POST["step_code"] == "migration_view_all") ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_execute.php
admin/steps/migration_execute.php
<?php use Sprint\Migration\Enum\VersionEnum; use Sprint\Migration\Locale; use Sprint\Migration\Out; use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } if ($_POST["step_code"] == "migration_execute" && check_bitrix_s...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/steps/migration_create.php
admin/steps/migration_create.php
<?php use Sprint\Migration\VersionConfig; use Sprint\Migration\VersionManager; use Sprint\Migration\Exceptions\BuilderException; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } $stepCode = htmlspecialchars($_POST['step_code']??''); $hasSteps = (($stepCode == 'migration_create') || ($s...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/fields/input_hidden.php
admin/fields/input_hidden.php
<?php use Sprint\Migration\Builder; /** * @var $fieldCode string * @var $fieldItem array * @var $builder Builder */ ?> <input type="hidden" name="<?= $fieldCode ?>" value="<?= htmlspecialchars($fieldItem['value']) ?>"/>
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/fields/select_multiple.php
admin/fields/select_multiple.php
<?php use Sprint\Migration\Builder; use Sprint\Migration\Locale; /** * @var $fieldCode string * @var $fieldItem array * @var $builder Builder */ ?> <div class="sp-optgroup"> <?php if (count($fieldItem['select']) > 8) { ?> <div class="sp-optgroup-head"> <input class="sp-optgroup-search" d...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/fields/select_groups_multiple.php
admin/fields/select_groups_multiple.php
<?php use Sprint\Migration\Builder; use Sprint\Migration\Locale; /** * @var $fieldCode string * @var $fieldItem array * @var $builder Builder */ ?> <div class="sp-optgroup"> <div class="sp-optgroup-head"> <input class="sp-optgroup-search" data-attrs="<?= $fieldCode ?>" size="20" type="text" placehol...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/fields/select.php
admin/fields/select.php
<?php use Sprint\Migration\Builder; /** * @var $fieldCode string * @var $fieldItem array * @var $builder Builder */ ?> <div class="sp-optgroup"> <?php if (count($fieldItem['select']) > 8) { ?> <div class="sp-optgroup-head"> <input class="sp-optgroup-search" data-attrs="<?= $fieldCode ?>"...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/fields/input_text.php
admin/fields/input_text.php
<?php use Sprint\Migration\Builder; /** * @var $fieldCode string * @var $fieldItem array * @var $builder Builder */ ?> <input name="<?= $fieldCode ?>" type="text" value="<?= htmlspecialchars($fieldItem['value']) ?>" <?php if (!empty($fieldItem['placeholder'])) { ?> placeholder="<?= $fi...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/fields/textarea.php
admin/fields/textarea.php
<?php use Sprint\Migration\Builder; /** * @var $fieldCode string * @var $fieldItem array * @var $builder Builder */ $style = 'style="height: ' . $fieldItem['height'] . 'px;"'; if (!empty($fieldItem['width'])) { $style = 'style="width: ' . $fieldItem['width'] . 'px; height: ' . $fieldItem['height'] . 'px;"'...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/admin/fields/select_groups.php
admin/fields/select_groups.php
<?php use Sprint\Migration\Builder; use Sprint\Migration\Locale; /** * @var $fieldCode string * @var $fieldItem array * @var $builder Builder */ ?> <div class="sp-optgroup"> <div class="sp-optgroup-head"> <input class="sp-optgroup-search" data-attrs="<?= $fieldCode ?>" size="20" type="text" placehol...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/locale/ru.php
locale/ru.php
<?php require_once __DIR__ . "/../lib/locale.php"; \Sprint\Migration\Locale::loadLocale( "ru", [ "MODULE_NAME" => "Миграции для разработчиков", "MODULE_DESCRIPTION" => "Модуль для управления миграциями бд, создание, установка, откат миграций", "PARTNER_NAME" ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
true
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/locale/en.php
locale/en.php
<?php require_once __DIR__ . "/../lib/locale.php"; \Sprint\Migration\Locale::loadLocale( "en", [ "MODULE_NAME" => "Migrations for developers", "MODULE_DESCRIPTION" => "Module for managing migration, creating, installing, rolling back migration", "PARTNER_NAME" ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20150520000001.php
examples/Version20150520000001.php
<?php namespace Sprint\Migration; class Version20150520000001 extends Version { protected $description = "Добавляем инфоблок новости"; /** * @throws Exceptions\HelperException * @return bool|void */ public function up() { $helper = $this->getHelperManager(); $helper->...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20170213000009.php
examples/Version20170213000009.php
<?php namespace Sprint\Migration; class Version20170213000009 extends Version { protected $description = "Пример работы с почтовыми шаблонами"; /** * @throws Exceptions\HelperException * @return bool|void */ public function up() { $helper = $this->getHelperManager(); ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20250606000014.php
examples/Version20250606000014.php
<?php namespace Sprint\Migration; class Version20250606000014 extends Version { protected $description = "Пример зависимости миграции от других"; public function up() { // данная проверка бросит исключение если указанные миграции не установлены $this->checkRequiredVersions(['Version2019...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20170213000008.php
examples/Version20170213000008.php
<?php namespace Sprint\Migration; class Version20170213000008 extends Version { protected $description = "Пример работы миграции с сохранением промежуточных данных в бд"; /** * @throws Exceptions\MigrationException * @return bool|void */ public function up() { //сохраняем данны...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20190606000012.php
examples/Version20190606000012.php
<?php namespace Sprint\Migration; use Bitrix\Main\Db\SqlQueryException; class Version20190606000012 extends Version { protected $description = "Sql помощник"; /** * @throws Exceptions\HelperException * @throws SqlQueryException * @return bool|void */ public function up() { ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20190606000013.php
examples/Version20190606000013.php
<?php namespace Sprint\Migration; class Version20190606000013 extends Version { protected $description = "Пример создания категорий инфоблока из древовидной структуры"; /** * @throws Exceptions\HelperException * @return bool|void */ public function up() { $helper = $this->getHe...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20150520000005.php
examples/Version20150520000005.php
<?php namespace Sprint\Migration; class Version20150520000005 extends Version { protected $description = "Пример работы с highload-блоками"; /** * @throws Exceptions\HelperException * @return bool|void */ public function up() { $helper = $this->getHelperManager(); $h...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20170213000007.php
examples/Version20170213000007.php
<?php namespace Sprint\Migration; class Version20170213000007 extends Version { protected $description = "Пример работы с шаблонами сайта"; /** * @return bool|void */ public function up() { $helper = $this->getHelperManager(); //получить список шаблонов $helper->S...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20190606000011.php
examples/Version20190606000011.php
<?php namespace Sprint\Migration; use Bitrix\Main\ArgumentException; use Bitrix\Main\ObjectPropertyException; use Bitrix\Main\SystemException; use Exception; class Version20190606000011 extends Version { protected $description = "Пример работы с доступами групп к инфоблоками и highload-блоками"; /** ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20150520000004.php
examples/Version20150520000004.php
<?php namespace Sprint\Migration; class Version20150520000004 extends Version { protected $description = "Пример отображения списка и формы для элементов инфоблока в админке"; /** * @throws Exceptions\HelperException * @return bool|void */ public function up() { $helper = $th...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20150520000002.php
examples/Version20150520000002.php
<?php namespace Sprint\Migration; use CIBlockElement; use Sprint\Migration\Exceptions\HelperException; use Sprint\Migration\Exceptions\RestartException; class Version20150520000002 extends Version { protected $description = "Пошаговая миграция"; /** * @throws HelperException * @throws RestartExcep...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20150520000003.php
examples/Version20150520000003.php
<?php namespace Sprint\Migration; class Version20150520000003 extends Version { protected $description = <<<TEXT Пример описания миграции с [red]красным текстом[/], [green]зелёным[/], [blue]синим[/], [yellow]желтым[/] и [pink]розовым[/] конечно. Также задавать информационные метки [label]Простая[/] [label:re...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/examples/Version20170213000006.php
examples/Version20170213000006.php
<?php namespace Sprint\Migration; class Version20170213000006 extends Version { protected $description = "Пример работы с highload-блоками # 2"; /** * @throws Exceptions\HelperException * @return bool|void */ public function up() { $helper = $this->getHelperManager(); $...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/templates/OrderPropertiesExport.php
templates/OrderPropertiesExport.php
<?php /** * @var $version * @var $description * @var $updateMethod * @var $properties * @var $propertyVariants * @var $extendUse * @var $extendClass * @var $moduleVersion * @var $author * @formatter:off */ use Sprint\Migration\Builders\OrderPropertiesBuilder; ?><?php echo "<?php\n" ?> namespace Sprint\Mi...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/templates/IblockElementsExport.php
templates/IblockElementsExport.php
<?php /** * @var $version * @var $description * @var $updateMethod * @var $extendUse * @var $extendClass * @var $moduleVersion * @var $author * @formatter:off */ use Sprint\Migration\Builders\IblockElementsBuilder; ?><?php echo "<?php\n" ?> namespace Sprint\Migration; <?php echo $extendUse ?> class <?php ...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false
andreyryabin/sprint.migration
https://github.com/andreyryabin/sprint.migration/blob/28c9f88af41ec7729d4ed2ffc043683f57a7a321/templates/IblockPropertyExport.php
templates/IblockPropertyExport.php
<?php /** * @var string $version * @var string $description * @var string $extendUse * @var string $extendClass * @var string $moduleVersion * @var string $author * @var array $exports * @formatter:off */ ?><?php echo "<?php\n" ?> namespace Sprint\Migration; <?php echo $extendUse ?> class <?php echo $vers...
php
MIT
28c9f88af41ec7729d4ed2ffc043683f57a7a321
2026-01-05T02:38:05.941194Z
false