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 |
|---|---|---|---|---|---|---|---|---|
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/app/AppKernel.php | app/AppKernel.php | <?php
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Security... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/app/AppCache.php | app/AppCache.php | <?php
require_once __DIR__.'/AppKernel.php';
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
class AppCache extends HttpCache
{
}
| php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/app/check.php | app/check.php | <?php
require_once dirname(__FILE__).'/SymfonyRequirements.php';
$lineSize = 70;
$symfonyRequirements = new SymfonyRequirements();
$iniPath = $symfonyRequirements->getPhpIniConfigPath();
echo_title('Symfony Requirements Checker');
echo '> PHP is using the following php.ini file:'.PHP_EOL;
if ($iniPath) {
echo_s... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/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 | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | true |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/AyalineComposerBundle.php | src/Ayaline/Bundle/ComposerBundle/AyalineComposerBundle.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle;
use Symfony\Component\HttpKernel\Bundl... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Controller/ComposerController.php | src/Ayaline/Bundle/ComposerBundle/Controller/ComposerController.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Controller;
use Sonata\NotificationBund... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Form/Type/ComposerType.php | src/Ayaline/Bundle/ComposerBundle/Form/Type/ComposerType.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Form\Type;
use Ayaline\Bundle\ComposerB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/DependencyInjection/AyalineComposerExtension.php | src/Ayaline/Bundle/ComposerBundle/DependencyInjection/AyalineComposerExtension.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\DependencyInjection;
use Symfony\Compon... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/DependencyInjection/Configuration.php | src/Ayaline/Bundle/ComposerBundle/DependencyInjection/Configuration.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\DependencyInjection;
use Symfony\Compon... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Pusher/ChannelAuthenticator.php | src/Ayaline/Bundle/ComposerBundle/Pusher/ChannelAuthenticator.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Pusher;
use Lopi\Bundle\PusherBundle\Au... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Features/FeatureContext.php | src/Ayaline/Bundle/ComposerBundle/Features/FeatureContext.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Features;
use Behat\Behat\Context\Step\... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJson.php | src/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJson.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Validator\Constraints;
use Symfony\Comp... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJsonValidator.php | src/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJsonValidator.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Validator\Constraints;
use Composer\Jso... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/UploadComposerConsumer.php | src/Ayaline/Bundle/ComposerBundle/Consumer/UploadComposerConsumer.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer;
use Sonata\NotificationBundle... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/CheckVulnerabilitiesStep.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/CheckVulnerabilitiesStep.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use SensioLabs\Security\... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/ComposerInstalledStep.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/ComposerInstalledStep.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use Sonata\NotificationB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/ComposerUpdateStep.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/ComposerUpdateStep.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use Sonata\NotificationB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/AbstractStep.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/AbstractStep.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use Sonata\NotificationB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/FinalizeStep.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/FinalizeStep.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use Sonata\NotificationB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/ServeVendorStep.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/ServeVendorStep.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use Sonata\NotificationB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/StepInterface.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/StepInterface.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use Sonata\NotificationB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/src/Ayaline/Bundle/ComposerBundle/Consumer/Step/DumpFileStep.php | src/Ayaline/Bundle/ComposerBundle/Consumer/Step/DumpFileStep.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ayaline\Bundle\ComposerBundle\Consumer\Step;
use Sonata\NotificationB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/AyalineComposerBundleSpec.php | spec/Ayaline/Bundle/ComposerBundle/AyalineComposerBundleSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle;
use PhpSpec\ObjectBehavior;
clas... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Controller/ComposerControllerSpec.php | spec/Ayaline/Bundle/ComposerBundle/Controller/ComposerControllerSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Controller;
use PhpSpec\ObjectBeha... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Form/Type/ComposerTypeSpec.php | spec/Ayaline/Bundle/ComposerBundle/Form/Type/ComposerTypeSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Form\Type;
use Ayaline\Bundle\Comp... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Pusher/ChannelAuthenticatorSpec.php | spec/Ayaline/Bundle/ComposerBundle/Pusher/ChannelAuthenticatorSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Pusher;
use PhpSpec\ObjectBehavior... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJsonSpec.php | spec/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJsonSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Validator\Constraints;
use PhpSpec... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJsonValidatorSpec.php | spec/Ayaline/Bundle/ComposerBundle/Validator/Constraints/ComposerJsonValidatorSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Validator\Constraints;
use Ayaline... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Consumer/UploadComposerConsumerSpec.php | spec/Ayaline/Bundle/ComposerBundle/Consumer/UploadComposerConsumerSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Consumer;
use Ayaline\Bundle\Compo... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Consumer/Step/DumpFileStepSpec.php | spec/Ayaline/Bundle/ComposerBundle/Consumer/Step/DumpFileStepSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Consumer\Step;
use PhpSpec\ObjectB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/spec/Ayaline/Bundle/ComposerBundle/Consumer/Step/CheckVulnerabilitiesStepSpec.php | spec/Ayaline/Bundle/ComposerBundle/Consumer/Step/CheckVulnerabilitiesStepSpec.php | <?php
/*
* This file is part of `Composer as a service`.
*
* (c) Pascal Borreli <pascal@borreli.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Ayaline\Bundle\ComposerBundle\Consumer\Step;
use PhpSpec\ObjectB... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/web/app.php | web/app.php | <?php
use Symfony\Component\HttpFoundation\Request;
/*
* @var Composer\Autoload\ClassLoader
*/
$loader = require __DIR__.'/../app/autoload.php';
include_once __DIR__.'/../app/bootstrap.php.cache';
// Enable APC for autoloading to improve performance.
// You should change the ApcClassLoader first argument to a uniq... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/web/app_test.php | web/app_test.php | <?php
use Symfony\Component\Debug\Debug;
use Symfony\Component\HttpFoundation\Request;
// 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#checking-symfony-application-configuration-and-setup
// for more informat... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
pborreli/composer-service | https://github.com/pborreli/composer-service/blob/848d3051207522bd8a90e3fd4cad4acb2fc5c388/web/app_dev.php | web/app_dev.php | <?php
use Symfony\Component\Debug\Debug;
use Symfony\Component\HttpFoundation\Request;
// 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#checking-symfony-application-configuration-and-setup
// for more informat... | php | MIT | 848d3051207522bd8a90e3fd4cad4acb2fc5c388 | 2026-01-05T03:46:47.724204Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/lang/en/messages.php | lang/en/messages.php | <?php
return [
'success' => 'Process is successfully completed',
'notfound' => 'Sorry no results query for your request.',
'validation' => 'Validation Failed please check the request attributes and try again.',
'forbidden' => 'You don\'t have permission to access this content.',
'error' ... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/src/ApiResponseServiceProvider.php | src/ApiResponseServiceProvider.php | <?php
namespace Obiefy\API;
use Illuminate\Support\ServiceProvider;
use Obiefy\Api\Contracts\ApiInterface;
class ApiResponseServiceProvider extends ServiceProvider
{
/**
* Register API class.
*
* @return void
*/
public function register()
{
$this->app->bind(ApiInterface::class... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/src/ApiResponse.php | src/ApiResponse.php | <?php
namespace Obiefy\API;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Traits\Macroable;
use Obiefy\API\Contracts\ApiInterface;
class ApiResponse implements ApiInterface
{
use Macroable;
const HTTP_OK = 200;
const HTTP_NOT_FOUND = 404;
const HTTP_FORBIDDEN = 403;
const HTTP_UNPROCE... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/src/helpers.php | src/helpers.php | <?php
use Illuminate\Http\JsonResponse;
use Obiefy\API\APIResponse;
use Obiefy\Api\Contracts\ApiInterface;
if (!function_exists('api')) {
/**
* Create a new APIResponse instance.
*
* @param int $status
* @param string $message
* @param array $data
* @param array $extraData
... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/src/Contracts/ApiInterface.php | src/Contracts/ApiInterface.php | <?php
namespace Obiefy\API\Contracts;
use Illuminate\Http\JsonResponse;
interface ApiInterface
{
/**
* Create API response.
*
* @param int $status
* @param string $message
* @param array $data
* @param array $extraData
*
* @return JsonResponse
*/
public funct... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/src/Facades/API.php | src/Facades/API.php | <?php
namespace Obiefy\API\Facades;
use Illuminate\Support\Facades\Facade;
use Obiefy\API\ApiResponse;
use Obiefy\Api\Contracts\ApiInterface;
/**
* @method static ApiResponse response($status, $message, $data, ...$extraData)
* @method static ApiResponse ok($message = null, $data = [], ...$extraData)
* @method sta... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/tests/ForbiddenResponseTest.php | tests/ForbiddenResponseTest.php | <?php
namespace Obiefy\API\Tests;
class ForbiddenResponseTest extends TestCase
{
/** @test */
public function it_returns_forbidden_with_default_response()
{
$response = api()->forbidden()->getContent();
$expectedResponse = [
'STATUS' => 403,
'MESSAGE' => trans('api... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/tests/ErrorResponseTest.php | tests/ErrorResponseTest.php | <?php
namespace Obiefy\API\Tests;
class ErrorResponseTest extends TestCase
{
/** @test */
public function it_returns_error_with_default_response()
{
$response = api()->error()->getContent();
$expectedResponse = [
'STATUS' => 500,
'MESSAGE' => trans('api-response::m... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/tests/TestCase.php | tests/TestCase.php | <?php
namespace Obiefy\API\Tests;
use Obiefy\API\ApiResponseServiceProvider;
use Orchestra\Testbench\TestCase as OrchestraTestCase;
class TestCase extends OrchestraTestCase
{
protected function setUp(): void
{
parent::setUp();
$this->app->register(ApiResponseServiceProvider::class);
}
}
| php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/tests/ValidationResponseTest.php | tests/ValidationResponseTest.php | <?php
namespace Obiefy\API\Tests;
class ValidationResponseTest extends TestCase
{
/** @test */
public function it_returns_validation_failed_response()
{
$response = api()->validation()->getContent();
$expectedResponse = [
'MESSAGE' => 'Validation Failed please check the request... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/tests/ResponseTest.php | tests/ResponseTest.php | <?php
namespace Obiefy\Tests;
use Illuminate\Http\JsonResponse;
use Obiefy\API\Facades\API;
use Obiefy\API\Tests\TestCase;
use stdClass;
class ResponseTest extends TestCase
{
/** @test */
public function it_returns_response_object_with_array()
{
$response = API::response(200, 'New Response', []);... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/tests/NotFoundResponseTest.php | tests/NotFoundResponseTest.php | <?php
namespace Obiefy\Tests;
use Obiefy\API\Tests\TestCase;
class NotFoundResponseTest extends TestCase
{
/** @test */
public function it_returns_404_response()
{
$response = api()->notFound('No results for your query')->getContent();
$expectedResponse = [
'MESSAGE' => 'No re... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/tests/OkResponseTest.php | tests/OkResponseTest.php | <?php
namespace Obiefy\Tests;
use Obiefy\API\Facades\API;
use Obiefy\API\Tests\TestCase;
class OkResponseTest extends TestCase
{
/** @test */
public function it_returns_ok_response()
{
$response = API::ok('this is message', [])->getContent();
$expectedResponse = [
'MESSAGE' =>... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
obiefy/api-response | https://github.com/obiefy/api-response/blob/f952200782409a421b8fb8828c22eebc6d4f8e64/config/api.php | config/api.php | <?php
return [
/*
* Turn to string the status code in the json response's body.
*/
'stringify' => true,
/*
* Set the status code from the json response to be the same as the status code
* in the json response's body.
*/
'match_status' => false,
/*
* Include the coun... | php | MIT | f952200782409a421b8fb8828c22eebc6d4f8e64 | 2026-01-05T03:46:56.145198Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/cache.php | cache.php | <?php
// Create cache directories if they don't exist and remove expired cache files
if(CACHE_REDDIT_JSON == true) {
if (!file_exists("cache/reddit")) {
mkdir("cache/reddit", 0755, true);
}
// Remove Reddit JSON files older than 5 minutes
$dir = "cache/reddit/";
foreach (glob($dir . "*") as $file) {
if(time()... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/cache-clear.php | cache-clear.php | <?php
// Clear cache
array_map("unlink", glob("cache/mercury/*.*"));
array_map("unlink", glob("cache/reddit/*.*"));
array_map("unlink", glob("cache/rss/*.*"));
array_map("unlink", glob("cache/scores/*"));
array_map("unlink", glob("cache/token/*")); | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/postlist.php | postlist.php | <?php
// Config
if (!file_exists('config.php')) {
copy('config-default.php', 'config.php');
}
require_once 'config.php';
// Auth
include 'auth.php';
// Sort and filter
include "sort-and-filter.php";
// Description text
$postListDescription = "<p>Hot posts in <strong>/r/";
$postListDescription .= $subreddit;
$po... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/sort-and-filter.php | sort-and-filter.php | <?php
// Functions
include "functions.php";
// Get requested subreddit
// If none is specified, set a default
if(isset($_GET["subreddit"])) {
$subreddit = strip_tags(trim($_GET["subreddit"]));
} else {
$subreddit = DEFAULT_SUBREDDIT;
}
// Set default threshold score
$thresholdScore = 0;
// Average posts per da... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/functions.php | functions.php | <?php
// Get file
function getFile($url, $requestType, $cachedFileLocation, $cacheExpiration, $accessToken) {
if($requestType == "mercuryJSON") {
// Get Mercury content
if(CACHE_MERCURY_CONTENT) {
// Use cached file if present
if (file_exists($cachedFileLocation) && time()-filemtime($cachedFileLocation) < $... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/index.php | index.php | <?php
// Config
if (!file_exists('config.php')) {
copy('config-default.php', 'config.php');
}
require_once 'config.php';
// Auth
include 'auth.php';
// Globals
global $subreddit;
global $thresholdScore;
global $thresholdPercentage;
global $thresholdPostsPerDay;
global $mercuryJSON;
// Cache
include 'cache.php';... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/rss.php | rss.php | <?php
// With some help from https://www.sanwebe.com/2013/07/creating-valid-rss-feed-using-php
header("Content-Type: text/xml; charset=utf-8", true);
// Return cached RSS feed, if it exists and if it was cached in the past hour
if(CACHE_RSS_FEEDS) {
if(file_exists("cache/rss/" . $_SERVER["REQUEST_URI"] . ".xml") &&... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/config-default.php | config-default.php | <?php
// Default subreddit
if (!empty($_SERVER["DEFAULT_SUBREDDIT"])) {
define('DEFAULT_SUBREDDIT', $_SERVER["DEFAULT_SUBREDDIT"]);
} else {
define('DEFAULT_SUBREDDIT', 'pics');
}
// Mercury Parser URL, e.g. https://mercuryparser.example.com
if (!empty($_SERVER["MERCURY_URL"])) {
define('MERCURY_URL', $_SERVER[... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/html.php | html.php | <?php
// Functions
include 'functions.php';
?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="dist/css/main.css" rel="stylesheet">
<link rel="shortcut icon" href="//www.redditstatic.co... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
johnwarne/reddit-top-rss | https://github.com/johnwarne/reddit-top-rss/blob/5e38bfd2e6718a42a579ad53800413cee20a4c22/auth.php | auth.php | <?php
if(empty(REDDIT_USER) || empty(REDDIT_CLIENT_ID) || empty(REDDIT_CLIENT_SECRET)) {
exit("Please set your Reddit username, client ID, and client secret in your Docker environment variables or config.php");
};
if(!file_exists('cache/token')) {
mkdir('cache/token', 0755, true);
}
if(!file_exists('cache/token/to... | php | MIT | 5e38bfd2e6718a42a579ad53800413cee20a4c22 | 2026-01-05T03:47:04.385455Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/config/config.php | src/config/config.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Ignored Files
|--------------------------------------------------------------------------
|
| Maneuver will check .gitignore for ignore files, but you can conveniently
| add here additional... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Connection.php | src/Fadion/Maneuver/Connection.php | <?php namespace Fadion\Maneuver;
use Exception;
/**
* Class Connection
*
* Reads the connections from the config file
* and builds an array of servers.
*/
class Connection {
/**
* @var array List of servers
*/
protected $servers = [];
/**
* Constructor
*
* @param null|array... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/ManeuverServiceProvider.php | src/Fadion/Maneuver/ManeuverServiceProvider.php | <?php namespace Fadion\Maneuver;
use Illuminate\Support\ServiceProvider;
use Fadion\Maneuver\Commands\DeployCommand;
use Fadion\Maneuver\Commands\ListCommand;
use Fadion\Maneuver\Commands\RollbackCommand;
use Fadion\Maneuver\Commands\SyncCommand;
class ManeuverServiceProvider extends ServiceProvider
{
/**
*... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Maneuver.php | src/Fadion/Maneuver/Maneuver.php | <?php namespace Fadion\Maneuver;
use Banago\Bridge\Bridge;
use Exception;
/**
* Class Maneuver
*/
class Maneuver {
/**
* @var null|string $optServer
*/
protected $optServer = null;
/**
* @var null|string $optRepo
*/
protected $optRepo = null;
/**
* @var null|string $o... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Git.php | src/Fadion/Maneuver/Git.php | <?php namespace Fadion\Maneuver;
use Exception;
/**
* Class Git
*
* Handles the reading of git repos, submodules
* and other git commands.
*/
class Git {
/**
* @var string Git revision
*/
protected $revision;
/**
* @var string Git repository
*/
protected $repo;
/**
... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Deploy.php | src/Fadion/Maneuver/Deploy.php | <?php namespace Fadion\Maneuver;
use Banago\Bridge\Bridge;
use Exception;
/**
* Class Deploy
*
* Handles remote server operations.
*/
class Deploy {
/**
* @var \Fadion\Maneuver\Git
*/
protected $git;
/**
* @var \Banago\Bridge\Bridge
*/
protected $bridge;
/**
* @var ... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Commands/DeployCommand.php | src/Fadion/Maneuver/Commands/DeployCommand.php | <?php namespace Fadion\Maneuver\Commands;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Fadion\Maneuver\Maneuver;
use Exception;
class DeployCommand extends Command {
/**
* The console command name.
*
* @var ... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Commands/ListCommand.php | src/Fadion/Maneuver/Commands/ListCommand.php | <?php namespace Fadion\Maneuver\Commands;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Fadion\Maneuver\Maneuver;
use Exception;
class ListCommand extends Command {
/**
* The console command name.
*
* @var st... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Commands/SyncCommand.php | src/Fadion/Maneuver/Commands/SyncCommand.php | <?php namespace Fadion\Maneuver\Commands;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Fadion\Maneuver\Maneuver;
use Exception;
class SyncCommand extends Command {
/**
* The console command name.
*
* @var st... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
fadion/Maneuver | https://github.com/fadion/Maneuver/blob/1deba78bf16ed06ebb6557ba8ff1577967785b08/src/Fadion/Maneuver/Commands/RollbackCommand.php | src/Fadion/Maneuver/Commands/RollbackCommand.php | <?php namespace Fadion\Maneuver\Commands;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Fadion\Maneuver\Maneuver;
use Exception;
class RollbackCommand extends Command {
/**
* The console command name.
*
* @va... | php | MIT | 1deba78bf16ed06ebb6557ba8ff1577967785b08 | 2026-01-05T03:47:20.911443Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/registration.php | registration.php | <?php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Bold_OrderComment',
__DIR__
);
| php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Model/OrderCommentManagement.php | Model/OrderCommentManagement.php | <?php
namespace Bold\OrderComment\Model;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Framework\Exception\CouldNotSaveException;
use Magento\Framework\Exception\ValidatorException;
class OrderCo... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Model/OrderCommentConfigProvider.php | Model/OrderCommentConfigProvider.php | <?php
namespace Bold\OrderComment\Model;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\Checkout\Model\ConfigProviderInterface;
use Magento\Checkout\Model\Session;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Store\Model\ScopeInterface;
class OrderCommentConfigProvider implements Co... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Model/Config.php | Model/Config.php | <?php
/**
* Config
*
* @copyright Copyright © 2020 Bold Commerce BV. All rights reserved.
* @author dev@boldcommerce.nl
*/
declare(strict_types=1);
namespace Bold\OrderComment\Model;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Store\Model\ScopeInterface;
class Config
{
const XML_PA... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Model/GuestOrderCommentManagement.php | Model/GuestOrderCommentManagement.php | <?php
namespace Bold\OrderComment\Model;
use Magento\Quote\Model\QuoteIdMaskFactory;
class GuestOrderCommentManagement implements \Bold\OrderComment\Api\GuestOrderCommentManagementInterface
{
/**
* @var QuoteIdMaskFactory
*/
protected $quoteIdMaskFactory;
/**
* @var \Bold\OrderComment\Api... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Model/Config/Source/Collapse.php | Model/Config/Source/Collapse.php | <?php
namespace Bold\OrderComment\Model\Config\Source;
class Collapse implements \Magento\Framework\Option\ArrayInterface
{
/**
* Options getter
*
* @return array
*/
public function toOptionArray()
{
$options = $this->toArray();
$result = [];
foreach ($options ... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Model/Data/OrderComment.php | Model/Data/OrderComment.php | <?php
namespace Bold\OrderComment\Model\Data;
use Bold\OrderComment\Api\Data\OrderCommentInterface;
use Magento\Framework\Api\AbstractSimpleObject;
class OrderComment extends AbstractSimpleObject implements OrderCommentInterface
{
const COMMENT_FIELD_NAME = 'bold_order_comment';
/**
* @return string... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/ViewModel/Comment.php | ViewModel/Comment.php | <?php
/**
* Comment
*
* @copyright Copyright © 2020 Bold Commerce BV. All rights reserved.
* @author dev@boldcommerce.nl
*/
declare(strict_types=1);
namespace Bold\OrderComment\ViewModel;
use Bold\OrderComment\Model\Config;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\Checkout\Model\Session as C... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Block/Order/Comment.php | Block/Order/Comment.php | <?php
namespace Bold\OrderComment\Block\Order;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\Framework\Registry;
use Magento\Framework\View\Element\Template\Context as TemplateContext;
use Magento\Sales\Model\Order;
class Comment extends \Magento\Framework\View\Element\Template
{
/**
* Core reg... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Controller/Cart/UpdateComment.php | Controller/Cart/UpdateComment.php | <?php
/**
* UpdateComment
*
* @copyright Copyright © 2020 Bold Commerce BV. All rights reserved.
* @author dev@boldcommerce.nl
*/
declare(strict_types=1);
namespace Bold\OrderComment\Controller\Cart;
use Bold\OrderComment\Model\Data\OrderCommentFactory;
use Bold\OrderComment\Model\OrderCommentManagement;
use ... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Test/Integration/Model/GuestOrderCommentManagementTest.php | Test/Integration/Model/GuestOrderCommentManagementTest.php | <?php
namespace Bold\OrderComment\Test\Integration\Model;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\TestFramework\Helper\Bootstrap;
use PHPUnit\Framework\TestCase;
/**
* Class GuestOrderCommentManagementTest
* @package Bold\OrderComment\Test\Integration\Model
*
* @magentoDbIsolation enabled
*/
c... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Test/Integration/Model/OrderCommentManagementTest.php | Test/Integration/Model/OrderCommentManagementTest.php | <?php
namespace Bold\OrderComment\Test\Integration\Model;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\TestFramework\Helper\Bootstrap;
use PHPUnit\Framework\TestCase;
/**
* Class OrderCommentManagementTest
* @package Bold\OrderComment\Test\Integration\Model
*
* @magentoDbIsolation enabled
*/
class ... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Test/Integration/Observer/AddOrderCommentToOrderTest.php | Test/Integration/Observer/AddOrderCommentToOrderTest.php | <?php
namespace Bold\OrderComment\Test\Integration\Observer;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\TestFramework\Helper\Bootstrap;
use PHPUnit\Framework\TestCase;
/**
* Class AddOrderCommentToOrderTest
* @package Bold\OrderComment\Test\Integration\Observer
*
* tests if the comment gets passed... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Test/Unit/Model/GuestOrderCommentManagementTest.php | Test/Unit/Model/GuestOrderCommentManagementTest.php | <?php
namespace Bold\OrderComment\Test\Unit\Model;
use Magento\Quote\Test\Unit\Model\GuestCart\GuestCartTestHelper;
use PHPUnit\Framework\TestCase;
class GuestOrderCommentManagementTest extends TestCase
{
/**
* @var \Bold\OrderComment\Model\GuestOrderCommentManagement
*/
protected $testObject;
... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Test/Unit/Model/OrderCommentManagementTest.php | Test/Unit/Model/OrderCommentManagementTest.php | <?php
namespace Bold\OrderComment\Test\Unit\Model;
use Bold\OrderComment\Api\Data\OrderCommentInterface;
use Bold\OrderComment\Model\Data\OrderComment;
use Bold\OrderComment\Model\OrderCommentConfigProvider;
use Bold\OrderComment\Model\OrderCommentManagement;
use Magento\Framework\App\Config\ScopeConfigInterface;
use ... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Test/Unit/Observer/AddOrderCommentToOrderTest.php | Test/Unit/Observer/AddOrderCommentToOrderTest.php | <?php
namespace Bold\OrderComment\Test\Unit\Observer;
use Bold\OrderComment\Observer\AddOrderCommentToOrder;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
use Bold\OrderComment\Model\Data\OrderComment;
use PHPUnit\Framework\TestCase;
class AddOrderCommentToOrderTest extends TestCase
{
protected $... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Plugin/Model/Order/LoadOrderComment.php | Plugin/Model/Order/LoadOrderComment.php | <?php
namespace Bold\OrderComment\Plugin\Model\Order;
use Magento\Sales\Api\OrderRepositoryInterface;
use Magento\Sales\Api\Data\OrderInterface;
use Magento\Sales\Model\OrderFactory;
use Magento\Sales\Api\Data\OrderExtensionFactory;
class LoadOrderComment
{
private $orderFactory;
private $orderExtensionFacto... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Plugin/Block/Adminhtml/SalesOrderViewInfo.php | Plugin/Block/Adminhtml/SalesOrderViewInfo.php | <?php
namespace Bold\OrderComment\Plugin\Block\Adminhtml;
use Bold\OrderComment\Model\Data\OrderComment;
class SalesOrderViewInfo
{
/**
* @param \Magento\Sales\Block\Adminhtml\Order\View\Info $subject
* @param string $result
* @return string
* @throws \Magento\Framework\Exception\LocalizedExce... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Api/OrderCommentManagementInterface.php | Api/OrderCommentManagementInterface.php | <?php
namespace Bold\OrderComment\Api;
/**
* Interface for saving the checkout comment to the quote for orders of logged in users
* @api
*/
interface OrderCommentManagementInterface
{
/**
* @param int $cartId
* @param \Bold\OrderComment\Api\Data\OrderCommentInterface $orderComment
* @return strin... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Api/GuestOrderCommentManagementInterface.php | Api/GuestOrderCommentManagementInterface.php | <?php
namespace Bold\OrderComment\Api;
/**
* Interface for saving the checkout comment to the quote for guest orders
*/
interface GuestOrderCommentManagementInterface
{
/**
* @param string $cartId
* @param \Bold\OrderComment\Api\Data\OrderCommentInterface $orderComment
* @return \Magento\Checkout\... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Api/Data/OrderCommentInterface.php | Api/Data/OrderCommentInterface.php | <?php
namespace Bold\OrderComment\Api\Data;
interface OrderCommentInterface
{
/**
* @return string|null
*/
public function getComment();
/**
* @param string $comment
* @return null
*/
public function setComment($comment);
}
| php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Observer/AddOrderCommentToOrder.php | Observer/AddOrderCommentToOrder.php | <?php
namespace Bold\OrderComment\Observer;
use Bold\OrderComment\Model\Data\OrderComment;
class AddOrderCommentToOrder implements \Magento\Framework\Event\ObserverInterface
{
/**
* transfer the order comment from the quote object to the order object during the
* sales_model_service_quote_submit_before ... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Setup/Uninstall.php | Setup/Uninstall.php | <?php
namespace Bold\OrderComment\Setup;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\Framework\Setup\UninstallInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
use Magento\Framework\Setup\ModuleContextInterface;
class Uninstall implements UninstallInterface
{
public function uninstall(Sc... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
boldcommerce/magento2-ordercomments | https://github.com/boldcommerce/magento2-ordercomments/blob/2f0feb02b422a8af2c045dadb0bae2429a49011b/Setup/InstallData.php | Setup/InstallData.php | <?php
namespace Bold\OrderComment\Setup;
use Bold\OrderComment\Model\Data\OrderComment;
use Magento\Framework\Setup\InstallDataInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\ModuleDataSetupInterface;
use Magento\Framework\DB\Ddl\Table;
class InstallData implements Install... | php | MIT | 2f0feb02b422a8af2c045dadb0bae2429a49011b | 2026-01-05T03:47:13.392633Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/SitemapGenerator.php | src/SitemapGenerator.php | <?php
namespace Icamys\SitemapGenerator;
use BadMethodCallException;
use DateTime;
use Icamys\SitemapGenerator\Extensions\GoogleImageExtension;
use Icamys\SitemapGenerator\Extensions\GoogleVideoExtension;
use InvalidArgumentException;
use OutOfRangeException;
use RuntimeException;
use UnexpectedValueException;
use XM... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/IFileSystem.php | src/IFileSystem.php | <?php
namespace Icamys\SitemapGenerator;
interface IFileSystem
{
public function file_get_contents(string $filepath): bool|string;
public function file_put_contents(string $filepath, mixed $content, int $flags = 0): bool|int;
public function file_exists(string $filepath): bool;
public function rena... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/IRuntime.php | src/IRuntime.php | <?php
namespace Icamys\SitemapGenerator;
use CurlHandle;
interface IRuntime
{
public function extension_loaded(string $extname);
public function is_writable(string $filepath);
public function curl_init(?string $url);
public function curl_setopt(CurlHandle $handle, int $option, mixed $value);
... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/Runtime.php | src/Runtime.php | <?php
namespace Icamys\SitemapGenerator;
use CurlHandle;
class Runtime implements IRuntime
{
public function extension_loaded(string $extname): bool
{
return extension_loaded($extname);
}
public function is_writable(string $filepath): bool
{
return is_writable($filepath);
}
... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/Config.php | src/Config.php | <?php
namespace Icamys\SitemapGenerator;
class Config implements IConfig
{
/**
* @var string URL of the website.
* It is used as a prefix to the paths added to sitemap using addURL() method.
*/
private string $baseURL = "";
/**
* @var string URL of the sitemap file.
*/
privat... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/IConfig.php | src/IConfig.php | <?php
namespace Icamys\SitemapGenerator;
interface IConfig
{
/**
* @return string Base URL of the website.
*/
public function getBaseURL(): string;
/**
* @return string URL of the sitemap file.
*/
public function getSitemapIndexURL(): string;
/**
* @return string Path to... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/FileSystem.php | src/FileSystem.php | <?php
namespace Icamys\SitemapGenerator;
class FileSystem implements IFileSystem
{
public function file_get_contents(string $filepath): bool|string
{
return file_get_contents($filepath);
}
public function file_put_contents(string $filepath, mixed $content, int $flags = 0): bool|int
{
... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
icamys/php-sitemap-generator | https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/Extensions/GoogleVideoExtension.php | src/Extensions/GoogleVideoExtension.php | <?php
namespace Icamys\SitemapGenerator\Extensions;
use DateTime;
use InvalidArgumentException;
use XMLWriter;
class GoogleVideoExtension
{
private static $requiredFields = [
'thumbnail_loc',
'title',
'description',
];
private static $requiredEitherFields = [
'content_... | php | MIT | 8ff1ae898cb67601bea07c22fa72d50add9f99ad | 2026-01-05T03:47:25.219669Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.