composer require oblik/kirby-vitenpm i| #!/usr/bin/env bash | |
| # Set session.upload_progress.enabled = Off in every php.ini under /etc/php. | |
| # Usage: ./patch-php.sh [ssh-host] [--dry-run] [--no-restart] | |
| set -euo pipefail | |
| # Remote mode: re-run this script on the host via SSH (-t keeps a TTY for the sudo password). | |
| if [[ $# -gt 0 && $1 != -* ]]; then | |
| host=$1; shift | |
| exec ssh -t "$host" "sudo bash -c $(printf '%q' "$(cat "$0")") patch-php.sh ${*:+$(printf '%q ' "$@")}" |
composer require oblik/kirby-vitenpm iOn mac:
/usr/local/bin.| <?php | |
| namespace App\Filament\PageTemplates; | |
| use Filament\Forms\Components\Repeater; | |
| use Filament\Forms\Components\RichEditor; | |
| use Filament\Forms\Components\TextInput; | |
| final class Faq | |
| { |
php artisan vendor:publish (Look for Geocoder)config/geocoder.php| <?php | |
| namespace Deployer; | |
| set('mysql.connection', [ | |
| 'host' => '$DB_HOST', | |
| 'port' => '$DB_PORT', | |
| 'schema' => '$DB_DATABASE', | |
| 'username' => '$DB_USERNAME', | |
| 'password' => '$DB_PASSWORD', |
| import waitForPolyfills from '@/polyfill/polyfill-helper'; | |
| waitForPolyfills(main); | |
| function main() { | |
| // ... | |
| } |