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 |
|---|---|---|---|---|---|---|---|---|
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/schema/src/queryData.php | packages/devless/schema/src/queryData.php | <?php
namespace Devless\Schema;
use App\Helpers\Helper;
use Illuminate\Http\Request;
use App\Helpers\Response as Response;
trait queryData
{
use queryParamList;
/**
* query a table.
*
* @param array $payload payload from request
*
* @return \Illuminate\Http\Response
*
* @in... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/fillers.php | packages/devless/rulesengine/src/fillers.php | <?php
namespace Devless\RulesEngine;
trait fillers
{
/**
* `also` filler word like all other filler words does not come with any side effects but is used sorely for readability purposes. eg: `->beforeCreating()->assign("hello")->to($text)->convertToUpperCase()->reverseString()->storeAs($text)->succeedWith($... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/tableAuth.php | packages/devless/rulesengine/src/tableAuth.php | <?php
namespace Devless\RulesEngine;
use App\Helpers\Helper;
trait tableAuth
{
/**
* Appending the authenticateUser method to any query action will force users to login to gain access to the system eg: ->beforeQuerying()->onTable('subscriptions')->autheticateUser()
*
* @return $this
*/
pu... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/actions.php | packages/devless/rulesengine/src/actions.php | <?php
namespace Devless\RulesEngine;
use App\Helpers\ActionClass;
use App\Helpers\Helper;
trait actions
{
/**
* Checks if the db action to be conducted around one of the tables. Eg beforeQuerying()->onTable('register', 'subscription')->succeedWith("yes"). In the example above yes will be outputted incase d... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/generators.php | packages/devless/rulesengine/src/generators.php | <?php
namespace Devless\RulesEngine;
trait generators
{
/**
* generates random integers. This may be used for invitation or promotional code generation. eg `->beforeCreating()->generateRandomInteger($max=10)->storeAs($promo_code)->succeedWith($promo_code) #7`
* @param $length
* @return $this
*... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/RulesServiceProvider.php | packages/devless/rulesengine/src/RulesServiceProvider.php | <?php
namespace Devless\RulesEngine;
use Illuminate\Support\ServiceProvider;
class RulesServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
{
}
/**
* Register the application services.
*/
public function register()... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/flowControl.php | packages/devless/rulesengine/src/flowControl.php | <?php
namespace Devless\RulesEngine;
trait flowControl
{
/**
* This is the equivalence of if and is mostly used together with assertions to alter execution flows. eg beforeQuerying()->whenever(assertIts::equal($input_name, "edmond"))->then->succeedWith("yes the names are same")
*
* @param $assertio... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/getResponse.php | packages/devless/rulesengine/src/getResponse.php | <?php
namespace DevLess\RulesEngine;
trait getResponse
{
/**
* get the output response message. This will fetch the Message about to be sent back to the client . eg `->afterQuering()->getResponse($status_code, $message, $payload)` now the variable $status_code, $message, $payload will be available to use w... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/stringLib.php | packages/devless/rulesengine/src/stringLib.php | <?php
namespace Devless\RulesEngine;
trait stringLib
{
/**
* Concatenate strings together eg: `->beforeQuerying()->concatenate("user_","edmond")->storeAs($string)->succeedWith($string) #user_edmond"`
* @param n number of params
* @return $this
* */
public function concatenate()
{
... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/dateLib.php | packages/devless/rulesengine/src/dateLib.php | <?php
namespace Devless\RulesEngine;
trait dateLib
{
private function applyTimezone()
{
if (!$this->execOrNot) {
return $this;
}
if (!$this->timezone) {
$this->timezone = date_default_timezone_get();
}
date_default_timezone_set($this->timezone);
... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/Rules.php | packages/devless/rulesengine/src/Rules.php | <?php
namespace Devless\RulesEngine;
use App\Helpers\DevlessHelper;
use App\Helpers\Helper;
class Rules
{
use fillers, tableAuth, devlessAuth, tableActions, flowControl, actions, mathLib, stringLib, dateLib, generators, mutateResponse, getResponse, collectionLib;
private $assertion = [
'elseWhenever... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/devlessAuth.php | packages/devless/rulesengine/src/devlessAuth.php | <?php
namespace Devless\RulesEngine;
use App\Helpers\Helper;
trait devlessAuth
{
public function beforeSigningIn()
{
$this->execOrNot = $this->isCurrentDBAction = ($this->EVENT['request_phase'] == 'before'
&& $this->getAuthAction() == 'login');
return $this;
}
public fun... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/collectionLib.php | packages/devless/rulesengine/src/collectionLib.php | <?php
namespace Devless\RulesEngine;
trait collectionLib
{
/**
*convert an array into a collection eg: `->beforeCreating()->fromTheCollectionOf(["name"=>"mike", "age"=>29])->getAllKeys()->storeAs($keys)->stopAndOutput(1000, "got response", $keys) #["name", "age"]`
*
* @param $collection
*
... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/mathLib.php | packages/devless/rulesengine/src/mathLib.php | <?php
namespace Devless\RulesEngine;
trait mathLib
{
/**
*Perform mathematical operations eg: `->beforeQuerying()->calculate(3*5)->storeAs($ans)->stopAndOutput(1001,'got answer successfully', $ans) #15`
*
* @param mathmatical expression
*
* @return $this
*/
public function calcu... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/tableActions.php | packages/devless/rulesengine/src/tableActions.php | <?php
namespace Devless\RulesEngine;
trait tableActions
{
/**
* Checks if a table is being queried for data then the code attached to it will run. This will run twice before and after the data is being queried.
*
* @return $this
*/
public function onQuery()
{
$this->execOrNot =... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
DevlessTeam/DV-PHP-CORE | https://github.com/DevlessTeam/DV-PHP-CORE/blob/4870437a59847e629da1a2e23e5da327a705bfa4/packages/devless/rulesengine/src/mutateResponse.php | packages/devless/rulesengine/src/mutateResponse.php | <?php
namespace Devless\RulesEngine;
use App\Helpers\Helper;
trait mutateResponse
{
/**
* mutate response status code. This will change the status code that is being outputed eg: `->afterQuering()->mutateStatusCode(1111)`. NB: you should only change the status code if you know what you doing. CHanging it mi... | php | Apache-2.0 | 4870437a59847e629da1a2e23e5da327a705bfa4 | 2026-01-05T03:51:50.348859Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/functions.php | functions.php | <?php
use Phalcon\Di;
use Phalcon\Text;
use Phwoolcon\Config;
use Phwoolcon\I18n;
use Phwoolcon\Text as PhwoolconText;
/**
* Translate
*
* @param string $string
* @param array|null $params
* @param string $package
*
* @return string
*/
function __($string, array $params = null, $package = null)
{
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Payload.php | src/Payload.php | <?php
namespace Phwoolcon;
class Payload
{
use PayloadTrait;
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Db.php | src/Db.php | <?php
namespace Phwoolcon;
use Phalcon\Events\Event;
use Phwoolcon\Exception\InvalidConfigException;
use Phwoolcon\Model\MetaData\InCache;
use Phalcon\Di;
use Phalcon\Db as PhalconDb;
use Phalcon\Db\Adapter\Pdo as Adapter;
class Db extends PhalconDb
{
/**
* @var Di
*/
protected static $di;
/**... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Events.php | src/Events.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
use Phalcon\Events\Manager;
/**
* Class Events
* @package Phwoolcon
*
* @method static void detach(string $eventType, object $handler)
* @see Manager::detach()
* @method static void detachAll(string $type = null)
* @see Manager::detachAll()
*/
class Events
{
/**
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Crypt.php | src/Crypt.php | <?php
namespace Phwoolcon;
use Phalcon\Crypt as PhalconCrypt;
class Crypt extends PhalconCrypt
{
protected static $opensslCipher = 'AES-256-CBC';
protected static $ivSize;
public static function opensslEncrypt($text, $key = null)
{
static::$ivSize or static::$ivSize = openssl_cipher_iv_length... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Text.php | src/Text.php | <?php
namespace Phwoolcon;
use Phalcon\Text as PhalconText;
class Text extends PhalconText
{
/**
* @param string $string
* @param int $length
* @param string $suffix
* @return string
* @codeCoverageIgnore
*/
public static function ellipsis($string, $length, $suffix = '...')
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Aliases.php | src/Aliases.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
class Aliases
{
public static function register(Di $di)
{
if ($aliases = Config::get('app.class_aliases')) {
foreach ($aliases as $alias => $class) {
$class && !class_exists($alias, false) and class_alias($class, $alias);
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Controller.php | src/Controller.php | <?php
namespace Phwoolcon;
use Phalcon\Mvc\Controller as PhalconController;
/**
* Class Controller
* @package Phwoolcon
*
* @property \Phalcon\Http\Request $request
* @property Session|Session\AdapterTrait $session
* @property View $view
*/
abstract class Controller extends PhalconController
{
const BROWSE... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Mailer.php | src/Mailer.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
use Phwoolcon\Queue\Adapter\JobTrait;
use Swift;
use Swift_Attachment;
use Swift_Image;
use Swift_Mailer;
use Swift_Message;
use Swift_SendmailTransport;
use Swift_SmtpTransport;
use Swift_SwiftException;
class Mailer
{
const CONTENT_TYPE_HTML = 'text/html';
const C... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/PayloadTrait.php | src/PayloadTrait.php | <?php
namespace Phwoolcon;
use ErrorException;
trait PayloadTrait
{
protected $data;
public function __construct(array $data)
{
$this->data = $data;
}
public function __call($method, $arguments)
{
if (($prefix = substr($method, 0, 3)) == 'get') {
$property = Text:... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/DateTime.php | src/DateTime.php | <?php
namespace Phwoolcon;
use DateTime as PhpDateTime;
class DateTime extends PhpDateTime
{
const RFC2616 = 'D, d M Y H:i:s T';
const MYSQL_DATETIME = 'Y-m-d H:i:s';
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli.php | src/Cli.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
use Symfony\Component\Console\Application;
class Cli
{
protected static $consoleWidth;
public static function register(Di $di)
{
$app = new Application(Config::get('app.name'), Config::get('app.version'));
foreach (Config::get('commands') as $na... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Log.php | src/Log.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
use Phalcon\Logger;
use Phalcon\Logger\Adapter\File;
use Phalcon\Logger\Formatter\Line;
use Phwoolcon\Exception\HttpException;
class Log extends Logger
{
/**
* @var \Phalcon\Logger\Adapter|File
*/
protected static $logger;
protected static $hostname;
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Security.php | src/Security.php | <?php
namespace Phwoolcon;
use Phalcon\Security as PhalconSecurity;
class Security extends PhalconSecurity
{
public static function prepareSignatureData(array $data)
{
ksort($data);
unset($data['sign']);
$string = [];
foreach ($data as $k => $v) {
$string[] = $k . ... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Config.php | src/Config.php | <?php
namespace Phwoolcon;
use Phalcon\Config as PhalconConfig;
use Phalcon\Di;
class Config
{
protected static $config;
protected static $preloadConfig = [];
public static function clearCache()
{
$environment = static::environment();
is_file($cacheFile = storagePath('cache/config-' ... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/ErrorCodes.php | src/ErrorCodes.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
/**
* Class ErrorCodes
*
* Usage:
* 1. Define error codes in a locale file `error_codes.php`
* ```php
* <?php
* return [
* 'foo_error' => 'The foo error message: %param%',
* '1234' => 'Some error message for 1234',
* '2345_with_annotation' => 'Some num... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Router.php | src/Router.php | <?php
namespace Phwoolcon;
use Closure;
use Opis\Closure\SerializableClosure;
use Phalcon\Di;
use Phalcon\Http\Request;
use Phalcon\Http\Response;
use Phalcon\Mvc\Router as PhalconRouter;
use Phalcon\Mvc\Router\Route;
use Phwoolcon\Daemon\ServiceAwareInterface;
use Phwoolcon\Exception\Http\CsrfException;
use Phwoolco... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/DiFix.php | src/DiFix.php | <?php
namespace Phwoolcon;
use Closure;
use Phalcon\Di;
use Phalcon\Events\Event;
class DiFix extends Di
{
/**
* Fix over clever di service resolver in phalcon 2.1.x:
* let definition = \Closure::bind(definition, dependencyInjector)
* which leads to php warning "Cannot bind an instance to a stati... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cache.php | src/Cache.php | <?php
namespace Phwoolcon;
use Phalcon\Cache\Backend;
use Phalcon\Cache\Frontend\Data;
use Phalcon\Di;
use Phwoolcon\Cache\Backend\Redis;
use Phwoolcon\Exception\InvalidConfigException;
/**
* Class Cache
* @package Phwoolcon
*
* @method static int decrement(string $keyName = null, int $value = null)
* @uses Redi... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Model.php | src/Model.php | <?php
namespace Phwoolcon;
use Phalcon\Db as PhalconDb;
use Phalcon\Db\AdapterInterface;
use Phalcon\Di;
use Phalcon\Mvc\Model as PhalconModel;
use Phwoolcon\Db\Adapter\Pdo\Mysql;
use Phwoolcon\Db\Adapter\Pdo\TablePrefixInterface;
use Phwoolcon\Util\Counter;
/**
* Class Model
* @package Phwoolcon
*
* @property Di... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/I18n.php | src/I18n.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
use Phalcon\Events\Event;
use Phalcon\Translate\Adapter;
use Phwoolcon\Daemon\ServiceAwareInterface;
class I18n extends Adapter implements ServiceAwareInterface
{
/**
* @var Di
*/
protected static $di;
/**
* @var static
*/
protected stati... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Queue.php | src/Queue.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
use Phwoolcon\Exception\InvalidConfigException;
use Phwoolcon\Queue\AdapterInterface;
use Phwoolcon\Queue\AdapterTrait;
use Phwoolcon\Queue\FailedLoggerDb;
class Queue
{
/**
* @var Di
*/
protected static $di;
/**
* @var static
*/
protecte... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Session.php | src/Session.php | <?php
namespace Phwoolcon;
use Phalcon\Di;
use Phalcon\Session\Adapter;
use Phwoolcon\Exception\InvalidConfigException;
use Phwoolcon\Session\AdapterInterface;
use Phwoolcon\Session\AdapterTrait;
/**
* Class Session
* @package Phwoolcon
*
* @method static void clear()
* @uses AdapterTrait::clear()
* @method sta... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/View.php | src/View.php | <?php
namespace Phwoolcon;
use Exception;
use Phalcon\Assets\Filters\Cssmin;
use Phalcon\Assets\Filters\Jsmin;
use Phalcon\Assets\Manager;
use Phalcon\Cache\BackendInterface;
use Phalcon\Di;
use Phalcon\Http\Request;
use Phalcon\Http\Response;
use Phalcon\Mvc\View as PhalconView;
use Phalcon\Mvc\View\Exception as Vie... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cookies.php | src/Cookies.php | <?php
namespace Phwoolcon;
use ReflectionProperty;
use Phalcon\Di;
use Phalcon\Events\Event;
use Phalcon\Http\Response\Cookies as PhalconCookies;
/**
* Class Cookies
* @package Phwoolcon
*
* @method static bool delete(string $name)
* @method static Http\Cookie get(string $name)
* @method static PhalconCookies r... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Model/UserProfile.php | src/Model/UserProfile.php | <?php
namespace Phwoolcon\Model;
use Phwoolcon\Model;
use Phwoolcon\Text;
/**
* Class UserProfile
*
* @package Phwoolcon\Model
*
* @method string getAvatar()
* @method int getUserId()
*/
class UserProfile extends Model
{
protected $_table = 'user_profile';
protected $_pk = 'user_id';
protected $_j... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Model/User.php | src/Model/User.php | <?php
namespace Phwoolcon\Model;
use Phwoolcon\Model;
/**
* Class User
* @package Phwoolcon\Model
*
* @method string getEmail()
* @method string getMobile()
* @method string getUsername()
* @method UserProfile|false getUserProfile()
* @method $this setUsername(string $username)
* @method $this setUserProfile... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Model/Config.php | src/Model/Config.php | <?php
namespace Phwoolcon\Model;
use Phwoolcon\Cache;
use Phwoolcon\Config as PhwoolconConfig;
use Phwoolcon\Db;
use Phwoolcon\Model;
use Phalcon\Db\Column;
class Config extends Model
{
protected $_table = 'config';
protected $_useDistributedId = false;
protected $_jsonFields = ['value'];
public stat... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Model/MetaData/InCache.php | src/Model/MetaData/InCache.php | <?php
namespace Phwoolcon\Model\MetaData;
use Phwoolcon\Cache;
use Phalcon\Mvc\ModelInterface;
use Phalcon\Mvc\Model\MetaData;
use Phalcon\Mvc\Model\Exception;
/**
* Phwoolcon\Model\MetaData\InCache
*
* Stores model meta-data in cache.
*
*<code>
* $metaData = new \Phwoolcon\Model\Metadata\InCache();
*</code>
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Model/DynamicTrait/EmptyTrait.php | src/Model/DynamicTrait/EmptyTrait.php | <?php
namespace Phwoolcon\Model\DynamicTrait;
trait EmptyTrait
{
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Model/DynamicTrait/Loader.php | src/Model/DynamicTrait/Loader.php | <?php
namespace Phwoolcon\Model\DynamicTrait;
use Phalcon\Di;
use Phwoolcon\Text;
class Loader
{
protected static $instance;
protected $suffix = 'ModelTrait';
protected function __construct()
{
spl_autoload_register([$this, 'autoLoad']);
}
public static function register(Di $di)
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Http/Client.php | src/Http/Client.php | <?php
namespace Phwoolcon\Http;
use Phalcon\Di;
use Phwoolcon\Config;
use Phwoolcon\Exception\HttpClientException;
class Client
{
protected static $componentName = 'http-client';
/**
* @var Di
*/
protected static $di;
/**
* @var static
*/
protected static $instance;
prote... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Http/Cookie.php | src/Http/Cookie.php | <?php
namespace Phwoolcon\Http;
use Phalcon\CryptInterface;
use Phalcon\Di;
use Phalcon\Http\Cookie as PhalconCookie;
use Phwoolcon\Cache;
use Phwoolcon\Cookies;
/**
* Class Cookie
* @package Phwoolcon\Http
*
* @property Di $_dependencyInjector
*/
class Cookie extends PhalconCookie
{
public function delete(... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Daemon/ServiceAwareInterface.php | src/Daemon/ServiceAwareInterface.php | <?php
namespace Phwoolcon\Daemon;
interface ServiceAwareInterface
{
public function reset();
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Daemon/Service.php | src/Daemon/Service.php | <?php
namespace Phwoolcon\Daemon;
use Closure;
use ErrorException;
use Phwoolcon\Db;
use Phwoolcon\Util\Timer;
use Swoole\Server as SwooleServer;
use Phalcon\Di;
use Phalcon\Events\Event;
use Phalcon\Http\Response;
use Phwoolcon\Cli\Command;
use Phwoolcon\Config;
use Phwoolcon\Cookies;
use Phwoolcon\Events;
use Phwool... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Controller/Api.php | src/Controller/Api.php | <?php
namespace Phwoolcon\Controller;
use InvalidArgumentException;
use Phwoolcon\Log;
use Phwoolcon\Router;
/**
* Class Api
* @package Phwoolcon\Controller
*
* @method \Phalcon\Http\Response jsonReturn(array $array, $httpCode = 200, $contentType = 'application/json')
*/
trait Api
{
protected $jsonApiConten... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Controller/Admin.php | src/Controller/Admin.php | <?php
namespace Phwoolcon\Controller;
use Phwoolcon\Config;
use Phwoolcon\Controller;
use Phwoolcon\Session;
use Phwoolcon\View;
/**
* Class Admin
* @package Phwoolcon\Controller
*
* @property View $view
* @method Controller addPageTitle(string $title)
*/
trait Admin
{
public function initialize()
{
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Controller/Admin/ConfigTrait.php | src/Controller/Admin/ConfigTrait.php | <?php
namespace Phwoolcon\Controller\Admin;
use Phalcon\Validation\Exception as ValidationException;
use Phwoolcon\Config;
use Phwoolcon\Model\Config as ConfigModel;
trait ConfigTrait
{
protected function filterConfig($key, $data)
{
unset($data['_black_list'], $data['_white_list']);
// Proces... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Assets/ResourceTrait.php | src/Assets/ResourceTrait.php | <?php
namespace Phwoolcon\Assets;
use Exception;
use Phwoolcon\Log;
/**
* Class ResourceTrait
* @package Phwoolcon\Assets
*
* @property $_local
* @property $_path
*/
trait ResourceTrait
{
public static $basePath;
public static $runningUnitTest = false;
protected $content;
/**
* @param str... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Assets/Resource/Css.php | src/Assets/Resource/Css.php | <?php
namespace Phwoolcon\Assets\Resource;
use Phalcon\Assets\Resource\Css as PhalconCss;
use Phwoolcon\Assets\ResourceTrait;
class Css extends PhalconCss
{
use ResourceTrait;
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Assets/Resource/Js.php | src/Assets/Resource/Js.php | <?php
namespace Phwoolcon\Assets\Resource;
use Phalcon\Assets\Resource\Js as PhalconJs;
use Phwoolcon\Assets\ResourceTrait;
class Js extends PhalconJs
{
use ResourceTrait;
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Db/Adapter/Pdo/Mysql.php | src/Db/Adapter/Pdo/Mysql.php | <?php
namespace Phwoolcon\Db\Adapter\Pdo;
use Phalcon\Db\Adapter\Pdo\Mysql as PhalconMysql;
class Mysql extends PhalconMysql implements TablePrefixInterface
{
use TablePrefixTrait;
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Db/Adapter/Pdo/DialectTablePrefixTrait.php | src/Db/Adapter/Pdo/DialectTablePrefixTrait.php | <?php
namespace Phwoolcon\Db\Adapter\Pdo;
/**
* Trait DialectTablePrefixTrait
* @package Phwoolcon\Db\Adapter\Pdo
* @codeCoverageIgnore
*/
trait DialectTablePrefixTrait
{
/**
* @var TablePrefixTrait
*/
protected $connection;
public function select(array $definition)
{
if (isset(... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Db/Adapter/Pdo/TablePrefixTrait.php | src/Db/Adapter/Pdo/TablePrefixTrait.php | <?php
namespace Phwoolcon\Db\Adapter\Pdo;
use Phalcon\Db\ColumnInterface;
use Phalcon\Db\IndexInterface;
use Phalcon\Db\ReferenceInterface;
/**
* Trait TablePrefixTrait
* @package Phwoolcon\Db\Adapter\Pdo
* @codeCoverageIgnore
*/
trait TablePrefixTrait
{
protected $tablePrefix = '';
protected $tablePrefi... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Db/Adapter/Pdo/DialectTablePrefixInterface.php | src/Db/Adapter/Pdo/DialectTablePrefixInterface.php | <?php
namespace Phwoolcon\Db\Adapter\Pdo;
interface DialectTablePrefixInterface
{
public function setConnection($connection);
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Db/Adapter/Pdo/MysqlDialect.php | src/Db/Adapter/Pdo/MysqlDialect.php | <?php
namespace Phwoolcon\Db\Adapter\Pdo;
use Phalcon\Db\Dialect\Mysql as PhalconMysqlDialect;
class MysqlDialect extends PhalconMysqlDialect implements DialectTablePrefixInterface
{
use DialectTablePrefixTrait;
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Db/Adapter/Pdo/TablePrefixInterface.php | src/Db/Adapter/Pdo/TablePrefixInterface.php | <?php
namespace Phwoolcon\Db\Adapter\Pdo;
interface TablePrefixInterface
{
public function prefixTable($table);
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Router/FilterInterface.php | src/Router/FilterInterface.php | <?php
namespace Phwoolcon\Router;
use Phalcon\Mvc\Router\Route;
use Phwoolcon\Router;
interface FilterInterface
{
/**
* @param string $uri
* @param Route $route
* @param Router $router
* @return bool
*/
public function __invoke($uri, $route, $router);
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Router/FilterTrait.php | src/Router/FilterTrait.php | <?php
namespace Phwoolcon\Router;
use Phalcon\Mvc\Router\Route;
use Phwoolcon\Router;
trait FilterTrait
{
/**
* @var static
*/
protected static $instance;
/**
* @param string $uri
* @param Route $route
* @param Router $router
* @return bool
*/
abstract protected f... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Router/Filter/DisableSessionFilter.php | src/Router/Filter/DisableSessionFilter.php | <?php
namespace Phwoolcon\Router\Filter;
use Phalcon\Mvc\Router\Route;
use Phwoolcon\Router;
use Phwoolcon\Router\FilterInterface;
use Phwoolcon\Router\FilterTrait;
class DisableSessionFilter implements FilterInterface
{
use FilterTrait;
/**
* @param string $uri
* @param Route $route
* @par... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Router/Filter/DisableCsrfFilter.php | src/Router/Filter/DisableCsrfFilter.php | <?php
namespace Phwoolcon\Router\Filter;
use Phalcon\Mvc\Router\Route;
use Phwoolcon\Router;
use Phwoolcon\Router\FilterInterface;
use Phwoolcon\Router\FilterTrait;
class DisableCsrfFilter implements FilterInterface
{
use FilterTrait;
/**
* @param string $uri
* @param Route $route
* @param ... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Router/Filter/MultiFilter.php | src/Router/Filter/MultiFilter.php | <?php
namespace Phwoolcon\Router\Filter;
use Phalcon\Mvc\Router\Route;
use Phwoolcon\Router;
use Phwoolcon\Router\FilterInterface;
use Phwoolcon\Router\FilterTrait;
class MultiFilter implements FilterInterface
{
/**
* @var FilterInterface[]
*/
protected $filters = [];
use FilterTrait;
pub... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cache/Clearer.php | src/Cache/Clearer.php | <?php
namespace Phwoolcon\Cache;
use ArrayIterator;
use Phwoolcon\Cache;
use Phwoolcon\Config;
use Phwoolcon\Db;
use Phwoolcon\Events;
use Phwoolcon\I18n;
use Phwoolcon\Router;
use Phwoolcon\View;
class Clearer
{
const TYPE_ASSETS = 'assets';
const TYPE_CONFIG = 'config';
const TYPE_LOCALE = 'locale';
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cache/Backend/Redis.php | src/Cache/Backend/Redis.php | <?php
namespace Phwoolcon\Cache\Backend;
use Phalcon\Cache\Backend\Redis as PhalconRedis;
use Phalcon\Cache\Exception;
use Phalcon\Cache\FrontendInterface;
/**
* Class Redis
*
* @package Phwoolcon\Cache\Backend\Adapter
*
* @property FrontendInterface $_frontend
* @property \Redis $_redis
*/
class R... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Counter.php | src/Util/Counter.php | <?php
namespace Phwoolcon\Util;
use Phalcon\Di;
use Phwoolcon\Config;
use Phwoolcon\Util\Counter\AdapterInterface;
class Counter
{
/**
* @var AdapterInterface
*/
protected static $adapter;
/**
* @var Di
*/
protected static $di;
public static function increment($keyName, $value... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Timer.php | src/Util/Timer.php | <?php
namespace Phwoolcon\Util;
class Timer
{
protected static $_times;
public static function start()
{
return static::$_times[0] = explode(' ', microtime());
}
public static function stop()
{
static::$_times[1] = explode(' ', microtime());
return (static::$_times[1][... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Reflection/Stringify/Parameter.php | src/Util/Reflection/Stringify/Parameter.php | <?php
namespace Phwoolcon\Util\Reflection\Stringify;
use ReflectionParameter;
class Parameter
{
public static function cast(ReflectionParameter $parameter)
{
$stringify = '';
// @codeCoverageIgnoreStart
if (PHP_VERSION_ID >= 70000 && $parameter->hasType()) {
$stringify .= ... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Counter/Adapter.php | src/Util/Counter/Adapter.php | <?php
namespace Phwoolcon\Util\Counter;
abstract class Adapter implements AdapterInterface
{
protected $options = [];
public function __construct($options)
{
$this->options = $options;
}
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Counter/AdapterInterface.php | src/Util/Counter/AdapterInterface.php | <?php
namespace Phwoolcon\Util\Counter;
interface AdapterInterface
{
public function increment($keyName, $value = 1);
public function decrement($keyName, $value = 1);
public function reset($keyName);
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Counter/Adapter/Rds.php | src/Util/Counter/Adapter/Rds.php | <?php
namespace Phwoolcon\Util\Counter\Adapter;
use Phalcon\Db\Column;
use Phalcon\Db\Dialect;
use Phalcon\Db\RawValue;
use Phwoolcon\Db;
use Phwoolcon\Util\Counter\Adapter;
class Rds extends Adapter
{
protected $table = 'counter';
protected $selectSql;
protected $updateCondition;
/**
* @var Dia... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Counter/Adapter/Cache.php | src/Util/Counter/Adapter/Cache.php | <?php
namespace Phwoolcon\Util\Counter\Adapter;
use Phalcon\Cache\Backend;
use Phalcon\Di;
use Phwoolcon\Cache\Backend\Redis;
use Phwoolcon\Util\Counter\Adapter;
class Cache extends Adapter
{
/**
* @var Backend|Redis
*/
protected $cache;
protected $prefix = 'counter:';
public function __con... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Util/Counter/Adapter/Auto.php | src/Util/Counter/Adapter/Auto.php | <?php
namespace Phwoolcon\Util\Counter\Adapter;
use Phwoolcon\Config;
use Phwoolcon\Util\Counter\Adapter;
use Phwoolcon\Util\Counter\AdapterInterface;
class Auto extends Adapter
{
/**
* @var AdapterInterface
*/
protected $realCounter;
protected $realOptions = [];
public function __construct... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/WidgetException.php | src/Exception/WidgetException.php | <?php
namespace Phwoolcon\Exception;
use UnexpectedValueException;
class WidgetException extends UnexpectedValueException
{
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/HttpClientException.php | src/Exception/HttpClientException.php | <?php
namespace Phwoolcon\Exception;
use RuntimeException;
class HttpClientException extends RuntimeException
{
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/QueueException.php | src/Exception/QueueException.php | <?php
namespace Phwoolcon\Exception;
use RuntimeException;
class QueueException extends RuntimeException
{
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/InvalidConfigException.php | src/Exception/InvalidConfigException.php | <?php
namespace Phwoolcon\Exception;
use InvalidArgumentException;
class InvalidConfigException extends InvalidArgumentException
{
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/HttpException.php | src/Exception/HttpException.php | <?php
namespace Phwoolcon\Exception;
use Phalcon\Di;
use Phalcon\Http\Response;
use RuntimeException;
class HttpException extends RuntimeException
{
protected $headers = [];
public function __construct($message, $code, $headers = null)
{
parent::__construct($message, $code);
$headers and... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/SessionException.php | src/Exception/SessionException.php | <?php
namespace Phwoolcon\Exception;
use LogicException;
class SessionException extends LogicException
{
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/Http/ForbiddenException.php | src/Exception/Http/ForbiddenException.php | <?php
namespace Phwoolcon\Exception\Http;
use Phwoolcon\Exception\HttpException;
/**
* Throw this exception to terminate execution and response a 403 forbidden
* @package Phwoolcon\Exception\Http
*/
class ForbiddenException extends HttpException
{
public function __construct($message, $headers = null)
{
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/Http/NotFoundException.php | src/Exception/Http/NotFoundException.php | <?php
namespace Phwoolcon\Exception\Http;
use Phwoolcon\Exception\HttpException;
/**
* Throw this exception to terminate execution and response a 404 not found
* @package Phwoolcon\Exception\Http
*/
class NotFoundException extends HttpException
{
public function __construct($message, $headers = null)
{
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/Http/RedirectException.php | src/Exception/Http/RedirectException.php | <?php
namespace Phwoolcon\Exception\Http;
use Phwoolcon\Exception\HttpException;
/**
* Throw this exception to terminate execution and response a 302 redirect
* @package Phwoolcon\Exception\Http
* @codeCoverageIgnore
*/
class RedirectException extends HttpException
{
public function __construct($path, $quer... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Exception/Http/CsrfException.php | src/Exception/Http/CsrfException.php | <?php
namespace Phwoolcon\Exception\Http;
/**
* Throw this exception to terminate execution and response a 403 forbidden when CSRF verification failed
* @package Phwoolcon\Exception\Http
*/
class CsrfException extends ForbiddenException
{
}
| php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Protocol/StreamWrapperTrait.php | src/Protocol/StreamWrapperTrait.php | <?php
namespace Phwoolcon\Protocol;
trait StreamWrapperTrait
{
/**
* he current context, or NULL if no context was passed to the caller function.
*
* @var resource
*/
public $context;
protected $path;
protected $cursor = 0;
protected $eof = false;
protected $length = 0;
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Protocol/StreamWrapperInterface.php | src/Protocol/StreamWrapperInterface.php | <?php
namespace Phwoolcon\Protocol;
interface StreamWrapperInterface
{
public function __construct();
/**
* Close directory handle
*
* @return bool Returns TRUE on success or FALSE on failure.
*/
public function dir_closedir();
/**
* Open directory handle
*
* @para... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command.php | src/Cli/Command.php | <?php
namespace Phwoolcon\Cli;
use LogicException;
use Phalcon\Di;
use Phwoolcon\Cli;
use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Console\Output\OutputInterface;
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Output/Stream.php | src/Cli/Output/Stream.php | <?php
namespace Phwoolcon\Cli\Output;
use Phwoolcon\Protocol\StreamWrapperInterface;
use Phwoolcon\Protocol\StreamWrapperTrait;
class Stream implements StreamWrapperInterface
{
use StreamWrapperTrait {
stream_write as streamWriteReturn;
}
protected static $output = [];
public function stream... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/Migrate.php | src/Cli/Command/Migrate.php | <?php
namespace Phwoolcon\Cli\Command;
use Exception;
use Phalcon\Db\Adapter;
use Phalcon\Db\Column;
use Phalcon\Db\Index;
use Phwoolcon\Cli\Command;
use Phwoolcon\Config;
use Phwoolcon\Db;
use Phwoolcon\Db\Adapter\Pdo\TablePrefixInterface;
use Phwoolcon\Log;
use Symfony\Component\Console\Input\InputInterface;
use Sy... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/QueueConsumeCommand.php | src/Cli/Command/QueueConsumeCommand.php | <?php
namespace Phwoolcon\Cli\Command;
use Exception;
use Phwoolcon\Cli\Command;
use Phwoolcon\Config;
use Phwoolcon\Log;
use Phwoolcon\Queue\Listener;
use Phwoolcon\Util\Timer;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class QueueConsumeCommand extends Comman... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/PhpunitPickPackageCommand.php | src/Cli/Command/PhpunitPickPackageCommand.php | <?php
namespace Phwoolcon\Cli\Command;
use Phwoolcon\Cli\Command;
use Symfony\Component\Console\Input\InputOption;
class PhpunitPickPackageCommand extends Command
{
protected function configure()
{
$this->setDescription('Pick a phwoolcon package for phpunit testing.')
->addOption('clear'... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/ClearCacheCommand.php | src/Cli/Command/ClearCacheCommand.php | <?php
namespace Phwoolcon\Cli\Command;
use Phwoolcon\Cache\Clearer;
use Phwoolcon\Cli\Command;
use Symfony\Component\Console\Input\InputOption;
class ClearCacheCommand extends Command
{
protected function configure()
{
$definition = [];
$shotCuts = [];
foreach (Clearer::getTypes() as ... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/MigrateCreate.php | src/Cli/Command/MigrateCreate.php | <?php
namespace Phwoolcon\Cli\Command;
use Phwoolcon\Cli\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class MigrateCreate extends Command
{
protected function configure()
{
$this->addArgument('name', InputArgument::REQUIRED, 'The name o... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/MigrateList.php | src/Cli/Command/MigrateList.php | <?php
namespace Phwoolcon\Cli\Command;
use Exception;
use Phwoolcon\Db;
use Phwoolcon\Log;
use Symfony\Component\Console\Input\InputOption;
class MigrateList extends Migrate
{
protected function configure()
{
$this->setDescription('List available migrations.')
->addOption('installed', 'i... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/ServiceCommand.php | src/Cli/Command/ServiceCommand.php | <?php
namespace Phwoolcon\Cli\Command;
use Phalcon\Di;
use Phwoolcon\Cli\Command;
use Phwoolcon\Daemon\Service;
use Symfony\Component\Console\Input\InputArgument;
class ServiceCommand extends Command
{
protected function configure()
{
$this->setDefinition([
new InputArgument(
... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
phwoolcon/phwoolcon | https://github.com/phwoolcon/phwoolcon/blob/4b1e0eb744332cdf70441c1dcb61909d61d0aa33/src/Cli/Command/MigrateRevert.php | src/Cli/Command/MigrateRevert.php | <?php
namespace Phwoolcon\Cli\Command;
use Exception;
use Phwoolcon\Config;
use Phwoolcon\Db;
use Phwoolcon\Log;
use Symfony\Component\Console\Input\InputOption;
class MigrateRevert extends Migrate
{
protected function configure()
{
$this->setDescription('Revert last migration.')
->addOp... | php | Apache-2.0 | 4b1e0eb744332cdf70441c1dcb61909d61d0aa33 | 2026-01-05T03:53:14.668116Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.