Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 5d28dbf4

Přidáno uživatelem Marek Lovčí před asi 5 roky(ů)

Initialize Laravel project

Zobrazit rozdíly:

.editorconfig
1
root = true
2

  
3
[*]
4
charset = utf-8
5
end_of_line = lf
6
insert_final_newline = true
7
indent_style = space
8
indent_size = 4
9
trim_trailing_whitespace = true
10

  
11
[*.md]
12
trim_trailing_whitespace = false
13

  
14
[*.{yml,yaml}]
15
indent_size = 2
.env.example
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

  
9
DB_CONNECTION=mysql
10
DB_HOST=127.0.0.1
11
DB_PORT=3306
12
DB_DATABASE=laravel
13
DB_USERNAME=root
14
DB_PASSWORD=
15

  
16
BROADCAST_DRIVER=log
17
CACHE_DRIVER=file
18
QUEUE_CONNECTION=sync
19
SESSION_DRIVER=file
20
SESSION_LIFETIME=120
21

  
22
REDIS_HOST=127.0.0.1
23
REDIS_PASSWORD=null
24
REDIS_PORT=6379
25

  
26
MAIL_MAILER=smtp
27
MAIL_HOST=smtp.mailtrap.io
28
MAIL_PORT=2525
29
MAIL_USERNAME=null
30
MAIL_PASSWORD=null
31
MAIL_ENCRYPTION=null
32
MAIL_FROM_ADDRESS=null
33
MAIL_FROM_NAME="${APP_NAME}"
34

  
35
AWS_ACCESS_KEY_ID=
36
AWS_SECRET_ACCESS_KEY=
37
AWS_DEFAULT_REGION=us-east-1
38
AWS_BUCKET=
39

  
40
PUSHER_APP_ID=
41
PUSHER_APP_KEY=
42
PUSHER_APP_SECRET=
43
PUSHER_APP_CLUSTER=mt1
44

  
45
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
46
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
.gitattributes
1
* text=auto
2
*.css linguist-vendored
3
*.scss linguist-vendored
4
*.js linguist-vendored
5
CHANGELOG.md export-ignore
.styleci.yml
1
php:
2
  preset: laravel
3
  disabled:
4
    - unused_use
5
  finder:
6
    not-name:
7
      - index.php
8
      - server.php
9
js:
10
  finder:
11
    not-name:
12
      - webpack.mix.js
13
css: true
app/Console/Kernel.php
1
<?php
2

  
3
namespace App\Console;
4

  
5
use Illuminate\Console\Scheduling\Schedule;
6
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7

  
8
class Kernel extends ConsoleKernel
9
{
10
    /**
11
     * The Artisan commands provided by your application.
12
     *
13
     * @var array
14
     */
15
    protected $commands = [
16
        //
17
    ];
18

  
19
    /**
20
     * Define the application's command schedule.
21
     *
22
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
23
     * @return void
24
     */
25
    protected function schedule(Schedule $schedule)
26
    {
27
        // $schedule->command('inspire')->hourly();
28
    }
29

  
30
    /**
31
     * Register the commands for the application.
32
     *
33
     * @return void
34
     */
35
    protected function commands()
36
    {
37
        $this->load(__DIR__.'/Commands');
38

  
39
        require base_path('routes/console.php');
40
    }
41
}
app/Exceptions/Handler.php
1
<?php
2

  
3
namespace App\Exceptions;
4

  
5
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
6
use Throwable;
7

  
8
class Handler extends ExceptionHandler
9
{
10
    /**
11
     * A list of the exception types that are not reported.
12
     *
13
     * @var array
14
     */
15
    protected $dontReport = [
16
        //
17
    ];
18

  
19
    /**
20
     * A list of the inputs that are never flashed for validation exceptions.
21
     *
22
     * @var array
23
     */
24
    protected $dontFlash = [
25
        'password',
26
        'password_confirmation',
27
    ];
28

  
29
    /**
30
     * Report or log an exception.
31
     *
32
     * @param  \Throwable  $exception
33
     * @return void
34
     *
35
     * @throws \Exception
36
     */
37
    public function report(Throwable $exception)
38
    {
39
        parent::report($exception);
40
    }
41

  
42
    /**
43
     * Render an exception into an HTTP response.
44
     *
45
     * @param  \Illuminate\Http\Request  $request
46
     * @param  \Throwable  $exception
47
     * @return \Symfony\Component\HttpFoundation\Response
48
     *
49
     * @throws \Throwable
50
     */
51
    public function render($request, Throwable $exception)
52
    {
53
        return parent::render($request, $exception);
54
    }
55
}
app/Http/Controllers/Controller.php
1
<?php
2

  
3
namespace App\Http\Controllers;
4

  
5
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
6
use Illuminate\Foundation\Bus\DispatchesJobs;
7
use Illuminate\Foundation\Validation\ValidatesRequests;
8
use Illuminate\Routing\Controller as BaseController;
9

  
10
class Controller extends BaseController
11
{
12
    use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
13
}
app/Http/Kernel.php
1
<?php
2

  
3
namespace App\Http;
4

  
5
use Illuminate\Foundation\Http\Kernel as HttpKernel;
6

  
7
class Kernel extends HttpKernel
8
{
9
    /**
10
     * The application's global HTTP middleware stack.
11
     *
12
     * These middleware are run during every request to your application.
13
     *
14
     * @var array
15
     */
16
    protected $middleware = [
17
        \App\Http\Middleware\TrustProxies::class,
18
        \Fruitcake\Cors\HandleCors::class,
19
        \App\Http\Middleware\CheckForMaintenanceMode::class,
20
        \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
21
        \App\Http\Middleware\TrimStrings::class,
22
        \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
23
    ];
24

  
25
    /**
26
     * The application's route middleware groups.
27
     *
28
     * @var array
29
     */
30
    protected $middlewareGroups = [
31
        'web' => [
32
            \App\Http\Middleware\EncryptCookies::class,
33
            \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
34
            \Illuminate\Session\Middleware\StartSession::class,
35
            // \Illuminate\Session\Middleware\AuthenticateSession::class,
36
            \Illuminate\View\Middleware\ShareErrorsFromSession::class,
37
            \App\Http\Middleware\VerifyCsrfToken::class,
38
            \Illuminate\Routing\Middleware\SubstituteBindings::class,
39
        ],
40

  
41
        'api' => [
42
            'throttle:60,1',
43
            \Illuminate\Routing\Middleware\SubstituteBindings::class,
44
        ],
45
    ];
46

  
47
    /**
48
     * The application's route middleware.
49
     *
50
     * These middleware may be assigned to groups or used individually.
51
     *
52
     * @var array
53
     */
54
    protected $routeMiddleware = [
55
        'auth' => \App\Http\Middleware\Authenticate::class,
56
        'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
57
        'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
58
        'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
59
        'can' => \Illuminate\Auth\Middleware\Authorize::class,
60
        'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
61
        'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
62
        'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
63
        'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
64
        'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
65
    ];
66
}
app/Http/Middleware/Authenticate.php
1
<?php
2

  
3
namespace App\Http\Middleware;
4

  
5
use Illuminate\Auth\Middleware\Authenticate as Middleware;
6

  
7
class Authenticate extends Middleware
8
{
9
    /**
10
     * Get the path the user should be redirected to when they are not authenticated.
11
     *
12
     * @param  \Illuminate\Http\Request  $request
13
     * @return string|null
14
     */
15
    protected function redirectTo($request)
16
    {
17
        if (! $request->expectsJson()) {
18
            return route('login');
19
        }
20
    }
21
}
app/Http/Middleware/CheckForMaintenanceMode.php
1
<?php
2

  
3
namespace App\Http\Middleware;
4

  
5
use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware;
6

  
7
class CheckForMaintenanceMode extends Middleware
8
{
9
    /**
10
     * The URIs that should be reachable while maintenance mode is enabled.
11
     *
12
     * @var array
13
     */
14
    protected $except = [
15
        //
16
    ];
17
}
app/Http/Middleware/EncryptCookies.php
1
<?php
2

  
3
namespace App\Http\Middleware;
4

  
5
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
6

  
7
class EncryptCookies extends Middleware
8
{
9
    /**
10
     * The names of the cookies that should not be encrypted.
11
     *
12
     * @var array
13
     */
14
    protected $except = [
15
        //
16
    ];
17
}
app/Http/Middleware/RedirectIfAuthenticated.php
1
<?php
2

  
3
namespace App\Http\Middleware;
4

  
5
use App\Providers\RouteServiceProvider;
6
use Closure;
7
use Illuminate\Support\Facades\Auth;
8

  
9
class RedirectIfAuthenticated
10
{
11
    /**
12
     * Handle an incoming request.
13
     *
14
     * @param  \Illuminate\Http\Request  $request
15
     * @param  \Closure  $next
16
     * @param  string|null  $guard
17
     * @return mixed
18
     */
19
    public function handle($request, Closure $next, $guard = null)
20
    {
21
        if (Auth::guard($guard)->check()) {
22
            return redirect(RouteServiceProvider::HOME);
23
        }
24

  
25
        return $next($request);
26
    }
27
}
app/Http/Middleware/TrimStrings.php
1
<?php
2

  
3
namespace App\Http\Middleware;
4

  
5
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
6

  
7
class TrimStrings extends Middleware
8
{
9
    /**
10
     * The names of the attributes that should not be trimmed.
11
     *
12
     * @var array
13
     */
14
    protected $except = [
15
        'password',
16
        'password_confirmation',
17
    ];
18
}
app/Http/Middleware/TrustProxies.php
1
<?php
2

  
3
namespace App\Http\Middleware;
4

  
5
use Fideloper\Proxy\TrustProxies as Middleware;
6
use Illuminate\Http\Request;
7

  
8
class TrustProxies extends Middleware
9
{
10
    /**
11
     * The trusted proxies for this application.
12
     *
13
     * @var array|string
14
     */
15
    protected $proxies;
16

  
17
    /**
18
     * The headers that should be used to detect proxies.
19
     *
20
     * @var int
21
     */
22
    protected $headers = Request::HEADER_X_FORWARDED_ALL;
23
}
app/Http/Middleware/VerifyCsrfToken.php
1
<?php
2

  
3
namespace App\Http\Middleware;
4

  
5
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
6

  
7
class VerifyCsrfToken extends Middleware
8
{
9
    /**
10
     * The URIs that should be excluded from CSRF verification.
11
     *
12
     * @var array
13
     */
14
    protected $except = [
15
        //
16
    ];
17
}
app/Providers/AppServiceProvider.php
1
<?php
2

  
3
namespace App\Providers;
4

  
5
use Illuminate\Support\ServiceProvider;
6

  
7
class AppServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register any application services.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        //
17
    }
18

  
19
    /**
20
     * Bootstrap any application services.
21
     *
22
     * @return void
23
     */
24
    public function boot()
25
    {
26
        //
27
    }
28
}
app/Providers/AuthServiceProvider.php
1
<?php
2

  
3
namespace App\Providers;
4

  
5
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
6
use Illuminate\Support\Facades\Gate;
7

  
8
class AuthServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * The policy mappings for the application.
12
     *
13
     * @var array
14
     */
15
    protected $policies = [
16
        // 'App\Model' => 'App\Policies\ModelPolicy',
17
    ];
18

  
19
    /**
20
     * Register any authentication / authorization services.
21
     *
22
     * @return void
23
     */
24
    public function boot()
25
    {
26
        $this->registerPolicies();
27

  
28
        //
29
    }
30
}
app/Providers/BroadcastServiceProvider.php
1
<?php
2

  
3
namespace App\Providers;
4

  
5
use Illuminate\Support\Facades\Broadcast;
6
use Illuminate\Support\ServiceProvider;
7

  
8
class BroadcastServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Bootstrap any application services.
12
     *
13
     * @return void
14
     */
15
    public function boot()
16
    {
17
        Broadcast::routes();
18

  
19
        require base_path('routes/channels.php');
20
    }
21
}
app/Providers/EventServiceProvider.php
1
<?php
2

  
3
namespace App\Providers;
4

  
5
use Illuminate\Auth\Events\Registered;
6
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
7
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
8
use Illuminate\Support\Facades\Event;
9

  
10
class EventServiceProvider extends ServiceProvider
11
{
12
    /**
13
     * The event listener mappings for the application.
14
     *
15
     * @var array
16
     */
17
    protected $listen = [
18
        Registered::class => [
19
            SendEmailVerificationNotification::class,
20
        ],
21
    ];
22

  
23
    /**
24
     * Register any events for your application.
25
     *
26
     * @return void
27
     */
28
    public function boot()
29
    {
30
        parent::boot();
31

  
32
        //
33
    }
34
}
app/Providers/RouteServiceProvider.php
1
<?php
2

  
3
namespace App\Providers;
4

  
5
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
6
use Illuminate\Support\Facades\Route;
7

  
8
class RouteServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * This namespace is applied to your controller routes.
12
     *
13
     * In addition, it is set as the URL generator's root namespace.
14
     *
15
     * @var string
16
     */
17
    protected $namespace = 'App\Http\Controllers';
18

  
19
    /**
20
     * The path to the "home" route for your application.
21
     *
22
     * @var string
23
     */
24
    public const HOME = '/home';
25

  
26
    /**
27
     * Define your route model bindings, pattern filters, etc.
28
     *
29
     * @return void
30
     */
31
    public function boot()
32
    {
33
        //
34

  
35
        parent::boot();
36
    }
37

  
38
    /**
39
     * Define the routes for the application.
40
     *
41
     * @return void
42
     */
43
    public function map()
44
    {
45
        $this->mapApiRoutes();
46

  
47
        $this->mapWebRoutes();
48

  
49
        //
50
    }
51

  
52
    /**
53
     * Define the "web" routes for the application.
54
     *
55
     * These routes all receive session state, CSRF protection, etc.
56
     *
57
     * @return void
58
     */
59
    protected function mapWebRoutes()
60
    {
61
        Route::middleware('web')
62
             ->namespace($this->namespace)
63
             ->group(base_path('routes/web.php'));
64
    }
65

  
66
    /**
67
     * Define the "api" routes for the application.
68
     *
69
     * These routes are typically stateless.
70
     *
71
     * @return void
72
     */
73
    protected function mapApiRoutes()
74
    {
75
        Route::prefix('api')
76
             ->middleware('api')
77
             ->namespace($this->namespace)
78
             ->group(base_path('routes/api.php'));
79
    }
80
}
app/User.php
1
<?php
2

  
3
namespace App;
4

  
5
use Illuminate\Contracts\Auth\MustVerifyEmail;
6
use Illuminate\Foundation\Auth\User as Authenticatable;
7
use Illuminate\Notifications\Notifiable;
8

  
9
class User extends Authenticatable
10
{
11
    use Notifiable;
12

  
13
    /**
14
     * The attributes that are mass assignable.
15
     *
16
     * @var array
17
     */
18
    protected $fillable = [
19
        'name', 'email', 'password',
20
    ];
21

  
22
    /**
23
     * The attributes that should be hidden for arrays.
24
     *
25
     * @var array
26
     */
27
    protected $hidden = [
28
        'password', 'remember_token',
29
    ];
30

  
31
    /**
32
     * The attributes that should be cast to native types.
33
     *
34
     * @var array
35
     */
36
    protected $casts = [
37
        'email_verified_at' => 'datetime',
38
    ];
39
}
artisan
1
#!/usr/bin/env php
2
<?php
3

  
4
define('LARAVEL_START', microtime(true));
5

  
6
/*
7
|--------------------------------------------------------------------------
8
| Register The Auto Loader
9
|--------------------------------------------------------------------------
10
|
11
| Composer provides a convenient, automatically generated class loader
12
| for our application. We just need to utilize it! We'll require it
13
| into the script here so that we do not have to worry about the
14
| loading of any our classes "manually". Feels great to relax.
15
|
16
*/
17

  
18
require __DIR__.'/vendor/autoload.php';
19

  
20
$app = require_once __DIR__.'/bootstrap/app.php';
21

  
22
/*
23
|--------------------------------------------------------------------------
24
| Run The Artisan Application
25
|--------------------------------------------------------------------------
26
|
27
| When we run the console application, the current CLI command will be
28
| executed in this console and the response sent back to a terminal
29
| or another output device for the developers. Here goes nothing!
30
|
31
*/
32

  
33
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
34

  
35
$status = $kernel->handle(
36
    $input = new Symfony\Component\Console\Input\ArgvInput,
37
    new Symfony\Component\Console\Output\ConsoleOutput
38
);
39

  
40
/*
41
|--------------------------------------------------------------------------
42
| Shutdown The Application
43
|--------------------------------------------------------------------------
44
|
45
| Once Artisan has finished running, we will fire off the shutdown events
46
| so that any final work may be done by the application before we shut
47
| down the process. This is the last thing to happen to the request.
48
|
49
*/
50

  
51
$kernel->terminate($input, $status);
52

  
53
exit($status);
bootstrap/app.php
1
<?php
2

  
3
/*
4
|--------------------------------------------------------------------------
5
| Create The Application
6
|--------------------------------------------------------------------------
7
|
8
| The first thing we will do is create a new Laravel application instance
9
| which serves as the "glue" for all the components of Laravel, and is
10
| the IoC container for the system binding all of the various parts.
11
|
12
*/
13

  
14
$app = new Illuminate\Foundation\Application(
15
    $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
16
);
17

  
18
/*
19
|--------------------------------------------------------------------------
20
| Bind Important Interfaces
21
|--------------------------------------------------------------------------
22
|
23
| Next, we need to bind some important interfaces into the container so
24
| we will be able to resolve them when needed. The kernels serve the
25
| incoming requests to this application from both the web and CLI.
26
|
27
*/
28

  
29
$app->singleton(
30
    Illuminate\Contracts\Http\Kernel::class,
31
    App\Http\Kernel::class
32
);
33

  
34
$app->singleton(
35
    Illuminate\Contracts\Console\Kernel::class,
36
    App\Console\Kernel::class
37
);
38

  
39
$app->singleton(
40
    Illuminate\Contracts\Debug\ExceptionHandler::class,
41
    App\Exceptions\Handler::class
42
);
43

  
44
/*
45
|--------------------------------------------------------------------------
46
| Return The Application
47
|--------------------------------------------------------------------------
48
|
49
| This script returns the application instance. The instance is given to
50
| the calling script so we can separate the building of the instances
51
| from the actual running of the application and sending responses.
52
|
53
*/
54

  
55
return $app;
bootstrap/cache/.gitignore
1
*
2
!.gitignore
composer.json
1
{
2
    "name": "laravel/laravel",
3
    "type": "project",
4
    "description": "The Laravel Framework.",
5
    "keywords": [
6
        "framework",
7
        "laravel"
8
    ],
9
    "license": "MIT",
10
    "require": {
11
        "php": "^7.2.5",
12
        "fideloper/proxy": "^4.2",
13
        "fruitcake/laravel-cors": "^1.0",
14
        "guzzlehttp/guzzle": "^6.3",
15
        "laravel/framework": "^7.0",
16
        "laravel/tinker": "^2.0"
17
    },
18
    "require-dev": {
19
        "facade/ignition": "^2.0",
20
        "fzaninotto/faker": "^1.9.1",
21
        "mockery/mockery": "^1.3.1",
22
        "nunomaduro/collision": "^4.1",
23
        "phpunit/phpunit": "^8.5"
24
    },
25
    "config": {
26
        "optimize-autoloader": true,
27
        "preferred-install": "dist",
28
        "sort-packages": true
29
    },
30
    "extra": {
31
        "laravel": {
32
            "dont-discover": []
33
        }
34
    },
35
    "autoload": {
36
        "psr-4": {
37
            "App\\": "app/"
38
        },
39
        "classmap": [
40
            "database/seeds",
41
            "database/factories"
42
        ]
43
    },
44
    "autoload-dev": {
45
        "psr-4": {
46
            "Tests\\": "tests/"
47
        }
48
    },
49
    "minimum-stability": "dev",
50
    "prefer-stable": true,
51
    "scripts": {
52
        "post-autoload-dump": [
53
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
54
            "@php artisan package:discover --ansi"
55
        ],
56
        "post-root-package-install": [
57
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
58
        ],
59
        "post-create-project-cmd": [
60
            "@php artisan key:generate --ansi"
61
        ]
62
    }
63
}
composer.lock
1
{
2
    "_readme": [
3
        "This file locks the dependencies of your project to a known state",
4
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
        "This file is @generated automatically"
6
    ],
7
    "content-hash": "6558f74828bca9ebecac73d90cea4b1a",
8
    "packages": [
9
        {
10
            "name": "asm89/stack-cors",
11
            "version": "1.3.0",
12
            "source": {
13
                "type": "git",
14
                "url": "https://github.com/asm89/stack-cors.git",
15
                "reference": "b9c31def6a83f84b4d4a40d35996d375755f0e08"
16
            },
17
            "dist": {
18
                "type": "zip",
19
                "url": "https://api.github.com/repos/asm89/stack-cors/zipball/b9c31def6a83f84b4d4a40d35996d375755f0e08",
20
                "reference": "b9c31def6a83f84b4d4a40d35996d375755f0e08",
21
                "shasum": ""
22
            },
23
            "require": {
24
                "php": ">=5.5.9",
25
                "symfony/http-foundation": "~2.7|~3.0|~4.0|~5.0",
26
                "symfony/http-kernel": "~2.7|~3.0|~4.0|~5.0"
27
            },
28
            "require-dev": {
29
                "phpunit/phpunit": "^5.0 || ^4.8.10",
30
                "squizlabs/php_codesniffer": "^2.3"
31
            },
32
            "type": "library",
33
            "extra": {
34
                "branch-alias": {
35
                    "dev-master": "1.2-dev"
36
                }
37
            },
38
            "autoload": {
39
                "psr-4": {
40
                    "Asm89\\Stack\\": "src/Asm89/Stack/"
41
                }
42
            },
43
            "notification-url": "https://packagist.org/downloads/",
44
            "license": [
45
                "MIT"
46
            ],
47
            "authors": [
48
                {
49
                    "name": "Alexander",
50
                    "email": "iam.asm89@gmail.com"
51
                }
52
            ],
53
            "description": "Cross-origin resource sharing library and stack middleware",
54
            "homepage": "https://github.com/asm89/stack-cors",
55
            "keywords": [
56
                "cors",
57
                "stack"
58
            ],
59
            "time": "2019-12-24T22:41:47+00:00"
60
        },
61
        {
62
            "name": "dnoegel/php-xdg-base-dir",
63
            "version": "v0.1.1",
64
            "source": {
65
                "type": "git",
66
                "url": "https://github.com/dnoegel/php-xdg-base-dir.git",
67
                "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd"
68
            },
69
            "dist": {
70
                "type": "zip",
71
                "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd",
72
                "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd",
73
                "shasum": ""
74
            },
75
            "require": {
76
                "php": ">=5.3.2"
77
            },
78
            "require-dev": {
79
                "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35"
80
            },
81
            "type": "library",
82
            "autoload": {
83
                "psr-4": {
84
                    "XdgBaseDir\\": "src/"
85
                }
86
            },
87
            "notification-url": "https://packagist.org/downloads/",
88
            "license": [
89
                "MIT"
90
            ],
91
            "description": "implementation of xdg base directory specification for php",
92
            "time": "2019-12-04T15:06:13+00:00"
93
        },
94
        {
95
            "name": "doctrine/inflector",
96
            "version": "1.3.1",
97
            "source": {
98
                "type": "git",
99
                "url": "https://github.com/doctrine/inflector.git",
100
                "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1"
101
            },
102
            "dist": {
103
                "type": "zip",
104
                "url": "https://api.github.com/repos/doctrine/inflector/zipball/ec3a55242203ffa6a4b27c58176da97ff0a7aec1",
105
                "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1",
106
                "shasum": ""
107
            },
108
            "require": {
109
                "php": "^7.1"
110
            },
111
            "require-dev": {
112
                "phpunit/phpunit": "^6.2"
113
            },
114
            "type": "library",
115
            "extra": {
116
                "branch-alias": {
117
                    "dev-master": "1.3.x-dev"
118
                }
119
            },
120
            "autoload": {
121
                "psr-4": {
122
                    "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector"
123
                }
124
            },
125
            "notification-url": "https://packagist.org/downloads/",
126
            "license": [
127
                "MIT"
128
            ],
129
            "authors": [
130
                {
131
                    "name": "Guilherme Blanco",
132
                    "email": "guilhermeblanco@gmail.com"
133
                },
134
                {
135
                    "name": "Roman Borschel",
136
                    "email": "roman@code-factory.org"
137
                },
138
                {
139
                    "name": "Benjamin Eberlei",
140
                    "email": "kontakt@beberlei.de"
141
                },
142
                {
143
                    "name": "Jonathan Wage",
144
                    "email": "jonwage@gmail.com"
145
                },
146
                {
147
                    "name": "Johannes Schmitt",
148
                    "email": "schmittjoh@gmail.com"
149
                }
150
            ],
151
            "description": "Common String Manipulations with regard to casing and singular/plural rules.",
152
            "homepage": "http://www.doctrine-project.org",
153
            "keywords": [
154
                "inflection",
155
                "pluralize",
156
                "singularize",
157
                "string"
158
            ],
159
            "time": "2019-10-30T19:59:35+00:00"
160
        },
161
        {
162
            "name": "doctrine/lexer",
163
            "version": "1.2.0",
164
            "source": {
165
                "type": "git",
166
                "url": "https://github.com/doctrine/lexer.git",
167
                "reference": "5242d66dbeb21a30dd8a3e66bf7a73b66e05e1f6"
168
            },
169
            "dist": {
170
                "type": "zip",
171
                "url": "https://api.github.com/repos/doctrine/lexer/zipball/5242d66dbeb21a30dd8a3e66bf7a73b66e05e1f6",
172
                "reference": "5242d66dbeb21a30dd8a3e66bf7a73b66e05e1f6",
173
                "shasum": ""
174
            },
175
            "require": {
176
                "php": "^7.2"
177
            },
178
            "require-dev": {
179
                "doctrine/coding-standard": "^6.0",
180
                "phpstan/phpstan": "^0.11.8",
181
                "phpunit/phpunit": "^8.2"
182
            },
183
            "type": "library",
184
            "extra": {
185
                "branch-alias": {
186
                    "dev-master": "1.2.x-dev"
187
                }
188
            },
189
            "autoload": {
190
                "psr-4": {
191
                    "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer"
192
                }
193
            },
194
            "notification-url": "https://packagist.org/downloads/",
195
            "license": [
196
                "MIT"
197
            ],
198
            "authors": [
199
                {
200
                    "name": "Guilherme Blanco",
201
                    "email": "guilhermeblanco@gmail.com"
202
                },
203
                {
204
                    "name": "Roman Borschel",
205
                    "email": "roman@code-factory.org"
206
                },
207
                {
208
                    "name": "Johannes Schmitt",
209
                    "email": "schmittjoh@gmail.com"
210
                }
211
            ],
212
            "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.",
213
            "homepage": "https://www.doctrine-project.org/projects/lexer.html",
214
            "keywords": [
215
                "annotations",
216
                "docblock",
217
                "lexer",
218
                "parser",
219
                "php"
220
            ],
221
            "time": "2019-10-30T14:39:59+00:00"
222
        },
223
        {
224
            "name": "dragonmantank/cron-expression",
225
            "version": "v2.3.0",
226
            "source": {
227
                "type": "git",
228
                "url": "https://github.com/dragonmantank/cron-expression.git",
229
                "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27"
230
            },
231
            "dist": {
232
                "type": "zip",
233
                "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/72b6fbf76adb3cf5bc0db68559b33d41219aba27",
234
                "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27",
235
                "shasum": ""
236
            },
237
            "require": {
238
                "php": "^7.0"
239
            },
240
            "require-dev": {
241
                "phpunit/phpunit": "^6.4|^7.0"
242
            },
243
            "type": "library",
244
            "extra": {
245
                "branch-alias": {
246
                    "dev-master": "2.3-dev"
247
                }
248
            },
249
            "autoload": {
250
                "psr-4": {
251
                    "Cron\\": "src/Cron/"
252
                }
253
            },
254
            "notification-url": "https://packagist.org/downloads/",
255
            "license": [
256
                "MIT"
257
            ],
258
            "authors": [
259
                {
260
                    "name": "Michael Dowling",
261
                    "email": "mtdowling@gmail.com",
262
                    "homepage": "https://github.com/mtdowling"
263
                },
264
                {
265
                    "name": "Chris Tankersley",
266
                    "email": "chris@ctankersley.com",
267
                    "homepage": "https://github.com/dragonmantank"
268
                }
269
            ],
270
            "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due",
271
            "keywords": [
272
                "cron",
273
                "schedule"
274
            ],
275
            "time": "2019-03-31T00:38:28+00:00"
276
        },
277
        {
278
            "name": "egulias/email-validator",
279
            "version": "2.1.17",
280
            "source": {
281
                "type": "git",
282
                "url": "https://github.com/egulias/EmailValidator.git",
283
                "reference": "ade6887fd9bd74177769645ab5c474824f8a418a"
284
            },
285
            "dist": {
286
                "type": "zip",
287
                "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ade6887fd9bd74177769645ab5c474824f8a418a",
288
                "reference": "ade6887fd9bd74177769645ab5c474824f8a418a",
289
                "shasum": ""
290
            },
291
            "require": {
292
                "doctrine/lexer": "^1.0.1",
293
                "php": ">=5.5",
294
                "symfony/polyfill-intl-idn": "^1.10"
295
            },
296
            "require-dev": {
297
                "dominicsayers/isemail": "^3.0.7",
298
                "phpunit/phpunit": "^4.8.36|^7.5.15",
299
                "satooshi/php-coveralls": "^1.0.1"
300
            },
301
            "suggest": {
302
                "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"
303
            },
304
            "type": "library",
305
            "extra": {
306
                "branch-alias": {
307
                    "dev-master": "2.1.x-dev"
308
                }
309
            },
310
            "autoload": {
311
                "psr-4": {
312
                    "Egulias\\EmailValidator\\": "EmailValidator"
313
                }
314
            },
315
            "notification-url": "https://packagist.org/downloads/",
316
            "license": [
317
                "MIT"
318
            ],
319
            "authors": [
320
                {
321
                    "name": "Eduardo Gulias Davis"
322
                }
323
            ],
324
            "description": "A library for validating emails against several RFCs",
325
            "homepage": "https://github.com/egulias/EmailValidator",
326
            "keywords": [
327
                "email",
328
                "emailvalidation",
329
                "emailvalidator",
330
                "validation",
331
                "validator"
332
            ],
333
            "time": "2020-02-13T22:36:52+00:00"
334
        },
335
        {
336
            "name": "fideloper/proxy",
337
            "version": "4.3.0",
338
            "source": {
339
                "type": "git",
340
                "url": "https://github.com/fideloper/TrustedProxy.git",
341
                "reference": "ec38ad69ee378a1eec04fb0e417a97cfaf7ed11a"
342
            },
343
            "dist": {
344
                "type": "zip",
345
                "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/ec38ad69ee378a1eec04fb0e417a97cfaf7ed11a",
346
                "reference": "ec38ad69ee378a1eec04fb0e417a97cfaf7ed11a",
347
                "shasum": ""
348
            },
349
            "require": {
350
                "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0",
351
                "php": ">=5.4.0"
352
            },
353
            "require-dev": {
354
                "illuminate/http": "^5.0|^6.0|^7.0|^8.0",
355
                "mockery/mockery": "^1.0",
356
                "phpunit/phpunit": "^6.0"
357
            },
358
            "type": "library",
359
            "extra": {
360
                "laravel": {
361
                    "providers": [
362
                        "Fideloper\\Proxy\\TrustedProxyServiceProvider"
363
                    ]
364
                }
365
            },
366
            "autoload": {
367
                "psr-4": {
368
                    "Fideloper\\Proxy\\": "src/"
369
                }
370
            },
371
            "notification-url": "https://packagist.org/downloads/",
372
            "license": [
373
                "MIT"
374
            ],
375
            "authors": [
376
                {
377
                    "name": "Chris Fidao",
378
                    "email": "fideloper@gmail.com"
379
                }
380
            ],
381
            "description": "Set trusted proxies for Laravel",
382
            "keywords": [
383
                "load balancing",
384
                "proxy",
385
                "trusted proxy"
386
            ],
387
            "time": "2020-02-22T01:51:47+00:00"
388
        },
389
        {
390
            "name": "fruitcake/laravel-cors",
391
            "version": "v1.0.5",
392
            "source": {
393
                "type": "git",
394
                "url": "https://github.com/fruitcake/laravel-cors.git",
395
                "reference": "0e0500133dbb6325266133dd72f040617c9cdbd0"
396
            },
397
            "dist": {
398
                "type": "zip",
399
                "url": "https://api.github.com/repos/fruitcake/laravel-cors/zipball/0e0500133dbb6325266133dd72f040617c9cdbd0",
400
                "reference": "0e0500133dbb6325266133dd72f040617c9cdbd0",
401
                "shasum": ""
402
            },
403
            "require": {
404
                "asm89/stack-cors": "^1.3",
405
                "illuminate/contracts": "^5.5|^6.0|^7.0|^8.0",
406
                "illuminate/support": "^5.5|^6.0|^7.0|^8.0",
407
                "php": ">=7",
408
                "symfony/http-foundation": "^3.3|^4.0|^5.0",
409
                "symfony/http-kernel": "^3.3|^4.0|^5.0"
410
            },
411
            "require-dev": {
412
                "laravel/framework": "^5.5|^6.0|^7.0|^8.0",
413
                "orchestra/testbench": "^3.5|^4.0|^5.0|^6.0",
414
                "phpro/grumphp": "^0.16|^0.17",
415
                "phpunit/phpunit": "^6.0|^7.0|^8.0",
416
                "squizlabs/php_codesniffer": "^3.5"
417
            },
418
            "type": "library",
419
            "extra": {
420
                "branch-alias": {
421
                    "dev-master": "1.0-dev"
422
                },
423
                "laravel": {
424
                    "providers": [
425
                        "Fruitcake\\Cors\\CorsServiceProvider"
426
                    ]
427
                }
428
            },
429
            "autoload": {
430
                "psr-4": {
431
                    "Fruitcake\\Cors\\": "src/"
432
                }
433
            },
434
            "notification-url": "https://packagist.org/downloads/",
435
            "license": [
436
                "MIT"
437
            ],
438
            "authors": [
439
                {
440
                    "name": "Fruitcake",
441
                    "homepage": "https://fruitcake.nl"
442
                },
443
                {
444
                    "name": "Barry vd. Heuvel",
445
                    "email": "barryvdh@gmail.com"
446
                }
447
            ],
448
            "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application",
449
            "keywords": [
450
                "api",
451
                "cors",
452
                "crossdomain",
453
                "laravel"
454
            ],
455
            "time": "2020-03-11T21:05:07+00:00"
456
        },
457
        {
458
            "name": "guzzlehttp/guzzle",
459
            "version": "6.5.2",
460
            "source": {
461
                "type": "git",
462
                "url": "https://github.com/guzzle/guzzle.git",
463
                "reference": "43ece0e75098b7ecd8d13918293029e555a50f82"
464
            },
465
            "dist": {
466
                "type": "zip",
467
                "url": "https://api.github.com/repos/guzzle/guzzle/zipball/43ece0e75098b7ecd8d13918293029e555a50f82",
468
                "reference": "43ece0e75098b7ecd8d13918293029e555a50f82",
469
                "shasum": ""
470
            },
471
            "require": {
472
                "ext-json": "*",
473
                "guzzlehttp/promises": "^1.0",
474
                "guzzlehttp/psr7": "^1.6.1",
475
                "php": ">=5.5"
476
            },
477
            "require-dev": {
478
                "ext-curl": "*",
479
                "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
480
                "psr/log": "^1.1"
481
            },
482
            "suggest": {
483
                "ext-intl": "Required for Internationalized Domain Name (IDN) support",
484
                "psr/log": "Required for using the Log middleware"
485
            },
486
            "type": "library",
487
            "extra": {
488
                "branch-alias": {
489
                    "dev-master": "6.5-dev"
490
                }
491
            },
492
            "autoload": {
493
                "psr-4": {
494
                    "GuzzleHttp\\": "src/"
495
                },
496
                "files": [
497
                    "src/functions_include.php"
498
                ]
499
            },
500
            "notification-url": "https://packagist.org/downloads/",
501
            "license": [
502
                "MIT"
503
            ],
504
            "authors": [
505
                {
506
                    "name": "Michael Dowling",
507
                    "email": "mtdowling@gmail.com",
508
                    "homepage": "https://github.com/mtdowling"
509
                }
510
            ],
511
            "description": "Guzzle is a PHP HTTP client library",
512
            "homepage": "http://guzzlephp.org/",
513
            "keywords": [
514
                "client",
515
                "curl",
516
                "framework",
517
                "http",
518
                "http client",
519
                "rest",
520
                "web service"
521
            ],
522
            "time": "2019-12-23T11:57:10+00:00"
523
        },
524
        {
525
            "name": "guzzlehttp/promises",
526
            "version": "v1.3.1",
527
            "source": {
528
                "type": "git",
529
                "url": "https://github.com/guzzle/promises.git",
530
                "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
531
            },
532
            "dist": {
533
                "type": "zip",
534
                "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
535
                "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
536
                "shasum": ""
537
            },
538
            "require": {
539
                "php": ">=5.5.0"
540
            },
... Rozdílový soubor je zkrácen, protože jeho délka přesahuje max. limit.

Také k dispozici: Unified diff