text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```scss
$primary-color-button: #536BE2;
$primary-color-button-hover: #4A64E2;
.btn.btn-brand {
background: $primary-color-button;
color: #ffffff;
&:hover {
background-color: $primary-color-button-hover;
border-color: $primary-color-button-hover;
}
}
.btn.btn-teal {
background-color: #1dc9b7;
c... | /content/code_sandbox/resources/assets/sass/components/button.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 513 |
```scss
.invoice-title {
@extend .tablet__head-title;
font-size:1.6rem;
margin-bottom: 0 !important;
}
.invoice-info {
color: #797979;
margin-bottom: 0 !important;
font-size: 1.1rem;
}
.invoice-info-title {
font-size:1.3rem;
color: #6b6b6b;
margin-bottom: 0 !important;
}
.invoice-info-subt... | /content/code_sandbox/resources/assets/sass/components/invoice.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 186 |
```scss
.moveup
{
margin-top: 0px;
}
.contactleft
{
width: 50%;
float: left;
}
.contactright
{
float: right;
width: 50%;
}
.profilepic
{
float: left;
}
.profilepicsize
{
width:100%;
border-radius: 125px;
box-shadow: 0 0 0 1px #cccccc;
}
@media (min-width: 2420px) {
.profilepic... | /content/code_sandbox/resources/assets/sass/components/topcontactinfo.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 337 |
```scss
.small-profile-picture{
height: 30px;
width: 30px;
}
.dot-online:before {
content: ' \25CF';
font-size: 15px;
color:green;
}
.dot-offline:before {
content: ' \25CF';
font-size: 15px;
}
.bg-secondary-color {
background: $secondary-color !important;
}
.bg-white{
background-color... | /content/code_sandbox/resources/assets/sass/components/dashboard.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 1,068 |
```scss
//
// Colour customisation
//
// `!default` allows overriding variables that are defined before @import
//
// Border between the header (and footer) and the table body
$table-header-border: 1px solid #111111 !default;
// Border of rows / cells
$table-body-border: 1px solid #dddddd !default;
// Row bac... | /content/code_sandbox/resources/assets/sass/components/datatables.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 3,966 |
```scss
/* Some Sass variables */
// Layout
$list-width: 300px;
$gap: 10px;
$scrollbar-thickness: 17px;
$list-header-height: 36px;
$list-footer-height: 36px;
// Misc
$list-border-radius: 5px;
$card-border-radius: 3px;
// Colors
$list-bg-color: #e2e4e6;
.project-board-ui {
box-shadow: 0px 0px 13px 0px rgba(82, 63, 10... | /content/code_sandbox/resources/assets/sass/components/project-board.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 768 |
```scss
$primary-color: #242939;
$darker-primary-color: #1f2231;
$secondary-color: #536be2;
$link-color:#337ab7;
$top-bar-color:#fff;
$danger-color: #e25564;
body{
background-color: rgb(231, 232, 236) !important;
font-family: 'Poppins', sans-serif;
font-size: 13px;
font-weight: 300;
-ms-text-size-adjust: 100... | /content/code_sandbox/resources/assets/sass/components/base.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 2,066 |
```scss
.assignee-input {
padding: 0;
}
.small-form-control {
width: 100%;
}
``` | /content/code_sandbox/resources/assets/sass/components/task-sidebar.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 23 |
```scss
.dataTables_length label{
font-weight: 400;
}
a.paginate_button.current {
background: #5d78ff !important;
color: #ffffff !important;
}
a.paginate_button {
border-radius: 3px;
vertical-align: middle;
font-size: 1.4rem;
padding: 0.5em 0.8em!important;
line-height: 1rem;
font-weight: 400;
c... | /content/code_sandbox/resources/assets/sass/components/datatables-overwrite.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 354 |
```scss
$action-panel-color: #fff;
$action-panel-font-color: #646c9a;
$action-panel-sub-font-color: #a1a8c3;
$action-panel-font-color-hover: #5d78ff;
$icon-navbar-hover-color: #f0f3ff;
//Notifications
.dropdown {
display: inline-block;
float: right;
}
.action-panel {
right: -400px;
height: 100%;
position: fi... | /content/code_sandbox/resources/assets/sass/components/notifications.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 2,448 |
```scss
.tablet {
box-shadow: 0px 0px 13px 0px rgba(82, 63, 105, 0.05);
background-color: #ffffff;
margin-bottom: 20px;
border-radius: 4px;
}
.tablet__tigthen {
padding: 15px 25px !important;
}
.tablet__shadow {
-webkit-box-shadow: 0px 2px 18px -4px rgba(79, 79, 79, 1);
-moz-box-shadow: 0px 2px 18px -4p... | /content/code_sandbox/resources/assets/sass/components/tablet.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 2,000 |
```scss
// Screen Readers
// -------------------------
.sr-only { @include sr-only(); }
.sr-only-focusable { @include sr-only-focusable(); }
``` | /content/code_sandbox/resources/assets/sass/font-awesome/_screen-reader.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 32 |
```scss
// Variables
// --------------------------
$fa-font-path: "../fonts" !default;
$fa-font-size-base: 14px !default;
$fa-line-height-base: 1 !default;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix... | /content/code_sandbox/resources/assets/sass/font-awesome/_variables.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 9,045 |
```scss
/*!
* Font Awesome 4.7.0 by @davegandy - path_to_url - @fontawesome
*/
@import "variables";
@import "mixins";
@import "path";
@import "core";
@import "larger";
@import "fixed-width";
@import "list";
@import "bordered-pulled";
@import "animated";
@import "rotated-flipped";
@import "stacked";
@import "icons";... | /content/code_sandbox/resources/assets/sass/font-awesome/font-awesome.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 104 |
```scss
// Mixins
// --------------------------
@mixin fa-icon() {
display: inline-block;
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: a... | /content/code_sandbox/resources/assets/sass/font-awesome/_mixins.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 426 |
```javascript
/**n_xxx
* First we will load all of this project's JavaScript dependencies which
* include Vue and Vue Resource. This gives a great starting point for
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
import ElementUI from 'element-ui';
import graphline f... | /content/code_sandbox/resources/assets/js/app.js | javascript | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 1,222 |
```javascript
window._ = require('lodash');
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features such as modals and tabs. This
* code may be modified to fit the specific needs of your application.
*/
window.$ = window.jQuery = require('jquery');... | /content/code_sandbox/resources/assets/js/bootstrap.js | javascript | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 332 |
```vue
<template>
</template>
<script>
export default {
props:['message', 'type'],
methods: {
openNotification() {
this.$message({
message: this.message,
type: this.type,
duration: 5000,
showClose:true
});
}
},
mounted() {
this... | /content/code_sandbox/resources/assets/js/components/Message.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 81 |
```scss
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.#{$fa-css-prefix}-glass:before { content: $fa-var-glass; }
.#{$fa-css-prefix}-music:before { content: $fa-var-music; }
.#{$fa-css-prefix}-search:before { content: $fa-v... | /content/code_sandbox/resources/assets/sass/font-awesome/_icons.scss | scss | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 14,455 |
```vue
<template>
<div>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="invoice-modal-title modal-title" id="myModalLabel">
{{trans(this.type)}} {{trans('management')}}
... | /content/code_sandbox/resources/assets/js/components/InvoiceLineModal.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 3,384 |
```vue
<template>
<transition name="appear">
<div class="modal-confirmation">
<div class="modal-confirmation-window">
<div class="modal-header">
<h4 id="myModalLabel" class="modal-title">{{trans(title)}}</h4></div>
<div class="modal... | /content/code_sandbox/resources/assets/js/components/ConfirmModal.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 598 |
```vue
<template>
<div class="row">
<div class="col-xs-8" :class="!selectedRow ? 'col-xs-12' : 'col-xs-8'">
<div class="dataTables_wrapper">
<div id="tasks-table_filter" class="dataTables_filter">
<label>
<input type="search" style="fl... | /content/code_sandbox/resources/assets/js/components/DynamicTable.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 1,041 |
```vue
<template>
<canvas width="730" height="240" ref="canvasline"></canvas>
</template>
<script>
import Chart from 'chart.js';
export default {
props: ['datasheet'],
data() {
return {
tasksMonthly: [],
leadsMonthly: [],
labels: []
... | /content/code_sandbox/resources/assets/js/components/Graphline.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 443 |
```vue
<template>
<canvas width="750" height="400" ref="canvaschart"></canvas>
</template>
<script>
import Chart from 'chart.js';
export default {
props: ['statistics', 'closed', 'open'],
methods: {
render(data)
{
this.Chart = new Chart(this.$refs.canvas... | /content/code_sandbox/resources/assets/js/components/Doughnut.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 215 |
```vue
<template>
<div v-if="lead !== null" v-show="hidden">
<div class="modal fade" id="create-offer" tabindex="-1" role="dialog" aria-hidden="true"
style="display:none;">
<div class="modal-dialog modal-lg" style="background:white;">
<invoice-line-modal type="offer" :resource="lead"/>
... | /content/code_sandbox/resources/assets/js/components/LeadSidebar.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 2,208 |
```vue
<template>
<div>
<div class="input-group input-wrapper">
<div class="input-group search-wrapper" v-bind:class="{activewrapper: isShowing}" >
<div class="input-group-btn search-panel">
<button type="button" class="btn search-type-picker"... | /content/code_sandbox/resources/assets/js/components/Search.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 1,494 |
```vue
<template>
<div>
<button class="btn back-icon" :style="buttonStyle" data-toggle="modal" data-target="#appointmentCreateModal"><i class="fa fa-plus"></i></button>
<!-- Modal -->
<div id="appointmentCreateModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Mod... | /content/code_sandbox/resources/assets/js/components/AppointmentCreate.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 2,413 |
```vue
<template>
<div class="wrapper">
<div class="utility-bar">
<ul class="time-dropwdown">
<li class="float-left"><a href="/dashboard"><button class="btn btn-clean back-button"><i class="fa fa-chevron-circle-left"></i></button></a></li>
<li class="float-left" s... | /content/code_sandbox/resources/assets/js/components/Calendar.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 3,665 |
```vue
<style scoped>
.action-link {
cursor: pointer;
}
.m-b-none {
margin-bottom: 0;
}
</style>
<template>
<div>
<div>
<div class="panel panel-default">
<div class="panel-heading">
<div style="display: flex; justify-content: ... | /content/code_sandbox/resources/assets/js/components/passport/PersonalAccessTokens.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 1,702 |
```vue
<style scoped>
.action-link {
cursor: pointer;
}
.m-b-none {
margin-bottom: 0;
}
</style>
<template>
<div>
<div class="panel panel-default">
<div class="panel-heading">
<div style="display: flex; justify-content: space-between; align-items... | /content/code_sandbox/resources/assets/js/components/passport/Clients.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 2,014 |
```vue
<style scoped>
.action-link {
cursor: pointer;
}
.m-b-none {
margin-bottom: 0;
}
</style>
<template>
<div>
<div v-if="tokens.length > 0">
<div class="panel panel-default">
<div class="panel-heading">Authorized Applications</div>
... | /content/code_sandbox/resources/assets/js/components/passport/AuthorizedClients.vue | vue | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 512 |
```php
<?php
use App\Services\Activity\ActivityLogger;
if (! function_exists('activity')) {
function activity(string $logName = null): ActivityLogger
{
$defaultLogName = "default";
return app(ActivityLogger::class)
->withname($logName ?? $defaultLogName);
}
}
if (! function_ex... | /content/code_sandbox/app/helpers.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 411 |
```php
<?php
namespace App\Observers;
use App\Models\Project;
class ProjectObserver
{
private $relations;
public function __construct()
{
$this->relations = [
'comments',
'activity',
'documents',
];
}
/**
* Handle the project "created" ev... | /content/code_sandbox/app/Observers/ProjectObserver.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 372 |
```php
<?php
namespace App\Observers;
use App\Models\Client;
class ClientObserver
{
private $relations;
public function __construct()
{
$this->relations = [
'tasks',
'leads',
'documents',
'projects',
'invoices',
'contacts',
... | /content/code_sandbox/app/Observers/ClientObserver.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 363 |
```php
<?php
namespace App\Observers;
use Elasticsearch\Client;
use Elasticsearch\ClientBuilder;
use Aws\Credentials\CredentialProvider;
class ElasticSearchObserver
{
private $elasticsearch;
public function __construct()
{
$host = config('elasticsearch.hosts');
$provider = CredentialProv... | /content/code_sandbox/app/Observers/ElasticSearchObserver.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 241 |
```php
<?php
namespace App\Observers;
use App\Models\Lead;
class LeadObserver
{
private $relations;
public function __construct()
{
$this->relations = [
'comments',
'activity',
'appointments'
];
}
/**
* Handle the lead "created" event.
... | /content/code_sandbox/app/Observers/LeadObserver.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 382 |
```php
<?php
namespace App\Observers;
use App\Models\Invoice;
class InvoiceObserver
{
private $relations;
public function __construct()
{
$this->relations = [
'invoiceLines',
'payments'
];
}
/**
* Handle the task "created" event.
*
* @param... | /content/code_sandbox/app/Observers/InvoiceObserver.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 352 |
```php
<?php
namespace App\Api\v1\Controllers;
use App\Models\User;
use App\Api\v1\Controllers\ApiController;
use Illuminate\Http\Request;
class UserController extends ApiController
{
public function index()
{
return User::all();
}
}
``` | /content/code_sandbox/app/Api/v1/Controllers/UserController.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 52 |
```php
<?php
namespace App\Observers;
use App\Models\Task;
class TaskObserver
{
private $relations;
public function __construct()
{
$this->relations = [
'comments',
'documents',
'appointments',
'activity',
];
}
/**
* Handle th... | /content/code_sandbox/app/Observers/TaskObserver.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 277 |
```php
<?php
namespace App\Api\v1\Controllers;
use Dingo\Api\Routing\Helpers;
use Illuminate\Routing\Controller;
use Illuminate\Http\Request;
class ApiController extends Controller
{
/**
* Return generic json response with the given data.
*
* @param $data
* @param int $statusCode
* @param... | /content/code_sandbox/app/Api/v1/Controllers/ApiController.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 523 |
```php
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Lang;
use App\Models\Task;
class TaskActionNotification extends Notification
{
use Queueable;
... | /content/code_sandbox/app/Notifications/TaskActionNotification.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 698 |
```php
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Auth;
use Lang;
use App\Models\Client;
class ClientActionNotification extends Notification
{
use Qu... | /content/code_sandbox/app/Notifications/ClientActionNotification.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 523 |
```php
<?php
namespace App\Notifications;
use App\Models\Comment;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class YouWereMentionedNotification extends Notification
{
use Queueable;
pu... | /content/code_sandbox/app/Notifications/YouWereMentionedNotification.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 365 |
```php
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Auth;
use Lang;
use App\Models\Lead;
class LeadActionNotification extends Notification
{
use Queuea... | /content/code_sandbox/app/Notifications/LeadActionNotification.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 632 |
```php
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Lang;
use App\Models\Task;
class ProjectActionNotification extends Notification
{
use Queueable;
... | /content/code_sandbox/app/Notifications/ProjectActionNotification.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 698 |
```php
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use App\Model... | /content/code_sandbox/app/Events/LeadAction.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 243 |
```php
<?php
namespace App\Events;
abstract class Event
{
//
}
``` | /content/code_sandbox/app/Events/Event.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 16 |
```php
<?php
namespace App\Events;
use App\Models\Comment;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSocket... | /content/code_sandbox/app/Events/NewComment.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 141 |
```php
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use App\Model... | /content/code_sandbox/app/Events/TaskAction.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 242 |
```php
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use App\Model... | /content/code_sandbox/app/Events/ClientAction.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 240 |
```php
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use App\Model... | /content/code_sandbox/app/Events/ProjectAction.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 242 |
```php
<?php
namespace App\Services\Invoice;
use App\Models\Offer;
use App\Models\Invoice;
use App\Repositories\Tax\Tax;
use App\Repositories\Money\Money;
class InvoiceCalculator
{
/**
* @var Invoice
*/
private $invoice;
/**
* @var Tax
*/
private $tax;
public function __constr... | /content/code_sandbox/app/Services/Invoice/InvoiceCalculator.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 391 |
```php
<?php
namespace App\Services\Invoice;
use App\Enums\InvoiceStatus;
use App\Models\Invoice;
use App\Repositories\Money\Money;
class GenerateInvoiceStatus
{
/**
* @var Invoice
*/
private $invoice;
/** @var Money */
private $price;
/** @var int */
private $sum;
public funct... | /content/code_sandbox/app/Services/Invoice/GenerateInvoiceStatus.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 464 |
```php
<?php
namespace App\Services\Comment;
use Illuminate\Database\Eloquent\Relations\MorphMany;
interface Commentable
{
public function comments(): MorphMany;
public function getCreateCommentEndpoint(): String;
}
``` | /content/code_sandbox/app/Services/Comment/Commentable.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 44 |
```php
<?php
namespace App\Services\Storage;
use App\Repositories\FilesystemIntegration\FilesystemIntegration;
class Local implements FilesystemIntegration
{
public function isEnabled()
{
return false;
}
public function upload($client_folder, $filename, $file): array
{
return [];
... | /content/code_sandbox/app/Services/Storage/Local.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 142 |
```php
<?php
namespace App\Services\Activity;
use App\Models\Activity;
use Illuminate\Auth\AuthManager;
use Illuminate\Database\Eloquent\Model;
class ActivityLogger
{
private $auth;
protected $activity;
protected $defaultLogName = "default";
public function __construct(AuthManager $auth)
{
... | /content/code_sandbox/app/Services/Activity/ActivityLogger.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 660 |
```php
<?php
namespace App\Services\Storage;
use App\Models\Integration;
class GetStorageProvider
{
public static function getStorage()
{
$integration = Integration::where('api_type', 'file')->first();
if ($integration) {
return new $integration->name;
} else {
... | /content/code_sandbox/app/Services/Storage/GetStorageProvider.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 74 |
```php
<?php
namespace App\Services\Storage;
use App\Models\Integration;
use Illuminate\Support\Facades\File;
use Spatie\Dropbox\Client as DropboxClient;
use App\Services\Storage\Authentication\DropboxAuthenticator;
use App\Repositories\FilesystemIntegration\FilesystemIntegration;
class Dropbox implements FilesystemI... | /content/code_sandbox/app/Services/Storage/Dropbox.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 383 |
```php
<?php
namespace App\Services\Storage\Authentication;
use App\Models\Integration;
use App\Services\Storage\GoogleDrive;
use Google_Client;
use Google_Service_Drive;
class GoogleDriveAuthenticator implements StorageAuthenticatorContract
{
private $client;
public function __construct()
{
$aut... | /content/code_sandbox/app/Services/Storage/Authentication/GoogleDriveAuthenticator.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 312 |
```php
<?php
namespace App\Services\Storage\Authentication;
use App\Models\Integration;
use App\Services\Storage\Dropbox;
use GuzzleHttp\Client;
class DropboxAuthenticator implements StorageAuthenticatorContract
{
private $client_id;
private $redirect_uri;
private $client_secret;
private $client;
... | /content/code_sandbox/app/Services/Storage/Authentication/DropboxAuthenticator.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 466 |
```php
<?php
namespace App\Services\Storage;
use App\Services\Storage\Authentication\GoogleDriveAuthenticator;
use Storage;
use File;
use GuzzleHttp\Client;
use App\Repositories\FilesystemIntegration\FilesystemIntegration;
use Google_Client;
use Google_Service_Drive;
use App\Models\Integration;
class GoogleDrive impl... | /content/code_sandbox/app/Services/Storage/GoogleDrive.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 1,193 |
```php
<?php
namespace App\Services\Storage\Authentication;
interface StorageAuthenticatorContract
{
public function authUrl();
public function token($code);
public function revokeAccess();
}
``` | /content/code_sandbox/app/Services/Storage/Authentication/StorageAuthenticatorContract.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 38 |
```php
<?php
namespace App\Services\InvoiceNumber;
class InvoiceNumberConfig
{
private $config;
public function __construct()
{
$this->config = true;
}
public function isEnabled(): bool
{
return $this->config === true;
}
public function isDisabled(): bool
{
... | /content/code_sandbox/app/Services/InvoiceNumber/InvoiceNumberConfig.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 82 |
```php
<?php
namespace App\Services\Search;
use Elasticsearch\ClientBuilder;
class SearchService
{
private $elasticsearch;
public function getClient()
{
$host = config('elasticsearch.hosts');
if (is_null($this->elasticsearch)) {
$builder = ClientBuilder::create()->setHosts($h... | /content/code_sandbox/app/Services/Search/SearchService.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 276 |
```php
<?php
namespace App\Services\InvoiceNumber;
use App\Models\Invoice;
class InvoiceNumberValidator
{
public function validateInvoiceNumberSize(Int $invoiceNumber)
{
if ($invoiceNumber <= 9999999 && $invoiceNumber >= 1) {
return true;
}
return false;
}
public... | /content/code_sandbox/app/Services/InvoiceNumber/InvoiceNumberValidator.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 195 |
```php
<?php
namespace App\Services\InvoiceNumber;
use App\Models\Setting;
class InvoiceNumberService
{
private $setting;
private $lockedSetting;
public function __construct(InvoiceNumberConfig $config)
{
if ($config->isDisabled()) {
return null;
}
$this->setting ... | /content/code_sandbox/app/Services/InvoiceNumber/InvoiceNumberService.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 225 |
```php
<?php
namespace App\Services\ClientNumber;
use App\Models\Setting;
class ClientNumberService
{
private $setting;
private $lockedSetting;
public function __construct(ClientNumberConfig $config)
{
if ($config->isDisabled()) {
return null;
}
$this->setting = S... | /content/code_sandbox/app/Services/ClientNumber/ClientNumberService.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 223 |
```php
<?php
namespace App\Services\ClientNumber;
class ClientNumberConfig
{
private $config;
public function __construct()
{
$this->config = true;
}
public function isEnabled(): bool
{
return $this->config === true;
}
public function isDisabled(): bool
{
... | /content/code_sandbox/app/Services/ClientNumber/ClientNumberConfig.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 81 |
```php
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
abstract class Job
{
/*
|your_sha256_hash----------
| Queueable Jobs
|your_sha256_hash----------
|
| This job base class provides a central location to place any logic that
| is shared across all of your jobs. The trait includ... | /content/code_sandbox/app/Jobs/Job.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 106 |
```php
<?php
namespace App\Services\ClientNumber;
use App\Models\Client;
class ClientNumberValidator
{
public function validateClientNumberSize(Int $clientNumber)
{
if ($clientNumber <= 9999999 && $clientNumber >= 1) {
return true;
}
return false;
}
public functi... | /content/code_sandbox/app/Services/ClientNumber/ClientNumberValidator.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 192 |
```php
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
class ProcessNotifications implements ShouldQueue
{
use Dispatchable, InteractsWit... | /content/code_sandbox/app/Jobs/ProcessNotifications.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 156 |
```php
<?php
namespace App\Providers;
use App\Models\Integration;
use App\Models\Client;
use App\Models\Invoice;
use App\Models\Task;
use App\Models\Lead;
use App\Models\Project;
use App\Observers\ClientObserver;
use App\Observers\TaskObserver;
use App\Observers\LeadObserver;
use App\Observers\ProjectObserver;
use Ap... | /content/code_sandbox/app/Providers/AppServiceProvider.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 276 |
```php
<?php
namespace App\Providers;
use App\Models\Task;
use App\Models\User;
use Laravel\Passport\Passport;
use App\Policies\allowTaskComplete;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Carbon\Carbon;
class Au... | /content/code_sandbox/app/Providers/AuthServiceProvider.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 190 |
```php
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class ViewComposerServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
view()->composer(
['users.show'],
... | /content/code_sandbox/app/Providers/ViewComposerServiceProvider.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 230 |
```php
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set... | /content/code_sandbox/app/Providers/RouteServiceProvider.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 340 |
```php
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::ro... | /content/code_sandbox/app/Providers/BroadcastServiceProvider.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 111 |
```php
<?php
namespace App\Providers;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
... | /content/code_sandbox/app/Providers/EventServiceProvider.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 260 |
```php
<?php
namespace App\Listeners;
use App\Models\User;
use App\Events\NewComment;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Notifications\YouWereMentionedNotification;
class NotiftyMentionedUsers
{
/**
* Create the event listener.
*
* @return ... | /content/code_sandbox/app/Listeners/NotiftyMentionedUsers.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 200 |
```php
<?php
namespace App\Listeners;
use App\Events\TaskAction;
use App\Models\User;
use App\Services\Activity\ActivityLogger;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Models\Activity;
use Lang;
use App\Models\Task;
class TaskActionLog
{
/**
* Create the ... | /content/code_sandbox/app/Listeners/TaskActionLog.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 428 |
```php
<?php
namespace App\Listeners;
use App\Events\LeadAction;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Notifications\LeadActionNotification;
class LeadActionNotify
{
/**
* Action the event listener.
*
*/
public function __construct()
{... | /content/code_sandbox/app/Listeners/LeadActionNotify.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 158 |
```php
<?php
namespace App\Listeners;
use App\Events\TaskAction;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Notifications\TaskActionNotification;
class TaskActionNotify
{
/**
* Create the event listener.
*
*/
public function __construct()
{... | /content/code_sandbox/app/Listeners/TaskActionNotify.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 158 |
```php
<?php
namespace App\Listeners;
use App\Events\LeadAction;
use App\Models\User;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Models\Activity;
use Lang;
use App\Models\Lead;
class LeadActionLog
{
/**
* Action the event listener.
*
*/
public ... | /content/code_sandbox/app/Listeners/LeadActionLog.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 384 |
```php
<?php
namespace App\Listeners;
use App\Events\ProjectAction;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Notifications\ProjectActionNotification;
class ProjectActionNotify
{
/**
* Create the event listener.
*
*/
public function __construc... | /content/code_sandbox/app/Listeners/ProjectActionNotify.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 158 |
```php
<?php
namespace App\Listeners;
use App\Events\ClientAction;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Notifications\ClientActionNotification;
class ClientActionNotify
{
/**
* Create the event listener.
*
*/
public function __construct()... | /content/code_sandbox/app/Listeners/ClientActionNotify.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 156 |
```php
<?php
namespace App\Listeners;
use App\Events\ClientAction;
use App\Models\User;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Models\Activity;
use App\Models\Client;
use Lang;
class ClientActionLog
{
/**
* Create the event listener.
*
*/
p... | /content/code_sandbox/app/Listeners/ClientActionLog.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 287 |
```php
<?php
namespace App\Listeners;
use App\Events\ProjectAction;
use App\Models\User;
use App\Services\Activity\ActivityLogger;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Models\Activity;
use Lang;
use App\Models\Project;
class ProjectActionLog
{
/**
* Cr... | /content/code_sandbox/app/Listeners/ProjectActionLog.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 430 |
```php
<?php
namespace App\Http\Middleware;
use Closure;
class RedirectIfNotAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (Aut... | /content/code_sandbox/app/Http/Middleware/RedirectIfNotAdmin.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 131 |
```php
<?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
``` | /content/code_sandbox/app/Http/Middleware/EncryptCookies.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 67 |
```php
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middl... | /content/code_sandbox/app/Http/Kernel.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 666 |
```php
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
... | /content/code_sandbox/app/Http/Middleware/RedirectIfAuthenticated.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 124 |
```php
<?php
namespace App\Http\Middleware;
use Closure;
class RedirectIfDemo
{
const MEESAGE = 'This action is not allowed in the demo.';
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public fun... | /content/code_sandbox/app/Http/Middleware/RedirectIfDemo.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 132 |
```php
<?php
namespace App\Http\Middleware;
use Closure;
use Cache;
use Carbon;
class LogLastUserActivity
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $nex... | /content/code_sandbox/app/Http/Middleware/LogLastUserActivity.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 138 |
```php
<?php
namespace App\Http\Middleware;
use Closure;
class Translation
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (auth()->us... | /content/code_sandbox/app/Http/Middleware/Translation.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 137 |
```php
<?php
namespace App\Http\Middleware;
use Closure;
class RedirectIfNotSuperAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if... | /content/code_sandbox/app/Http/Middleware/RedirectIfNotSuperAdmin.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 127 |
```php
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'notifications... | /content/code_sandbox/app/Http/Middleware/VerifyCsrfToken.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 73 |
```php
<?php
namespace App\Http\Middleware;
use App\Services\Storage\GetStorageProvider;
use Closure;
class RedirectIfFileSystemIsNotEnabled
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public funct... | /content/code_sandbox/app/Http/Middleware/RedirectIfFileSystemIsNotEnabled.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 140 |
```php
<?php
namespace App\Http\Middleware\Lead;
use Closure;
class CanLeadCreate
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (!au... | /content/code_sandbox/app/Http/Middleware/Lead/CanLeadCreate.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 130 |
```php
<?php
namespace App\Http\Middleware\Lead;
use Closure;
use App\Models\Setting;
use App\Models\Lead;
class IsLeadAssigned
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(... | /content/code_sandbox/app/Http/Middleware/Lead/IsLeadAssigned.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 146 |
```php
<?php
namespace App\Http\Middleware\Client;
use Closure;
class CanClientCreate
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if ... | /content/code_sandbox/app/Http/Middleware/Client/CanClientCreate.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 129 |
```php
<?php
namespace App\Http\Middleware\Lead;
use Closure;
use App\Models\Setting;
use App\Models\Lead;
class CanLeadUpdateStatus
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function ha... | /content/code_sandbox/app/Http/Middleware/Lead/CanLeadUpdateStatus.php | php | 2016-01-14T22:43:51 | 2024-08-14T11:30:58 | DaybydayCRM | Bottelet/DaybydayCRM | 2,235 | 142 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.