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 |
|---|---|---|---|---|---|---|---|---|
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Http/Controllers/VotesController.php | app/Units/Suggestions/Http/Controllers/VotesController.php | <?php
namespace Codecasts\Units\Suggestions\Http\Controllers;
use Codecasts\Domains\Suggestions\Contracts\SuggestionRepository;
use Codecasts\Support\Http\Controller;
use Illuminate\Http\Request;
class VotesController extends Controller
{
/**
* @var SuggestionRepository
*/
protected $repository;
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Resources/Views/index.blade.php | app/Units/Suggestions/Resources/Views/index.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid" id="suggestion-index">
<div class="row">
@if($user)
<div class="col-md-6">
<h3><i class="icon-directions"></i> Sugestões</h3>
</div>
<div class="col-md-6 text-right" sty... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Providers/UnitServiceProvider.php | app/Units/Suggestions/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Suggestions\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'suggestions';
protected $hasViews = true;
protected $hasTranslations = true;
protected $providers = [
RouteServiceProv... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Providers/RouteServiceProvider.php | app/Units/Suggestions/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Suggestions\Providers;
use Codecasts\Units\Suggestions\Routes\Api;
use Codecasts\Units\Suggestions\Routes\Console;
use Codecasts\Units\Suggestions\Routes\Web;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends Servic... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Routes/Api.php | app/Units/Suggestions/Routes/Api.php | <?php
namespace Codecasts\Units\Suggestions\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 build... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Routes/Console.php | app/Units/Suggestions/Routes/Console.php | <?php
namespace Codecasts\Units\Suggestions\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... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Suggestions/Routes/Web.php | app/Units/Suggestions/Routes/Web.php | <?php
namespace Codecasts\Units\Suggestions\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 someth... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Requests/Lesson/NewLessonRequest.php | app/Units/Panel/Http/Requests/Lesson/NewLessonRequest.php | <?php
namespace Codecasts\Units\Panel\Http\Requests\Lesson;
use Codecasts\Support\Http\Request;
class NewLessonRequest extends Request
{
public function rules()
{
return [
'title' => 'required',
];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Requests/Lesson/NewTrackRequest.php | app/Units/Panel/Http/Requests/Lesson/NewTrackRequest.php | <?php
namespace Codecasts\Units\Panel\Http\Requests\Lesson;
use Codecasts\Support\Http\Request;
class NewTrackRequest extends Request
{
public function rules()
{
return [
'title' => 'required',
'description' => 'required',
'visible' => 'required',
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Requests/Lesson/UpdateLessonRequest.php | app/Units/Panel/Http/Requests/Lesson/UpdateLessonRequest.php | <?php
namespace Codecasts\Units\Panel\Http\Requests\Lesson;
use Codecasts\Support\Http\Request;
class UpdateLessonRequest extends Request
{
public function rules()
{
return [
//
];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Requests/Lesson/UpdateTrackRequest.php | app/Units/Panel/Http/Requests/Lesson/UpdateTrackRequest.php | <?php
namespace Codecasts\Units\Panel\Http\Requests\Lesson;
use Codecasts\Support\Http\Request;
class UpdateTrackRequest extends Request
{
public function rules()
{
return [
//
];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Controllers/UtilsController.php | app/Units/Panel/Http/Controllers/UtilsController.php | <?php
namespace Codecasts\Units\Panel\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Support\Http\Controller;
class UtilsController extends Controller
{
use SEOTools;
public function cacheClear()
{
$this->seo()->setTitle('Limpar Cache');
$basePath = base_path();
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Controllers/DashboardController.php | app/Units/Panel/Http/Controllers/DashboardController.php | <?php
namespace Codecasts\Units\Panel\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/Panel/Http/Controllers/Lesson/LessonController.php | app/Units/Panel/Http/Controllers/Lesson/LessonController.php | <?php
namespace Codecasts\Units\Panel\Http\Controllers\Lesson;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Lessons\Contracts\LessonRepository;
use Codecasts\Domains\Lessons\Contracts\TrackRepository;
use Codecasts\Domains\Users\Contracts\UserRepository;
use Codecasts\Support\Http\Controller;
use Code... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Controllers/Lesson/TrackController.php | app/Units/Panel/Http/Controllers/Lesson/TrackController.php | <?php
namespace Codecasts\Units\Panel\Http\Controllers\Lesson;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Lessons\Contracts\TrackRepository;
use Codecasts\Support\Http\Controller;
use Codecasts\Units\Panel\Http\Requests\Lesson\NewTrackRequest;
use Codecasts\Units\Panel\Http\Requests\Lesson\UpdateTra... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Http/Middleware/Admin.php | app/Units/Panel/Http/Middleware/Admin.php | <?php
namespace Codecasts\Units\Panel\Http\Middleware;
use Closure;
use Codecasts\Domains\Users\User;
class Admin
{
/**
* @param $request
* @param Closure $next
*
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
*/
public function handle($request, Closure $n... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/layout.blade.php | app/Units/Panel/Resources/Views/layout.blade.php | @extends('core::layout')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
@yield('panel-title')
</div>
<div class="col-md-6 text-right" style="padding-top: 15px;">
@yield('panel-actions')
</div>
</div>
<div cl... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/dashboard.blade.php | app/Units/Panel/Resources/Views/dashboard.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-speedometer"></i> Dashboard</h3>
@endsection
@section('panel-actions')
@endsection
@section('panel-content')
<div class="row">
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/cache.blade.php | app/Units/Panel/Resources/Views/cache.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-grid"></i> Limpar Cache</h3>
@endsection
@section('panel-content')
{{ $result }}
@endsection
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/edit.blade.php | app/Units/Panel/Resources/Views/lesson/edit.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-control-play"></i> Editar Aula</h3>
@endsection
@section('panel-content')
<div class="row">
<div class="col-md-6 col-md-offset-3">
{!! app()->form->model($lesson, ['url'=>route('panel.lesson.update', $lesson->id), 'metho... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/index.blade.php | app/Units/Panel/Resources/Views/lesson/index.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-control-play"></i> Aulas</h3>
@endsection
@section('panel-actions')
<a href="{{ route('panel.lesson.create') }}" class="btn btn-sm btn-success"><i class="fa fa-plus"></i> Nova Aula</a>
@endsection
@section('panel-content')
<table class... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/form.blade.php | app/Units/Panel/Resources/Views/lesson/form.blade.php | <div class="form-group @hasErrorClass('title')">
{!! app()->form->label('title', 'Nome') !!}
{!! app()->form->text('title', null, ['class' => 'form-control', 'placeholder' => 'Nome da aula...']) !!}
@errorBlock('title')
</div>
<div class="form-group @hasErrorClass('track_id')">
{!! app()->form->label('... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/create.blade.php | app/Units/Panel/Resources/Views/lesson/create.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-control-play"></i> Nova Aula</h3>
@endsection
@section('panel-content')
<div class="row">
<div class="col-md-6 col-md-offset-3">
{!! app()->form->open(['url'=>route('panel.lesson.store'), 'method'=>'POST']) !!}
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/track/edit.blade.php | app/Units/Panel/Resources/Views/lesson/track/edit.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-layers"></i> Editar Série</h3>
@endsection
@section('panel-content')
<div class="row">
<div class="col-md-6 col-md-offset-3">
{!! app()->form->model($track, ['url'=>route('panel.lesson.track.update', $track->id), 'method... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/track/index.blade.php | app/Units/Panel/Resources/Views/lesson/track/index.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-layers"></i> Séries</h3>
@endsection
@section('panel-actions')
<a href="{{ route('panel.lesson.track.create') }}" class="btn btn-sm btn-success"><i class="fa fa-plus"></i> Nova Série</a>
@endsection
@section('panel-content')
<table clas... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/track/form.blade.php | app/Units/Panel/Resources/Views/lesson/track/form.blade.php | <div class="form-group @hasErrorClass('title')">
{!! app()->form->label('title', 'Nome') !!}
{!! app()->form->text('title', null, ['class' => 'form-control', 'placeholder' => 'Nome da série...']) !!}
@errorBlock('title')
</div>
<div class="form-group @hasErrorClass('slug')">
{!! app()->form->label('slu... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Resources/Views/lesson/track/create.blade.php | app/Units/Panel/Resources/Views/lesson/track/create.blade.php | @extends('panel::layout')
@section('panel-title')
<h3><i class="icon-layers"></i> Nova Série</h3>
@endsection
@section('panel-content')
<div class="row">
<div class="col-md-6 col-md-offset-3">
{!! app()->form->open(['url'=>route('panel.lesson.track.store'), 'method'=>'POST']) !!}
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Panel/Providers/UnitServiceProvider.php | app/Units/Panel/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Panel\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'panel';
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/Panel/Providers/RouteServiceProvider.php | app/Units/Panel/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Panel\Providers;
use Codecasts\Units\Panel\Routes\Api;
use Codecasts\Units\Panel\Routes\Console;
use Codecasts\Units\Panel\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/Panel/Routes/Api.php | app/Units/Panel/Routes/Api.php | <?php
namespace Codecasts\Units\Panel\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/Panel/Routes/Console.php | app/Units/Panel/Routes/Console.php | <?php
namespace Codecasts\Units\Panel\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/Panel/Routes/Web.php | app/Units/Panel/Routes/Web.php | <?php
namespace Codecasts\Units\Panel\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/Core/Http/Middleware/RedirectIfAuthenticated.php | app/Units/Core/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace Codecasts\Units\Core\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Http/Middleware/RedirectIfWrongUrlOrProtocol.php | app/Units/Core/Http/Middleware/RedirectIfWrongUrlOrProtocol.php | <?php
namespace Codecasts\Units\Core\Http\Middleware;
use Closure;
/**
* Class RedirectIfWrongUrlOrProtocol.
*/
class RedirectIfWrongUrlOrProtocol
{
/** @var Request */
protected $request;
public function handle($request, Closure $next)
{
if (!app()->runningInConsole()) {
$this... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Http/Middleware/EncryptCookies.php | app/Units/Core/Http/Middleware/EncryptCookies.php | <?php
namespace Codecasts\Units\Core\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
];
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Http/Middleware/VerifyCsrfToken.php | app/Units/Core/Http/Middleware/VerifyCsrfToken.php | <?php
namespace Codecasts\Units\Core\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
];
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Lang/pt_BR/menu.php | app/Units/Core/Resources/Lang/pt_BR/menu.php | <?php
return [
'lessons' => 'aulas',
'track' => 'séries',
'suggestions' => 'sugestões',
'discuss' => 'discutir',
'subscribe' => 'assinar',
'panel' => 'painel',
'settings' => 'configurações',
'logout' => 'logout',
'login' ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Lang/en/menu.php | app/Units/Core/Resources/Lang/en/menu.php | <?php
return [
// @todo create english version of menu itens
];
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/_analytics.blade.php | app/Units/Core/Resources/Views/_analytics.blade.php | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://ww... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/layout.blade.php | app/Units/Core/Resources/Views/layout.blade.php | <!DOCTYPE html>
<html lang="{{ app()->getLocale() or 'en' }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="CODECASTS">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/_sentry.blade.php | app/Units/Core/Resources/Views/_sentry.blade.php | <script>
Raven.config('{{ config('sentry.public_dsn') }}', { logger: '{{ app('env') }}'}).install();
@if(Auth::check())
Raven.setUserContext({email:'{{ Auth::user()->email }}', id: '{{ Auth::user()->id }}'});
@endif
</script>
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/_crisp.blade.php | app/Units/Core/Resources/Views/_crisp.blade.php | <script type="text/javascript">CRISP_WEBSITE_ID = "3ad0a5c4-3f7c-42bd-b88b-d4e1ff912e7b";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.im/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
<script>
@if(Auth::check())
window.CRISP_READY_TRIGGE... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/disqus.blade.php | app/Units/Core/Resources/Views/disqus.blade.php | <div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'codecastshq';
var disqus_identifier = '{{ $disqus_id }}';
var disqus_title = '{{ $disqus_title }}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; ds... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/_header/_menu.blade.php | app/Units/Core/Resources/Views/_header/_menu.blade.php | <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="{{ (!Request::is('lesson/track*') and Request::is('lesson*')) ? 'active':'' }}">
<a href="{{ route('lesson.index') }}"><i class="icon-control-play"></i> {{ ucfirst(trans('core::menu.l... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/_header/header.blade.php | app/Units/Core/Resources/Views/_header/header.blade.php | <nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="col-md-12">
@include('core::_header._logo')
@include('core::_header._menu')
</div>
</div>
</nav>
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Resources/Views/_header/_logo.blade.php | app/Units/Core/Resources/Views/_header/_logo.blade.php | <div class="navbar-header">
<button type="button button-primary" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span clas... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Providers/BroadcastServiceProvider.php | app/Units/Core/Providers/BroadcastServiceProvider.php | <?php
namespace Codecasts\Units\Core\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot()
{
Broadcast::routes();
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Core/Providers/UnitServiceProvider.php | app/Units/Core/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Core\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'core';
protected $hasViews = true;
protected $hasTranslations = true;
protected $providers = [
BroadcastServiceProvider::clas... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Http/Requests/UpdateUserRequest.php | app/Units/Settings/Http/Requests/UpdateUserRequest.php | <?php
namespace Codecasts\Units\Settings\Http\Requests;
use Codecasts\Support\Http\Request;
class UpdateUserRequest extends Request
{
public function rules()
{
$userId = \Auth::user()->id;
return [
'username' => "required|unique:users,username,{$userId}",
'name' =... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Http/Requests/UpdateSubscriptionRequest.php | app/Units/Settings/Http/Requests/UpdateSubscriptionRequest.php | <?php
namespace Codecasts\Units\Settings\Http\Requests;
use Codecasts\Support\Http\Request;
class UpdateSubscriptionRequest extends Request
{
public function rules()
{
return [
'action' => 'required|in:plan,activate,suspend',
];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Http/Requests/CreateSubscriptionRequest.php | app/Units/Settings/Http/Requests/CreateSubscriptionRequest.php | <?php
namespace Codecasts\Units\Settings\Http\Requests;
use Codecasts\Support\Http\Request;
class CreateSubscriptionRequest extends Request
{
public function rules()
{
return [
'plan' => 'required|in:P1M,P6M,P1Y',
];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Http/Controllers/SubscriptionController.php | app/Units/Settings/Http/Controllers/SubscriptionController.php | <?php
namespace Codecasts\Units\Settings\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Support\Http\Controller;
use Codecasts\Units\Settings\Http\Requests\CreateSubscriptionRequest;
use Codecasts\Units\Settings\Http\Requests\UpdateSubscriptionRequest;
class SubscriptionController extends Con... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Http/Controllers/SettingsController.php | app/Units/Settings/Http/Controllers/SettingsController.php | <?php
namespace Codecasts\Units\Settings\Http\Controllers;
use Artesaos\SEOTools\Traits\SEOTools;
use Codecasts\Domains\Users\Contracts\UserRepository;
use Codecasts\Support\Http\Controller;
use Codecasts\Units\Settings\Http\Requests\UpdateUserRequest;
class SettingsController extends Controller
{
use SEOTools;
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Resources/Views/profile.blade.php | app/Units/Settings/Resources/Views/profile.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-user"></i> Meu Perfil</h3>
</div>
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Resources/Views/subscription/edit.blade.php | app/Units/Settings/Resources/Views/subscription/edit.blade.php | @extends('core::layout')
@section('title')
Assinatura
@endsection
@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-credit-card"... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Resources/Views/subscription/create.blade.php | app/Units/Settings/Resources/Views/subscription/create.blade.php | @extends('core::layout')
@section('title')
Assinatura
@endsection
@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-credit-card"... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Units/Settings/Providers/UnitServiceProvider.php | app/Units/Settings/Providers/UnitServiceProvider.php | <?php
namespace Codecasts\Units\Settings\Providers;
use Codecasts\Support\Units\ServiceProvider;
class UnitServiceProvider extends ServiceProvider
{
protected $alias = 'settings';
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/Settings/Providers/RouteServiceProvider.php | app/Units/Settings/Providers/RouteServiceProvider.php | <?php
namespace Codecasts\Units\Settings\Providers;
use Codecasts\Units\Settings\Routes\Api;
use Codecasts\Units\Settings\Routes\Console;
use Codecasts\Units\Settings\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/Settings/Routes/Api.php | app/Units/Settings/Routes/Api.php | <?php
namespace Codecasts\Units\Settings\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/Settings/Routes/Console.php | app/Units/Settings/Routes/Console.php | <?php
namespace Codecasts\Units\Settings\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/Settings/Routes/Web.php | app/Units/Settings/Routes/Web.php | <?php
namespace Codecasts\Units\Settings\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/Domains/Schedule/Schedule.php | app/Domains/Schedule/Schedule.php | <?php
namespace Codecasts\Domains\Schedule;
use Illuminate\Database\Eloquent\Model;
class Schedule extends Model
{
protected $table = 'schedule';
protected $dates = [
'planed_date',
];
protected $fillable = [
'planed_date',
'type',
'title',
'parent',
];
}... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Schedule/Contracts/ScheduleRepository.php | app/Domains/Schedule/Contracts/ScheduleRepository.php | <?php
namespace Codecasts\Domains\Schedule\Contracts;
use Artesaos\Warehouse\Contracts\Segregated\CrudRepository;
interface ScheduleRepository extends CrudRepository
{
public function getOrderedByDate($take = 30, $paginate = true);
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Schedule/Database/Migrations/CreateScheduleTable.php | app/Domains/Schedule/Database/Migrations/CreateScheduleTable.php | <?php
namespace Codecasts\Domains\Schedule\Database\Migrations;
use Codecasts\Support\Domain\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateScheduleTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
$this->schema->create('schedule', function ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Schedule/Repositories/ScheduleRepository.php | app/Domains/Schedule/Repositories/ScheduleRepository.php | <?php
namespace Codecasts\Domains\Schedule\Repositories;
use Artesaos\Warehouse\AbstractCrudRepository;
use Artesaos\Warehouse\Traits\ImplementsFractal;
use Codecasts\Domains\Schedule\Contracts\ScheduleRepository as ScheduleRepositoryContract;
use Codecasts\Domains\Schedule\Schedule;
use Codecasts\Domains\Schedule\Tr... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Schedule/Providers/DomainServiceProvider.php | app/Domains/Schedule/Providers/DomainServiceProvider.php | <?php
namespace Codecasts\Domains\Schedule\Providers;
use Codecasts\Domains\Schedule\Contracts\ScheduleRepository as ScheduleRepositoryContract;
use Codecasts\Domains\Schedule\Database\Migrations\CreateScheduleTable;
use Codecasts\Domains\Schedule\Repositories\ScheduleRepository;
use Codecasts\Support\Domain\ServiceP... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Schedule/Transformers/ScheduleTransformer.php | app/Domains/Schedule/Transformers/ScheduleTransformer.php | <?php
namespace Codecasts\Domains\Schedule\Transformers;
use Codecasts\Domains\Schedule\Schedule;
use League\Fractal\TransformerAbstract;
class ScheduleTransformer extends TransformerAbstract
{
public function transform(Schedule $schedule)
{
return [
'id' => $schedule->id,
];
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/User.php | app/Domains/Users/User.php | <?php
namespace Codecasts\Domains\Users;
use Carbon\Carbon;
use Codecasts\Domains\Suggestions\Suggestion;
use Codecasts\Domains\Users\Contracts\SocialParser;
use Codecasts\Domains\Users\Presenters\UserPresenter;
use Codecasts\Support\Subscription\SubscriptionTrait;
use Codecasts\Support\ViewPresenter\Presentable;
use... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Presenters/UserPresenter.php | app/Domains/Users/Presenters/UserPresenter.php | <?php
namespace Codecasts\Domains\Users\Presenters;
use Codecasts\Support\ViewPresenter\Presenter;
use Illuminate\Support\Str;
/**
* Class UserPresenter.
*/
class UserPresenter extends Presenter
{
public function normalizedName()
{
return ucwords(Str::lower($this->entity->name));
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyInvoiceReleased.php | app/Domains/Users/Listeners/Notifications/NotifyInvoiceReleased.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoiceReleased;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyInvoiceReleased implements ShouldQueue
{
public function handle(InvoiceReleased $ev... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifySubscriptionActivated.php | app/Domains/Users/Listeners/Notifications/NotifySubscriptionActivated.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\SubscriptionActivated;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifySubscriptionActivated implements ShouldQueue
{
public function handle(Subscri... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyInvoiceRefund.php | app/Domains/Users/Listeners/Notifications/NotifyInvoiceRefund.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoiceRefund;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyInvoiceRefund implements ShouldQueue
{
public function handle(InvoiceRefund $event)
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifySubscriptionChanged.php | app/Domains/Users/Listeners/Notifications/NotifySubscriptionChanged.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\SubscriptionChanged;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifySubscriptionChanged implements ShouldQueue
{
public function handle(Subscriptio... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifySubscriptionExpired.php | app/Domains/Users/Listeners/Notifications/NotifySubscriptionExpired.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\SubscriptionExpired;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifySubscriptionExpired implements ShouldQueue
{
public function handle(Subscriptio... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifySubscriptionRenewed.php | app/Domains/Users/Listeners/Notifications/NotifySubscriptionRenewed.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\SubscriptionRenewed;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifySubscriptionRenewed implements ShouldQueue
{
public function handle(Subscriptio... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyInvoiceStatusChanged.php | app/Domains/Users/Listeners/Notifications/NotifyInvoiceStatusChanged.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoiceStatusChanged;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyInvoiceStatusChanged implements ShouldQueue
{
public function handle(InvoiceSt... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyNewInvoice.php | app/Domains/Users/Listeners/Notifications/NotifyNewInvoice.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoiceCreated;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyNewInvoice implements ShouldQueue
{
public function handle(InvoiceCreated $event)
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyInstallmentReleased.php | app/Domains/Users/Listeners/Notifications/NotifyInstallmentReleased.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoiceInstallmentReleased;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyInstallmentReleased implements ShouldQueue
{
public function handle(Invo... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyInvoiceDue.php | app/Domains/Users/Listeners/Notifications/NotifyInvoiceDue.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoiceDue;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyInvoiceDue implements ShouldQueue
{
public function handle(InvoiceDue $event)
{
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifySubscriptionCreated.php | app/Domains/Users/Listeners/Notifications/NotifySubscriptionCreated.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\SubscriptionCreated;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifySubscriptionCreated implements ShouldQueue
{
public function handle(Subscriptio... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyFailedPayment.php | app/Domains/Users/Listeners/Notifications/NotifyFailedPayment.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoicePaymentFailed;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyFailedPayment implements ShouldQueue
{
public function handle(InvoicePaymentFa... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifySubscriptionSuspended.php | app/Domains/Users/Listeners/Notifications/NotifySubscriptionSuspended.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\SubscriptionSuspended;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifySubscriptionSuspended implements ShouldQueue
{
public function handle(Subscri... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Listeners/Notifications/NotifyInvoiceDunning.php | app/Domains/Users/Listeners/Notifications/NotifyInvoiceDunning.php | <?php
namespace Codecasts\Domains\Users\Listeners\Notifications;
use Codecasts\Domains\Users\Events\Subscriptions\InvoiceDunning;
use Codecasts\Support\Notifications\Slack;
use Illuminate\Contracts\Queue\ShouldQueue;
class NotifyInvoiceDunning implements ShouldQueue
{
public function handle(InvoiceDunning $event... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Contracts/UserRepository.php | app/Domains/Users/Contracts/UserRepository.php | <?php
namespace Codecasts\Domains\Users\Contracts;
use Artesaos\Warehouse\Contracts\BaseRepository;
use Artesaos\Warehouse\Contracts\Segregated\CrudRepository;
/**
* Interface UserRepository.
*
* User repository should implement full crud and some custom methods.
*/
interface UserRepository extends CrudRepositor... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Contracts/SocialParser.php | app/Domains/Users/Contracts/SocialParser.php | <?php
namespace Codecasts\Domains\Users\Contracts;
use SocialNorm\User;
/**
* Interface SocialParser.
*
* Interface for social profile parsers.
*/
interface SocialParser
{
/**
* SocialParser constructor.
*
* @param User $user Should receive an user
*/
public function __construct(User ... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Database/Migrations/CreateOauthIdentitiesTable.php | app/Domains/Users/Database/Migrations/CreateOauthIdentitiesTable.php | <?php
namespace Codecasts\Domains\Users\Database\Migrations;
use Codecasts\Support\Domain\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateOauthIdentitiesTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
$this->schema->create('oauth_identities... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Database/Migrations/CreateUsersTable.php | app/Domains/Users/Database/Migrations/CreateUsersTable.php | <?php
namespace Codecasts\Domains\Users\Database\Migrations;
use Codecasts\Support\Domain\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
$this->schema->create('users', function (Blueprin... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Database/Factories/UserFactory.php | app/Domains/Users/Database/Factories/UserFactory.php | <?php
namespace Codecasts\Domains\Users\Database\Factories;
use Codecasts\Domains\Users\User;
use Codecasts\Support\Domain\ModelFactory;
/**
* Class UserFactory.
*/
class UserFactory extends ModelFactory
{
/**
* @var User Factory for the User Model
*/
protected $model = User::class;
/**
... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Database/Seeders/UsersSeeder.php | app/Domains/Users/Database/Seeders/UsersSeeder.php | <?php
namespace Codecasts\Domains\Users\Database\Seeders;
use Codecasts\Domains\Users\User;
use Illuminate\Database\Seeder;
/**
* Class UsersSeeders.
*/
class UsersSeeder extends Seeder
{
/**
* @todo improve users seeders
*/
public function run()
{
factory(User::class)->times(10)->cre... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Repositories/UserRepository.php | app/Domains/Users/Repositories/UserRepository.php | <?php
namespace Codecasts\Domains\Users\Repositories;
use Artesaos\Warehouse\AbstractCrudRepository;
use Artesaos\Warehouse\Traits\ImplementsFractal;
use Codecasts\Domains\Users\Contracts\UserRepository as UserRepositoryContract;
use Codecasts\Domains\Users\User;
/**
* Class UserRepository.
*/
class UserRepository... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Providers/EventServiceProvider.php | app/Domains/Users/Providers/EventServiceProvider.php | <?php
namespace Codecasts\Domains\Users\Providers;
use Codecasts\Domains\Users\Events\Subscriptions;
use Codecasts\Domains\Users\Listeners\Notifications;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* @var array... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Providers/DomainServiceProvider.php | app/Domains/Users/Providers/DomainServiceProvider.php | <?php
namespace Codecasts\Domains\Users\Providers;
use Codecasts\Domains\Users\Contracts;
use Codecasts\Domains\Users\Database\Factories\UserFactory;
use Codecasts\Domains\Users\Database\Migrations\CreateOauthIdentitiesTable;
use Codecasts\Domains\Users\Database\Migrations\CreateUsersTable;
use Codecasts\Domains\User... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Parsers/GoogleParser.php | app/Domains/Users/Parsers/GoogleParser.php | <?php
namespace Codecasts\Domains\Users\Parsers;
class GoogleParser extends AbstractSocialParser
{
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Parsers/ParserResolver.php | app/Domains/Users/Parsers/ParserResolver.php | <?php
namespace Codecasts\Domains\Users\Parsers;
/**
* Class ParserResolver.
*
* Resolves which parsed should be used from configuration binding.
*/
class ParserResolver
{
/**
* @var array Available parsers aliases
*/
protected $aliases = [];
/**
* @var string Current required parsed a... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Parsers/FacebookParser.php | app/Domains/Users/Parsers/FacebookParser.php | <?php
namespace Codecasts\Domains\Users\Parsers;
class FacebookParser extends AbstractSocialParser
{
/**
* Facebook not always returns an Email address.
*
* @return string Facebook
*/
public function getEmail()
{
if (!$this->user->email) {
return 'cadastre@um.email'... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Parsers/GithubParser.php | app/Domains/Users/Parsers/GithubParser.php | <?php
namespace Codecasts\Domains\Users\Parsers;
use Codecasts\Domains\Users\User;
class GithubParser extends AbstractSocialParser
{
/**
* Github returns a handle, but it maybe already defined.
*
* @return string An available handle
*/
public function getUsername()
{
$username... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Parsers/AbstractSocialParser.php | app/Domains/Users/Parsers/AbstractSocialParser.php | <?php
namespace Codecasts\Domains\Users\Parsers;
use Codecasts\Domains\Users\Contracts\SocialParser;
use Codecasts\Domains\Users\User;
use SocialNorm\User as SocialUser;
/**
* Class AbstractSocialParser.
*
* Generic social parser for social networks.
*/
abstract class AbstractSocialParser implements SocialParser... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Events/Subscriptions/InvoicePaymentFailed.php | app/Domains/Users/Events/Subscriptions/InvoicePaymentFailed.php | <?php
namespace Codecasts\Domains\Users\Events\Subscriptions;
class InvoicePaymentFailed extends InvoiceCreated
{
public $reason;
public function __construct(array $requestData)
{
parent::__construct($requestData);
$this->reason = $requestData['lr'];
}
}
| php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Events/Subscriptions/SubscriptionCreated.php | app/Domains/Users/Events/Subscriptions/SubscriptionCreated.php | <?php
namespace Codecasts\Domains\Users\Events\Subscriptions;
use Codecasts\Domains\Users\User;
use Illuminate\Queue\SerializesModels;
class SubscriptionCreated
{
use SerializesModels;
public $id;
public $accountId;
public $user;
public function __construct(array $requestData)
{
$... | php | MIT | f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56 | 2026-01-05T02:18:07.762362Z | false |
codecasts/codecasts | https://github.com/codecasts/codecasts/blob/f1b1d2c1e9a28f4cb968f5ec1b09b715d8dcae56/app/Domains/Users/Events/Subscriptions/InvoiceDunning.php | app/Domains/Users/Events/Subscriptions/InvoiceDunning.php | <?php
namespace Codecasts\Domains\Users\Events\Subscriptions;
class InvoiceDunning extends InvoiceCreated
{
public $action;
public function __construct(array $requestData)
{
parent::__construct($requestData);
$this->action = $requestData['action'];
}
}
| 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.