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 |
|---|---|---|---|---|---|---|---|---|
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/edit.blade.php | resources/views/books/edit.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$book->getUrl('/edit') => [
'text' => trans('entities.books_edit'),
'icon... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/permissions.blade.php | resources/views/books/permissions.blade.php | @extends('layouts.simple')
@section('body')
<div class="container">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$book->getUrl('/permissions') => [
'text' => trans('entities.books_permissions'),
... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/sort.blade.php | resources/views/books/sort.blade.php | @extends('layouts.simple')
@section('body')
<div class="container">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$book->getUrl('/sort') => [
'text' => trans('entities.books_sort'),
'icon' => '... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/delete.blade.php | resources/views/books/delete.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$book->getUrl('/delete') => [
'text' => trans('entities.books_delete'),
'... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/references.blade.php | resources/views/books/references.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$book->getUrl('/references') => [
'text' => trans('entities.references'),
... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/index.blade.php | resources/views/books/index.blade.php | @extends('layouts.tri')
@section('body')
@include('books.parts.list', ['books' => $books, 'view' => $view, 'listOptions' => $listOptions])
@stop
@section('left')
@if($recents)
<div id="recents" class="mb-xl">
<h5>{{ trans('entities.recently_viewed') }}</h5>
@include('entities.l... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/copy.blade.php | resources/views/books/copy.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$book->getUrl('/copy') => [
'text' => trans('entities.books_copy'),
'icon... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/create.blade.php | resources/views/books/create.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@if (isset($bookshelf))
@include('entities.breadcrumbs', ['crumbs' => [
$bookshelf,
$bookshelf->getUrl('/create-book') => [
... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/show.blade.php | resources/views/books/show.blade.php | @extends('layouts.tri')
@section('container-attrs')
component="entity-search"
option:entity-search:entity-id="{{ $book->id }}"
option:entity-search:entity-type="book"
@stop
@push('social-meta')
<meta property="og:description" content="{{ Str::limit($book->description, 100, '...') }}">
@if($book->c... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/parts/convert-to-shelf.blade.php | resources/views/books/parts/convert-to-shelf.blade.php | <div class="content-wrap card auto-height">
<h2 class="list-heading">{{ trans('entities.convert_to_shelf') }}</h2>
<p>
{{ trans('entities.convert_to_shelf_contents_desc') }}
<br><br>
{{ trans('entities.convert_to_shelf_permissions_desc') }}
</p>
<div class="text-right">
<... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/parts/sort-box.blade.php | resources/views/books/parts/sort-box.blade.php | <details class="sort-box" data-type="book" data-id="{{ $book->id }}" open>
<summary>
<h5 class="flex-container-row items-center justify-flex-start gap-xs">
<div class="text-book text-bigger caret-container">
@icon('caret-right')
</div>
<div class="entity-l... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/parts/form.blade.php | resources/views/books/parts/form.blade.php | {{ csrf_field() }}
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
@include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">
<label for="description_html">{{ trans('common.description') }}</label>
@include(... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/parts/list.blade.php | resources/views/books/parts/list.blade.php | <main class="content-wrap mt-m card">
<div class="grid half v-center no-row-gap">
<h1 class="list-heading">{{ trans('entities.books') }}</h1>
<div class="text-m-right my-m">
@include('common.sort', $listOptions->getSortControlData())
</div>
</div>
@if(count($books) > 0)
... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/parts/list-item.blade.php | resources/views/books/parts/list-item.blade.php | @php
/**
* @var \BookStack\Entities\Models\Book $book
*/
@endphp
<a href="{{ $book->getUrl() }}" class="book entity-list-item" data-entity-type="book" data-entity-id="{{$book->id}}">
<div class="entity-list-item-image bg-book" style="background-image: url('{{ $book->coverInfo()->getUrl() }}')">
... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/books/parts/sort-box-actions.blade.php | resources/views/books/parts/sort-box-actions.blade.php | <div class="sort-box-actions flex-container-row items-center px-s gap-xxs">
<button type="button" data-move="up" class="icon-button p-xs text-bigger"
title="{{ trans('entities.books_sort_move_up') }}">@icon('chevron-up')</button>
<button type="button" data-move="down" class="icon-button p-xs text-bi... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/attachments/manager-list.blade.php | resources/views/attachments/manager-list.blade.php | <div component="sortable-list"
option:sortable-list:handle-selector=".handle, a">
@foreach($attachments as $attachment)
<div component="ajax-delete-row"
option:ajax-delete-row:url="{{ url('/attachments/' . $attachment->id) }}"
data-id="{{ $attachment->id }}"
data-... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/attachments/manager-link-form.blade.php | resources/views/attachments/manager-link-form.blade.php | {{--
@pageId
--}}
<div component="ajax-form"
option:ajax-form:url="/attachments/link"
option:ajax-form:method="post"
option:ajax-form:response-container="#link-form-container"
option:ajax-form:success-message="{{ trans('entities.attachments_link_attached') }}">
<input type="hidden" name="attachm... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/attachments/manager.blade.php | resources/views/attachments/manager.blade.php | <div style="display: block;"
refs="editor-toolbox@tab-content"
data-tab-content="files"
component="attachments"
option:attachments:page-id="{{ $page->id ?? 0 }}"
class="toolbox-tab-content">
<h4>{{ trans('entities.attachments') }}</h4>
<div component="dropzone"
option:dropzone... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/attachments/list.blade.php | resources/views/attachments/list.blade.php | <div component="attachments-list">
@foreach($attachments as $attachment)
<div class="attachment icon-list">
<div class="split-icon-list-item attachment-{{ $attachment->external ? 'link' : 'file' }}">
<a href="{{ $attachment->getUrl() }}"
refs="attachments-list@... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/attachments/manager-edit-form.blade.php | resources/views/attachments/manager-edit-form.blade.php | <div component="ajax-form"
option:ajax-form:url="/attachments/{{ $attachment->id }}"
option:ajax-form:method="put"
option:ajax-form:response-container="#edit-form-container"
option:ajax-form:success-message="{{ trans('entities.attachments_updated_success') }}">
<h5>{{ trans('entities.attachments... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/move.blade.php | resources/views/chapters/move.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$chapter->book,
$chapter,
$chapter->getUrl('/move') => [
'text' => trans('entities.c... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/edit.blade.php | resources/views/chapters/edit.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$chapter,
$chapter->getUrl('/edit') => [
'text' => trans('entities.chapters_e... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/permissions.blade.php | resources/views/chapters/permissions.blade.php | @extends('layouts.simple')
@section('body')
<div class="container">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$chapter->book,
$chapter,
$chapter->getUrl('/permissions') => [
'text' => trans('entities.... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/delete.blade.php | resources/views/chapters/delete.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$chapter->book,
$chapter,
$chapter->getUrl('/delete') => [
'text' => trans('entities... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/references.blade.php | resources/views/chapters/references.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$chapter->book,
$chapter,
$chapter->getUrl('/references') => [
'text' => trans('enti... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/copy.blade.php | resources/views/chapters/copy.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$chapter->book,
$chapter,
$chapter->getUrl('/copy') => [
'text' => trans('entities.c... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/create.blade.php | resources/views/chapters/create.blade.php | @extends('layouts.simple')
@section('body')
<div class="container small">
<div class="my-s">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
$book->getUrl('create-chapter') => [
'text' => trans('entities.chapters_create'),
... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/show.blade.php | resources/views/chapters/show.blade.php | @extends('layouts.tri')
@section('container-attrs')
component="entity-search"
option:entity-search:entity-id="{{ $chapter->id }}"
option:entity-search:entity-type="chapter"
@stop
@push('social-meta')
<meta property="og:description" content="{{ Str::limit($chapter->description, 100, '...') }}">
@endpus... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/parts/convert-to-book.blade.php | resources/views/chapters/parts/convert-to-book.blade.php | <div class="content-wrap card auto-height">
<h2 class="list-heading">{{ trans('entities.convert_to_book') }}</h2>
<div class="grid half left-focus no-row-gap">
<p>
{{ trans('entities.convert_to_book_desc') }}
</p>
<div class="text-m-right">
<div component="dropdow... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/parts/form.blade.php | resources/views/chapters/parts/form.blade.php | {{ csrf_field() }}
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
@include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">
<label for="description_html">{{ trans('common.description') }}</label>
@include(... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/parts/child-menu.blade.php | resources/views/chapters/parts/child-menu.blade.php | <div component="chapter-contents" class="chapter-child-menu">
<button type="button"
refs="chapter-contents@toggle"
aria-expanded="{{ $isOpen ? 'true' : 'false' }}"
class="text-muted chapter-contents-toggle @if($isOpen) open @endif">
@icon('caret-right') @icon('page') <spa... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
BookStackApp/BookStack | https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/resources/views/chapters/parts/list-item.blade.php | resources/views/chapters/parts/list-item.blade.php | {{--This view display child pages in a list if pre-loaded onto a 'visible_pages' property,--}}
{{--To ensure that the pages have been loaded efficiently with permissions taken into account.--}}
<a href="{{ $chapter->getUrl() }}" class="chapter entity-list-item @if($chapter->visible_pages->count() > 0) has-children @end... | php | MIT | e6b754fad029d6c35e139b907d04e6510775997b | 2026-01-04T15:02:34.418809Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/dcat_admin_ide_helper.php | dcat_admin_ide_helper.php | <?php
/**
* A helper file for Dcat Admin, to provide autocomplete information to your IDE
*
* This file should not be included in your code, only analyzed by your IDE!
*
* @author jqh <841324345@qq.com>
*/
namespace Dcat\Admin {
use Illuminate\Support\Collection;
/**
* @property Grid\Column|Collect... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/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 | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/User.php | app/User.php | <?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
p... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/ApiHook.php | app/Jobs/ApiHook.php | <?php
namespace App\Jobs;
use App\Models\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class ApiHook implements ShouldQueue
{
use Dispatchable, InteractsW... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/ServerJiang.php | app/Jobs/ServerJiang.php | <?php
namespace App\Jobs;
use App\Models\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class ServerJiang implements ShouldQueue
{
use Dispatchable, Intera... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/WorkWeiXinPush.php | app/Jobs/WorkWeiXinPush.php | <?php
namespace App\Jobs;
use App\Models\Order;
use GuzzleHttp\Client;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class WorkWeiXinPush implements ShouldQueue
{
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/TelegramPush.php | app/Jobs/TelegramPush.php | <?php
namespace App\Jobs;
use App\Models\Order;
use GuzzleHttp\Client;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class TelegramPush implements ShouldQueue
{
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/BarkPush.php | app/Jobs/BarkPush.php | <?php
namespace App\Jobs;
use App\Models\Order;
use GuzzleHttp\Client;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use App\Models\BaseModel;
class BarkPush implem... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/MailSend.php | app/Jobs/MailSend.php | <?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Mail\MailServiceProvider;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Mail;
class MailSend ... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/CouponBack.php | app/Jobs/CouponBack.php | <?php
namespace App\Jobs;
use App\Models\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class CouponBack implements ShouldQueue
{
use Dispatchable, Interac... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Jobs/OrderExpired.php | app/Jobs/OrderExpired.php | <?php
namespace App\Jobs;
use App\Models\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class OrderExpired implements ShouldQueue
{
use Dispatchable, Inte... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Exception;
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 = [
//
];
/**
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Exceptions/AppException.php | app/Exceptions/AppException.php | <?php
namespace App\Exceptions;
class AppException extends \Exception
{
public function __construct($message = "", $code = 0, \Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
}
| php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Exceptions/RuleValidationException.php | app/Exceptions/RuleValidationException.php | <?php
namespace App\Exceptions;
class RuleValidationException extends \Exception
{
public function __construct($message = "", $code = 400, \Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
}
| php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Helpers/functions.php | app/Helpers/functions.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
use App\Exceptions\AppException;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Storage;
if (! function_exists('replace_mail_tpl')) {
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Kernel.php | app/Http/Kernel.php | <?php
namespace App\Http;
use App\Http\Middleware\DujiaoBoot;
use App\Http\Middleware\InstallCheck;
use App\Http\Middleware\PayGateWay;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware ... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/PayController.php | app/Http/Controllers/PayController.php | <?php
namespace App\Http\Controllers;
use App\Exceptions\RuleValidationException;
use App\Models\Order;
use App\Service\OrderProcessService;
class PayController extends BaseController
{
/**
* 支付网关
* @var \App\Models\Pay
*/
protected $payGateway;
/**
* 订单
* @var \App\Models\Ord... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/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 | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/BaseController.php | app/Http/Controllers/BaseController.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Http\Controllers;
class BaseController extends Controller
{
/**
* 渲染模板
*
* @param string $tpl 模板名称
* @param array $data ... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Home/OrderController.php | app/Http/Controllers/Home/OrderController.php | <?php
namespace App\Http\Controllers\Home;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\BaseController;
use App\Models\Order;
use App\Service\OrderProcessService;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cookie;
use Illuminate\Support\Facades\DB;
/**
* 订单控制器
*
* Class O... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Home/HomeController.php | app/Http/Controllers/Home/HomeController.php | <?php
namespace App\Http\Controllers\Home;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\BaseController;
use App\Models\Pay;
use Germey\Geetest\Geetest;
use Illuminate\Database\DatabaseServiceProvider;
use Illuminate\Database\QueryException;
use Illuminate\Encryption\Encrypter;
use Illuminate\H... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/WepayController.php | app/Http/Controllers/Pay/WepayController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Yansongda\Pay\Pay;
class WepayController extends PayController
{
public function gateway(string $payway, string $orderSN)
{
try {
// 加载网关
$this->l... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/PaypalPayController.php | app/Http/Controllers/Pay/PaypalPayController.php | <?php
namespace App\Http\Controllers\Pay;
use AmrShawky\LaravelCurrency\Facade\Currency;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use PayPal\Api\Amount;
use PayPal\Api\Details;
use PayPal\Api\Item;
use PayPal\... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/StripeController.php | app/Http/Controllers/Pay/StripeController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
use GuzzleHttp\Client;
use Illuminate\Support\Facades\Redis;
use URL;
class StripeController extends PayController
{
public function gateway(string $payway, ... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/MapayController.php | app/Http/Controllers/Pay/MapayController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
class MapayController extends PayController
{
public function gateway(string $payway, string $orderSN)
{
try {
// 加载网关
$t... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/EpusdtController.php | app/Http/Controllers/Pay/EpusdtController.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use GuzzleHttp\Client;
use GuzzleHttp\... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/YipayController.php | app/Http/Controllers/Pay/YipayController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
class YipayController extends PayController
{
public function gateway(string $payway, string $orderSN)
{
try {
// 加载网关
$th... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/VpayController.php | app/Http/Controllers/Pay/VpayController.php | <?php
/**
* VpayController.php
* V免签
* Author iLay1678
* Created on 2020/5/1 11:59
*/
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
class VpayController extends PayController
{
public function gateway(st... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/CoinbaseController.php | app/Http/Controllers/Pay/CoinbaseController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
class CoinbaseController extends PayController
{
public function gateway(string $payway, string $orderSN)
{
try {
// 加载网关
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/PayjsController.php | app/Http/Controllers/Pay/PayjsController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
use Xhat\Payjs\Facades\Payjs;
class PayjsController extends PayController
{
public function gateway(string $payway, string $orderSN)
{
try {
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/AlipayController.php | app/Http/Controllers/Pay/AlipayController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
use Yansongda\Pay\Pay;
class AlipayController extends PayController
{
/**
* 支付宝支付网关
*
* @param string $payway
* @param string $orderSN
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/PaysapiController.php | app/Http/Controllers/Pay/PaysapiController.php | <?php
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayController;
use Illuminate\Http\Request;
class PaysapiController extends PayController
{
const PAY_URI = 'https://pay.bearsoftware.net.cn/';
public function gateway(string $payway, string $orde... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Controllers/Pay/TokenPayController.php | app/Http/Controllers/Pay/TokenPayController.php | <?php
/**
* The file was created by LightCountry.
*
* @author https://github.com/LightCountry
* @copyright https://github.com/LightCountry
* @link https://github.com/LightCountry/TokenPay
*/
namespace App\Http\Controllers\Pay;
use App\Exceptions\RuleValidationException;
use App\Http\Controllers\PayCont... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Middleware/InstallCheck.php | app/Http/Middleware/InstallCheck.php | <?php
namespace App\Http\Middleware;
use Closure;
class InstallCheck
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// 安装检查
$ins... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Middleware/DujiaoSystem.php | app/Http/Middleware/DujiaoSystem.php | <?php
namespace App\Http\Middleware;
use App\Providers\AppServiceProvider;
use Closure;
class DujiaoSystem
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $ne... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Middleware/PayGateWay.php | app/Http/Middleware/PayGateWay.php | <?php
namespace App\Http\Middleware;
use Closure;
class PayGateWay
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $next($request... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/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|null
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Middleware/RedirectIfAuthenticated.php | app/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
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 | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Middleware/TrustProxies.php | app/Http/Middleware/TrustProxies.php | <?php
namespace App\Http\Middleware;
use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array|string
*/
protected $proxies;
/**
* The headers that should be... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/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 | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Middleware/DujiaoBoot.php | app/Http/Middleware/DujiaoBoot.php | <?php
namespace App\Http\Middleware;
use App\Models\BaseModel;
use Closure;
use Germey\Geetest\GeetestServiceProvider;
class DujiaoBoot
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Http/Middleware/CheckForMaintenanceMode.php | app/Http/Middleware/CheckForMaintenanceMode.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware;
class CheckForMaintenanceMode extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array
*/
protected $except = [
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/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 | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/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
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
/**
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Listeners/GoodsGroupDeleted.php | app/Listeners/GoodsGroupDeleted.php | <?php
namespace App\Listeners;
use App\Models\Goods;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use App\Events\GoodsGroupDeleted as GoodsGroupDeletedEvent;
class GoodsGroupDeleted
{
/**
* Create the event listener.
*
* @return void
*/
public funct... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Listeners/GoodsDeleted.php | app/Listeners/GoodsDeleted.php | <?php
namespace App\Listeners;
use App\Models\Carmis;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use App\Events\GoodsDeleted as GoodsDeletedEvent;
class GoodsDeleted
{
/**
* Create the event listener.
*
* @return void
*/
public function __construc... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Listeners/OrderUpdated.php | app/Listeners/OrderUpdated.php | <?php
namespace App\Listeners;
use App\Jobs\MailSend;
use App\Models\Emailtpl;
use App\Models\Order;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use App\Events\OrderUpdated as OrderUpdatedEvent;
class OrderUpdated
{
/**
* Create the event listener.
*
* @ret... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Rules/SearchPwd.php | app/Rules/SearchPwd.php | <?php
namespace App\Rules;
use App\Models\BaseModel;
use Illuminate\Contracts\Validation\Rule;
class SearchPwd implements Rule
{
/**
* Create a new rule instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Determine if the validation rule pass... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Rules/VerifyImg.php | app/Rules/VerifyImg.php | <?php
namespace App\Rules;
use App\Models\BaseModel;
use Illuminate\Contracts\Validation\Rule;
class VerifyImg implements Rule
{
/**
* Create a new rule instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Determine if the validation rule pass... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/routes.php | app/Admin/routes.php | <?php
use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;
use Dcat\Admin\Admin;
Admin::routes();
Route::group([
'prefix' => config('admin.route.prefix'),
'namespace' => config('admin.route.namespace'),
'middleware' => config('admin.route.middleware'),
], function (Router $router) {
... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/bootstrap.php | app/Admin/bootstrap.php | <?php
use Dcat\Admin\Admin;
use Dcat\Admin\Grid;
use Dcat\Admin\Form;
use Dcat\Admin\Grid\Filter;
use Dcat\Admin\Show;
/**
* Dcat-admin - admin builder based on Laravel.
* @author jqh <https://github.com/jqhph>
*
* Bootstraper for Admin.
*
* Here you can remove builtin form field:
*
* extend custom field:
* ... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/CarmisController.php | app/Admin/Controllers/CarmisController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Actions\Post\BatchRestore;
use App\Admin\Actions\Post\Restore;
use App\Admin\Forms\ImportCarmis;
use App\Admin\Repositories\Carmis;
use App\Models\Goods;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Layout\Content;
use Dcat\Admin\Show;
use Dcat\Admin\Ht... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/GoodsController.php | app/Admin/Controllers/GoodsController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Actions\Post\BatchRestore;
use App\Admin\Actions\Post\Restore;
use App\Admin\Repositories\Goods;
use App\Models\Carmis;
use App\Models\Coupon;
use App\Models\GoodsGroup as GoodsGroupModel;
use Dcat\Admin\Admin;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Adm... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/PayController.php | app/Admin/Controllers/PayController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Actions\Post\BatchRestore;
use App\Admin\Actions\Post\Restore;
use App\Admin\Repositories\Pay;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
use App\Models\Pay as PayModel;
class PayController exten... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/SystemSettingController.php | app/Admin/Controllers/SystemSettingController.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Admin\Controllers;
use App\Admin\Forms\SystemSetting;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Layout\Content;
use Dcat\A... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/OrderController.php | app/Admin/Controllers/OrderController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Actions\Post\BatchRestore;
use App\Admin\Actions\Post\Restore;
use App\Admin\Repositories\Order;
use App\Models\Coupon;
use App\Models\Goods;
use App\Models\Pay;
use Dcat\Admin\Admin;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Htt... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/GoodsGroupController.php | app/Admin/Controllers/GoodsGroupController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Actions\Post\BatchRestore;
use App\Admin\Actions\Post\Restore;
use App\Admin\Repositories\GoodsGroup;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
use App\Models\GoodsGroup as GoodsGroupModel;
clas... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/CouponController.php | app/Admin/Controllers/CouponController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Actions\Post\BatchRestore;
use App\Admin\Actions\Post\Restore;
use App\Admin\Repositories\Coupon;
use App\Models\Goods;
use Dcat\Admin\Admin;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
use App\Mod... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/AuthController.php | app/Admin/Controllers/AuthController.php | <?php
namespace App\Admin\Controllers;
use Dcat\Admin\Http\Controllers\AuthController as BaseAuthController;
class AuthController extends BaseAuthController
{
}
| php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/HomeController.php | app/Admin/Controllers/HomeController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Charts\DashBoard;
use App\Admin\Charts\PayoutRateCard;
use App\Admin\Charts\PopularGoodsCard;
use App\Admin\Charts\SalesCard;
use App\Admin\Charts\SuccessOrderCard;
use App\Http\Controllers\Controller;
use Dcat\Admin\Layout\Column;
use Dcat\Admin\Layout\Content;
us... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/EmailTestController.php | app/Admin/Controllers/EmailTestController.php | <?php
/**
* The file was created by Assimon.
*
* @author ZhangYiQiu<me@zhangyiqiu.net>
* @copyright ZhangYiQiu<me@zhangyiqiu.net>
* @link http://zhangyiqiu.net/
*/
namespace App\Admin\Controllers;
use App\Admin\Forms\EmailTest;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Layout\Cont... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Controllers/EmailtplController.php | app/Admin/Controllers/EmailtplController.php | <?php
namespace App\Admin\Controllers;
use App\Admin\Actions\Post\BatchRestore;
use App\Admin\Actions\Post\Restore;
use App\Admin\Repositories\Emailtpl;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
use App\Models\Emailtpl as EmailTplModel;
class Emai... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Actions/Post/Restore.php | app/Admin/Actions/Post/Restore.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Admin\Actions\Post;
use Dcat\Admin\Grid\RowAction;
use Illuminate\Http\Request;
class Restore extends RowAction
{
protected $title;
p... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Actions/Post/BatchRestore.php | app/Admin/Actions/Post/BatchRestore.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Admin\Actions\Post;
use Dcat\Admin\Grid\BatchAction;
use Illuminate\Http\Request;
class BatchRestore extends BatchAction
{
protected $titl... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Charts/PayoutRateCard.php | app/Admin/Charts/PayoutRateCard.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Admin\Charts;
use App\Models\Order;
use Dcat\Admin\Admin;
use Dcat\Admin\Widgets\Metrics\Donut;
use Illuminate\Http\Request;
use Illuminate\Supp... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Charts/DashBoard.php | app/Admin/Charts/DashBoard.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Admin\Charts;
use App\Models\Order;
use Dcat\Admin\Widgets\Metrics\RadialBar;
use Illuminate\Http\Request;
use Illuminate\Support\Carbon;
use Il... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Charts/SuccessOrderCard.php | app/Admin/Charts/SuccessOrderCard.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Admin\Charts;
use App\Models\Order;
use Dcat\Admin\Widgets\Metrics\Line;
use Illuminate\Http\Request;
use Illuminate\Support\Carbon;
use Illumin... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
assimon/dujiaoka | https://github.com/assimon/dujiaoka/blob/8bb5701ecfc1d2a45cf4bef119e3e4496170002d/app/Admin/Charts/SalesCard.php | app/Admin/Charts/SalesCard.php | <?php
/**
* The file was created by Assimon.
*
* @author assimon<ashang@utf8.hk>
* @copyright assimon<ashang@utf8.hk>
* @link http://utf8.hk/
*/
namespace App\Admin\Charts;
use App\Models\Order;
use Dcat\Admin\Admin;
use Dcat\Admin\Widgets\Metrics\Bar;
use Illuminate\Http\Request;
use Illuminate\Suppor... | php | MIT | 8bb5701ecfc1d2a45cf4bef119e3e4496170002d | 2026-01-04T15:03:57.345282Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.