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 |
|---|---|---|---|---|---|---|---|---|
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/admin/setting/setting_index.blade.php | resources/views/admin/setting/setting_index.blade.php | @extends('admin.layouts.main')
{{--顶部前端资源--}}
@section('styles')
<link href="{{ asset('vendor/bootstrap-wysihtml5/bootstrap-wysihtml5.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('vendor/bootstrap-datepicker/css/bootstrap-datepicker3.min.css') }}" rel="stylesheet" type="text/css" />
<... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/member/edit.blade.php | resources/views/member/edit.blade.php | {{--编辑会员资料--}}
@extends('layouts.main')
{{--顶部前端资源--}}
@section('styles')
@endsection
{{--页面内容--}}
@section('content')
<div class="container">
@include('layouts.main.member_sidebar')
<div class="c-layout-sidebar-content ">
<!-- BEGIN: PAGE CONTENT -->
<div class="c-content-title-1">
... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/member/index.blade.php | resources/views/member/index.blade.php | @extends('layouts.main')
{{--顶部前端资源--}}
@section('styles')
@endsection
{{--页面内容--}}
@section('content')
<div class="container">
@include('layouts.main.member_sidebar')
<div class="c-layout-sidebar-content ">
<!-- BEGIN: PAGE CONTENT -->
<!-- BEGIN: CONTENT/SHOPS/SHOP-CUSTOMER-DASHBOARD-1 -->
... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/member/password.blade.php | resources/views/member/password.blade.php | {{--编辑会员资料--}}
@extends('layouts.main')
{{--顶部前端资源--}}
@section('styles')
@endsection
{{--页面内容--}}
@section('content')
<div class="container">
@include('layouts.main.member_sidebar')
<div class="c-layout-sidebar-content ">
<!-- BEGIN: PAGE CONTENT -->
<div class="c-content... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/errors.blade.php | resources/views/layouts/errors.blade.php | <!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
Version: 4.7.1
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Dribbble: www.dribbble.com/keenthemes
Like: www.facebook.com/keen... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/auth.blade.php | resources/views/layouts/auth.blade.php | <!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
Version: 4.7.1
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Dribbble: www.dribbble.com/keenthemes
Like: www.facebook.com/keen... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/main.blade.php | resources/views/layouts/main.blade.php | <!DOCTYPE html>
<!--
Theme: JANGO - Ultimate Multipurpose HTML Theme Built With Twitter Bootstrap 3.3.7
Version: 1.4.1
Author: Themehats
Site: http://www.themehats.com
Purchase: http://themeforest.net/item/jango-responsive-multipurpose-html5-template/11987314?ref=themehats
Contact: support@themehats.com
Follow: http://... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/app.blade.php | resources/views/layouts/app.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Lara... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/main/breadcrumbs.blade.php | resources/views/layouts/main/breadcrumbs.blade.php | {{--面包屑--}}
<div class="c-layout-breadcrumbs-1 c-fonts-uppercase c-fonts-bold c-bordered c-bordered-both">
<div class="container">
<div class="c-page-title c-pull-left">
<h3 class="c-font-uppercase c-font-sbold">breadcrumbs - Default</h3>
</div>
<ul class="c-page-breadcrumbs c-th... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/main/header.blade.php | resources/views/layouts/main/header.blade.php | {{--顶部导航--}}
<header class="c-layout-header c-layout-header-4 c-layout-header-default-mobile" data-minimize-offset="80">
<div class="c-navbar">
<div class="container">
<!-- BEGIN: BRAND -->
<div class="c-navbar-wrapper clearfix">
<div class="c-brand c-pull-left">
... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/main/footer.blade.php | resources/views/layouts/main/footer.blade.php | {{--底部文件--}}
<footer class="c-layout-footer c-layout-footer-3 c-bg-grey-1">
<div class="c-postfooter c-bg-dark-2">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-12 c-col">
<p class="c-copyright c-font-grey">2015 © JANGO
... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/main/auth.blade.php | resources/views/layouts/main/auth.blade.php | {{--登录注册--}}
<!-- BEGIN: CONTENT/USER/FORGET-PASSWORD-FORM -->
<div class="modal fade c-content-login-form" id="forget-password-form" role="dialog">
<div class="modal-dialog">
<div class="modal-content c-square">
<div class="modal-header c-no-border">
<button type="button" class=... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
DukeAnn/Laradmin | https://github.com/DukeAnn/Laradmin/blob/b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278/resources/views/layouts/main/member_sidebar.blade.php | resources/views/layouts/main/member_sidebar.blade.php | {{--会员中心侧边栏--}}
<div class="c-layout-sidebar-menu c-theme ">
<!-- BEGIN: LAYOUT/SIDEBARS/SHOP-SIDEBAR-DASHBOARD -->
<div class="c-sidebar-menu-toggler">
<h3 class="c-title c-font-uppercase c-font-bold">会员中心</h3>
<a href="javascript:;" class="c-content-toggler" data-toggle="collapse" data-target=... | php | MIT | b9187cee078ee3f86b5dffe0ef9ca99c1f7ae278 | 2026-01-05T02:28:08.450404Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/Envoy.blade.php | Envoy.blade.php | {{-- php vendor/bin/envoy run deploy --env=prod --}}
@servers(['local' => '127.0.0.1', 'prod' => 'bdgt'])
@setup
$env ??= 'local';
$root = [
'local' => '.',
'prod' => '/var/www/bdgt',
][$env];
function output($message) {
return "echo '\033[32m" . $message . "\033[0m';";
}... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @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. Thi... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Jobs/Job.php | app/Jobs/Job.php | <?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
abstract class Job
{
/*
|--------------------------------------------------------------------------
| Queueable Jobs
|--------------------------------------------------------------------------
|
| This job base class provides a central l... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
//
];
/**
* A list of the... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Requests/Auth/LoginRequest.php | app/Http/Requests/Auth/LoginRequest.php | <?php
namespace App\Http\Requests\Auth;
use Illuminate\Auth\Events\Lockout;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Str;
use Illuminate\Validation\ValidationException;
class LoginRequest extends FormRequest
{
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/BillEventController.php | app/Http/Controllers/BillEventController.php | <?php
namespace App\Http\Controllers;
use App\Models\Bill;
use DateInterval;
use DateTime;
use Illuminate\Support\Facades\Request;
class BillEventController
{
public function __invoke()
{
$billsByDate = [];
if (Request::has(['start', 'end'])) {
Bill::with('transactions')->get()->e... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/CategoryController.php | app/Http/Controllers/CategoryController.php | <?php
namespace App\Http\Controllers;
use App\Models\Category;
use Illuminate\Support\Facades\Request;
class CategoryController extends Controller
{
public function index()
{
return view('category.index')->with('categories', Category::all());
}
public function store()
{
if ($cate... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/GoalController.php | app/Http/Controllers/GoalController.php | <?php
namespace App\Http\Controllers;
use App\Models\Goal;
use Illuminate\Support\Facades\Request;
class GoalController extends Controller
{
public function index()
{
return view('goal.index')->with(
'goals',
Goal::all()->sortByDesc(function ($goal) {
return $g... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/AccountController.php | app/Http/Controllers/AccountController.php | <?php
namespace App\Http\Controllers;
use App\Models\Account;
use Illuminate\Support\Facades\Request;
class AccountController extends Controller
{
public function index()
{
return view('account.index')->with(
'accounts',
Account::withCount('transactions')->get()->sortBy(functi... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Controller.php | app/Http/Controllers/Controller.php | <?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesReques... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/BillController.php | app/Http/Controllers/BillController.php | <?php
namespace App\Http\Controllers;
use App\Models\Bill;
use Illuminate\Support\Facades\Request;
class BillController extends Controller
{
public function index()
{
return view('bill.index')->with(
'bills',
Bill::all()->sortBy(function ($bill) {
return $bill-... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/TransactionExportController.php | app/Http/Controllers/TransactionExportController.php | <?php
namespace App\Http\Controllers;
use App\Exports\TransactionsExport;
use Maatwebsite\Excel\Facades\Excel;
class TransactionExportController
{
public function __invoke()
{
return Excel::download(new TransactionsExport, 'bdgt-transactions.csv', \Maatwebsite\Excel\Excel::CSV, [
'Content... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/ReportController.php | app/Http/Controllers/ReportController.php | <?php
namespace App\Http\Controllers;
use App\Reports\ReportFactory;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Request;
class ReportController extends Controller
{
public function index()
{
return $this->show('spending');
}
public function show($type)
{
$repor... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/TransactionController.php | app/Http/Controllers/TransactionController.php | <?php
namespace App\Http\Controllers;
use App\Models\Transaction;
use Illuminate\Support\Facades\Request;
class TransactionController extends Controller
{
public function store()
{
request()->validate([
'date' => 'required|date',
'amount' => 'required',
'payee' => ... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/DashboardController.php | app/Http/Controllers/DashboardController.php | <?php
namespace App\Http\Controllers;
use App\Models\Account;
use App\Models\Bill;
use App\Models\Category;
use App\Models\Ledger;
use App\Models\Transaction;
class DashboardController extends Controller
{
public function __invoke()
{
$bills = Bill::all()->sortBy('nextDue');
$transactions = T... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/EmailVerificationNotificationController.php | app/Http/Controllers/Auth/EmailVerificationNotificationController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
class EmailVerificationNotificationController extends Controller
{
/**
* Send a new email verification notification.
*/
public function store(Request $r... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/RegisteredUserController.php | app/Http/Controllers/Auth/RegisteredUserController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Auth\Events\Registered;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\Rules;
use ... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/ConfirmablePasswordController.php | app/Http/Controllers/Auth/ConfirmablePasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Validation\ValidationException;
use Illuminate\View\View;
class ConfirmablePasswordController extends Controller
{
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/PasswordResetLinkController.php | app/Http/Controllers/Auth/PasswordResetLinkController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Password;
use Illuminate\View\View;
class PasswordResetLinkController extends Controller
{
/**
* Display the password reset link r... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/EmailVerificationPromptController.php | app/Http/Controllers/Auth/EmailVerificationPromptController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\View\View;
class EmailVerificationPromptController extends Controller
{
/**
* Display the email verification prompt.
*/
public function _... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/NewPasswordController.php | app/Http/Controllers/Auth/NewPasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Auth\Events\PasswordReset;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Password;
use Illuminate\Support\Str;
use Illuminate\Validati... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/PasswordController.php | app/Http/Controllers/Auth/PasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\Rules\Password;
class PasswordController extends Controller
{
/**
* Update the user's password.
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/AuthenticatedSessionController.php | app/Http/Controllers/Auth/AuthenticatedSessionController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Auth\LoginRequest;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\View\View;
class AuthenticatedSessionController extends Controller
{
/**
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Auth/VerifyEmailController.php | app/Http/Controllers/Auth/VerifyEmailController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Auth\Events\Verified;
use Illuminate\Foundation\Auth\EmailVerificationRequest;
use Illuminate\Http\RedirectResponse;
class VerifyEmailController extends Controller
{
/**
* Mark the authenticated user's email addre... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Api/BudgetController.php | app/Http/Controllers/Api/BudgetController.php | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Resources\BudgetResource;
use App\Models\Budget;
use App\Models\Category;
class BudgetController extends Controller
{
public function index(string $year, string $month)
{
$budgets = collect([]);
Categ... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Controllers/Api/TransactionController.php | app/Http/Controllers/Api/TransactionController.php | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Resources\TransactionResource;
use App\Models\Transaction;
class TransactionController extends Controller
{
public function __construct()
{
$this->authorizeResource(Transaction::class);
}
public funct... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Composers/CategoriesComposer.php | app/Http/Composers/CategoriesComposer.php | <?php
namespace App\Http\Composers;
use App\Models\Category;
use Illuminate\Contracts\View\View;
class CategoriesComposer
{
/**
* Bind data to the view.
*
* @param View $view
* @return void
*/
public function compose(View $view)
{
$view->with('categories', Category::all... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Composers/AccountsComposer.php | app/Http/Composers/AccountsComposer.php | <?php
namespace App\Http\Composers;
use App\Models\Account;
use Illuminate\Contracts\View\View;
class AccountsComposer
{
/**
* Bind data to the view.
*
* @param View $view
* @return void
*/
public function compose(View $view)
{
$view->with('accounts', Account::all());
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Composers/BillsComposer.php | app/Http/Composers/BillsComposer.php | <?php
namespace App\Http\Composers;
use App\Models\Bill;
use Illuminate\Contracts\View\View;
class BillsComposer
{
/**
* Bind data to the view.
*
* @param View $view
* @return void
*/
public function compose(View $view)
{
$view->with('bills', Bill::all());
}
}
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/RateLimitBots.php | app/Http/Middleware/RateLimitBots.php | <?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Sleep;
use Laravel\Nightwatch\Http\Middleware\Sample;
use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
use Symfony\Component... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/Authenticate.php | app/Http/Middleware/Authenticate.php | <?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string
*/
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/RedirectIfAuthenticated.php | app/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $nex... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/TrustProxies.php | app/Http/Middleware/TrustProxies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array<int, string>|string|null
*/
protected $proxies;
/**
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/PreventRequestsDuringMaintenance.php | app/Http/Middleware/PreventRequestsDuringMaintenance.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
class PreventRequestsDuringMaintenance extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array
*/
protected... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/TrimStrings.php | app/Http/Middleware/TrimStrings.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_conf... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/TrustHosts.php | app/Http/Middleware/TrustHosts.php | <?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array
*/
public function hosts()
{
return [
$this->allSubdomainsOfApp... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/EncryptCookies.php | app/Http/Middleware/EncryptCookies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Middleware/VerifyCsrfToken.php | app/Http/Middleware/VerifyCsrfToken.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Resources/TransactionResource.php | app/Http/Resources/TransactionResource.php | <?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class TransactionResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Http/Resources/BudgetResource.php | app/Http/Resources/BudgetResource.php | <?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class BudgetResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
*
* @return array
*/
public function toArray($request)
{... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Reports/SpendingByCategory.php | app/Reports/SpendingByCategory.php | <?php
namespace App\Reports;
use App\Models\Transaction;
use DateInterval;
use DateTime;
class SpendingByCategory implements Reportable
{
public function name()
{
return 'spending_by_category';
}
public function forDateRange($startDate = null, $endDate = null)
{
// If no start da... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Reports/Spending.php | app/Reports/Spending.php | <?php
namespace App\Reports;
use App\Models\Transaction;
use Carbon\Carbon;
use Carbon\CarbonInterval;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Facades\DB;
class Spending implements Reportable
{
public function name()
{
return 'spending_over_time';
}
/**
* @pa... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Reports/ReportFactory.php | app/Reports/ReportFactory.php | <?php
namespace App\Reports;
use InvalidArgumentException;
class ReportFactory
{
public static function generate(string $reportType): Reportable
{
switch ($reportType) {
case 'categorial':
$report = app(SpendingByCategory::class);
break;
case '... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Reports/Reportable.php | app/Reports/Reportable.php | <?php
namespace App\Reports;
interface Reportable
{
public function name();
public function forDateRange($startDate = null, $endDate = null);
}
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Console/Kernel.php | app/Console/Kernel.php | <?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Console/Commands/Inspire.php | app/Console/Commands/Inspire.php | <?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;
class Inspire extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'inspire';
/**
* The console command descript... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Console/Commands/SeedFakeData.php | app/Console/Commands/SeedFakeData.php | <?php
namespace App\Console\Commands;
use App\Models\Account;
use App\Models\Bill;
use App\Models\Category;
use App\Models\Goal;
use App\Models\Transaction;
use App\Models\User;
use Carbon\Carbon;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Auth;
use Illuminate\S... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Console/Commands/Import.php | app/Console/Commands/Import.php | <?php
namespace App\Console\Commands;
use App\Models\Transaction;
use App\Models\User;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Validator;
use OfxParser\Parser;
class Import extends Command
{
protected $signature = 'import {user} {path}';
protected $description = "Imports a user's OFX ... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Ledger.php | app/Models/Ledger.php | <?php
namespace App\Models;
class Ledger
{
protected $transactions;
protected $balance = 0.00;
protected $totalOutflow = 0.00;
protected $totalInflow = 0.00;
protected $lastPurchase = 'N/A';
public function __construct()
{
$this->transactions = Transaction::all()->sortByDesc('date... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Transaction.php | app/Models/Transaction.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Support\Carbon;
class Transaction extends Model
{
use HasFactory;
protected $table = 'transactions';
protected $fillable = [
'date',
'account_id',
'category_id',
'bill_id',
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Account.php | app/Models/Account.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Account extends Model
{
use HasFactory;
protected $table = 'accounts';
protected $fillable = [
'date_opened',
'name',
'balance',
'interest',
'interest_period',
'user_... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/BelongsToUser.php | app/Models/BelongsToUser.php | <?php
namespace App\Models;
use Illuminate\Support\Facades\Auth;
trait BelongsToUser
{
public function __construct(array $attributes = [])
{
if (Auth::check() && ! array_key_exists('user_id', $attributes)) {
$this->user_id = Auth::id();
}
parent::__construct($attributes);... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/User.php | app/Models/User.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory;
use Notifiable;
protected $fillable = [
'email',
'passw... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/HasCompositeKey.php | app/Models/HasCompositeKey.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\ModelNotFoundException;
trait HasCompositeKey
{
/**
* Get the value indicating whether the IDs are incrementing.
*
* @return bool
*/
public function getIncrementing()
{
return false;
}
/**
* Get the val... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Category.php | app/Models/Category.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Category extends Model
{
use HasFactory;
protected $table = 'categories';
protected $fillable = [
'label',
'parent_category_id',
'budgeted',
'user_id',
];
public function ge... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Budget.php | app/Models/Budget.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Support\Carbon;
class Budget extends Model
{
use HasCompositeKey;
use HasFactory;
public $incrementing = false;
protected $table = 'budgets';
protected $primaryKey = [
'year',
'mon... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Bill.php | app/Models/Bill.php | <?php
namespace App\Models;
use DateInterval;
use DateTime;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Bill extends Model
{
use HasFactory;
protected $table = 'bills';
protected $fillable = [
'label',
'start_date',
'frequency',
'amount',
'user_i... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Model.php | app/Models/Model.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model as EloquentModel;
use Sbine\Tenancy\HasTenancy;
class Model extends EloquentModel
{
use HasTenancy, BelongsToUser;
}
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Models/Goal.php | app/Models/Goal.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Goal extends Model
{
use HasFactory;
protected $table = 'goals';
protected $fillable = [
'label',
'start_date',
'goal_date',
'balance',
'amount',
'user_id',
];
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Exports/TransactionsExport.php | app/Exports/TransactionsExport.php | <?php
namespace App\Exports;
use App\Models\Transaction;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithColumnFormatting;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\WithMapping;
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
class TransactionsExpo... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Providers/ViewComposerServiceProvider.php | app/Providers/ViewComposerServiceProvider.php | <?php
namespace App\Providers;
use App\Http\Composers\AccountsComposer;
use App\Http\Composers\BillsComposer;
use App\Http\Composers\CategoriesComposer;
use Illuminate\Support\ServiceProvider;
class ViewComposerServiceProvider extends ServiceProvider
{
/**
* Register bindings in the container.
*
*... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Providers/TelescopeServiceProvider.php | app/Providers/TelescopeServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Laravel\Telescope\IncomingEntry;
use Laravel\Telescope\Telescope;
use Laravel\Telescope\TelescopeApplicationServiceProvider;
class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
{
/**
* Register any application ser... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Providers/BladeServiceProvider.php | app/Providers/BladeServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
class BladeServiceProvider extends ServiceProvider
{
/**
* Perform post-registration booting of services.
*
* @return void
*/
public function boot()
{
Blade::directive(... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Providers/FakerProvider.php | app/Providers/FakerProvider.php | <?php
namespace App\Providers;
use Faker\Provider\Base;
use OverflowException;
class FakerProvider extends Base
{
public function randomAccount()
{
$accounts = [
'Bank Co',
'Auto Loan',
'Personal Loan',
'Checking',
'Savings',
'Cr... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
use Mcamara\LaravelL... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Providers/AuthServiceProvider.php | app/Providers/AuthServiceProvider.php | <?php
namespace App\Providers;
use App\Models\Budget;
use App\Models\Category;
use App\Models\Transaction;
use App\Policies\BudgetPolicy;
use App\Policies\CategoryPolicy;
use App\Policies\TransactionPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider ... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Events/Event.php | app/Events/Event.php | <?php
namespace App\Events;
abstract class Event
{
//
}
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Policies/BudgetPolicy.php | app/Policies/BudgetPolicy.php | <?php
namespace App\Policies;
use App\Models\Budget;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class BudgetPolicy
{
use HandlesAuthorization;
public function view(User $user, Budget $budget)
{
return $this->userOwnsBudget($user, $budget);
}
public function cr... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Policies/CategoryPolicy.php | app/Policies/CategoryPolicy.php | <?php
namespace App\Policies;
use App\Models\Category;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class CategoryPolicy
{
use HandlesAuthorization;
public function view(User $user, Category $category)
{
return $this->userOwnsCategory($user, $category);
}
public... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/app/Policies/TransactionPolicy.php | app/Policies/TransactionPolicy.php | <?php
namespace App\Policies;
use App\Models\Transaction;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class TransactionPolicy
{
use HandlesAuthorization;
public function viewAny(User $user)
{
return true;
}
public function view(User $user, Transaction $transact... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/bootstrap/app.php | bootstrap/app.php | <?php
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__ . '/../routes/web.php',
commands: __DIR__ . '/../routes/console... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/bootstrap/providers.php | bootstrap/providers.php | <?php
return [
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
App\Providers\BladeServiceProvider::class,
App\Providers\ViewComposerServiceProvider::class,
];
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/TestCase.php | tests/TestCase.php | <?php
namespace Tests;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
use RefreshDatabase;
}
| php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/CreatesApplication.php | tests/CreatesApplication.php | <?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/DuskTestCase.php | tests/DuskTestCase.php | <?php
namespace Tests;
use Facebook\WebDriver\Chrome\ChromeOptions;
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Illuminate\Support\Collection;
use Laravel\Dusk\TestCase as BaseTestCase;
use PHPUnit\Framework\Attributes\BeforeClass;
abstract class DuskTestCase... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/ReportTest.php | tests/Browser/ReportTest.php | <?php
namespace Tests\Browser;
use App\Models\Category;
use App\Models\Transaction;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
/** @group report */
class ReportTest extends DuskTestCase
{
use Database... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/BillTest.php | tests/Browser/BillTest.php | <?php
namespace Tests\Browser;
use App\Models\Bill;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon;
use Laravel\Dusk\Browser;
use Tests\Browser\Components\Datepicker;
use Tests\DuskTestCase;
/** @group bill */
class BillTest extends DuskTestCase
{
use Dat... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/CategoryTest.php | tests/Browser/CategoryTest.php | <?php
namespace Tests\Browser;
use App\Models\Category;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
/** @group category */
class CategoryTest extends DuskTestCase
{
use DatabaseMigrations;
public function test_user_can_create_a... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/CalculatorTest.php | tests/Browser/CalculatorTest.php | <?php
namespace Tests\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
/** @group calculator */
class CalculatorTest extends DuskTestCase
{
use DatabaseMigrations;
public function test_unauthenticated_user_can_use... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/GoalTest.php | tests/Browser/GoalTest.php | <?php
namespace Tests\Browser;
use App\Models\Goal;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon;
use Laravel\Dusk\Browser;
use Tests\Browser\Components\Datepicker;
use Tests\DuskTestCase;
/** @group goal */
class GoalTest extends DuskTestCase
{
use Dat... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/AccountTest.php | tests/Browser/AccountTest.php | <?php
namespace Tests\Browser;
use App\Models\Account;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon;
use Laravel\Dusk\Browser;
use Tests\Browser\Components\Datepicker;
use Tests\DuskTestCase;
/** @group account */
class AccountTest extends DuskTestCase
{
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/TransactionTest.php | tests/Browser/TransactionTest.php | <?php
namespace Tests\Browser;
use App\Models\Category;
use App\Models\Transaction;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon;
use Laravel\Dusk\Browser;
use Tests\Browser\Components\Datepicker;
use Tests\Browser\Components\TransactionForm;
use Tests\Brows... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/AuthTest.php | tests/Browser/AuthTest.php | <?php
namespace Tests\Browser;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\Browser\Pages\Dashboard;
use Tests\DuskTestCase;
/** @group auth */
class AuthTest extends DuskTestCase
{
use DatabaseMigrations;
public function test_user_can_regist... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/Components/TransactionForm.php | tests/Browser/Components/TransactionForm.php | <?php
namespace Tests\Browser\Components;
use App\Models\Transaction;
use Laravel\Dusk\Browser;
use Laravel\Dusk\Component as BaseComponent;
class TransactionForm extends BaseComponent
{
/**
* Get the root selector for the component.
*
* @return string
*/
public function selector()
{
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/Components/Datepicker.php | tests/Browser/Components/Datepicker.php | <?php
namespace Tests\Browser\Components;
use Illuminate\Support\Carbon;
use Laravel\Dusk\Browser;
use Laravel\Dusk\Component as BaseComponent;
class Datepicker extends BaseComponent
{
/**
* Get the root selector for the component.
*
* @return string
*/
public function selector()
{
... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/Pages/Page.php | tests/Browser/Pages/Page.php | <?php
namespace Tests\Browser\Pages;
use Laravel\Dusk\Page as BasePage;
abstract class Page extends BasePage
{
/**
* Get the global element shortcuts for the site.
*
* @return array
*/
public static function siteElements()
{
return [
'.alert--success' => '.alert--s... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
sbine/bdgt | https://github.com/sbine/bdgt/blob/e35049240ca017b92bd41b6b36771ecfb9d77e58/tests/Browser/Pages/Dashboard.php | tests/Browser/Pages/Dashboard.php | <?php
namespace Tests\Browser\Pages;
use Laravel\Dusk\Browser;
class Dashboard extends Page
{
/**
* Get the URL for the page.
*
* @return string
*/
public function url()
{
return '/dashboard';
}
/**
* Assert that the browser is on the page.
*
* @param ... | php | MIT | e35049240ca017b92bd41b6b36771ecfb9d77e58 | 2026-01-05T02:28:24.325559Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.