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 |
|---|---|---|---|---|---|---|---|---|
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Cmd/UpdateSession.php | src/Cmd/UpdateSession.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Cmd;
use Swoole\Coroutine\Server\Connection;
use Xielei\Swoole\Interfaces\CmdInterface;
use Xielei\Swoole\Gateway;
class UpdateSession implements CmdInterface
{
public static function getCommandCode(): int
{
return 26;
}
public static f... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Cmd/BindUid.php | src/Cmd/BindUid.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Cmd;
use Swoole\Coroutine\Server\Connection;
use Xielei\Swoole\Interfaces\CmdInterface;
use Xielei\Swoole\Gateway;
class BindUid implements CmdInterface
{
public static function getCommandCode(): int
{
return 1;
}
public static function... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Cmd/GetUidListByGroup.php | src/Cmd/GetUidListByGroup.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Cmd;
use Swoole\Coroutine\Server\Connection;
use Xielei\Swoole\Interfaces\CmdInterface;
use Xielei\Swoole\Gateway;
use Xielei\Swoole\Protocol;
class GetUidListByGroup implements CmdInterface
{
public static function getCommandCode(): int
{
retur... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Cmd/GetClientCountByUid.php | src/Cmd/GetClientCountByUid.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Cmd;
use Swoole\Coroutine\Server\Connection;
use Xielei\Swoole\Interfaces\CmdInterface;
use Xielei\Swoole\Gateway;
use Xielei\Swoole\Protocol;
class GetClientCountByUid implements CmdInterface
{
public static function getCommandCode(): int
{
ret... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Cmd/SendToGroup.php | src/Cmd/SendToGroup.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Cmd;
use Swoole\Coroutine\Server\Connection;
use Xielei\Swoole\Interfaces\CmdInterface;
use Xielei\Swoole\Gateway;
class SendToGroup implements CmdInterface
{
public static function getCommandCode(): int
{
return 22;
}
public static fun... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Cmd/SetSession.php | src/Cmd/SetSession.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Cmd;
use Swoole\Coroutine\Server\Connection;
use Xielei\Swoole\Interfaces\CmdInterface;
use Xielei\Swoole\Gateway;
class SetSession implements CmdInterface
{
public static function getCommandCode(): int
{
return 23;
}
public static func... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Helper/TaskEvent.php | src/Helper/TaskEvent.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Helper;
use Swoole\Server\PipeMessage;
use Swoole\Server\Task;
use Xielei\Swoole\Interfaces\TaskEventInterface;
use Xielei\Swoole\Worker;
class TaskEvent implements TaskEventInterface
{
public $worker;
public function __construct(Worker $worker)
{
... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Helper/WorkerEvent.php | src/Helper/WorkerEvent.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Helper;
use Swoole\Server\PipeMessage;
use Swoole\Server\TaskResult;
use Xielei\Swoole\Interfaces\WorkerEventInterface;
use Xielei\Swoole\Worker;
class WorkerEvent implements WorkerEventInterface
{
public $worker;
public function __construct(Worker $wo... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Library/Client.php | src/Library/Client.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Library;
use Swoole\ConnectionPool;
use Swoole\Coroutine;
use Swoole\Coroutine\Client as CoroutineClient;
use Xielei\Swoole\Service;
class Client
{
public $onStart;
public $onConnect;
public $onMessage;
public $onClose;
public $onError;
... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Library/ClientPool.php | src/Library/ClientPool.php | <?php
declare (strict_types = 1);
namespace Xielei\Swoole\Library;
use Swoole\ConnectionPool;
use Swoole\Coroutine\Socket;
class ClientPool extends ConnectionPool
{
public function __construct(string $host, int $port, int $size = 1024)
{
$constructor = function () use ($host, $port): Socket {
... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Library/Globals.php | src/Library/Globals.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Library;
use Swoole\Coroutine\Server\Connection;
class Globals extends SockServer
{
protected $data = [];
public function __construct()
{
parent::__construct(function (Connection $conn, $params) {
if (!is_array($params)) {
... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Library/Reload.php | src/Library/Reload.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Library;
class Reload
{
private static $watch = [];
private static $filetimes = [];
public static function init(array $watch = [])
{
self::$watch = $watch;
$tmp_filetimes = [];
foreach ($watch as $item) {
self... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Library/Server.php | src/Library/Server.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Library;
use Swoole\Coroutine;
use Swoole\Coroutine\Server as CoroutineServer;
use Swoole\Coroutine\Server\Connection;
use Xielei\Swoole\Service;
class Server
{
public $onStart;
public $onConnect;
public $onMessage;
public $onClose;
public $... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Library/Config.php | src/Library/Config.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Library;
class Config
{
private static $configs = [];
public static function load(string $file)
{
foreach (require $file as $key => $value) {
Config::set($key, $value);
}
}
public static function set(string $key,... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/Library/SockServer.php | src/Library/SockServer.php | <?php
declare(strict_types=1);
namespace Xielei\Swoole\Library;
use Exception;
use Swoole\ConnectionPool;
use Swoole\Coroutine;
use Swoole\Coroutine\Server\Connection;
use Swoole\Process;
use Swoole\Coroutine\Server;
use Swoole\Coroutine\Client;
use Xielei\Swoole\Protocol;
class SockServer
{
private $sock_file;... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/init/event_worker.php | src/init/event_worker.php | <?php
use Xielei\Swoole\Helper\WorkerEvent as HelperWorkerEvent;
class WorkerEvent extends HelperWorkerEvent
{
}
| php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/init/event_task.php | src/init/event_task.php | <?php
use Xielei\Swoole\Helper\TaskEvent as HelperTaskEvent;
class TaskEvent extends HelperTaskEvent
{
}
| php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/init/worker.php | src/init/worker.php | <?php
use function Composer\Autoload\includeFile;
use Swoole\Server;
use Swoole\Server\PipeMessage;
use Xielei\Swoole\Api;
use Xielei\Swoole\Library\Config;
use Xielei\Swoole\Service;
use Xielei\Swoole\Worker;
/**
* @var Worker $this
*/
$this->on('WorkerStart', function (Server $server, int $worker_id, ...$args) {... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/init/register.php | src/init/register.php | <?php
use Swoole\Server;
use Swoole\Server\Event;
use Xielei\Swoole\Protocol;
use Swoole\Timer;
use Xielei\Swoole\Library\Config;
use Xielei\Swoole\Register;
use Xielei\Swoole\Service;
/**
* @var Register $this
*/
$this->on('Connect', function (Server $server, Event $event) {
Timer::after(3000, function () use... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
xielei/swoole-worker | https://github.com/xielei/swoole-worker/blob/f7a5b731d86f62c9040056f08a3a513fd3f90e28/src/init/gateway.php | src/init/gateway.php | <?php
use Swoole\Server;
use Swoole\Timer;
use Xielei\Swoole\Gateway;
use Xielei\Swoole\Library\Config;
/**
* @var Gateway $this
*/
foreach (['Connect', 'Open', 'Receive', 'Message'] as $event) {
$this->on($event, function (Server $server, ...$args) use ($event) {
if (Config::get('throttle', false)) {... | php | Apache-2.0 | f7a5b731d86f62c9040056f08a3a513fd3f90e28 | 2026-01-05T04:57:25.551053Z | false |
promatik/PHP-JS-CSS-Minifier | https://github.com/promatik/PHP-JS-CSS-Minifier/blob/d36df2bba166201fa683ea9c9880f9482b814107/minifier.php | minifier.php | <?php
/*
* JS and CSS Minifier
* version: 1.0 (2013-08-26)
*
* This document is licensed as free software under the terms of the
* MIT License: http://www.opensource.org/licenses/mit-license.php
*
* António Almeida wrote this plugin, which proclaims:
* "NO WARRANTY EXPRESSED... | php | MIT | d36df2bba166201fa683ea9c9880f9482b814107 | 2026-01-05T04:57:28.443393Z | false |
promatik/PHP-JS-CSS-Minifier | https://github.com/promatik/PHP-JS-CSS-Minifier/blob/d36df2bba166201fa683ea9c9880f9482b814107/minify.php | minify.php | <body style="font-family: monospace;">
<?php
include_once 'minifier.php';
/**
* FILES ARRAYs
* Keys as input, Values as output.
*/
$js = [
'js/main.js' => 'js/main.min.js',
// ...
];
$css = [
'css/main.css' => 'css/main.min.css',
// ...
];
mi... | php | MIT | d36df2bba166201fa683ea9c9880f9482b814107 | 2026-01-05T04:57:28.443393Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/src/Madnest/Madzipper/Madzipper.php | src/Madnest/Madzipper/Madzipper.php | <?php
namespace Madnest\Madzipper;
use Exception;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Str;
use Madnest\Madzipper\Repositories\RepositoryInterface;
/**
* This Madzipper class is a wrapper around the ZipArchive methods with some handy functions.
*
* Class Madzipper
*/
class Madzipper
{
... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/src/Madnest/Madzipper/MadzipperServiceProvider.php | src/Madnest/Madzipper/MadzipperServiceProvider.php | <?php
namespace Madnest\Madzipper;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\ServiceProvider;
class MadzipperServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Boo... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/src/Madnest/Madzipper/Facades/Madzipper.php | src/Madnest/Madzipper/Facades/Madzipper.php | <?php
namespace Madnest\Madzipper\Facades;
use Illuminate\Support\Facades\Facade;
class Madzipper extends Facade
{
protected static function getFacadeAccessor()
{
return 'madzipper';
}
}
| php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/src/Madnest/Madzipper/Repositories/ZipRepository.php | src/Madnest/Madzipper/Repositories/ZipRepository.php | <?php
namespace Madnest\Madzipper\Repositories;
use Exception;
use ZipArchive;
class ZipRepository implements RepositoryInterface
{
private ?ZipArchive $archive = null;
public bool $open = false;
/**
* Construct with a given path.
*
* @throws \Exception
*/
public function __cons... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/src/Madnest/Madzipper/Repositories/RepositoryInterface.php | src/Madnest/Madzipper/Repositories/RepositoryInterface.php | <?php
namespace Madnest\Madzipper\Repositories;
/**
* RepositoryInterface that needs to be implemented by every Repository.
*
* Class RepositoryInterface
*/
interface RepositoryInterface
{
/**
* Construct with a given path.
*
* @param bool $new
*/
public function __construct(string $... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/tests/TestCase.php | tests/TestCase.php | <?php
namespace Madnest\Madzipper\Tests;
use Madnest\Madzipper\MadzipperServiceProvider;
// use Mockery;
use Orchestra\Testbench\TestCase as Orchestra;
abstract class TestCase extends Orchestra
{
protected function setUp(): void
{
parent::setUp();
// Debug helper
// Mockery::setLoade... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/tests/ArrayArchive.php | tests/ArrayArchive.php | <?php
namespace Madnest\Madzipper\Tests;
use Madnest\Madzipper\Repositories\RepositoryInterface;
class ArrayArchive implements RepositoryInterface
{
private $entries = [];
/**
* Construct with a given path.
*
* @param bool $new
*/
public function __construct($filePath, $new = false... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/tests/MadzipperTest.php | tests/MadzipperTest.php | <?php
namespace Madnest\Madzipper\Tests;
use Exception;
use Illuminate\Filesystem\Filesystem;
use InvalidArgumentException;
use Madnest\Madzipper\Madzipper;
use Mockery;
use RuntimeException;
class MadzipperTest extends TestCase
{
/**
* @var \Madnest\Madzipper\Madzipper
*/
public $archive;
/**... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
madnest/madzipper | https://github.com/madnest/madzipper/blob/527c35105820a0b4c8cfdadd3f475b26d62d9ac2/tests/Repositories/ZipRepositoryTest.php | tests/Repositories/ZipRepositoryTest.php | <?php
namespace Madnest\Madzipper\Tests\Repositories;
use Exception;
use Madnest\Madzipper\Repositories\ZipRepository;
use Madnest\Madzipper\Tests\TestCase;
use Mockery;
use ZipArchive;
class ZipRepositoryTest extends TestCase
{
/**
* @var ZipRepository
*/
public $zip;
/**
* @var \Mockery... | php | MIT | 527c35105820a0b4c8cfdadd3f475b26d62d9ac2 | 2026-01-05T04:57:38.930252Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
/**
* @noinspection PhpUndefinedClassInspection
* @noinspection PhpUndefinedNamespaceInspection
* @see https://cs.symfony.com/doc/ruleSets/
* @see https://cs.symfony.com/doc/rules/
*/
declare(strict_types=1);
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setCacheFile(__DIR__ . '/build... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/CfdiValidator33.php | src/CfdiUtils/CfdiValidator33.php | <?php
namespace CfdiUtils;
use CfdiUtils\CadenaOrigen\XsltBuilderPropertyInterface;
use CfdiUtils\Validate\CfdiValidatorTrait;
use CfdiUtils\Validate\MultiValidator;
use CfdiUtils\Validate\MultiValidatorFactory;
use CfdiUtils\XmlResolver\XmlResolverPropertyInterface;
class CfdiValidator33 implements XmlResolverPrope... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/CfdiCreator33.php | src/CfdiUtils/CfdiCreator33.php | <?php
namespace CfdiUtils;
use CfdiUtils\CadenaOrigen\XsltBuilderInterface;
use CfdiUtils\CadenaOrigen\XsltBuilderPropertyInterface;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Certificado\CertificadoPropertyInterface;
use CfdiUtils\Elements\Cfdi33\Comprobante;
use CfdiUtils\Validate\Asserts;
use CfdiUtils\V... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/CfdiCreator40.php | src/CfdiUtils/CfdiCreator40.php | <?php
namespace CfdiUtils;
use CfdiUtils\CadenaOrigen\XsltBuilderInterface;
use CfdiUtils\CadenaOrigen\XsltBuilderPropertyInterface;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Certificado\CertificadoPropertyInterface;
use CfdiUtils\Elements\Cfdi40\Comprobante;
use CfdiUtils\Validate\Asserts;
use CfdiUtils\V... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/CfdiCreateObjectException.php | src/CfdiUtils/CfdiCreateObjectException.php | <?php
namespace CfdiUtils;
use LogicException;
use UnexpectedValueException;
final class CfdiCreateObjectException extends UnexpectedValueException
{
/**
* @param array<string, UnexpectedValueException> $versionExceptions
*/
private function __construct(string $message, private array $versionExcept... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Cfdi.php | src/CfdiUtils/Cfdi.php | <?php
namespace CfdiUtils;
use CfdiUtils\Internals\XmlReaderTrait;
use DOMDocument;
use UnexpectedValueException;
/**
* This class contains minimum helpers to read CFDI based on DOMDocument
*
* When the object is instantiated it checks that:
* implements the namespace static::CFDI_NAMESPACE using a prefix
* the... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/CfdiValidator40.php | src/CfdiUtils/CfdiValidator40.php | <?php
namespace CfdiUtils;
use CfdiUtils\CadenaOrigen\XsltBuilderPropertyInterface;
use CfdiUtils\Validate\CfdiValidatorTrait;
use CfdiUtils\Validate\MultiValidator;
use CfdiUtils\Validate\MultiValidatorFactory;
use CfdiUtils\XmlResolver\XmlResolverPropertyInterface;
class CfdiValidator40 implements XmlResolverPrope... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/CfdiVersion.php | src/CfdiUtils/CfdiVersion.php | <?php
namespace CfdiUtils;
use CfdiUtils\VersionDiscovery\VersionDiscoverer;
/**
* This class provides static methods to retrieve the version attribute from a
* Comprobante Fiscal Digital por Internet (CFDI)
*
* It will not check anything but the value of the correct attribute
* It will not care if the cfdi is ... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/CfdiCreatorTrait.php | src/CfdiUtils/CfdiCreatorTrait.php | <?php
namespace CfdiUtils;
use CfdiUtils\CadenaOrigen\DOMBuilder;
use CfdiUtils\CadenaOrigen\XsltBuilderInterface;
use CfdiUtils\CadenaOrigen\XsltBuilderPropertyTrait;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Certificado\CertificadoPropertyTrait;
use CfdiUtils\Nodes\NodeInterface;
use CfdiUtils\Nodes\XmlN... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Internals/BaseConverterSequence.php | src/CfdiUtils/Internals/BaseConverterSequence.php | <?php
namespace CfdiUtils\Internals;
/**
* This is a value object for BaseConverter containing the sequence
*
* NOTE: Changes will not be considering a bracking compatibility change since this utility is for internal usage only
* @internal
*/
class BaseConverterSequence implements \Stringable
{
private strin... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Internals/BaseConverter.php | src/CfdiUtils/Internals/BaseConverter.php | <?php
namespace CfdiUtils\Internals;
/**
* Converts any string of any base to any other base without
* PHP native method base_convert's double and float limitations.
*
* @see https://php.net/base_convert
* Original author: https://github.com/credomane/php_baseconvert
*
* NOTE: Changes will not be considering a... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Internals/StringUncaseReplacer.php | src/CfdiUtils/Internals/StringUncaseReplacer.php | <?php
declare(strict_types=1);
namespace CfdiUtils\Internals;
/** @internal */
final class StringUncaseReplacer
{
/**
* @param array<string, array<string, true>> $replacements
*/
private function __construct(private array $replacements = [])
{
}
/**
* @param array<string, array<st... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Internals/XmlReaderTrait.php | src/CfdiUtils/Internals/XmlReaderTrait.php | <?php
namespace CfdiUtils\Internals;
use CfdiUtils\Nodes\NodeInterface;
use CfdiUtils\Nodes\XmlNodeUtils;
use CfdiUtils\QuickReader\QuickReader;
use CfdiUtils\QuickReader\QuickReaderImporter;
use CfdiUtils\Utils\Xml;
use DOMDocument;
use DOMElement;
/** @internal */
trait XmlReaderTrait
{
private DOMDocument $do... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Internals/CommandTemplate.php | src/CfdiUtils/Internals/CommandTemplate.php | <?php
namespace CfdiUtils\Internals;
/**
* Build a command array from a template
*
* NOTE: Changes will not be considering a breaking compatibility change since this utility is for internal usage only
* @internal
*/
class CommandTemplate
{
public function create(string $template, array $arguments): array
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Internals/NormalizeLineEndingsTrait.php | src/CfdiUtils/Internals/NormalizeLineEndingsTrait.php | <?php
namespace CfdiUtils\Internals;
/**
* NormalizeLineEndingsTrait contains a private function normalizeLineEndings
* This help the implementer class to work with EOL
*
* NOTE: Changes will not be considering a bracking compatibility change since this utility is for internal usage only
* @internal
*/
trait No... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Internals/TemporaryFile.php | src/CfdiUtils/Internals/TemporaryFile.php | <?php
namespace CfdiUtils\Internals;
/**
* Utility to work with the creation of temporary files.
*
* NOTE: Changes will not be considering a bracking compatibility change since this utility is for internal usage only
* @internal
*/
final class TemporaryFile implements \Stringable
{
private function __constru... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/Impuestos.php | src/CfdiUtils/Elements/Pagos10/Impuestos.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class Impuestos extends AbstractElement
{
public function getElementName(): string
{
return 'pago10:Impuestos';
}
public function getChildrenOrder(): array
{
return ['pago10:Retenciones', '... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/Traslado.php | src/CfdiUtils/Elements/Pagos10/Traslado.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class Traslado extends AbstractElement
{
public function getElementName(): string
{
return 'pago10:Traslado';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/Pagos.php | src/CfdiUtils/Elements/Pagos10/Pagos.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class Pagos extends AbstractElement
{
public function addPago(array $attributes = []): Pago
{
$pago = new Pago($attributes);
$this->addChild($pago);
return $pago;
}
public function mult... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/Traslados.php | src/CfdiUtils/Elements/Pagos10/Traslados.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class Traslados extends AbstractElement
{
public function getElementName(): string
{
return 'pago10:Traslados';
}
public function addTraslado(array $attributes = []): Traslado
{
$traslado =... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/DoctoRelacionado.php | src/CfdiUtils/Elements/Pagos10/DoctoRelacionado.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class DoctoRelacionado extends AbstractElement
{
public function getElementName(): string
{
return 'pago10:DoctoRelacionado';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/Retencion.php | src/CfdiUtils/Elements/Pagos10/Retencion.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class Retencion extends AbstractElement
{
public function getElementName(): string
{
return 'pago10:Retencion';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/Pago.php | src/CfdiUtils/Elements/Pagos10/Pago.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class Pago extends AbstractElement
{
public function addDoctoRelacionado(array $attributes = []): DoctoRelacionado
{
$doctoRelacionado = new DoctoRelacionado($attributes);
$this->addChild($doctoRelacion... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos10/Retenciones.php | src/CfdiUtils/Elements/Pagos10/Retenciones.php | <?php
namespace CfdiUtils\Elements\Pagos10;
use CfdiUtils\Elements\Common\AbstractElement;
class Retenciones extends AbstractElement
{
public function getElementName(): string
{
return 'pago10:Retenciones';
}
public function addRetencion(array $attributes = []): Retencion
{
$rete... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Carro.php | src/CfdiUtils/Elements/CartaPorte10/Carro.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Carro extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Carro';
}
public function addContenedor(array $attributes = []): Contenedor
{
$conte... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Ubicacion.php | src/CfdiUtils/Elements/CartaPorte10/Ubicacion.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Ubicacion extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Ubicacion';
}
public function getChildrenOrder(): array
{
return ['cartaporte:Or... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Domicilio.php | src/CfdiUtils/Elements/CartaPorte10/Domicilio.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Domicilio extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Domicilio';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Remolques.php | src/CfdiUtils/Elements/CartaPorte10/Remolques.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Remolques extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Remolques';
}
public function addRemolque(array $attributes = []): Remolque
{
$r... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/CantidadTransporta.php | src/CfdiUtils/Elements/CartaPorte10/CantidadTransporta.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class CantidadTransporta extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:CantidadTransporta';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/AutotransporteFederal.php | src/CfdiUtils/Elements/CartaPorte10/AutotransporteFederal.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class AutotransporteFederal extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:AutotransporteFederal';
}
public function addIdentificacionVehicular(array $attr... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Arrendatario.php | src/CfdiUtils/Elements/CartaPorte10/Arrendatario.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Arrendatario extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Arrendatario';
}
public function getDomicilio(): Domicilio
{
/** @noinspectio... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/TransporteFerroviario.php | src/CfdiUtils/Elements/CartaPorte10/TransporteFerroviario.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteFerroviario extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:TransporteFerroviario';
}
public function addDerechosDePaso(array $attributes = ... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/DerechosDePaso.php | src/CfdiUtils/Elements/CartaPorte10/DerechosDePaso.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class DerechosDePaso extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:DerechosDePaso';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/CartaPorte.php | src/CfdiUtils/Elements/CartaPorte10/CartaPorte.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class CartaPorte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:CartaPorte';
}
public function getChildrenOrder(): array
{
return [
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Propietario.php | src/CfdiUtils/Elements/CartaPorte10/Propietario.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Propietario extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Propietario';
}
public function getDomicilio(): Domicilio
{
/** @noinspection ... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Mercancias.php | src/CfdiUtils/Elements/CartaPorte10/Mercancias.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancias extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Mercancias';
}
public function addMercancia(array $attributes = []): Mercancia
{
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Remolque.php | src/CfdiUtils/Elements/CartaPorte10/Remolque.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Remolque extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Remolque';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Notificado.php | src/CfdiUtils/Elements/CartaPorte10/Notificado.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Notificado extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Notificado';
}
public function getDomicilio(): Domicilio
{
/** @noinspection Ph... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Ubicaciones.php | src/CfdiUtils/Elements/CartaPorte10/Ubicaciones.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Ubicaciones extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Ubicaciones';
}
public function addUbicacion(array $attributes = []): Ubicacion
{
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/DetalleMercancia.php | src/CfdiUtils/Elements/CartaPorte10/DetalleMercancia.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class DetalleMercancia extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:DetalleMercancia';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/FiguraTransporte.php | src/CfdiUtils/Elements/CartaPorte10/FiguraTransporte.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class FiguraTransporte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:FiguraTransporte';
}
public function addOperadores(array $attributes = []): Operadore... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Operadores.php | src/CfdiUtils/Elements/CartaPorte10/Operadores.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Operadores extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Operadores';
}
public function addOperador(array $attributes = []): Operador
{
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/IdentificacionVehicular.php | src/CfdiUtils/Elements/CartaPorte10/IdentificacionVehicular.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class IdentificacionVehicular extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:IdentificacionVehicular';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Origen.php | src/CfdiUtils/Elements/CartaPorte10/Origen.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Origen extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Origen';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Destino.php | src/CfdiUtils/Elements/CartaPorte10/Destino.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Destino extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Destino';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Contenedor.php | src/CfdiUtils/Elements/CartaPorte10/Contenedor.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Contenedor extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Contenedor';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Mercancia.php | src/CfdiUtils/Elements/CartaPorte10/Mercancia.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancia extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Mercancia';
}
public function addCantidadTransporta(array $attributes = []): CantidadTranspo... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/TransporteAereo.php | src/CfdiUtils/Elements/CartaPorte10/TransporteAereo.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteAereo extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:TransporteAereo';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/Operador.php | src/CfdiUtils/Elements/CartaPorte10/Operador.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class Operador extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:Operador';
}
public function getDomicilio(): Domicilio
{
/** @noinspection PhpInc... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte10/TransporteMaritimo.php | src/CfdiUtils/Elements/CartaPorte10/TransporteMaritimo.php | <?php
namespace CfdiUtils\Elements\CartaPorte10;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteMaritimo extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte:TransporteMaritimo';
}
public function addContenedor(array $attributes = []): Conte... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Addenda.php | src/CfdiUtils/Elements/Retenciones20/Addenda.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
use CfdiUtils\Nodes\NodeInterface;
class Addenda extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Addenda';
}
public function add(NodeInterface $child): se... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/CfdiRetenRelacionados.php | src/CfdiUtils/Elements/Retenciones20/CfdiRetenRelacionados.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class CfdiRetenRelacionados extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:CfdiRetenRelacionados';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Extranjero.php | src/CfdiUtils/Elements/Retenciones20/Extranjero.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class Extranjero extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Extranjero';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Receptor.php | src/CfdiUtils/Elements/Retenciones20/Receptor.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class Receptor extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Receptor';
}
public function getNacional(): Nacional
{
$nacional = $this->helpe... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Totales.php | src/CfdiUtils/Elements/Retenciones20/Totales.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class Totales extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Totales';
}
public function addImpRetenidos(array $attributes = [], array $children = []): I... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Periodo.php | src/CfdiUtils/Elements/Retenciones20/Periodo.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class Periodo extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Periodo';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/ImpRetenidos.php | src/CfdiUtils/Elements/Retenciones20/ImpRetenidos.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class ImpRetenidos extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:ImpRetenidos';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Nacional.php | src/CfdiUtils/Elements/Retenciones20/Nacional.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class Nacional extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Nacional';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Emisor.php | src/CfdiUtils/Elements/Retenciones20/Emisor.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
class Emisor extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Emisor';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Complemento.php | src/CfdiUtils/Elements/Retenciones20/Complemento.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
use CfdiUtils\Nodes\NodeInterface;
class Complemento extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Complemento';
}
public function add(NodeInterface $ch... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones20/Retenciones.php | src/CfdiUtils/Elements/Retenciones20/Retenciones.php | <?php
namespace CfdiUtils\Elements\Retenciones20;
use CfdiUtils\Elements\Common\AbstractElement;
use CfdiUtils\Nodes\NodeInterface;
class Retenciones extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Retenciones';
}
public function getCfdiRetenRelaciona... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Deducciones.php | src/CfdiUtils/Elements/Nomina12/Deducciones.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Deducciones extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Deducciones';
}
public function addDeduccion(array $attributes = []): Deduccion
{
$d... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Percepciones.php | src/CfdiUtils/Elements/Nomina12/Percepciones.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Percepciones extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Percepciones';
}
public function getChildrenOrder(): array
{
return [
'... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/JubilacionPensionRetiro.php | src/CfdiUtils/Elements/Nomina12/JubilacionPensionRetiro.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class JubilacionPensionRetiro extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:JubilacionPensionRetiro';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/EntidadSNCF.php | src/CfdiUtils/Elements/Nomina12/EntidadSNCF.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class EntidadSNCF extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:EntidadSNCF';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/HorasExtra.php | src/CfdiUtils/Elements/Nomina12/HorasExtra.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class HorasExtra extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:HorasExtra';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Receptor.php | src/CfdiUtils/Elements/Nomina12/Receptor.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Receptor extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Receptor';
}
public function addSubContratacion(array $attributes = []): SubContratacion
{
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/CompensacionSaldosAFavor.php | src/CfdiUtils/Elements/Nomina12/CompensacionSaldosAFavor.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class CompensacionSaldosAFavor extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:CompensacionSaldosAFavor';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/SubContratacion.php | src/CfdiUtils/Elements/Nomina12/SubContratacion.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class SubContratacion extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:SubContratacion';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.