Compare changes
Some changes are not shown.
For a faster browsing experience, only 76 of 127 files are shown. Download one of the files below to see all changes.
.editorconfig
0 → 100644
+15
−0
.env.example
0 → 100644
+50
−0
.gitattributes
0 → 100644
+5
−0
.gitignore
0 → 100644
+14
−0
.styleci.yml
0 → 100644
+13
−0
+0
−1
app/Console/Kernel.php
0 → 100644
+41
−0
app/DelegationOneVote.php
0 → 100644
+35
−0
app/Election.php
0 → 100644
+17
−0
app/Exceptions/Handler.php
0 → 100644
+55
−0
app/ExtensionDelegationElection.php
0 → 100644
+23
−0
app/Http/Controllers/APIController.php
0 → 100644
+1413
−0
File added.
Preview size limit exceeded, changes collapsed.
+40
−0
+22
−0
+40
−0
+73
−0
+30
−0
+42
−0
app/Http/Controllers/Controller.php
0 → 100644
+13
−0
app/Http/Controllers/HomeController.php
0 → 100644
+38
−0
app/Http/Kernel.php
0 → 100644
+67
−0
app/Http/Middleware/Authenticate.php
0 → 100644
+21
−0
+17
−0
app/Http/Middleware/EncryptCookies.php
0 → 100644
+17
−0
+27
−0
app/Http/Middleware/TrimStrings.php
0 → 100644
+18
−0
app/Http/Middleware/TrustHosts.php
0 → 100644
+20
−0
app/Http/Middleware/TrustProxies.php
0 → 100644
+23
−0
app/Http/Middleware/VerifyCsrfToken.php
0 → 100644
+17
−0
app/MajorityVote.php
0 → 100644
+16
−0
app/Population.php
0 → 100644
+179
−0
app/Providers/AppServiceProvider.php
0 → 100644
+29
−0
app/Providers/AuthServiceProvider.php
0 → 100644
+30
−0
+21
−0
app/Providers/EventServiceProvider.php
0 → 100644
+34
−0
app/Providers/RouteServiceProvider.php
0 → 100644
+87
−0
app/User.php
0 → 100644
+39
−0
app/Voter.php
0 → 100644
+143
−0
artisan
0 → 100755
+53
−0
bootstrap/app.php
0 → 100644
+55
−0
bootstrap/cache/.gitignore
0 → 100644
+2
−0
composer.json
0 → 100644
+65
−0
Original line number | Diff line number | Diff line |
---|---|---|
{
|
||
"name": "laravel/laravel",
|
||
"type": "project",
|
||
"description": "The Laravel Framework.",
|
||
"keywords": [
|
||
"framework",
|
||
"laravel"
|
||
],
|
||
"license": "MIT",
|
||
"require": {
|
||
"php": "^7.2.5|^8.0",
|
||
"fideloper/proxy": "^4.4",
|
||
"fruitcake/laravel-cors": "^2.0",
|
||
"guzzlehttp/guzzle": "^6.3.1|^7.0.1",
|
||
"laravel/framework": "^7.29",
|
||
"laravel/tinker": "^2.5",
|
||
"laravel/ui": "^2.4",
|
||
"tightenco/ziggy": "^1.0"
|
||
},
|
||
"require-dev": {
|
||
"facade/ignition": "^2.0",
|
||
"fakerphp/faker": "^1.9.1",
|
||
"mockery/mockery": "^1.3.1",
|
||
"nunomaduro/collision": "^4.3",
|
||
"phpunit/phpunit": "^8.5.8|^9.3.3"
|
||
},
|
||
"config": {
|
||
"optimize-autoloader": true,
|
||
"preferred-install": "dist",
|
||
"sort-packages": true
|
||
},
|
||
"extra": {
|
||
"laravel": {
|
||
"dont-discover": []
|
||
}
|
||
},
|
||
"autoload": {
|
||
"psr-4": {
|
||
"App\\": "app/"
|
||
},
|
||
"classmap": [
|
||
"database/seeds",
|
||
"database/factories"
|
||
]
|
||
},
|
||
"autoload-dev": {
|
||
"psr-4": {
|
||
"Tests\\": "tests/"
|
||
}
|
||
},
|
||
"minimum-stability": "dev",
|
||
"prefer-stable": true,
|
||
"scripts": {
|
||
"post-autoload-dump": [
|
||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||
"@php artisan package:discover --ansi"
|
||
],
|
||
"post-root-package-install": [
|
||
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||
],
|
||
"post-create-project-cmd": [
|
||
"@php artisan key:generate --ansi"
|
||
]
|
||
}
|
||
} |
composer.lock
0 → 100644
+7168
−0
File added.
Preview size limit exceeded, changes collapsed.
config/app.php
0 → 100644
+236
−0
config/auth.php
0 → 100644
+117
−0
config/broadcasting.php
0 → 100644
+59
−0
config/cache.php
0 → 100644
+104
−0
config/cors.php
0 → 100644
+34
−0
config/database.php
0 → 100644
+147
−0
config/filesystems.php
0 → 100644
+85
−0
config/hashing.php
0 → 100644
+52
−0
config/logging.php
0 → 100644
+104
−0
config/mail.php
0 → 100644
+110
−0