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 |
|---|---|---|---|---|---|---|---|---|
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/sample/Info.php | inc/modules/sample/Info.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/sample/Site.php | inc/modules/sample/Site.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/langswitcher/Info.php | inc/modules/langswitcher/Info.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/langswitcher/Site.php | inc/modules/langswitcher/Site.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/defines.php | inc/core/defines.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/Main.php | inc/core/Main.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/Admin.php | inc/core/Admin.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/Site.php | inc/core/Site.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/BaseModule.php | inc/core/BaseModule.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/AdminModule.php | inc/core/AdminModule.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/SiteModule.php | inc/core/SiteModule.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Indenter.php | inc/core/lib/Indenter.php | <?php
/**
* @link https://github.com/gajus/dindent for the canonical source repository
* @license https://github.com/gajus/dindent/blob/master/LICENSE BSD 3-Clause
*/
namespace Inc\Core\Lib;
/**
* Indenter class
*/
class Indenter
{
private $log = array();
private $options = array(
'indentatio... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Pagination.php | inc/core/lib/Pagination.php | <?php
/**
* Pagination: The simplest PHP pagination class
*
* @author Leonard Shtika <leonard@shtika.info>
* @link http://leonard.shtika.info
* @copyright (C) Leonard Shtika
* @license MIT.
*/
namespace Inc\Core\Lib;
class Pagination
{
private $_currentPage;
private $_totalRecords;
private $_record... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Parsedown.php | inc/core/lib/Parsedown.php | <?php
#
#
# Parsedown
# http://parsedown.org
#
# (c) Emanuil Rusev
# http://erusev.com
#
# For the full license information, view the LICENSE file that was distributed
# with this source code.
#
#
namespace Inc\Core\Lib;
class Parsedown
{
const version = '1.6.0';
protected $breaksEnabled;
protected $mark... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | true |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Image.php | inc/core/lib/Image.php | <?php
/**
* Image
*
* Easy image handling using PHP 5 and the GDlib
*
* @copyright Copyright 2010-2011, ushi <ushi@porkbox.net>
* @link https://github.com/ushis/PHP-Image-Class
* @license DBAD License (http://philsturgeon.co.uk/code/dbad-license)
*/
namespace Inc\Core\Lib;
/**
* Image pro... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Settings.php | inc/core/lib/Settings.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Autoloader.php | inc/core/lib/Autoloader.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/HttpRequest.php | inc/core/lib/HttpRequest.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/ModulesCollection.php | inc/core/lib/ModulesCollection.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/functions.php | inc/core/lib/functions.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Widget.php | inc/core/lib/Widget.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Event.php | inc/core/lib/Event.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/License.php | inc/core/lib/License.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/QueryBuilder.php | inc/core/lib/QueryBuilder.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Router.php | inc/core/lib/Router.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
sruupl/batflat | https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/core/lib/Templates.php | inc/core/lib/Templates.php | <?php
/**
* This file is part of Batflat ~ the lightweight, fast and easy CMS
*
* @author Paweł Klockiewicz <klockiewicz@sruu.pl>
* @author Wojciech Król <krol@sruu.pl>
* @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl>
* @license https://batflat.org/license
* @link https://batflat... | php | MIT | f64373702f9589cd02d203a1cae505f6668c51c5 | 2026-01-05T04:56:05.555415Z | false |
davmixcool/php-sentiment-analyzer | https://github.com/davmixcool/php-sentiment-analyzer/blob/b8bdc463643a9093e1cbf9b01de2fd7cddd27f24/src/Analyzer.php | src/Analyzer.php | <?php
namespace Sentiment;
use Sentiment\Config\Config;
use Sentiment\Procedures\SentiText;
/*
Give a sentiment intensity score to sentences.
*/
class Analyzer
{
private $lexicon_file = "";
private $lexicon = "";
private $current_sentitext = null;
public function __construct($lexicon_file = "L... | php | MIT | b8bdc463643a9093e1cbf9b01de2fd7cddd27f24 | 2026-01-05T04:56:11.759318Z | false |
davmixcool/php-sentiment-analyzer | https://github.com/davmixcool/php-sentiment-analyzer/blob/b8bdc463643a9093e1cbf9b01de2fd7cddd27f24/src/Config/Config.php | src/Config/Config.php | <?php
namespace Sentiment\Config;
/**
* Class Config.
*/
class Config
{
// (empirically derived mean sentiment intensity rating increase for booster words)
const B_INCR = 0.293;
const B_DECR = -0.293;
// (empirically derived mean sentiment intensity rating increase for using
// ALLCAPs to ... | php | MIT | b8bdc463643a9093e1cbf9b01de2fd7cddd27f24 | 2026-01-05T04:56:11.759318Z | false |
davmixcool/php-sentiment-analyzer | https://github.com/davmixcool/php-sentiment-analyzer/blob/b8bdc463643a9093e1cbf9b01de2fd7cddd27f24/src/Procedures/SentiText.php | src/Procedures/SentiText.php | <?php
namespace Sentiment\Procedures;
/*
Identify sentiment-relevant string-level properties of input text.
*/
class SentiText
{
private $text = "";
public $words_and_emoticons = null;
public $is_cap_diff = null;
const PUNC_LIST = [".", "!", "?", ",", ";", ":", "-", "'", "\"",
"!!"... | php | MIT | b8bdc463643a9093e1cbf9b01de2fd7cddd27f24 | 2026-01-05T04:56:11.759318Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/LogToDbCustomLoggingHandler.php | src/LogToDbCustomLoggingHandler.php | <?php
namespace danielme85\LaravelLogToDB;
use danielme85\LaravelLogToDB\Models\DBLogException;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\AbstractProcessingHandler;
use Monolog\Handler\ErrorLogHandler;
use Monolog\LogRecord;
/**
* Class LogToDbHandler
*
* @package danielme85\LaravelLogToDB
*/
clas... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/LogToDB.php | src/LogToDB.php | <?php
namespace danielme85\LaravelLogToDB;
use danielme85\LaravelLogToDB\Jobs\SaveNewLogEvent;
use danielme85\LaravelLogToDB\Models\DBLog;
use danielme85\LaravelLogToDB\Models\DBLogMongoDB;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\ErrorLogHandler;
use Monolog\LogRecord;
/**
* Class LogToDb
*
* @pa... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/LogToDbHandler.php | src/LogToDbHandler.php | <?php
namespace danielme85\LaravelLogToDB;
use Monolog\Logger;
/**
* Class LogToDbHandler
*
* @package danielme85\LaravelLogToDB
*/
class LogToDbHandler
{
/**
* Create a custom Monolog instance.
*
* @param array $config
* @return \Monolog\Logger
*/
public function __invoke(arra... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/ServiceProvider.php | src/ServiceProvider.php | <?php
namespace danielme85\LaravelLogToDB;
use danielme85\LaravelLogToDB\Commands\LogCleanerUpper;
use Illuminate\Support\ServiceProvider as Provider;
/**
* Class ServiceProvider
*
* @package danielme85\LaravelLogToDB
*/
class ServiceProvider extends Provider {
/**
* Indicates if loading of the provider... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Jobs/SaveNewLogEvent.php | src/Jobs/SaveNewLogEvent.php | <?php
namespace danielme85\LaravelLogToDB\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Monolog\LogRecord;
class SaveNewLogEvent implements ShouldQueue
{
use InteractsWithQueue, Queueable;
/**
* Create a new job instance.
... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Processors/AuthenticatedUserProcessor.php | src/Processors/AuthenticatedUserProcessor.php | <?php
namespace danielme85\LaravelLogToDB\Processors;
use Illuminate\Support\Facades\Auth;
use Monolog\Processor\ProcessorInterface;
class AuthenticatedUserProcessor implements ProcessorInterface
{
/**
* @return array The processed record
*/
public function __invoke(array $record)
{
$re... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Processors/PhpVersionProcessor.php | src/Processors/PhpVersionProcessor.php | <?php
namespace danielme85\LaravelLogToDB\Processors;
use Monolog\LogRecord;
use Monolog\Processor\ProcessorInterface;
/**
* Class PhpVersionProcessor
* @package danielme85\LaravelLogToDB\Processors
*/
class PhpVersionProcessor implements ProcessorInterface
{
/**
* @return \Monolog\LogRecord The processe... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/migrations/2018_08_11_003343_create_log_table.php | src/migrations/2018_08_11_003343_create_log_table.php | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateLogTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if (Schema::connection(config('logt... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Facades/LogToDB.php | src/Facades/LogToDB.php | <?php
namespace danielme85\LaravelLogToDB\Facades;
use Illuminate\Support\Facades\Facade;
class LogToDB extends Facade
{
/**
* @return string
*/
protected static function getFacadeAccessor()
{
return 'laravel-log-to-db';
}
} | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Models/DBLog.php | src/Models/DBLog.php | <?php
namespace danielme85\LaravelLogToDB\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class DbLog
*
* @package danielme85\LaravelLogToDB
*/
class DBLog extends Model
{
use LogToDbCreateObject;
use BindsDynamically;
} | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Models/LogToDbCreateObject.php | src/Models/LogToDbCreateObject.php | <?php
namespace danielme85\LaravelLogToDB\Models;
use Monolog\LogRecord;
/**
* Trait LogToDbCreateObject
*
* @package danielme85\LaravelLogToDB
*/
trait LogToDbCreateObject
{
/**
* Create a new log object
*
* @param \Monolog\LogRecord $record
*
* @return mixed
*/
public func... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Models/BindsDynamically.php | src/Models/BindsDynamically.php | <?php
/**
* Created by Daniel Mellum <mellum@gmail.com>
* Date: 3/5/2019
* Time: 10:42 PM
*
* Source: https://stackoverflow.com/a/45914381
*/
namespace danielme85\LaravelLogToDB\Models;
trait BindsDynamically
{
protected $connection = null;
protected $table = null;
public function bind(string $conn... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Models/DBLogException.php | src/Models/DBLogException.php | <?php
namespace danielme85\LaravelLogToDB\Models;
/**
* Class DBLogException
* @package danielme85\LaravelLogToDB\Models
*/
class DBLogException extends \Exception
{
} | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Models/DBLogMongoDB.php | src/Models/DBLogMongoDB.php | <?php
namespace danielme85\LaravelLogToDB\Models;
use MongoDB\Laravel\Eloquent\Model as Eloquent;
/**
* Class DbLog
*
* @package danielme85\LaravelLogToDB
*/
class DBLogMongoDB extends Eloquent
{
use LogToDbCreateObject;
use BindsDynamically;
} | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/Commands/LogCleanerUpper.php | src/Commands/LogCleanerUpper.php | <?php
/**
* Created by PhpStorm.
* User: dmellum
* Date: 2/2/20
* Time: 10:38 PM
*/
namespace danielme85\LaravelLogToDB\Commands;
use Carbon\Carbon;
use danielme85\LaravelLogToDB\LogToDbHandler;
use danielme85\LaravelLogToDB\LogToDB;
use Illuminate\Console\Command;
class LogCleanerUpper extends Command
{
/*... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/src/config/logtodb.php | src/config/logtodb.php | <?php
/*
|--------------------------------------------------------------------------
| Default Config for Laravel Log-To-DB
|--------------------------------------------------------------------------
|
| These settings are ONLY USED if they are not specified per channel
| in the config/l... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/tests/LogToDbTest.php | tests/LogToDbTest.php | <?php
use danielme85\LaravelLogToDB\Jobs\SaveNewLogEvent;
use danielme85\LaravelLogToDB\LogToDB;
use danielme85\LaravelLogToDB\LogToDbHandler;
use danielme85\LaravelLogToDB\Models\DBLogException;
use danielme85\LaravelLogToDB\Processors\PhpVersionProcessor;
use Dotenv\Dotenv;
use Illuminate\Support\Facades\Log;
use Il... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/tests/FailureTest.php | tests/FailureTest.php | <?php
/**
* Created by Daniel Mellum <mellum@gmail.com>
* Date: 9/28/2021
* Time: 4:29 AM
*/
use Illuminate\Support\Facades\Log;
class FailureTest extends Orchestra\Testbench\TestCase
{
protected function getEnvironmentSetUp($app)
{
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__.'/../', '.env.t... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/tests/TestModels/CustomEloquentModel.php | tests/TestModels/CustomEloquentModel.php | <?php
namespace TestModels;
use danielme85\LaravelLogToDB\Models\LogToDbCreateObject;
use Illuminate\Database\Eloquent\Model;
/**
* Class CustomEloquentModel
*
* @package danielme85\LaravelLogToDB
*/
class CustomEloquentModel extends Model
{
use LogToDbCreateObject;
protected $connection = 'mysql';
... | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/tests/TestModels/LogMongo.php | tests/TestModels/LogMongo.php | <?php
/**
* Created by PhpStorm.
* User: dmellum
* Date: 4/11/19
* Time: 2:35 PM
*/
namespace TestModels;
use MongoDB\Laravel\Eloquent\Model as Eloquent;
class LogMongo extends Eloquent
{
protected $collection = 'log';
protected $connection = 'mongodb';
} | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
danielme85/laravel-log-to-db | https://github.com/danielme85/laravel-log-to-db/blob/5ccfde1c3a418290bb60a3573f525d080a08ef6d/tests/TestModels/LogSql.php | tests/TestModels/LogSql.php | <?php
/**
* Created by PhpStorm.
* User: dmellum
* Date: 4/11/19
* Time: 2:35 PM
*/
namespace TestModels;
use Illuminate\Database\Eloquent\Model;
class LogSql extends Model
{
protected $table = 'log';
} | php | MIT | 5ccfde1c3a418290bb60a3573f525d080a08ef6d | 2026-01-05T04:56:28.405515Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/src/registration.php | src/registration.php | <?php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Voronoy_BashCompletion',
__DIR__
);
| php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/src/Model/CommandCollection.php | src/Model/CommandCollection.php | <?php
namespace Voronoy\BashCompletion\Model;
use Symfony\Component\Console\Command\Command;
class CommandCollection implements \Countable
{
private $commands = [];
public function add(Command $command)
{
$this->commands[$command->getName()] = $command;
}
public function getItems()
... | php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/src/Model/BashCompletion.php | src/Model/BashCompletion.php | <?php
namespace Voronoy\BashCompletion\Model;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\Filesystem;
use Voronoy\BashCompletion\Model\BashCompletion\Generator;
class BashCompletion
{
private $name = 'magento2-bash-completion';
private $filesystem;
private $generator;
... | php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/src/Model/BashCompletion/Generator.php | src/Model/BashCompletion/Generator.php | <?php
namespace Voronoy\BashCompletion\Model\BashCompletion;
use Symfony\Component\Console\Command\Command;
use Voronoy\BashCompletion\Model\CommandCollection;
class Generator
{
private $commandCollection;
public function __construct(CommandCollection $commandCollection)
{
$this->commandColl... | php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/src/Console/Command/BashCompletionCommand.php | src/Console/Command/BashCompletionCommand.php | <?php
namespace Voronoy\BashCompletion\Console\Command;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\Filesystem;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Descriptor\ApplicationDescription;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Con... | php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/spec/Model/BashCompletionSpec.php | spec/Model/BashCompletionSpec.php | <?php
namespace spec\Voronoy\BashCompletion\Model;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\Filesystem;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Symfony\Component\Console\Command\Command;
use Voronoy\BashCompletion\Model\BashCompletion;
use Voronoy\BashCompletion\Model\B... | php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/spec/Model/CommandCollectionSpec.php | spec/Model/CommandCollectionSpec.php | <?php
namespace spec\Voronoy\BashCompletion\Model;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Symfony\Component\Console\Command\Command;
use Voronoy\BashCompletion\Model\CommandCollection;
class CommandCollectionSpec extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldH... | php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
yvoronoy/magento2-bash-completion | https://github.com/yvoronoy/magento2-bash-completion/blob/5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a/spec/Model/BashCompletion/GeneratorSpec.php | spec/Model/BashCompletion/GeneratorSpec.php | <?php
namespace spec\Voronoy\BashCompletion\Model\BashCompletion;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputOption;
use Voronoy\BashCompletion\Model\CommandCollection;
... | php | MIT | 5ad70d90d1a4bc37b1582cd5e7d142bb3cff990a | 2026-01-05T04:56:33.762687Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions.php | functions.php | <?php
/*
* This file is the main entry point for WordPress functions.
* The top set of files generally require edits.
*/
// Builds Vue router
include_once get_template_directory() . '/functions/router.php';
// Sets up custom Gutenberg blocks
include_once get_template_directory() . '/functions/blocks... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/index.php | index.php | <!--
███████╗██╗ ██╗███╗ ██╗██╗ ██╗██╗ ██╗ █████╗ ██╗ ██╗███████╗
██╔════╝██║ ██║████╗ ██║██║ ██╔╝██║ ██║██╔══██╗██║ ██║██╔════╝
█████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║███████║██║ ██║███████╗
██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██╔══██║██║ ██║╚════██║
██║ ╚██████╔╝██║ ╚████║██║ ██... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/acf/acf-imports.php | acf/acf-imports.php | <?php
// Locations
// Adds Page Gandparent to rule locations
include_once get_template_directory() . '/acf/locations/page-grandparent.php';
| php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/acf/locations/page-grandparent.php | acf/locations/page-grandparent.php | <?php
// ACF Custom Rules
// Add custom page grandparent location to ACF
function acf_location_rules_page_grandparent($choices) {
$choices['Page']['page_grandparent'] = 'Page Grandparent';
return $choices;
}
add_filter('acf/location/rule_values/page_grandparent', 'acf_location_rules_values_page_grandparent');
fu... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/parts/og-tags.php | parts/og-tags.php | <?php
the_post();
/*
* Build the image URL
*/
$use_png = file_exists(dirname(__FILE__) . '/../screenshot.png');
$extension = $use_png ? 'png' : 'jpg';
$shared_image = get_template_directory_uri() . "/screenshot." . $extension;
if( is_single() || is_page() ) {
... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/parts/ga-tracking.php | parts/ga-tracking.php | <?php
// Get options out of General Setting panel
$tracking_names = array('ga_tracking_code_1', 'ga_tracking_code_2');
$tracking_ids = array();
foreach($tracking_names as $name) {
$option = get_option($name);
if( !empty($option) ) {
$tracking_ids[] = $option;
}
}
... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/parts/schema.php | parts/schema.php | <?php
// abort if no post to work off of
if ( ! $post = get_post() ) return;
the_post();
// schema defaults
$use_png = file_exists(dirname(__FILE__) . '/../screenshot.png');
$extension = $use_png ? 'png' : 'jpg';
$schema = array(
'@context' => 'http://schema.org',
'@ty... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/parts/font-loader.php | parts/font-loader.php | <script>
WebFontConfig = {
// google: {
// families: []
// },
// typekit: {
// id: ''
// },
// custom: {
// families: [],
// urls: ['<?php echo get_template_directory_uri(); ?>/static/fonts/fo... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/images.php | functions/images.php | <?php
/*
* Setup image sizes that WordPress should generate on the server.
*/
function custom_image_sizes(){
// Enable post thumbnail support
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 960, 540, true ); // Normal post thumbnails
//add_image_size( 'banner-thumb', 566, 250, true ); // Sma... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/developer-role.php | functions/developer-role.php | <?php
// Add Developer role
function custom_theme_switch(){
global $wp_roles;
if ( ! isset( $wp_roles ) ){
$wp_roles = new WP_Roles();
}
$admin_role = $wp_roles->get_role('administrator');
add_role(
'developer',
__('Developer'),
... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/vh-functions.php | functions/vh-functions.php | <?php
/*
* This file handles the required plugins of the vuehaus theme
*/
include_once get_template_directory() . '/functions/class-tgm-plugin-activation.php';
function vuehaus_register_required_plugins() {
// Change these values to install new versions of FH plugins
$latest_rest_easy = '1.4... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/custom-vuehaus-templates.php | functions/custom-vuehaus-templates.php | <?php
function get_custom_vuehaus_templates(){
// Add vuehaus template names to this array.
// The user will be able to select any of these templates for any page on the site, overriding the default template.
// If a name is in this array, it should exist as a Vue template in src/views as ... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/class-tgm-plugin-activation.php | functions/class-tgm-plugin-activation.php | <?php
/**
* Plugin installation and activation for WordPress themes.
*
* Please note that this is a drop-in library for a theme or plugin.
* The authors of this library (Thomas, Gary and Juliette) are NOT responsible
* for the support of your plugin or theme. Please contact the plugin
* or theme author for suppor... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | true |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/meta-boxes.php | functions/meta-boxes.php | <?php
/*
* Add custom metaboxes to the new/edit dashboard page
*/
function custom_add_metaboxes($post_type, $post){
add_meta_box('custom_media_meta', 'Media Meta', 'custom_media_meta', 'page', 'normal', 'low');
//add_meta_box('custom_second_featured_image', 'Second Featured Image', 'custom_second_featured_ima... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/shortcodes.php | functions/shortcodes.php | <?php
/*
* Translate shortcode to Vue components.
* Use a new copy of this function for each shortcode supported in wp-content.
* See the Readme.md file in this directory for more examples.
*
* @see https://codex.wordpress.org/Function_Reference/add_shortcode
*/
function custom_shortcode_function( $atts, $conten... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/rest-easy-filters.php | functions/rest-easy-filters.php | <?php
/*
* Custom Rest-Easy filters go in this file
* You can see the documentation here: https://github.com/funkhaus/Rest-Easy
* Common examples of filters to add in this file can be found here: https://github.com/funkhaus/vuehaus/tree/master/functions
*/
/**
* Add dev_id to nav items as they are serialized
... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/wp-functions.php | functions/wp-functions.php | <?php
/*
* Setup WordPress
*/
function custom_wordpress_setup() {
// Enable tags for Pages (@see: https://wordpress.org/support/topic/enable-tags-screen-for-pages#post-29500520
//register_taxonomy_for_object_type('post_tag', 'page');
// Enable excerpts for pages
add_post_type_sup... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/blocks.php | functions/blocks.php | <?php
/*
* This file handles the custom Gutenberg blocks for this theme
*/
function register_vuehaus_blocks(){
// Ignore if Gutenberg isn't installed
if( !function_exists('register_block_type') ) return;
// Prep custom blocks
wp_register_script(
'vuehaus-block-registrati... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
funkhaus/vuehaus | https://github.com/funkhaus/vuehaus/blob/79638013d2a1395b07512a545cd7a22f7d62112c/functions/router.php | functions/router.php | <?php
/*
* Add vue.js router to rest-easy data
*/
function add_routes_to_json($jsonData){
// Get the name of the category base. Default to "categories"
$category_base = get_option('category_base');
if( empty($category_base) ){
$category_base = 'category';
}
// build out router table ... | php | MIT | 79638013d2a1395b07512a545cd7a22f7d62112c | 2026-01-05T04:56:39.601097Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/server.php | server.php | <?php
$uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$uri = urldecode($uri);
$paths = require __DIR__.'/bootstrap/paths.php';
$requested = $paths['public'].$uri;
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to t... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/routes.php | app/routes.php | <?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/filters.php | app/filters.php | <?php
/*
|--------------------------------------------------------------------------
| Application & Route Filters
|--------------------------------------------------------------------------
|
| Below you will find the "before" and "after" events for the application
| which may be used to do any work before or after a... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/lang/en/reminders.php | app/lang/en/reminders.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the pa... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/lang/en/pagination.php | app/lang/en/pagination.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. ... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/lang/en/validation.php | app/lang/en/validation.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of t... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/tests/TestCase.php | app/tests/TestCase.php | <?php
class TestCase extends Illuminate\Foundation\Testing\TestCase {
/**
* Creates the application.
*
* @return Symfony\Component\HttpKernel\HttpKernelInterface
*/
public function createApplication()
{
$unitTesting = true;
$testEnvironment = 'testing';
return require __DIR__.'/../../bootstrap/star... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/tests/ExampleTest.php | app/tests/ExampleTest.php | <?php
class ExampleTest extends TestCase {
/**
* A basic functional test example.
*
* @return void
*/
public function testBasicExample()
{
$crawler = $this->client->request('GET', '/');
$this->assertTrue($this->client->getResponse()->isOk());
}
} | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/controllers/HomeController.php | app/controllers/HomeController.php | <?php
class HomeController extends BaseController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| b... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/controllers/BaseController.php | app/controllers/BaseController.php | <?php
class BaseController extends Controller {
/**
* Setup the layout used by the controller.
*
* @return void
*/
protected function setupLayout()
{
if ( ! is_null($this->layout))
{
$this->layout = View::make($this->layout);
}
}
} | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/models/Profile.php | app/models/Profile.php | <?php
class Profile extends Eloquent {
public function user()
{
return $this->belongsTo('User');
}
} | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/models/User.php | app/models/User.php | <?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes excluded from the model... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/views/user.blade.php | app/views/user.blade.php | @extends('layouts/layout')
@section('content')
@if(Session::has('message'))
<div class="alert alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{{ Session::get('message')}}
</div>
@endif
@if (!empty($data))
<div class="media">
<... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/views/emails/auth/reminder.blade.php | app/views/emails/auth/reminder.blade.php | <!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
</head>
<body>
<h2>Password Reset</h2>
<div>
To reset your password, complete this form: {{ URL::to('password/reset', array($token)) }}.
</div>
</body>
</html> | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/views/layouts/layout.blade.php | app/views/layouts/layout.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Facebook integration for Laravel">
<meta name="author" content="Maks Surguy @... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/start/local.php | app/start/local.php | <?php
// | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/start/artisan.php | app/start/artisan.php | <?php
/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register ... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/start/global.php | app/start/global.php | <?php
/*
|--------------------------------------------------------------------------
| Register The Laravel Class Loader
|--------------------------------------------------------------------------
|
| In addition to using Composer, you may use the Laravel class loader to
| load your controllers and models. This is use... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/config/workbench.php | app/config/workbench.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Workbench Author Name
|--------------------------------------------------------------------------
|
| When you create new packages via the Artisan "workbench" command your
| name is needed to generate the compo... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/config/app.php | app/config/app.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every ... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/config/session.php | app/config/session.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use ... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/config/queue.php | app/config/queue.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Default Queue Driver
|--------------------------------------------------------------------------
|
| The Laravel queue API supports a variety of back-ends via an unified
| API, giving you convenient access to e... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
msurguy/laravel-facebook-login | https://github.com/msurguy/laravel-facebook-login/blob/69a8a7707caa879000d64fc24e1ae20a36e96e64/app/config/cache.php | app/config/cache.php | <?php
return array(
/*
|--------------------------------------------------------------------------
| Default Cache Driver
|--------------------------------------------------------------------------
|
| This option controls the default cache "driver" that will be used when
| using the Caching library. Of course... | php | MIT | 69a8a7707caa879000d64fc24e1ae20a36e96e64 | 2026-01-05T04:56:51.782788Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.