Skip to content

Commit 63d2044

Browse files
committed
Concluído
0 parents  commit 63d2044

File tree

173 files changed

+21369
-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.

173 files changed

+21369
-0
lines changed

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.env.example

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
APP_NAME=Laravel
2+
APP_ENV=local
3+
APP_KEY=
4+
APP_DEBUG=true
5+
APP_URL=http://localhost
6+
7+
LOG_CHANNEL=stack
8+
LOG_DEPRECATIONS_CHANNEL=null
9+
LOG_LEVEL=debug
10+
11+
DB_CONNECTION=mysql
12+
DB_HOST=127.0.0.1
13+
DB_PORT=3306
14+
DB_DATABASE=laravel
15+
DB_USERNAME=root
16+
DB_PASSWORD=
17+
18+
BROADCAST_DRIVER=log
19+
CACHE_DRIVER=file
20+
FILESYSTEM_DISK=local
21+
QUEUE_CONNECTION=sync
22+
SESSION_DRIVER=file
23+
SESSION_LIFETIME=120
24+
25+
MEMCACHED_HOST=127.0.0.1
26+
27+
REDIS_HOST=127.0.0.1
28+
REDIS_PASSWORD=null
29+
REDIS_PORT=6379
30+
31+
MAIL_MAILER=smtp
32+
MAIL_HOST=mailpit
33+
MAIL_PORT=1025
34+
MAIL_USERNAME=null
35+
MAIL_PASSWORD=null
36+
MAIL_ENCRYPTION=null
37+
MAIL_FROM_ADDRESS="hello@example.com"
38+
MAIL_FROM_NAME="${APP_NAME}"
39+
40+
AWS_ACCESS_KEY_ID=
41+
AWS_SECRET_ACCESS_KEY=
42+
AWS_DEFAULT_REGION=us-east-1
43+
AWS_BUCKET=
44+
AWS_USE_PATH_STYLE_ENDPOINT=false
45+
46+
PUSHER_APP_ID=
47+
PUSHER_APP_KEY=
48+
PUSHER_APP_SECRET=
49+
PUSHER_HOST=
50+
PUSHER_PORT=443
51+
PUSHER_SCHEME=https
52+
PUSHER_APP_CLUSTER=mt1
53+
54+
VITE_APP_NAME="${APP_NAME}"
55+
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
56+
VITE_PUSHER_HOST="${PUSHER_HOST}"
57+
VITE_PUSHER_PORT="${PUSHER_PORT}"
58+
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
59+
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

.eslintrc.cjs

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"plugin:vue/vue3-strongly-recommended",
9+
"prettier"
10+
],
11+
"rules": {
12+
"vue/require-default-prop": "off",
13+
"vue/multi-word-component-names": "off",
14+
},
15+
"globals": {
16+
// General
17+
"nextTick": true,
18+
"defineComponent": true,
19+
"defineAsyncComponent": true,
20+
"defineCustomElement": true,
21+
// Vue Reactivity: Core
22+
"ref": true,
23+
"computed": true,
24+
"reactive": true,
25+
"readonly": true,
26+
"watchEffect": true,
27+
"watchPostEffect": true,
28+
"watchSyncEffect": true,
29+
"watch": true,
30+
// Vue Reactivity: Utilities
31+
"isRef": true,
32+
"unref": false,
33+
"toRef": true,
34+
"toRefs": true,
35+
"isProxy": true,
36+
"isReactive": true,
37+
"isReadonly": true,
38+
// Vue Reactivity: Advanced
39+
"shallowRef": true,
40+
"triggerRef": true,
41+
"customRef": true,
42+
"shallowReactive": true,
43+
"shallowReadonly": true,
44+
"toRaw": true,
45+
"markRaw": true,
46+
"effectScope": true,
47+
"getCurrentScope": true,
48+
"onScopeDispose": true,
49+
// Vue Lifecycle Hooks
50+
"onMounted": true,
51+
"onUpdated": true,
52+
"onUnmounted": true,
53+
"onBeforeMount": true,
54+
"onBeforeUpdate": true,
55+
"onBeforeUnmount": true,
56+
"onErrorCaptured": true,
57+
"onRenderTracked": true,
58+
"onRenderTriggered": true,
59+
"onActivated": true,
60+
"onDeactivated": true,
61+
"onServerPrefetch": true,
62+
// Vue Dependency Injection
63+
"provide": true,
64+
"inject": true,
65+
// Vue <script setup>
66+
"defineProps": true,
67+
"defineEmits": true,
68+
"useAttrs": true,
69+
"useSlots": true,
70+
"defineExpose": true,
71+
// Inertia
72+
"router": true,
73+
"useForm": true,
74+
"usePage": true,
75+
"require-v-for-key": false
76+
},
77+
"ignorePatterns": [
78+
"node_modules/**/*",
79+
"vendor/**/*"
80+
]
81+
}

.gitattributes

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
* text=auto eol=lf
2+
3+
*.blade.php diff=html
4+
*.css diff=css
5+
*.html diff=html
6+
*.md diff=markdown
7+
*.php diff=php
8+
9+
/.github export-ignore
10+
CHANGELOG.md export-ignore
11+
.styleci.yml export-ignore

.gitignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/.phpunit.cache
2+
/node_modules
3+
/public/build
4+
/public/hot
5+
/public/storage
6+
/storage/*.key
7+
/vendor
8+
.env
9+
.env.backup
10+
.env.production
11+
.phpunit.result.cache
12+
Homestead.json
13+
Homestead.yaml
14+
auth.json
15+
npm-debug.log
16+
yarn-error.log
17+
/.fleet
18+
/.idea
19+
/.vscode

.php-cs-fixer.php

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?php
2+
3+
return (new PhpCsFixer\Config())
4+
->setRules([
5+
'@PSR12' => true,
6+
'array_indentation' => true,
7+
'array_syntax' => ['syntax' => 'short'],
8+
'combine_consecutive_unsets' => true,
9+
'class_attributes_separation' => ['elements' => ['method' => 'one',]],
10+
'multiline_whitespace_before_semicolons' => false,
11+
'single_quote' => true,
12+
13+
'binary_operator_spaces' => [
14+
'operators' => [
15+
// '=>' => 'align',
16+
// '=' => 'align'
17+
]
18+
],
19+
// 'blank_line_after_opening_tag' => true,
20+
// 'blank_line_before_statement' => true,
21+
'braces' => [
22+
'allow_single_line_closure' => true,
23+
],
24+
// 'cast_spaces' => true,
25+
// 'class_definition' => array('singleLine' => true),
26+
'concat_space' => ['spacing' => 'one'],
27+
'declare_equal_normalize' => true,
28+
'function_typehint_space' => true,
29+
'single_line_comment_style' => ['comment_types' => ['hash']],
30+
'include' => true,
31+
'lowercase_cast' => true,
32+
// 'native_function_casing' => true,
33+
// 'new_with_braces' => true,
34+
// 'no_blank_lines_after_class_opening' => true,
35+
// 'no_blank_lines_after_phpdoc' => true,
36+
'no_blank_lines_before_namespace' => true,
37+
// 'no_empty_comment' => true,
38+
// 'no_empty_phpdoc' => true,
39+
// 'no_empty_statement' => true,
40+
'no_extra_blank_lines' => [
41+
'tokens' => [
42+
'curly_brace_block',
43+
'extra',
44+
// 'parenthesis_brace_block',
45+
// 'square_brace_block',
46+
'throw',
47+
'use',
48+
]
49+
],
50+
// 'no_leading_import_slash' => true,
51+
// 'no_leading_namespace_whitespace' => true,
52+
// 'no_mixed_echo_print' => array('use' => 'echo'),
53+
'no_multiline_whitespace_around_double_arrow' => true,
54+
// 'no_short_bool_cast' => true,
55+
// 'no_singleline_whitespace_before_semicolons' => true,
56+
'no_spaces_around_offset' => true,
57+
// 'no_trailing_comma_in_list_call' => true,
58+
// 'no_trailing_comma_in_singleline_array' => true,
59+
// 'no_unneeded_control_parentheses' => true,
60+
// 'no_unused_imports' => true,
61+
'no_whitespace_before_comma_in_array' => true,
62+
'no_whitespace_in_blank_line' => true,
63+
// 'normalize_index_brace' => true,
64+
'object_operator_without_whitespace' => true,
65+
// 'php_unit_fqcn_annotation' => true,
66+
// 'phpdoc_align' => true,
67+
// 'phpdoc_annotation_without_dot' => true,
68+
// 'phpdoc_indent' => true,
69+
// 'phpdoc_inline_tag' => true,
70+
// 'phpdoc_no_access' => true,
71+
// 'phpdoc_no_alias_tag' => true,
72+
// 'phpdoc_no_empty_return' => true,
73+
// 'phpdoc_no_package' => true,
74+
// 'phpdoc_no_useless_inheritdoc' => true,
75+
// 'phpdoc_return_self_reference' => true,
76+
// 'phpdoc_scalar' => true,
77+
// 'phpdoc_separation' => true,
78+
// 'phpdoc_single_line_var_spacing' => true,
79+
// 'phpdoc_summary' => true,
80+
// 'phpdoc_to_comment' => true,
81+
// 'phpdoc_trim' => true,
82+
// 'phpdoc_types' => true,
83+
// 'phpdoc_var_without_name' => true,
84+
// 'increment_style' => true,
85+
// 'return_type_declaration' => true,
86+
// 'self_accessor' => true,
87+
// 'short_scalar_cast' => true,
88+
// 'single_blank_line_before_namespace' => true,
89+
// 'single_class_element_per_statement' => true,
90+
// 'space_after_semicolon' => true,
91+
// 'standardize_not_equals' => true,
92+
'ternary_operator_spaces' => true,
93+
// 'trailing_comma_in_multiline' => ['elements' => ['arrays']],
94+
'trim_array_spaces' => true,
95+
'unary_operator_spaces' => true,
96+
'whitespace_after_comma_in_array' => true,
97+
'space_after_semicolon' => true,
98+
// 'single_blank_line_at_eof' => false
99+
])->setLineEnding("\n")
100+
->setIndent("\t");
101+

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"singleAttributePerLine": true,
3+
"semi": true,
4+
"vueIndentScriptAndStyle": true,
5+
"tabWidth": 2,
6+
"singleQuote": true
7+
}

Help.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Projeto laravel com Vue3
2+
Auto import configurado (qualquer criação de novas diretivas deve ser adicionado em Vite.config.js "components")
3+
para usar quaisquer icones use a tag informada em "https://icon-sets.iconify.design/" usando apenas antes "i-" ex: <i-ant-design:android-outlined/>
4+
5+
Design Patterns
6+
7+
- Single Action Controller
8+
9+
ACL
10+
11+
- Cada user tem uma role que tem suas habilidades
12+
- table roles
13+
- table abilities
14+
15+
@builtin php (extençao) desativada

README.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
2+
3+
<p align="center">
4+
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
5+
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
6+
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
7+
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
8+
</p>
9+
10+
## About Laravel
11+
12+
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
13+
14+
- [Simple, fast routing engine](https://laravel.com/docs/routing).
15+
- [Powerful dependency injection container](https://laravel.com/docs/container).
16+
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
17+
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
18+
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
19+
- [Robust background job processing](https://laravel.com/docs/queues).
20+
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
21+
22+
Laravel is accessible, powerful, and provides tools required for large, robust applications.
23+
24+
## Learning Laravel
25+
26+
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
27+
28+
You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
29+
30+
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
31+
32+
## Laravel Sponsors
33+
34+
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com).
35+
36+
### Premium Partners
37+
38+
- **[Vehikl](https://vehikl.com/)**
39+
- **[Tighten Co.](https://tighten.co)**
40+
- **[WebReinvent](https://webreinvent.com/)**
41+
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
42+
- **[64 Robots](https://64robots.com)**
43+
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
44+
- **[Cyber-Duck](https://cyber-duck.co.uk)**
45+
- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
46+
- **[Jump24](https://jump24.co.uk)**
47+
- **[Redberry](https://redberry.international/laravel/)**
48+
- **[Active Logic](https://activelogic.com)**
49+
- **[byte5](https://byte5.de)**
50+
- **[OP.GG](https://op.gg)**
51+
52+
## Contributing
53+
54+
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
55+
56+
## Code of Conduct
57+
58+
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
59+
60+
## Security Vulnerabilities
61+
62+
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
63+
64+
## License
65+
66+
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

0 commit comments

Comments
 (0)