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 |
|---|---|---|---|---|---|---|---|---|
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Model/User.php | tests/Model/User.php | <?php
namespace Purekid\Mongodm\Test\Model;
class User extends Base
{
public static $collection = "user";
protected static $attrs = array(
'book_fav' => array('model'=>'Purekid\Mongodm\Test\Model\Book','type'=>'reference'),
'books' => array('model'=>'Purekid\Mongodm\Test\Model\Book','type'=... | php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Model/Pet.php | tests/Model/Pet.php | <?php
namespace Purekid\Mongodm\Test\Model;
class Pet extends Base
{
public static $collection = "pet";
protected static $attrs = array(
'name' => array('type'=>'string' ,'default'=>'Puppy'),
'fieldMappingEmbed' => array('type'=>'string', 'field' => 'field_mapping_embed'),
'fieldMa... | php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Model/Student.php | tests/Model/Student.php | <?php
namespace Purekid\Mongodm\Test\Model;
class Student extends User
{
protected static $attrs = array(
'grade' => array('type'=>'string'),
);
}
| php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Model/DataTypeReference.php | tests/Model/DataTypeReference.php | <?php
namespace Purekid\Mongodm\Test\Model;
class DataTypeReferenece extends Base
{
public static $collection = "DataTypeReferenece";
}
| php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Model/DataType.php | tests/Model/DataType.php | <?php
namespace Purekid\Mongodm\Test\Model;
class DataType extends Base
{
public static $collection = "dataType";
protected static $attrs = array(
\Purekid\Mongodm\Model::DATA_TYPE_ARRAY => array('type'=>\Purekid\Mongodm\Model::DATA_TYPE_ARRAY, 'default'=>array(1,2,3)),
\Purekid\Mongodm\Model:... | php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Model/Book.php | tests/Model/Book.php | <?php
namespace Purekid\Mongodm\Test\Model;
class Book extends Base
{
public static $collection = "book";
protected static $attrs = array(
'fieldMappingRef' => array('type'=>'string', 'field' => 'field_mapping_ref'),
'fieldMappingRefs' => array('type'=>'string', 'field' => 'field_mapping_re... | php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Purekid/Mongodm/Test/FieldMapTest.php | tests/Purekid/Mongodm/Test/FieldMapTest.php | <?php
namespace Purekid\Mongodm\Test;
use Purekid\Mongodm\Collection;
use Purekid\Mongodm\Test\TestCase\PhactoryTestCase;
use Purekid\Mongodm\Test\Model\Pet;
use Purekid\Mongodm\Test\Model\Book;
use Purekid\Mongodm\Test\Model\User;
class FieldMapTest extends PhactoryTestCase
{
public function testSet()
{
... | php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/tests/Purekid/Mongodm/Test/TestCase/PhactoryTestCase.php | tests/Purekid/Mongodm/Test/TestCase/PhactoryTestCase.php | <?php
namespace Purekid\Mongodm\Test\TestCase;
use Phactory\Mongo\Phactory;
use Purekid\Mongodm\ConnectionManager;
/**
* Test Case Base Class for using Phactory *
*/
abstract class PhactoryTestCase extends \PHPUnit_Framework_TestCase
{
protected static $db;
protected static $phactory;
public static function... | php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
purekid/mongodm | https://github.com/purekid/mongodm/blob/108f2e4de5e14eb07c1e2b097a2233b62b33f672/config/database.php | config/database.php | <?php
/** The path of your config file , change to fit for your project.
* If your local config file does not exist,this config file will be used.
* **/
if(defined('MONGODM_CONFIG')){
$local_config_file = MONGODM_CONFIG;
}else{
$local_config_file = __DIR__."/../../../../application/config/mongodm.php";
}
... | php | MIT | 108f2e4de5e14eb07c1e2b097a2233b62b33f672 | 2026-01-05T02:18:16.089067Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans.
*
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenie... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/ElasticSearch/Indexer.php | app/Support/ElasticSearch/Indexer.php | <?php
namespace Codecasts\Support\ElasticSearch;
use Illuminate\Support\Collection;
/**
* Class Indexer.
*/
class Indexer
{
/**
* @var Collection
*/
protected $items;
/**
* @var string
*/
protected $type;
/**
* Indexer constructor.
*
* @param Collection $ite... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/ElasticSearch/SearchableTrait.php | app/Support/ElasticSearch/SearchableTrait.php | <?php
namespace Codecasts\Support\ElasticSearch;
use Illuminate\Support\Collection;
/**
* Class SearchableTrait.
*/
trait SearchableTrait
{
/**
* Search public method.
*
* @param $term
* @param int $take
*
* @return static
*/
public function search($term, $take = 10)
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/ElasticSearch/Contracts/SearchRepository.php | app/Support/ElasticSearch/Contracts/SearchRepository.php | <?php
namespace Codecasts\Support\ElasticSearch\Contracts;
/**
* Class SearchRepository.
*/
interface SearchRepository
{
public function search($term);
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/ElasticSearch/Providers/ElasticSearchServiceProvider.php | app/Support/ElasticSearch/Providers/ElasticSearchServiceProvider.php | <?php
namespace Codecasts\Support\ElasticSearch\Providers;
use Elasticsearch\ClientBuilder;
use Illuminate\Support\ServiceProvider;
/**
* Class ElasticSearchServiceProvider.
*/
class ElasticSearchServiceProvider extends ServiceProvider
{
public function register()
{
$this->app->singleton('elastic',... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Subscription/SubscriptionServiceProvider.php | app/Support/Subscription/SubscriptionServiceProvider.php | <?php
namespace Codecasts\Support\Subscription;
use Illuminate\Support\ServiceProvider;
/**
* Class SubscriptionServiceProvider.
*/
class SubscriptionServiceProvider extends ServiceProvider
{
public function boot()
{
\Iugu::setApiKey(config('services.iugu.api_token'));
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Subscription/SubscriptionTrait.php | app/Support/Subscription/SubscriptionTrait.php | <?php
namespace Codecasts\Support\Subscription;
/**
* Class SubscriptionTrait.
*/
trait SubscriptionTrait
{
/**
* Valid Subscription plans.
*
* @todo move plans to configuration
*
* @return array List of valid plan identifiers
*/
public function validPlans()
{
retur... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Testing/DatabaseMigrations.php | app/Support/Testing/DatabaseMigrations.php | <?php
namespace Codecasts\Support\Testing;
use Illuminate\Contracts\Console\Kernel;
/**
* Trait DatabaseMigrations.
*/
trait DatabaseMigrations
{
/**
* Define hooks to migrate the database before and after each test.
*
* @return void
*/
public function runDatabaseMigrations()
{
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/ViewPresenter/Presenter.php | app/Support/ViewPresenter/Presenter.php | <?php
namespace Codecasts\Support\ViewPresenter;
use Carbon\Carbon;
use Illuminate\Support\Str;
/**
* Class Presenter.
*/
abstract class Presenter
{
/**
* @var \Illuminate\Database\Eloquent\Model
*/
protected $entity;
/**
* @param $entity
*/
public function __construct($entity)... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/ViewPresenter/PresenterException.php | app/Support/ViewPresenter/PresenterException.php | <?php
namespace Codecasts\Support\ViewPresenter;
/**
* Class PresenterException.
*/
class PresenterException extends \Exception
{
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/ViewPresenter/Presentable.php | app/Support/ViewPresenter/Presentable.php | <?php
namespace Codecasts\Support\ViewPresenter;
/**
* Class Presentable.
*/
trait Presentable
{
/**
* View presenter instance.
*
* @var mixed
*/
protected $presenterInstance;
/**
* Returns a new or existing presenter instance.
*
* @throws PresenterException
*
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Helpers/TimeHelper.php | app/Support/Helpers/TimeHelper.php | <?php
namespace Codecasts\Support\Helpers;
use Carbon\Carbon;
/**
* Class TimeHelper.
*
* Helps calculating time into human readable formats.
*/
class TimeHelper
{
/**
* @var int Time in seconds
*/
protected $seconds;
/**
* TimeHelper constructor.
*
* @param int $seconds
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Helpers/Blade/ExtensionsServiceProvider.php | app/Support/Helpers/Blade/ExtensionsServiceProvider.php | <?php
namespace Codecasts\Support\Helpers\Blade;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
/**
* Class ExtensionsServiceProvider.
*/
class ExtensionsServiceProvider extends ServiceProvider
{
public function boot()
{
$this->registerErrorBlockExtension();
}
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Http/Controller.php | app/Support/Http/Controller.php | <?php
namespace Codecasts\Support\Http;
use Codecasts\Domains\Users\User;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Support\Facades\... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Http/Request.php | app/Support/Http/Request.php | <?php
namespace Codecasts\Support\Http;
use Illuminate\Foundation\Http\FormRequest;
/**
* Class Request.
*/
class Request extends FormRequest
{
public function authorize()
{
return true;
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Http/Routing/RouteFile.php | app/Support/Http/Routing/RouteFile.php | <?php
namespace Codecasts\Support\Http\Routing;
use Illuminate\Routing\Router;
/**
* Class RouteFile.
*/
abstract class RouteFile
{
/**
* @var Router
*/
protected $router;
/**
* @var array
*/
protected $options;
public function __construct(array $options)
{
$th... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Localization/LocalizationServiceProvider.php | app/Support/Localization/LocalizationServiceProvider.php | <?php
namespace Codecasts\Support\Localization;
use Carbon\Carbon;
use Illuminate\Support\ServiceProvider;
/**
* Class LocalizationServiceProvider.
*/
class LocalizationServiceProvider extends ServiceProvider
{
public function boot()
{
Carbon::setLocale(app()->getLocale());
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Domain/Migration.php | app/Support/Domain/Migration.php | <?php
namespace Codecasts\Support\Domain;
use Illuminate\Database\Migrations\Migration as LaravelMigration;
/**
* Class Migration.
*
* Base Migration for usage inside domains.
*/
abstract class Migration extends LaravelMigration
{
/**
* @var \Illuminate\Database\Schema\Builder
*/
protected $sch... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Domain/ModelFactory.php | app/Support/Domain/ModelFactory.php | <?php
namespace Codecasts\Support\Domain;
use Faker\Generator;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;
use Illuminate\Database\Eloquent\Model;
/**
* Class ModelFactory.
*
* Base Factory for usage inside domains.
*/
abstract class ModelFactory
{
/**
* @var Factory
*/
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Domain/ServiceProvider.php | app/Support/Domain/ServiceProvider.php | <?php
namespace Codecasts\Support\Domain;
use Illuminate\Support\Collection;
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
use Migrator\MigratorTrait as HasMigrations;
use ReflectionClass;
/**
* Abstract ServiceProvider for Domains.
*/
abstract class ServiceProvider extends LaravelServiceProvid... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Units/ServiceProvider.php | app/Support/Units/ServiceProvider.php | <?php
namespace Codecasts\Support\Units;
use Illuminate\Support\Collection;
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
/**
* Class UnitServiceProvider.
*/
class ServiceProvider extends LaravelServiceProvider
{
/**
* @var array List of Unit Service Providers to Register
*/
p... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Notifications/Slack.php | app/Support/Notifications/Slack.php | <?php
namespace Codecasts\Support\Notifications;
/**
* Class Slack.
*/
class Slack
{
/**
* @var \Maknz\Slack\Facades\Slack
*/
protected $slack;
/**
* Slack constructor.
*/
public function __construct()
{
$this->slack = app('maknz.slack');
}
/**
* Sends ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Console/Routing/RouteFile.php | app/Support/Console/Routing/RouteFile.php | <?php
namespace Codecasts\Support\Console\Routing;
use Illuminate\Contracts\Console\Kernel;
/**
* Class RouteFile.
*/
abstract class RouteFile
{
/**
* @var Kernel
*/
protected $artisan;
/**
* @var Kernel
*/
protected $router;
/**
* RouteFile constructor.
*/
p... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Comments/Disqus.php | app/Support/Comments/Disqus.php | <?php
namespace Codecasts\Support\Comments;
/**
* Class Disqus.
*/
class Disqus
{
/**
* @param int $id Disqus id
* @param string $title Disqus page title
*
* @return \Illuminate\View\View
*/
public static function display($id, $title)
{
return view('core::disqus', ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Statistics/Sources/Users.php | app/Support/Statistics/Sources/Users.php | <?php
namespace Codecasts\Support\Statistics\Sources;
use Codecasts\Domains\Users\Repositories\UserRepository;
class Users extends Source
{
protected $key = 'users_count';
protected $timeToLive = 5;
public function get()
{
return $this->response(function () {
return $this->getUs... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Statistics/Sources/Laravel.php | app/Support/Statistics/Sources/Laravel.php | <?php
namespace Codecasts\Support\Statistics\Sources;
class Laravel extends Source
{
protected $key = 'laravel_version';
public function get()
{
return $this->response(function () {
return app()->version();
});
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Statistics/Sources/Source.php | app/Support/Statistics/Sources/Source.php | <?php
namespace Codecasts\Support\Statistics\Sources;
class Source
{
protected $key;
protected $timeToLive = 120;
protected function response($callback)
{
return app('cache')->remember($this->key, $this->timeToLive, $callback);
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Statistics/Sources/Codecasts.php | app/Support/Statistics/Sources/Codecasts.php | <?php
namespace Codecasts\Support\Statistics\Sources;
class Codecasts extends Source
{
protected $key = 'codecasts_version';
public function get()
{
return $this->response(function () {
if ($this->versionFileExists()) {
return $this->getVersionFromFile();
}... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Statistics/Sources/Lessons.php | app/Support/Statistics/Sources/Lessons.php | <?php
namespace Codecasts\Support\Statistics\Sources;
use Codecasts\Domains\Lessons\Repositories\LessonRepository;
use Codecasts\Domains\Lessons\Repositories\TrackRepository;
use Codecasts\Support\Helpers\TimeHelper;
class Lessons extends Source
{
protected $key = 'lessons_stats';
public function get()
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Statistics/Sources/PHP.php | app/Support/Statistics/Sources/PHP.php | <?php
namespace Codecasts\Support\Statistics\Sources;
class PHP extends Source
{
protected $key = 'php_version';
public function get()
{
return $this->response(function () {
return $this->parsePHPVersion();
});
}
protected function parsePHPVersion()
{
if (... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Media/BaseMediaManager.php | app/Support/Media/BaseMediaManager.php | <?php
namespace Codecasts\Support\Media;
use Codecasts\Support\Media\Exceptions\UrlNotFound;
abstract class BaseMediaManager
{
/**
* @var string Media Key
*/
protected $media;
/**
* @var string Storage Bucket / Folder
*/
protected $bucket;
/**
* @var string Time to live... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Media/S3MediaManager.php | app/Support/Media/S3MediaManager.php | <?php
namespace Codecasts\Support\Media;
use Aws\S3\S3Client;
use Codecasts\Support\Media\Exceptions\UrlNotFound;
/**
* Class S3MediaManager.
*/
class S3MediaManager extends BaseMediaManager
{
/**
* Streaming URL.
*
* @return string
*/
public function getStreamingUrl()
{
ret... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Support/Media/Exceptions/UrlNotFound.php | app/Support/Media/Exceptions/UrlNotFound.php | <?php
namespace Codecasts\Support\Media\Exceptions;
class UrlNotFound extends \Exception
{
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/HttpKernel.php | app/Units/HttpKernel.php | <?php
namespace Codecasts\Units;
use Illuminate\Foundation\Http\Kernel;
class HttpKernel extends Kernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/ConsoleKernel.php | app/Units/ConsoleKernel.php | <?php
namespace Codecasts\Units;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel;
class ConsoleKernel extends Kernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
];
/**
* Define the... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/ExceptionHandler.php | app/Units/ExceptionHandler.php | <?php
namespace Codecasts\Units;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundation\Exceptions\Handler;
class ExceptionHandler extends Handler
{
/**
* A list of the exception types that should not be reported.
*
* @var array
*/
protected $dontReport = [
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Http/Controllers/PagesController.php | app/Units/Pages/Http/Controllers/PagesController.php | <?php
namespace Codecasts\Units\Pages\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Support\Http\Controller;
use Codecasts\Support\Statistics\Sources\Codecasts;
use Codecasts\Support\Statistics\Sources\Laravel;
use Codecasts\Support\Statistics\Sources\Lessons;
use Codecasts\Support\Statistics... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Resources/Views/policy.blade.php | app/Units/Pages/Resources/Views/policy.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<h3><i class="icon-doc"></i> Política de Uso e Privacidade</h3>
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Resources/Views/statistics.blade.php | app/Units/Pages/Resources/Views/statistics.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<h3><i class="icon-speedometer"></i> Estatísticas</h3>
</... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Resources/Views/support.blade.php | app/Units/Pages/Resources/Views/support.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<h3><i class="icon-support"></i> Suporte</h3>
</div>
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Providers/UnitServiceProvider.php | app/Units/Pages/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Pages\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'pages';
protected $hasViews = true;
protected $hasTranslations = true;
protected $providers = [
RouteServiceProvider::class,... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Providers/RouteServiceProvider.php | app/Units/Pages/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Pages\Providers;
use Codecasts\Units\Pages\Routes\Api;
use Codecasts\Units\Pages\Routes\Console;
use Codecasts\Units\Pages\Routes\Web;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Routes/Api.php | app/Units/Pages/Routes/Api.php | <?php
namespace Codecasts\Units\Pages\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Api Routes.
*
* Here is where you can register API routes for your application. These
* routes are loaded by the RouteServiceProvider within a group which
* is assigned the "api" middleware group. Enjoy building yo... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Routes/Console.php | app/Units/Pages/Routes/Console.php | <?php
namespace Codecasts\Units\Pages\Routes;
use Codecasts\Support\Console\Routing\RouteFile;
/**
* Console Routes.
*
* This file is where you may define all of your Closure based console
* commands. Each Closure is bound to a command instance allowing a
* simple approach to interacting with each command's IO ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Pages/Routes/Web.php | app/Units/Pages/Routes/Web.php | <?php
namespace Codecasts\Units\Pages\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Web Routes.
*
* This file is where you may define all of the routes that are handled
* by your application. Just tell Laravel the URIs it should respond
* to using a Closure or controller method. Build something gr... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Webhooks/Http/Controllers/IuguController.php | app/Units/Webhooks/Http/Controllers/IuguController.php | <?php
namespace Codecasts\Units\Webhooks\Http\Controllers;
use Codecasts\Domains\Users\Events\Subscriptions;
use Codecasts\Support\Http\Controller;
use Illuminate\Http\Request;
/**
* Class IuguController.
*/
class IuguController extends Controller
{
protected $events = [
'invoice.created' ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Webhooks/Providers/UnitServiceProvider.php | app/Units/Webhooks/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Webhooks\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'webhooks';
protected $hasViews = false;
protected $hasTranslations = false;
protected $providers = [
RouteServiceProvider... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Webhooks/Providers/RouteServiceProvider.php | app/Units/Webhooks/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Webhooks\Providers;
use Codecasts\Units\Webhooks\Routes\Api;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In a... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Webhooks/Routes/Api.php | app/Units/Webhooks/Routes/Api.php | <?php
namespace Codecasts\Units\Webhooks\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Api Routes.
*
* Here is where you can register API routes for your application. These
* routes are loaded by the RouteServiceProvider within a group which
* is assigned the "api" middleware group. Enjoy building... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Http/Controllers/AuthController.php | app/Units/Auth/Http/Controllers/AuthController.php | <?php
namespace Codecasts\Units\Auth\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Users\Parsers\ParserResolver;
use Codecasts\Domains\Users\User;
use Codecasts\Support\Http\Controller;
use Illuminate\Contracts\Auth\Guard;
use SocialNorm\Exceptions\ApplicationRejectedException;
/**
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Resources/Views/login.blade.php | app/Units/Auth/Resources/Views/login.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid" id="login-form">
<div class="row">
<div class="col-md-6">
<h3><i class="icon-user"></i> Entrar</h3>
</div>
</div>
<hr>
<div class="row">
<div class="col-m... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Providers/UnitServiceProvider.php | app/Units/Auth/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Auth\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'auth';
protected $hasViews = true;
protected $hasTranslations = true;
protected $providers = [
AuthServiceProvider::class,
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Providers/RouteServiceProvider.php | app/Units/Auth/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Auth\Providers;
use Codecasts\Units\Auth\Routes\Api;
use Codecasts\Units\Auth\Routes\Console;
use Codecasts\Units\Auth\Routes\Web;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider exte... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Providers/AuthServiceProvider.php | app/Units/Auth/Providers/AuthServiceProvider.php | <?php
namespace Codecasts\Units\Auth\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
'Codecast... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Routes/Api.php | app/Units/Auth/Routes/Api.php | <?php
namespace Codecasts\Units\Auth\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Api Routes.
*
* Here is where you can register API routes for your application. These
* routes are loaded by the RouteServiceProvider within a group which
* is assigned the "api" middleware group. Enjoy building you... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Routes/Console.php | app/Units/Auth/Routes/Console.php | <?php
namespace Codecasts\Units\Auth\Routes;
use Codecasts\Support\Console\Routing\RouteFile;
/**
* Console Routes.
*
* This file is where you may define all of your Closure based console
* commands. Each Closure is bound to a command instance allowing a
* simple approach to interacting with each command's IO m... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Auth/Routes/Web.php | app/Units/Auth/Routes/Web.php | <?php
namespace Codecasts\Units\Auth\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Web Routes.
*
* This file is where you may define all of the routes that are handled
* by your application. Just tell Laravel the URIs it should respond
* to using a Closure or controller method. Build something gre... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Http/Requests/Api/SearchRequest.php | app/Units/Lessons/Http/Requests/Api/SearchRequest.php | <?php
namespace Codecasts\Units\Lessons\Http\Requests\Api;
use Codecasts\Support\Http\Request;
/**
* Class SearchRequest.
*/
class SearchRequest extends Request
{
public function rules()
{
return [
'term' => 'required|min:3',
];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Http/Controllers/LessonController.php | app/Units/Lessons/Http/Controllers/LessonController.php | <?php
namespace Codecasts\Units\Lessons\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Lessons\Contracts\LessonRepository;
use Codecasts\Domains\Lessons\Events\LessonDownloaded;
use Codecasts\Domains\Lessons\Events\LessonPlayed;
use Codecasts\Domains\Users\User;
use Codecasts\Support\H... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Http/Controllers/TrackController.php | app/Units/Lessons/Http/Controllers/TrackController.php | <?php
namespace Codecasts\Units\Lessons\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Lessons\Contracts\TrackRepository;
use Codecasts\Support\Http\Controller;
use Illuminate\Contracts\Cache\Repository as Cache;
use Illuminate\Http\Request;
class TrackController extends Controller
{
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Http/Controllers/Api/LessonController.php | app/Units/Lessons/Http/Controllers/Api/LessonController.php | <?php
namespace Codecasts\Units\Lessons\Http\Controllers\Api;
use Codecasts\Domains\Lessons\Contracts\LessonRepository;
use Codecasts\Support\Http\Controller;
use Illuminate\Http\Request;
/**
* Class LessonController.
*/
class LessonController extends Controller
{
public function search(LessonRepository $repos... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/index.blade.php | app/Units/Lessons/Resources/Views/index.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<h3><i class="icon-control-play"></i> Aulas</h3>
</div>
<div class="col-md-8">
<lessons-search base-url="{{ url('') }}" src="{{ route('lesson.search') }}... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/show.blade.php | app/Units/Lessons/Resources/Views/show.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<h3><i class="icon-control-play"></i> {{ $lesson->title }}</h3>
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/track/box.blade.php | app/Units/Lessons/Resources/Views/track/box.blade.php | <a class="lesson-box" href="{{ route('track.show', $track->slug ) }}">
<header>
<h2 class="track-title"><i class="icon-layers"></i> {{ $track->title }} </h2>
<div class="lesson-desc">{{ $track->description }}</div>
</header>
<footer>
<div class="lesson-post-title">
<small... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/track/index.blade.php | app/Units/Lessons/Resources/Views/track/index.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid" id="track-index">
<div class="row">
<div class="col-md-6">
<h3><i class="icon-layers"></i> Séries</h3>
</div>
</div>
<div class="row">
<div class="col-md-12">
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/track/show.blade.php | app/Units/Lessons/Resources/Views/track/show.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8">
<h3><i class="icon-layers"></i> {{ $track->title }}</h3>
</div>
<div class="col-md-4 text-right" style="padding-top: 20px;">
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/track/lesson_box.blade.php | app/Units/Lessons/Resources/Views/track/lesson_box.blade.php | <a class="lesson-box" href="{{ route('lesson.show', $lesson->slug)}}">
<header>
<h2><i class="icon-control-play"></i> {{ $lesson->title }} </h2>
<div class="lesson-pre-title">
<small class="label label-default lesson-level">{{ $lesson->present()->level() }}</small>
@if(!$le... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/lesson/panel.blade.php | app/Units/Lessons/Resources/Views/lesson/panel.blade.php | <div class="panel panel-default">
<div class="panel-heading">
<a href="{{ route('lesson.show', $lesson->slug)}}">
@if(!$lesson->paid)
<small class="label label-success">FREE</small>
@endif
<h2>{{ $lesson->title }}</h2>
</a>
</div>
<div cla... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/lesson/box.blade.php | app/Units/Lessons/Resources/Views/lesson/box.blade.php | <a class="lesson-box" href="{{ route('lesson.show', $lesson->slug)}}">
<header>
<h2><i class="icon-control-play"></i> {{ $lesson->title }} </h2>
<div class="lesson-pre-title">
<small class="label label-default lesson-level">{{ $lesson->present()->level() }}</small>
@if(!$le... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/player/default.blade.php | app/Units/Lessons/Resources/Views/player/default.blade.php | <div class="embed-responsive embed-responsive-16by9">
<video class="afterglow embed-responsive-item"
poster="{{ $lesson->thumb_url }}"
id="myvideo"
width="1280"
height="720"
data-skin="dark"
src="{{ $lesson->play_url }}"
preload="auto"
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/player/inactive.blade.php | app/Units/Lessons/Resources/Views/player/inactive.blade.php | <div class="videocontent embed-responsive embed-responsive-16by9">
<figure>
<img src="{{ asset('/img/app/bg-video.jpg') }}" class="img-responsive"/>
<figcaption class="alert-danger">
Uma assinatura é necessária para ter acesso.
</figcaption>
</figure>
</div> | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Resources/Views/player/guest.blade.php | app/Units/Lessons/Resources/Views/player/guest.blade.php | <div class="videocontent embed-responsive embed-responsive-16by9">
<figure>
<img src="{{ asset('/img/app/bg-video.jpg') }}" class="img-responsive"/>
@if($lesson->paid)
<figcaption class="alert-danger">
Você precisa estar logado.
</figcaption>
@else
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Providers/UnitServiceProvider.php | app/Units/Lessons/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Lessons\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'lessons';
protected $hasViews = true;
protected $hasTranslations = true;
protected $providers = [
RouteServiceProvider::cl... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Providers/RouteServiceProvider.php | app/Units/Lessons/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Lessons\Providers;
use Codecasts\Units\Lessons\Routes\Api;
use Codecasts\Units\Lessons\Routes\Console;
use Codecasts\Units\Lessons\Routes\Web;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Routes/Api.php | app/Units/Lessons/Routes/Api.php | <?php
namespace Codecasts\Units\Lessons\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Api Routes.
*
* Here is where you can register API routes for your application. These
* routes are loaded by the RouteServiceProvider within a group which
* is assigned the "api" middleware group. Enjoy building ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Routes/Console.php | app/Units/Lessons/Routes/Console.php | <?php
namespace Codecasts\Units\Lessons\Routes;
use Codecasts\Domains\Lessons\Contracts\LessonRepository;
use Codecasts\Domains\Lessons\Lesson;
use Codecasts\Support\Console\Routing\RouteFile;
use Codecasts\Support\ElasticSearch\Indexer;
/**
* Console Routes.
*
* This file is where you may define all of your Clos... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Lessons/Routes/Web.php | app/Units/Lessons/Routes/Web.php | <?php
namespace Codecasts\Units\Lessons\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Web Routes.
*
* This file is where you may define all of the routes that are handled
* by your application. Just tell Laravel the URIs it should respond
* to using a Closure or controller method. Build something ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Http/Controllers/PodcastController.php | app/Units/Podcasts/Http/Controllers/PodcastController.php | <?php
namespace Codecasts\Units\Podcasts\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Podcasts\Contracts\PodcastRepository;
use Codecasts\Domains\Podcasts\Events\PodcastDownloaded;
use Codecasts\Domains\Podcasts\Events\PodcastPlayed;
use Codecasts\Support\Http\Controller;
use Illumin... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Resources/Views/index.blade.php | app/Units/Podcasts/Resources/Views/index.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<h3><i class="icon-playlist"></i> Podcasts</h3>
</div>
</div>
<div class="row">
<div class="col-md-12">
<hr>
</div>
</div>
<div... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Resources/Views/show.blade.php | app/Units/Podcasts/Resources/Views/show.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<h3><i class="icon-playlist"></i> {{ $podcast->title }}</h3>
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Resources/Views/podcast/panel.blade.php | app/Units/Podcasts/Resources/Views/podcast/panel.blade.php | <div class="panel panel-default">
<div class="panel-heading">
<a href="{{ route('lesson.show', $lesson->slug)}}">
@if(!$lesson->paid)
<small class="label label-success">FREE</small>
@endif
<h2>{{ $lesson->title }}</h2>
</a>
</div>
<div cla... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Resources/Views/podcast/box.blade.php | app/Units/Podcasts/Resources/Views/podcast/box.blade.php | <a class="lesson-box" href="{{ route('podcast.show', $podcast->slug)}}">
<header>
<h2><i class="icon-control-play"></i> {{ $podcast->title }} </h2>
<div class="lesson-desc">{{ str_limit($podcast->description, 300) }}</div>
</header>
<footer>
<div class="lesson-post-title">
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Resources/Views/player/default.blade.php | app/Units/Podcasts/Resources/Views/player/default.blade.php | <div class="embed-responsive embed-responsive-16by9">
<video class="afterglow embed-responsive-item"
poster="{{ $podcast->thumb_url }}"
id="myvideo"
width="1280"
height="720"
data-skin="dark"
src="{{ $podcast->play_url }}"
preload="auto"
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Resources/Views/player/guest.blade.php | app/Units/Podcasts/Resources/Views/player/guest.blade.php | <div class="videocontent embed-responsive embed-responsive-16by9">
<figure>
<img src="{{ asset('/img/app/bg-video.jpg') }}" class="img-responsive"/>
<figcaption class="alert-danger">
Para ter acesso, faça login.
</figcaption>
</figure>
</div> | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Providers/UnitServiceProvider.php | app/Units/Podcasts/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Podcasts\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'podcasts';
protected $hasViews = true;
protected $hasTranslations = true;
protected $providers = [
RouteServiceProvider::... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Providers/RouteServiceProvider.php | app/Units/Podcasts/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Podcasts\Providers;
use Codecasts\Units\Podcasts\Routes\Api;
use Codecasts\Units\Podcasts\Routes\Console;
use Codecasts\Units\Podcasts\Routes\Web;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Routes/Api.php | app/Units/Podcasts/Routes/Api.php | <?php
namespace Codecasts\Units\Podcasts\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Api Routes.
*
* Here is where you can register API routes for your application. These
* routes are loaded by the RouteServiceProvider within a group which
* is assigned the "api" middleware group. Enjoy building... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Routes/Console.php | app/Units/Podcasts/Routes/Console.php | <?php
namespace Codecasts\Units\Podcasts\Routes;
use Codecasts\Support\Console\Routing\RouteFile;
/**
* Console Routes.
*
* This file is where you may define all of your Closure based console
* commands. Each Closure is bound to a command instance allowing a
* simple approach to interacting with each command's ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Podcasts/Routes/Web.php | app/Units/Podcasts/Routes/Web.php | <?php
namespace Codecasts\Units\Podcasts\Routes;
use Codecasts\Support\Http\Routing\RouteFile;
/**
* Web Routes.
*
* This file is where you may define all of the routes that are handled
* by your application. Just tell Laravel the URIs it should respond
* to using a Closure or controller method. Build something... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Http/Requests/NewSuggestionRequest.php | app/Units/Suggestions/Http/Requests/NewSuggestionRequest.php | <?php
namespace Codecasts\Units\Suggestions\Http\Requests;
use Codecasts\Support\Http\Request;
class NewSuggestionRequest extends Request
{
public function rules()
{
return [
'suggestion' => 'required|min:10',
];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Http/Controllers/SuggestionsController.php | app/Units/Suggestions/Http/Controllers/SuggestionsController.php | <?php
namespace Codecasts\Units\Suggestions\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Suggestions\Contracts\SuggestionRepository;
use Codecasts\Support\Http\Controller;
use Codecasts\Units\Suggestions\Http\Requests\NewSuggestionRequest;
class SuggestionsController extends Control... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.