➜ vimeo-demo composer require "vimeo/laravel"
Using version ^5.4 for vimeo/laravel
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- vimeo/laravel 5.4.1 requires vimeo/vimeo-api ^3.0.2 -> satisfiable by vimeo/vimeo-api[3.0.2].
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Models\Mongo\Venue; | |
use Illuminate\Database\Migrations\Migration; | |
class VenueIndiciesMigration extends Migration | |
{ | |
/** | |
* Run the migrations. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use Jenssegers\Mongodb\Connection; | |
use Jenssegers\Mongodb\Queue\MongoConnector; | |
class MongodbServiceProvider extends \Jenssegers\Mongodb\MongodbServiceProvider | |
{ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
'$facet' => [ | |
'data' => [ | |
['$skip' => 30], | |
['$limit' => 30], | |
], | |
'total' => [ | |
['$count' => 'count'], | |
] | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$builder->where('rentables.prices', 'elemMatch', [ | |
'type' => 'daily_rent', | |
'total_in_euro' => [ | |
'$gte' => 60 | |
], | |
]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple Server Setup Script | |
# M. Staack - 2020 | |
set -e | |
# Base | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt-get install -y software-properties-common git curl zip unzip nginx glances htop nethogs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\ServiceProvider; | |
use Jenssegers\Mongodb\Connection; | |
use Jenssegers\Mongodb\Queue\MongoConnector; | |
class MongodbServiceProvider extends \Jenssegers\Mongodb\MongodbServiceProvider |
laravel version
➜ demo composer -i show | grep laravel
You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
laravel/framework v6.5.0 The Laravel Framework.
laravel/tinker v1.0.10 Powerful REPL for the Laravel framework.
direct require of vimeo php client 3.0.2
➜ demo composer -i show | grep laravel
You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
laravel/framework v6.4.0 The Laravel Framework.
laravel/tinker v1.0.10 Powerful REPL for the Laravel framework.
➜ demo composer require vimeo/laravel
Using version ^5.4 for vimeo/laravel
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: bref-demo-lumen | |
provider: | |
name: aws | |
region: eu-central-1 | |
runtime: provided | |
environment: | |
# Laravel environment variables | |
APP_STORAGE: '/tmp' |