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 |
|---|---|---|---|---|---|---|---|---|
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Plugin.php | src/Hyyan/WPI/Plugin.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Tools\FlashMessages;
use Hyyan... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Shipping.php | src/Hyyan/WPI/Shipping.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Admin\Settings;
use Hyyan\WPI\... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Privacy.php | src/Hyyan/WPI/Privacy.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Privacy.
*
*/
class Privacy
{
/*... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Reports.php | src/Hyyan/WPI/Reports.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Admin\Settings;
use Hyyan\WPI\... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Permalinks.php | src/Hyyan/WPI/Permalinks.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Permalinks.
*
* @author Hyyan Abo F... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Pages.php | src/Hyyan/WPI/Pages.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Pages.
*
* Handle page translations... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Language.php | src/Hyyan/WPI/Language.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Admin\Settings;
use Hyyan\WPI\... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Breadcrumb.php | src/Hyyan/WPI/Breadcrumb.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Breadcrumb.
*
* Handle Breadcrumb t... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Autoloader.php | src/Hyyan/WPI/Autoloader.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Plugin Namespace Autoloader.
*
* @a... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Gateways.php | src/Hyyan/WPI/Gateways.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Gateways.
*
* Handle Payment Gatewa... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/HooksInterface.php | src/Hyyan/WPI/HooksInterface.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Plugin Hooks Interface.
*
* @author... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Cart.php | src/Hyyan/WPI/Cart.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Product\Variation;
use Hyyan\WPI... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Endpoints.php | src/Hyyan/WPI/Endpoints.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Tools\FlashMessages;
/**
* E... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Coupon.php | src/Hyyan/WPI/Coupon.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Admin\Settings;
use Hyyan\WPI\... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Emails.php | src/Hyyan/WPI/Emails.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Admin\Settings;
use Hyyan\WPI\Ad... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/LocaleNumbers.php | src/Hyyan/WPI/LocaleNumbers.php | <?php
/**
* LocaleNumbers.
*
* @author Jonathan Moore <jonathan.moore@bcs.org>
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Admin\Settings;
use Hyyan\WPI\Admin\Features;
class LocaleNumbers
{
/**
* Hook relevant WooCommerce filters to apply localisation according to Polylang locale.
*/
public functi... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/MessagesInterface.php | src/Hyyan/WPI/MessagesInterface.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Messages Interface.
*
* Constains m... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Media.php | src/Hyyan/WPI/Media.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Media.
*
* Handle products media tr... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Utilities.php | src/Hyyan/WPI/Utilities.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
/**
* Utilities.
*
* Some helper methods
... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Tax.php | src/Hyyan/WPI/Tax.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI;
use Hyyan\WPI\Utilities;
/**
* Tax.
*
* ... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Admin/Features.php | src/Hyyan/WPI/Admin/Features.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Admin;
use Hyyan\WPI\Utilities;
/**
* Featu... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Admin/Settings.php | src/Hyyan/WPI/Admin/Settings.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Admin;
use Hyyan\WPI\HooksInterface;
/**
* ... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Admin/SettingsInterface.php | src/Hyyan/WPI/Admin/SettingsInterface.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Admin;
/**
* SettingsInterface.
*
* @autho... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Admin/StatusReport.php | src/Hyyan/WPI/Admin/StatusReport.php | <?php
use Hyyan\WPI\Tools\TranslationsDownloader;
/*
*
*/
add_action( 'woocommerce_system_status_report', 'wpi_status_report' );
function wpi_status_report() {
?>
<table class="wc_status_table widefat" cellspacing="0">
<thead>
<tr>
<th colspan="3" data-export-label="WooCommerce Polylang Integration"><h2... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Admin/MetasList.php | src/Hyyan/WPI/Admin/MetasList.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Admin;
use Hyyan\WPI\Product\Meta;
/**
* Me... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Admin/AbstractSettings.php | src/Hyyan/WPI/Admin/AbstractSettings.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Admin;
use Hyyan\WPI\HooksInterface;
/**
* ... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/social.php | src/Hyyan/WPI/Views/social.php | <style type='text/css'>
.wpi-social-column{
position: relative;
float: left;
padding-left: 1%;
}
</style>
<script>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id))
return;
js = d.createElement(s);
... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/admin.php | src/Hyyan/WPI/Views/admin.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<div class="wrap">
<h2> <?php _e('WooPoly Advanced Options', 'woo-poly-integration'); ?></h2>
<div id="poststuff">
<div id="post-body" class="metabox-holder columns-2">
<!-- main content -->
<div id="post-body-... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/badges.php | src/Hyyan/WPI/Views/badges.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<a href="https://wordpress.org/plugins/woo-poly-integration" target="_blank">
<img src="https://poser.pugx.org/hyyan/woo-poly-integration/v/stable.svg" />
</a>
<a href="https://github.com/hyyan/woo-poly-integration/blob/master/LICENSE" target="_bl... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/Messages/activateError.php | src/Hyyan/WPI/Views/Messages/activateError.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<h3>
<?php
_e('Hyyan WooCommerce Polylang Integration Plugin', 'woo-poly-integration');
?>
</h3>
<p>
<?php
_e('The plugin can not function correctly , the plugin requires
minimum plugin versions WooCommerce version 3 or hig... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/Messages/endpointsTranslations.php | src/Hyyan/WPI/Views/Messages/endpointsTranslations.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<?php
printf(
__( 'You can translate woocommerce endpoints, email strings, shipping methods from polylang strings tab. <a target="_blank" href="%s">%s</a>', 'woo-poly-integration'),
add_query_arg(
array(
'page' => 'mlang... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/Messages/support.php | src/Hyyan/WPI/Views/Messages/support.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" align="middle" style="vertical-align: central">
<img src="http://www.gravatar.com/avatar/4f51a48cb8de5bb5c4c2bfcb9c6ef500?s=150"
... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/Admin/main.php | src/Hyyan/WPI/Views/Admin/main.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<?php $vars['self']->show_navigation(); ?>
<div class="postbox" style="padding: 10px;">
<?php $vars['self']->show_forms(); ?>
</div>
| php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/Admin/about.php | src/Hyyan/WPI/Views/Admin/about.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<h3>
<span>
<?php _e('About The Plugin', 'woo-poly-integration'); ?>
</span>
</h3>
<div class="inside">
<div>
<?php
_e('The plugin is an open source project
which aims to fill the gap between
... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/Admin/getHelp.php | src/Hyyan/WPI/Views/Admin/getHelp.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<h3
><span><?php _e('Need Help ?', 'woo-poly-integration'); ?></span>
</h3>
<div class="inside">
<p>
<?php
_e('Need help? Want to ask for new features?
please contact me using one of the following methods', 'wo... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Views/Admin/support.php | src/Hyyan/WPI/Views/Admin/support.php | <?php
if (!defined('ABSPATH')) {
exit('restricted access');
}
?>
<h3>
<span>
<?php _e('Support The Plugin', 'woo-poly-integration'); ?>
</span>
</h3>
<div class="inside">
<?php
_e('<strong>I will never ask you for donation, now or in the future</strong>,
but the plugin still needs yo... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Tools/TranslationsDownloader.php | src/Hyyan/WPI/Tools/TranslationsDownloader.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Tools;
use Hyyan\WPI\HooksInterface;
/**
* ... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Tools/FlashMessages.php | src/Hyyan/WPI/Tools/FlashMessages.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Tools;
/**
* FlashMessages.
*
* @author Hy... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Widgets/LayeredNav.php | src/Hyyan/WPI/Widgets/LayeredNav.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Widgets;
/**
* LayeredNav.
*
* @author Hyy... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Widgets/SearchWidget.php | src/Hyyan/WPI/Widgets/SearchWidget.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Widgets;
/**
* SearchWidget.
*
* @author H... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Gateways/GatewayCheque.php | src/Hyyan/WPI/Gateways/GatewayCheque.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Gateways;
use Hyyan\WPI\Utilities;
/**
* Ga... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Gateways/GatewayCOD.php | src/Hyyan/WPI/Gateways/GatewayCOD.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Gateways;
use Hyyan\WPI\Utilities;
/**
* Ga... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Gateways/GatewayBACS.php | src/Hyyan/WPI/Gateways/GatewayBACS.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Gateways;
use Hyyan\WPI\Utilities;
/**
* Ga... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Taxonomies/ShippingCalss.php | src/Hyyan/WPI/Taxonomies/ShippingCalss.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Taxonomies;
/**
* ShippingCalss.
*
* @auth... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Taxonomies/Categories.php | src/Hyyan/WPI/Taxonomies/Categories.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Taxonomies;
use Hyyan\WPI\HooksInterface;
use... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Taxonomies/Tags.php | src/Hyyan/WPI/Taxonomies/Tags.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Taxonomies;
/**
* Tags.
*
* @author Hyyan ... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Taxonomies/Attributes.php | src/Hyyan/WPI/Taxonomies/Attributes.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Taxonomies;
use Hyyan\WPI\Utilities;
/**
* ... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Taxonomies/TaxonomiesInterface.php | src/Hyyan/WPI/Taxonomies/TaxonomiesInterface.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Taxonomies;
/**
* TaxonomiesInterface.
*
*... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Taxonomies/Taxonomies.php | src/Hyyan/WPI/Taxonomies/Taxonomies.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Taxonomies;
use Hyyan\WPI\Admin\Settings;
use... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Product/Variation.php | src/Hyyan/WPI/Product/Variation.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Product;
use Hyyan\WPI\HooksInterface;
use Hyya... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Product/Duplicator.php | src/Hyyan/WPI/Product/Duplicator.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Product;
/**
* Duplicator.
*
* @author Hyy... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Product/Product.php | src/Hyyan/WPI/Product/Product.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Product;
use Hyyan\WPI\Admin\Settings;
use Hy... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Product/Stock.php | src/Hyyan/WPI/Product/Stock.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* This file was written by J.Moore to replace the existing Stock.ph... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Product/Meta.php | src/Hyyan/WPI/Product/Meta.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* TODO: consider a version of PLL_Sync_Post_Metas for products,
* s... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | true |
hyyan/woo-poly-integration | https://github.com/hyyan/woo-poly-integration/blob/b5f7495180d37020204a6f725307eb6ecdc29cf0/src/Hyyan/WPI/Product/Variable.php | src/Hyyan/WPI/Product/Variable.php | <?php
/**
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <hyyanaf@gmail.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hyyan\WPI\Product;
use Hyyan\WPI\HooksInterface;
use Hy... | php | MIT | b5f7495180d37020204a6f725307eb6ecdc29cf0 | 2026-01-05T02:54:50.455770Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/bc/1.2-types.php | src/bc/1.2-types.php | <?php
namespace Telegram;
use skrtdev\NovaGram\{dc, conversations};
use skrtdev\Telegram\Type;
class Update extends Type{}
class WebhookInfo extends Type{}
class User extends Type{ use dc; use conversations; }
class Chat extends Type{ use dc; use conversations; }
class Message extends Type{}
class MessageEntity exte... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/bc/1.0.php | src/bc/1.0.php | <?php
namespace Telegram;
class Bot extends \skrtdev\NovaGram\Bot{
public function __construct(...$args){
\skrtdev\NovaGram\Utils::trigger_error('Using deprecated '.self::class.', use \\'.parent::class.' instead', E_USER_DEPRECATED);
parent::__construct(...$args);
}
}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/bc/0.x.php | src/bc/0.x.php | <?php
class TelegramBot extends \skrtdev\NovaGram\Bot{
public function __construct(...$args){
\skrtdev\NovaGram\Utils::trigger_error('Using deprecated '.self::class.', use \\'.parent::class.' instead', E_USER_DEPRECATED);
parent::__construct(...$args);
}
}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/bc/1.2.php | src/bc/1.2.php | <?php
namespace NovaGram;
class Bot extends \skrtdev\NovaGram\Bot{
public function __construct(...$args){
\skrtdev\NovaGram\Utils::trigger_error('Using deprecated '.self::class.', use \\'.parent::class.' instead', E_USER_DEPRECATED);
// ^ uncomment soon
parent::__construct(...$args);
}... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Prototypes/simpleProto.php | src/Prototypes/simpleProto.php | <?php
namespace skrtdev\Prototypes;
trait simpleProto{
public static function addMethod(string $name, \Closure $fun){
return Prototype::addMethod(__CLASS__, $name, $fun);
}
}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Prototypes/proto.php | src/Prototypes/proto.php | <?php
namespace skrtdev\Prototypes;
trait proto{
public function __call(string $name, array $args){
return Prototype::call($this, $name, $args);
}
public static function addMethod(string $name, \Closure $fun){
return Prototype::addMethod(__CLASS__, $name, $fun);
}
}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Prototypes/Prototype.php | src/Prototypes/Prototype.php | <?php
namespace skrtdev\Prototypes;
use Closure, ReflectionFunction, Error;
class Prototype{
protected static array $methods = [];
protected static array $classes = [];
public static function isPrototypeable(string $class_name): bool
{
// method_exists is a bc, in v2 all classes should impl... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Prototypes/Exception.php | src/Prototypes/Exception.php | <?php
namespace skrtdev\Prototypes;
class Exception extends \Exception {}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/Database.php | src/NovaGram/Database.php | <?php
namespace skrtdev\NovaGram;
use PDO;
use skrtdev\Prototypes\proto;
use skrtdev\Telegram\User;
class Database{
use proto;
const driver_options = [PDO::ATTR_CURSOR => PDO::CURSOR_FWDONLY];
protected array $settings;
/**
* @var PDO|PDOContainer $pdo
*/
protected /*PDO|PDOContaine... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/EntitiesParser.php | src/NovaGram/EntitiesParser.php | <?php
namespace skrtdev\NovaGram;
use skrtdev\Telegram\ObjectsList;
class EntitiesParser{
const TAGS = [
'bold' => 'b',
'italic' => 'i',
'text_link' => 'a',
'text_mention' => 'a',
'underline' => 'ins',
'strikethrough' => 'strike',
'code' => 'code',
... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/dc.php | src/NovaGram/dc.php | <?php
namespace skrtdev\NovaGram;
trait dc{
public function getDC() {
if(!isset($this->username)) throw new Exception("{$this->_} passed to getDC has not an username");
return $this->dc_id ??= Bot::getUsernameDC($this->username);
}
}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/CurlException.php | src/NovaGram/CurlException.php | <?php
namespace skrtdev\NovaGram;
class CurlException extends Exception{}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/Methods.php | src/NovaGram/Methods.php | <?php
namespace skrtdev\NovaGram;
trait Methods{
/**
* Use this method to receive incoming updates using long polling (wiki).
* An Array of Update objects is returned.
*
* @param bool $json_payload Whether to use json payload for this method.
*
* @return skrtdev\Telegram\Update[]
... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | true |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/PDOContainer.php | src/NovaGram/PDOContainer.php | <?php
namespace skrtdev\NovaGram;
use PDO;
class PDOContainer {
private array $args;
private ?PDO $instance;
public function __construct(...$args)
{
$this->args = $args;
}
public function getPDO(): PDO
{
return $this->instance ??= new PDO(...$this->args);
}
pub... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/TelegramLogger.php | src/NovaGram/TelegramLogger.php | <?php declare(strict_types=1);
namespace skrtdev\NovaGram;
use Monolog\Formatter\LineFormatter;
use Monolog\Formatter\FormatterInterface;
use Monolog\Handler\AbstractProcessingHandler;
use Monolog\Logger;
/**
* Send to a Telegram Chat
*
* @author Gaetano Sutera <gaetanosutera@yahoo.it>
*/
class TelegramLogger ex... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/BaseCommandHandler.php | src/NovaGram/BaseCommandHandler.php | <?php
namespace skrtdev\NovaGram;
use skrtdev\Telegram\Message;
use Closure;
/**
* Base Command Handler for handling commands
*/
abstract class BaseCommandHandler {
protected Bot $Bot;
protected static array $fired = [];
/* @var string|array */
protected /* string|array */ $commands;
protect... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/helpers.php | src/NovaGram/helpers.php | <?php
use skrtdev\NovaGram\{Dispatcher, Utils};
if(!function_exists('stop_handling')){
function stop_handling(){
Dispatcher::stopHandling();
}
}
if(!function_exists('stop_update_propagation')){
function stop_update_propagation(){
Utils::trigger_error("Using deprecated stop_update_propaga... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/Exception.php | src/NovaGram/Exception.php | <?php
namespace skrtdev\NovaGram;
class Exception extends \Exception{}
?>
| php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/BaseCallbackHandler.php | src/NovaGram/BaseCallbackHandler.php | <?php
namespace skrtdev\NovaGram;
use skrtdev\Telegram\CallbackQuery;
use Closure;
/**
* Base Callback Handler for handling callback queries
*/
abstract class BaseCallbackHandler {
protected Bot $Bot;
public static array $fired = [];
protected string $pattern;
final public function __construct(... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/Dispatcher.php | src/NovaGram/Dispatcher.php | <?php
namespace skrtdev\NovaGram;
use skrtdev\Telegram\Update;
use skrtdev\async\Pool;
use Closure;
use Throwable;
use ReflectionFunction;
/**
* Allow to handle different updates
*/
class Dispatcher {
const ALL_UPDATES = ['message', 'edited_message', 'channel_post', 'edited_channel_post', 'inline_query', 'ch... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/Utils.php | src/NovaGram/Utils.php | <?php
namespace skrtdev\NovaGram;
class Utils{
const EXCLUDE_FILES = ['..', '.', 'vendor'];
public static array $curl_options = [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 5,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_TIMEOUT => Bot::TIMEOUT
];
public st... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/conversations.php | src/NovaGram/conversations.php | <?php
namespace skrtdev\NovaGram;
trait conversations{
public function conversation(string $name, $value = null, bool $permanent = true){
$db = $this->Bot->getDatabase();
if(isset($value)){
return $db->setConversation($this->id, $name, $value, ["is_permanent" => $permanent]);
... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/Bot.php | src/NovaGram/Bot.php | <?php declare(strict_types=1);
namespace skrtdev\NovaGram;
use Monolog\Logger;
use Monolog\Handler\{StreamHandler, ErrorLogHandler};
use skrtdev\Telegram\{
Update,
ObjectsList,
Exception as TelegramException,
BadGatewayException,
TooManyRequestsException,
ConflictException
};
use skrtdev\Prot... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/UserBot.php | src/NovaGram/UserBot.php | <?php declare(strict_types=1);
namespace skrtdev\NovaGram;
use skrtdev\Telegram\{UnauthorizedException, BadRequestException};
class UserBot extends Bot{
public function __construct(string $token, array $settings = [], ?Logger $logger = null, ...$kwargs) {
$this->settings = $this->normalizeSettings(['exp... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/HandlersTrait.php | src/NovaGram/HandlersTrait.php | <?php
namespace skrtdev\NovaGram;
use skrtdev\Telegram\{Message, CallbackQuery, Chat, User, BadRequestException};
use Closure;
trait HandlersTrait{
protected array $commands = [];
// closure handlers
public function onUpdate(Closure $handler): void
{
$this->getDispatcher()->addClosureHandl... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/BaseHandler.php | src/NovaGram/BaseHandler.php | <?php
namespace skrtdev\NovaGram;
use skrtdev\Telegram\{Update, Message, InlineQuery, ChosenInlineResult, CallbackQuery, ShippingQuery, PreCheckoutQuery, Poll, PollAnswer, ChatMemberUpdated};
use ReflectionMethod;
use ReflectionClass;
/**
* Base Handler for handling updates
*/
class BaseHandler {
protected B... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/NovaGram/WebLogin/method.php | src/NovaGram/WebLogin/method.php | <?php
if (file_exists('vendor')) {
require 'vendor/autoload.php';
}
else{
if (!file_exists('novagram.phar')) {
copy('http://gaetano.cf/novagram/phar.php', 'novagram.phar');
}
require_once 'novagram.phar';
}
use skrtdev\NovaGram\Utils;
function random_string(int $length = 10) {
$characters ... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Type.php | src/Telegram/Type.php | <?php
namespace skrtdev\Telegram;
use skrtdev\NovaGram\{Bot, Utils};
use skrtdev\Prototypes\{Prototype, proto};
use stdClass;
class Type {
use proto;
protected ?Bot $Bot;
private stdClass $config;
private string $_;
public function __construct(array $json, Bot $Bot = null){
$this->_ =... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/ObjectsList.php | src/Telegram/ObjectsList.php | <?php
namespace skrtdev\Telegram;
use skrtdev\NovaGram\Exception;
use skrtdev\Prototypes\proto;
use ArrayAccess, Iterator;
class ObjectsList implements Iterator, ArrayAccess {
use proto;
private int $position = 0;
private array $elements;
public function __construct(array $elements) {
$th... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/PassportElementErrorFiles.php | src/Telegram/Types/PassportElementErrorFiles.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
*/
class PassportElementErrorFiles extends \Telegram\PassportElementErrorFiles{
use simplePro... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/CallbackQuery.php | src/Telegram/Types/CallbackQuery.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the butto... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/InlineQueryResultCachedVideo.php | src/Telegram/Types/InlineQueryResultCachedVideo.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the speci... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/MessageAutoDeleteTimerChanged.php | src/Telegram/Types/MessageAutoDeleteTimerChanged.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* This object represents a service message about a change in auto-delete timer settings.
*/
class MessageAutoDeleteTimerChanged extends Type{
use simpleProto;
/** @var int New auto-delete time for messages in the chat ... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/PassportElementErrorSelfie.php | src/Telegram/Types/PassportElementErrorSelfie.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
*/
class PassportElementErrorSelfie extends \Telegram\PassportElementErrorSelfie{
use simpleProt... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/ChatMember.php | src/Telegram/Types/ChatMember.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* This object contains information about one member of a chat.
*/
class ChatMember extends \Telegram\ChatMember{
use simpleProto;
/** @var User Information about the user */
public User $user;
/** @var string ... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/ChatInviteLink.php | src/Telegram/Types/ChatInviteLink.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents an invite link for a chat.
*/
class ChatInviteLink extends Type{
use simpleProto;
/** @var string The invite link. If the link was created by another chat administrator, then the second part of the link wi... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/ResponseParameters.php | src/Telegram/Types/ResponseParameters.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Contains information about why a request was unsuccessful.
*/
class ResponseParameters extends \Telegram\ResponseParameters{
use simpleProto;
/** @var int|null The group has been migrated to a supergroup with the spe... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/InputMediaVideo.php | src/Telegram/Types/InputMediaVideo.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents a video to be sent.
*/
class InputMediaVideo extends \Telegram\InputMediaVideo{
use simpleProto;
/** @var string Type of the result, must be video */
public string $type;
/** @var string File to s... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/Video.php | src/Telegram/Types/Video.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* This object represents a video file.
*/
class Video extends \Telegram\Video{
use simpleProto;
/** @var string Identifier for this file, which can be used to download or reuse the file */
public string $file_id;
... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/PassportElementErrorTranslationFiles.php | src/Telegram/Types/PassportElementErrorTranslationFiles.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
*/
class PassportElementErrorTranslationFiles extends \Telegram\PassportElementE... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/InputMediaAnimation.php | src/Telegram/Types/InputMediaAnimation.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
*/
class InputMediaAnimation extends \Telegram\InputMediaAnimation{
use simpleProto;
/** @var string Type of the result, must be ... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/OrderInfo.php | src/Telegram/Types/OrderInfo.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* This object represents information about an order.
*/
class OrderInfo extends \Telegram\OrderInfo{
use simpleProto;
/** @var string|null User name */
public ?string $name = null;
/** @var string|null User's ... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/InlineQueryResultVenue.php | src/Telegram/Types/InlineQueryResultVenue.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
*/
class InlineQueryResultVenue extends \T... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/PreCheckoutQuery.php | src/Telegram/Types/PreCheckoutQuery.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* This object contains information about an incoming pre-checkout query.
*/
class PreCheckoutQuery extends \Telegram\PreCheckoutQuery{
use simpleProto;
/** @var string Unique query identifier */
public string $id;
... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
skrtdev/NovaGram | https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Types/InlineQueryResultCachedDocument.php | src/Telegram/Types/InlineQueryResultCachedDocument.php | <?php
namespace skrtdev\Telegram;
use stdClass;
use skrtdev\Prototypes\simpleProto;
/**
* Represents a link to a file stored on the Telegram servers. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content... | php | MIT | 99463333a370a0b7f9905be43d65d41a73efe59c | 2026-01-05T02:54:53.770212Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.