Skip to content

Commit 20a0f0a

Browse files
committed
1st
0 parents  commit 20a0f0a

File tree

1,425 files changed

+139933
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,425 files changed

+139933
-0
lines changed

Diff for: .env.example

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
APP_NAME=VueFileManager
2+
APP_ENV=local
3+
APP_KEY=base64:sC1YuKsbWv7MdWugb9ZsYBqv2QZJ+QOuHZHEddOsAao=
4+
APP_DEBUG=true
5+
APP_URL=http://localhost
6+
APP_DEMO=false
7+
8+
LOG_CHANNEL=daily
9+
10+
SCOUT_DRIVER=tntsearch
11+
SCOUT_QUEUE=true
12+
13+
FILESYSTEM_DISK=local
14+
15+
DB_CONNECTION=mysql
16+
DB_HOST=127.0.0.1
17+
DB_PORT=3306
18+
DB_DATABASE=laravel
19+
DB_USERNAME=root
20+
DB_PASSWORD=
21+
22+
DB_MYSQLDUMP_PATH=/usr/bin
23+
24+
BROADCAST_DRIVER=null
25+
CACHE_DRIVER=file
26+
QUEUE_CONNECTION=database
27+
SESSION_DRIVER=file
28+
SESSION_LIFETIME=120
29+
30+
REDIS_HOST=127.0.0.1
31+
REDIS_PASSWORD=null
32+
REDIS_PORT=6379
33+
34+
MAIL_DRIVER=log
35+
MAIL_HOST=
36+
MAIL_PORT=
37+
MAIL_USERNAME=[email protected]
38+
MAIL_PASSWORD=
39+
MAIL_ENCRYPTION=
40+
MAIL_FROM_ADDRESS="${MAIL_USERNAME}"
41+
MAIL_FROM_NAME="${MAIL_USERNAME}"
42+
43+
POSTMARK_TOKEN=
44+
45+
MAILGUN_DOMAIN=
46+
MAILGUN_SECRET=
47+
MAILGUN_ENDPOINT=
48+
49+
AWS_ACCESS_KEY_ID=
50+
AWS_SECRET_ACCESS_KEY=
51+
AWS_DEFAULT_REGION=
52+
AWS_SESSION_TOKEN=
53+
54+
S3_ACCESS_KEY_ID=
55+
S3_SECRET_ACCESS_KEY=
56+
S3_DEFAULT_REGION=
57+
S3_BUCKET=
58+
S3_URL=
59+
60+
STRIPE_SECRET_KEY=
61+
STRIPE_PUBLIC_KEY=
62+
STRIPE_WEBHOOK_SECRET=
63+
64+
PAYSTACK_SECRET=
65+
PAYSTACK_PUBLIC_KEY=
66+
67+
PAYPAL_CLIENT_ID=
68+
PAYPAL_CLIENT_SECRET=
69+
PAYPAL_WEBHOOK_ID=
70+
PAYPAL_IS_LIVE=false
71+
72+
FACEBOOK_CLIENT_ID=
73+
FACEBOOK_CLIENT_SECRET=
74+
75+
GOOGLE_CLIENT_ID=
76+
GOOGLE_CLIENT_SECRET=
77+
78+
GITHUB_CLIENT_ID=
79+
GITHUB_CLIENT_SECRET=
80+
81+
RECAPTCHA_CLIENT_ID=
82+
RECAPTCHA_CLIENT_SECRET=
83+
84+
SANCTUM_STATEFUL_DOMAINS=localhost,localhost:8000,127.0.0.1,127.0.0.1:8000,::1
85+
86+
PUSHER_APP_ID=local
87+
PUSHER_APP_KEY=local
88+
PUSHER_APP_SECRET=local
89+
PUSHER_APP_CLUSTER=mt1
90+
PUSHER_APP_HOST=
91+
PUSHER_APP_PORT=
92+
PUSHER_APP_TLS=true
93+
PUSHER_APP_ALLOWED_ORIGIN=
94+
95+
IS_ADMIN_VUEFILEMANAGER_BAR=true
96+
IS_SETUP_WIZARD_DEMO=false
97+
IS_SETUP_WIZARD_DEBUG=false
98+
99+
FTP_HOST=
100+
FTP_USERNAME=
101+
FTP_PASSWORD=
102+
103+
AZURE_STORAGE_NAME=
104+
AZURE_STORAGE_KEY=
105+
AZURE_STORAGE_CONTAINER=
106+
AZURE_STORAGE_URL=

Diff for: .gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* text=auto
2+
*.css linguist-vendored
3+
*.scss linguist-vendored
4+
*.js linguist-vendored
5+
CHANGELOG.md export-ignore

Diff for: .github/workflows/backend-code-style-fix.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Code Style Fix
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
php-cs-fixer:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
with:
19+
ref: ${{ github.head_ref }}
20+
21+
- name: Run PHP CS Fixer
22+
uses: docker://oskarstark/php-cs-fixer-ga
23+
with:
24+
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
25+
26+
- name: Commit changes
27+
uses: stefanzweifel/git-auto-commit-action@v4
28+
with:
29+
commit_message: Fix backend code styling

Diff for: .github/workflows/build.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Frontend Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [14.x]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
27+
- name: Install dependencies
28+
run: npm install
29+
30+
- run: npm run prod
31+
32+
- name: Commit changes
33+
uses: stefanzweifel/git-auto-commit-action@v4
34+
with:
35+
commit_message: Application Build

Diff for: .github/workflows/unit-testing.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Unit Testing
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
test:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: true
16+
matrix:
17+
os: [ubuntu-latest]
18+
php: [8.0]
19+
stability: [prefer-stable]
20+
21+
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
22+
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v2
26+
27+
- name: Setup PHP
28+
uses: shivammathur/setup-php@v2
29+
with:
30+
php-version: ${{ matrix.php }}
31+
extensions: ctype, json, exif, dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
32+
coverage: none
33+
34+
- name: Setup problem matchers
35+
run: |
36+
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
37+
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
38+
39+
- name: Install dependencies
40+
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
41+
42+
- name: Run tests
43+
run: vendor/bin/phpunit

Diff for: .gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/node_modules
2+
/public/hot
3+
/public/storage
4+
/storage/*.key
5+
/storage/*.index
6+
/storage/framework/cache/*
7+
/vendor
8+
/resources/babel.babel
9+
.idea
10+
.env
11+
.env.backup
12+
.env.testing
13+
.php-cs-fixer.cache
14+
.phpunit.result.cache
15+
.phpstorm.meta.php
16+
.vscode/
17+
_ide_helper.php
18+
Homestead.json
19+
Homestead.yaml
20+
npm-debug.log
21+
yarn-error.log
22+
prettier.json
23+
/public/temp

Diff for: .htaccess

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RewriteEngine on
2+
RewriteCond %{REQUEST_URI} !^public
3+
RewriteRule ^(.*)$ public/$1 [L]

Diff for: .php-cs-fixer.dist.php

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?php
2+
3+
$finder = PhpCsFixer\Finder::create()
4+
->in([
5+
__DIR__ . '/src',
6+
__DIR__ . '/routes',
7+
__DIR__ . '/config',
8+
__DIR__ . '/tests',
9+
])
10+
->name('*.php')
11+
->notName('*.blade.php')
12+
->ignoreDotFiles(true)
13+
->ignoreVCS(true);
14+
15+
$config = new PhpCsFixer\Config();
16+
17+
return $config->setRules([
18+
'@PSR2' => true,
19+
'nullable_type_declaration_for_default_null_value' => [
20+
'use_nullable_type_declaration' => true
21+
],
22+
'array_syntax' => [
23+
'syntax' => 'short'
24+
],
25+
'ordered_imports' => [
26+
'sort_algorithm' => 'length'
27+
],
28+
'blank_line_before_statement' => [
29+
'statements' => ['break', 'case', 'continue', 'declare', 'default', 'do', 'exit', 'for', 'foreach', 'goto', 'if', 'include', 'include_once', 'require', 'require_once', 'return', 'switch', 'throw', 'try', 'while', 'yield', 'yield_from'],
30+
],
31+
'method_argument_space' => [
32+
'on_multiline' => 'ensure_fully_multiline',
33+
'keep_multiple_spaces_after_comma' => true,
34+
],
35+
'no_extra_blank_lines' => [
36+
'tokens' => ['break', 'case', 'continue', 'curly_brace_block', 'default', 'extra', 'parenthesis_brace_block', 'return', 'square_brace_block', 'switch', 'throw', 'use', 'use_trait'],
37+
],
38+
'cast_spaces' => [
39+
'space' => 'single'
40+
],
41+
'use_arrow_functions' => true,
42+
'phpdoc_single_line_var_spacing' => true,
43+
'phpdoc_var_without_name' => true,
44+
'single_space_after_construct' => true,
45+
'single_line_after_imports' => true,
46+
'no_unused_imports' => true,
47+
'not_operator_with_successor_space' => true,
48+
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
49+
'phpdoc_scalar' => true,
50+
'unary_operator_spaces' => true,
51+
'binary_operator_spaces' => ['operators' => ['=>' => 'align']],
52+
'single_trait_insert_per_statement' => false,
53+
'method_chaining_indentation' => true,
54+
'array_indentation' => true,
55+
'single_quote' => true,
56+
'no_singleline_whitespace_before_semicolons' => true,
57+
'no_empty_statement' => true,
58+
'standardize_increment' => true,
59+
'object_operator_without_whitespace' => true,
60+
'ternary_operator_spaces' => true,
61+
'no_leading_namespace_whitespace' => true,
62+
'no_blank_lines_before_namespace' => true,
63+
'blank_line_after_namespace' => true,
64+
'fully_qualified_strict_types' => true,
65+
'single_line_throw' => true,
66+
'function_typehint_space' => true,
67+
'simplified_if_return' => true,
68+
'no_useless_else' => true,
69+
'no_unneeded_curly_braces' => true,
70+
'no_empty_comment' => true,
71+
'no_blank_lines_after_class_opening' => true,
72+
'whitespace_after_comma_in_array' => true,
73+
'trim_array_spaces' => true,
74+
'no_whitespace_before_comma_in_array' => true,
75+
'constant_case' => true,
76+
'lowercase_keywords' => true,
77+
'lowercase_static_reference' => true,
78+
'lambda_not_used_import' => true,
79+
])
80+
->setFinder($finder);

0 commit comments

Comments
 (0)