diff --git a/.gitignore b/.gitignore index 2537be6..f41a670 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ /node_modules /vendor -/dist +/public npm-debug.log yarn-error.log diff --git a/README.md b/README.md index 2c7a8b4..898ff36 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,8 @@ themes/your-theme-name/ # → Root of your Sage based theme │ ├── filters.php # → Theme filters │ ├── helpers.php # → Helper functions │ └── setup.php # → Theme setup +├── bootstrap/ # → Acorn bootstrap +│ ├── cache/ # → Acorn cache location (never edit) ├── config/ # → Config files │ ├── app.php # → Application configuration │ ├── assets.php # → Asset configuration @@ -106,17 +108,16 @@ themes/your-theme-name/ # → Root of your Sage based theme │ └── view.php # → View configuration ├── composer.json # → Autoloading for `app/` files ├── composer.lock # → Composer lock file (never edit) -├── dist/ # → Built theme assets (never edit) +├── public/ # → Built theme assets (never edit) ├── functions.php # → Theme bootloader ├── index.php # → Theme template wrapper ├── node_modules/ # → Node.js packages (never edit) ├── package.json # → Node.js dependencies and scripts ├── resources/ # → Theme assets and templates -│ ├── assets/ # → Front-end assets -│ │ ├── fonts/ # → Theme fonts -│ │ ├── images/ # → Theme images -│ │ ├── scripts/ # → Theme javascript -│ │ └── styles/ # → Theme stylesheets +│ ├── fonts/ # → Theme fonts +│ ├── images/ # → Theme images +│ ├── js/ # → Theme javascript +│ ├── css/ # → Theme stylesheets │ └── views/ # → Theme templates │ ├── components/ # → Component templates │ ├── form/ # → Form templates diff --git a/app/View/Components/Alert.php b/app/View/Components/Alert.php index cc579ba..fa860df 100644 --- a/app/View/Components/Alert.php +++ b/app/View/Components/Alert.php @@ -20,6 +20,18 @@ class Alert extends Component */ public $message; + /** + * The alert types. + * + * @var array + */ + public $types = [ + 'default' => 'text-indigo-50 bg-indigo-400', + 'success' => 'text-green-50 bg-green-400', + 'caution' => 'text-yellow-50 bg-yellow-400', + 'warning' => 'text-red-50 bg-red-400', + ]; + /** * Create the component instance. * @@ -27,9 +39,9 @@ class Alert extends Component * @param string $message * @return void */ - public function __construct($type = 'primary', $message = null) + public function __construct($type = 'default', $message = null) { - $this->type = $type; + $this->type = $this->types[$type] ?? $this->types['default']; $this->message = $message; } diff --git a/app/admin.php b/app/admin.php index 6e69103..da97083 100644 --- a/app/admin.php +++ b/app/admin.php @@ -32,5 +32,5 @@ add_action('customize_register', function (WP_Customize_Manager $wp_customize) { * @return void */ add_action('customize_preview_init', function () { - wp_enqueue_script('sage/customizer.js', asset('scripts/customizer.js')->uri(), ['customize-preview'], null, true); + wp_enqueue_script('sage/customizer.js', asset('js/customizer.js')->uri(), ['customize-preview'], null, true); }); diff --git a/app/filters.php b/app/filters.php index e72f782..4ab6a63 100644 --- a/app/filters.php +++ b/app/filters.php @@ -12,5 +12,5 @@ namespace App; * @return string */ add_filter('excerpt_more', function () { - return ' … ' . __('Continued', 'sage') . ''; + return sprintf(' … %s', get_permalink(), __('Continued', 'sage')); }); diff --git a/app/setup.php b/app/setup.php index 4d7a12d..1b3c430 100755 --- a/app/setup.php +++ b/app/setup.php @@ -14,16 +14,16 @@ use function Roots\asset; * @return void */ add_action('wp_enqueue_scripts', function () { - wp_enqueue_script('sage/vendor.js', asset('scripts/vendor.js')->uri(), ['jquery'], null, true); - wp_enqueue_script('sage/app.js', asset('scripts/app.js')->uri(), ['sage/vendor.js', 'jquery'], null, true); + wp_enqueue_script('sage/vendor.js', asset('js/vendor.js')->uri(), ['jquery'], null, true); + wp_enqueue_script('sage/app.js', asset('js/app.js')->uri(), ['sage/vendor.js'], null, true); - wp_add_inline_script('sage/vendor.js', asset('scripts/manifest.js')->contents(), 'before'); + wp_add_inline_script('sage/vendor.js', asset('js/manifest.js')->contents(), 'before'); if (is_single() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } - wp_enqueue_style('sage/app.css', asset('styles/app.css')->uri(), false, null); + wp_enqueue_style('sage/app.css', asset('css/app.css')->uri(), false, null); }, 100); /** @@ -32,14 +32,14 @@ add_action('wp_enqueue_scripts', function () { * @return void */ add_action('enqueue_block_editor_assets', function () { - if ($manifest = asset('scripts/manifest.asset.php')->get()) { - wp_enqueue_script('sage/vendor.js', asset('scripts/vendor.js')->uri(), $manifest['dependencies'], null, true); - wp_enqueue_script('sage/editor.js', asset('scripts/editor.js')->uri(), ['sage/vendor.js'], null, true); + if ($manifest = asset('js/manifest.asset.php')->get()) { + wp_enqueue_script('sage/vendor.js', asset('js/vendor.js')->uri(), ...array_values($manifest)); + wp_enqueue_script('sage/editor.js', asset('js/editor.js')->uri(), ['sage/vendor.js'], null, true); - wp_add_inline_script('sage/vendor.js', asset('scripts/manifest.js')->contents(), 'before'); + wp_add_inline_script('sage/vendor.js', asset('js/manifest.js')->contents(), 'before'); } - wp_enqueue_style('sage/editor.css', asset('styles/editor.css')->uri(), false, null); + wp_enqueue_style('sage/editor.css', asset('css/editor.css')->uri(), false, null); }, 100); /** @@ -117,8 +117,8 @@ add_action('after_setup_theme', function () { */ add_theme_support('editor-color-palette', [ [ - 'name' => __('Primary', 'sage'), - 'slug' => 'primary', + 'name' => __('Brand', 'sage'), + 'slug' => 'brand', 'color' => '#525ddc', ] ]); diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 0000000..f71f223 --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,62 @@ +each(function ($file) { + if (! locate_template($file = "app/{$file}.php", true, true)) { + wp_die( + sprintf(__('Error locating %s for inclusion.', 'sage'), $file) + ); + } + }); + +/* +|-------------------------------------------------------------------------- +| Enable Sage Theme Support +|-------------------------------------------------------------------------- +| +| Once our theme files are registered and available for use, we are almost +| ready to boot our application. But first, we need to signal to Acorn +| that we will need to initialize the necessary service providers built in +| for Sage when booting. +| +*/ + +add_theme_support('sage'); + +/* +|-------------------------------------------------------------------------- +| Return The Application +|-------------------------------------------------------------------------- +| +| This script returns the application instance. The instance is given to +| the calling script so we can separate the building of the instances +| from the actual running of the application and sending responses. +| +*/ + +return $app; diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/bootstrap/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/composer.json b/composer.json index 7a03113..7d5617f 100644 --- a/composer.json +++ b/composer.json @@ -39,11 +39,11 @@ } }, "require": { - "php": "^7.2.5", - "roots/acorn": "^1.1" + "php": "^7.3|^8.0", + "roots/acorn": "dev-laravel-85" }, "require-dev": { - "filp/whoops": "^2.7", + "filp/whoops": "^2.9", "squizlabs/php_codesniffer": "^3.5" }, "suggest": { @@ -59,7 +59,7 @@ "prefer-stable": true, "scripts": { "lint": [ - "phpcs --ignore=index.php,vendor,resources,storage,dist --extensions=php --standard=PSR12 ." + "phpcs --ignore=index.php,bootstrap,public,resources,storage,vendor,node_modules --extensions=php --standard=PSR12 ." ], "post-autoload-dump": [ "Roots\\Acorn\\ComposerScripts::postAutoloadDump" diff --git a/composer.lock b/composer.lock index 5f08040..83ba2fa 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "46d241cb1b1ff009fd57e180ea18f4f5", + "content-hash": "efa2f9034051287d5e12b2c50b4ee980", "packages": [ { "name": "brick/math", @@ -150,35 +150,86 @@ "time": "2020-05-29T15:13:26+00:00" }, { - "name": "illuminate/cache", - "version": "v7.25.0", + "name": "illuminate/bus", + "version": "v8.22.1", "source": { "type": "git", - "url": "https://github.com/illuminate/cache.git", - "reference": "b28b43e1cd4f7a336a68b64d64ff4809838bade9" + "url": "https://github.com/illuminate/bus.git", + "reference": "b2c89db379a2d8b5c5eb1f81478b3c40f45d93ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/cache/zipball/b28b43e1cd4f7a336a68b64d64ff4809838bade9", - "reference": "b28b43e1cd4f7a336a68b64d64ff4809838bade9", + "url": "https://api.github.com/repos/illuminate/bus/zipball/b2c89db379a2d8b5c5eb1f81478b3c40f45d93ff", + "reference": "b2c89db379a2d8b5c5eb1f81478b3c40f45d93ff", "shasum": "" }, "require": { - "illuminate/contracts": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5" + "illuminate/collections": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/pipeline": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0" }, "suggest": { - "ext-memcached": "Required to use the memcache cache driver.", - "illuminate/database": "Required to use the database cache driver (^7.0).", - "illuminate/filesystem": "Required to use the file cache driver (^7.0).", - "illuminate/redis": "Required to use the redis cache driver (^7.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^5.0)." + "illuminate/queue": "Required to use closures when chaining jobs (^7.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Bus\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Bus package.", + "homepage": "https://laravel.com", + "time": "2020-12-29T15:18:15+00:00" + }, + { + "name": "illuminate/cache", + "version": "v8.22.1", + "source": { + "type": "git", + "url": "https://github.com/illuminate/cache.git", + "reference": "35dcb2c593ce95c85456da7b3a13e36ff460f535" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/cache/zipball/35dcb2c593ce95c85456da7b3a13e36ff460f535", + "reference": "35dcb2c593ce95c85456da7b3a13e36ff460f535", + "shasum": "" + }, + "require": { + "illuminate/collections": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/macroable": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0" + }, + "suggest": { + "ext-memcached": "Required to use the memcache cache driver.", + "illuminate/database": "Required to use the database cache driver (^8.0).", + "illuminate/filesystem": "Required to use the file cache driver (^8.0).", + "illuminate/redis": "Required to use the redis cache driver (^8.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^5.1.4)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" } }, "autoload": { @@ -198,31 +249,81 @@ ], "description": "The Illuminate Cache package.", "homepage": "https://laravel.com", - "time": "2020-07-07T15:44:46+00:00" + "time": "2020-12-26T15:57:28+00:00" }, { - "name": "illuminate/config", - "version": "v7.25.0", + "name": "illuminate/collections", + "version": "v8.22.1", "source": { "type": "git", - "url": "https://github.com/illuminate/config.git", - "reference": "d1e898de7a0cefe9ce2c94dede6679839e6a7b39" + "url": "https://github.com/illuminate/collections.git", + "reference": "fa1f5a2809a777040ab1616527dc2e66f4ae93f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/config/zipball/d1e898de7a0cefe9ce2c94dede6679839e6a7b39", - "reference": "d1e898de7a0cefe9ce2c94dede6679839e6a7b39", + "url": "https://api.github.com/repos/illuminate/collections/zipball/fa1f5a2809a777040ab1616527dc2e66f4ae93f4", + "reference": "fa1f5a2809a777040ab1616527dc2e66f4ae93f4", "shasum": "" }, "require": { - "illuminate/contracts": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5" + "illuminate/contracts": "^8.0", + "illuminate/macroable": "^8.0", + "php": "^7.3|^8.0" + }, + "suggest": { + "symfony/var-dumper": "Required to use the dump method (^5.1.4)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Support\\": "" + }, + "files": [ + "helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Collections package.", + "homepage": "https://laravel.com", + "time": "2021-01-12T15:21:34+00:00" + }, + { + "name": "illuminate/config", + "version": "v8.22.1", + "source": { + "type": "git", + "url": "https://github.com/illuminate/config.git", + "reference": "8441c542312b4d57220b1f942b947b6517c05008" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/config/zipball/8441c542312b4d57220b1f942b947b6517c05008", + "reference": "8441c542312b4d57220b1f942b947b6517c05008", + "shasum": "" + }, + "require": { + "illuminate/collections": "^8.0", + "illuminate/contracts": "^8.0", + "php": "^7.3|^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" } }, "autoload": { @@ -242,41 +343,43 @@ ], "description": "The Illuminate Config package.", "homepage": "https://laravel.com", - "time": "2020-01-07T13:49:44+00:00" + "time": "2020-10-27T15:20:30+00:00" }, { "name": "illuminate/console", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/console.git", - "reference": "12b52d7fd87719a3cabf3f269c14c0c496e78a1a" + "reference": "065373305462c51b6852c028cf8a649edbab47ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/console/zipball/12b52d7fd87719a3cabf3f269c14c0c496e78a1a", - "reference": "12b52d7fd87719a3cabf3f269c14c0c496e78a1a", + "url": "https://api.github.com/repos/illuminate/console/zipball/065373305462c51b6852c028cf8a649edbab47ea", + "reference": "065373305462c51b6852c028cf8a649edbab47ea", "shasum": "" }, "require": { - "illuminate/contracts": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5", - "symfony/console": "^5.0", - "symfony/process": "^5.0" + "illuminate/collections": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/macroable": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0", + "symfony/console": "^5.1.4", + "symfony/process": "^5.1.4" }, "suggest": { - "dragonmantank/cron-expression": "Required to use scheduler (^2.0).", - "guzzlehttp/guzzle": "Required to use the ping methods on schedules (^6.3.1|^7.0).", - "illuminate/bus": "Required to use the scheduled job dispatcher (^7.0).", - "illuminate/container": "Required to use the scheduler (^7.0).", - "illuminate/filesystem": "Required to use the generator command (^7.0).", - "illuminate/queue": "Required to use closures for scheduled jobs (^7.0)." + "dragonmantank/cron-expression": "Required to use scheduler (^3.0.2).", + "guzzlehttp/guzzle": "Required to use the ping methods on schedules (^6.5.5|^7.0.1).", + "illuminate/bus": "Required to use the scheduled job dispatcher (^8.0).", + "illuminate/container": "Required to use the scheduler (^8.0).", + "illuminate/filesystem": "Required to use the generator command (^8.0).", + "illuminate/queue": "Required to use closures for scheduled jobs (^8.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -296,25 +399,25 @@ ], "description": "The Illuminate Console package.", "homepage": "https://laravel.com", - "time": "2020-07-03T23:22:01+00:00" + "time": "2020-12-11T19:59:27+00:00" }, { "name": "illuminate/container", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/container.git", - "reference": "42d4242eaad399ec63aea39ea5976f342a799411" + "reference": "657cac2aa601aa0223afe0ed8627d0cb443f6a22" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/42d4242eaad399ec63aea39ea5976f342a799411", - "reference": "42d4242eaad399ec63aea39ea5976f342a799411", + "url": "https://api.github.com/repos/illuminate/container/zipball/657cac2aa601aa0223afe0ed8627d0cb443f6a22", + "reference": "657cac2aa601aa0223afe0ed8627d0cb443f6a22", "shasum": "" }, "require": { - "illuminate/contracts": "^7.0", - "php": "^7.2.5", + "illuminate/contracts": "^8.0", + "php": "^7.3|^8.0", "psr/container": "^1.0" }, "provide": { @@ -323,7 +426,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -343,31 +446,31 @@ ], "description": "The Illuminate Container package.", "homepage": "https://laravel.com", - "time": "2020-07-14T17:13:26+00:00" + "time": "2020-12-01T14:31:29+00:00" }, { "name": "illuminate/contracts", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "37a76782aef1bb83680143c4283b1bf3db751e96" + "reference": "073109b521aec104f11c5cf5aded97aa0e63f313" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/37a76782aef1bb83680143c4283b1bf3db751e96", - "reference": "37a76782aef1bb83680143c4283b1bf3db751e96", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/073109b521aec104f11c5cf5aded97aa0e63f313", + "reference": "073109b521aec104f11c5cf5aded97aa0e63f313", "shasum": "" }, "require": { - "php": "^7.2.5", + "php": "^7.3|^8.0", "psr/container": "^1.0", "psr/simple-cache": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -387,38 +490,44 @@ ], "description": "The Illuminate Contracts package.", "homepage": "https://laravel.com", - "time": "2020-07-19T12:38:38+00:00" + "time": "2020-12-18T14:24:20+00:00" }, { "name": "illuminate/events", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/events.git", - "reference": "14b21444c04c3052cffbd76e0862b23fdae5fc19" + "reference": "16ba68c0b3964da8b25ff202201276d860fb587a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/events/zipball/14b21444c04c3052cffbd76e0862b23fdae5fc19", - "reference": "14b21444c04c3052cffbd76e0862b23fdae5fc19", + "url": "https://api.github.com/repos/illuminate/events/zipball/16ba68c0b3964da8b25ff202201276d860fb587a", + "reference": "16ba68c0b3964da8b25ff202201276d860fb587a", "shasum": "" }, "require": { - "illuminate/container": "^7.0", - "illuminate/contracts": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5" + "illuminate/bus": "^8.0", + "illuminate/collections": "^8.0", + "illuminate/container": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/macroable": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { "psr-4": { "Illuminate\\Events\\": "" - } + }, + "files": [ + "functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -432,42 +541,45 @@ ], "description": "The Illuminate Events package.", "homepage": "https://laravel.com", - "time": "2020-06-18T15:37:01+00:00" + "time": "2020-12-09T18:07:50+00:00" }, { "name": "illuminate/filesystem", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/filesystem.git", - "reference": "d5d7739e23a760b0fa56f64c0f7382a72e8ee86a" + "reference": "2f468939ae97c861d683d35060e7ae0c11fdcb98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/d5d7739e23a760b0fa56f64c0f7382a72e8ee86a", - "reference": "d5d7739e23a760b0fa56f64c0f7382a72e8ee86a", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/2f468939ae97c861d683d35060e7ae0c11fdcb98", + "reference": "2f468939ae97c861d683d35060e7ae0c11fdcb98", "shasum": "" }, "require": { - "illuminate/contracts": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5", - "symfony/finder": "^5.0" + "illuminate/collections": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/macroable": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0", + "symfony/finder": "^5.1.4" }, "suggest": { "ext-ftp": "Required to use the Flysystem FTP driver.", "illuminate/http": "Required for handling uploaded files (^7.0).", - "league/flysystem": "Required to use the Flysystem local and FTP drivers (^1.0.34).", + "league/flysystem": "Required to use the Flysystem local and FTP drivers (^1.1).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", - "symfony/mime": "Required to enable support for guessing extensions (^5.0)." + "symfony/filesystem": "Required to enable support for relative symbolic links (^5.1.4).", + "symfony/mime": "Required to enable support for guessing extensions (^5.1.4)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -487,39 +599,41 @@ ], "description": "The Illuminate Filesystem package.", "homepage": "https://laravel.com", - "time": "2020-07-24T09:17:00+00:00" + "time": "2020-12-08T17:15:16+00:00" }, { "name": "illuminate/http", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/http.git", - "reference": "5f1cf382aad784a8af6088d05a2bc15fa0dacd37" + "reference": "49b0fbe16708eeea63ce5f71e63ff6e6a695dfc0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/http/zipball/5f1cf382aad784a8af6088d05a2bc15fa0dacd37", - "reference": "5f1cf382aad784a8af6088d05a2bc15fa0dacd37", + "url": "https://api.github.com/repos/illuminate/http/zipball/49b0fbe16708eeea63ce5f71e63ff6e6a695dfc0", + "reference": "49b0fbe16708eeea63ce5f71e63ff6e6a695dfc0", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/session": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5", - "symfony/http-foundation": "^5.0", - "symfony/http-kernel": "^5.0", - "symfony/mime": "^5.0" + "illuminate/collections": "^8.0", + "illuminate/macroable": "^8.0", + "illuminate/session": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0", + "symfony/http-foundation": "^5.1.4", + "symfony/http-kernel": "^5.1.4", + "symfony/mime": "^5.1.4" }, "suggest": { "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", - "guzzlehttp/guzzle": "Required to use the HTTP Client (^6.3.1|^7.0)." + "guzzlehttp/guzzle": "Required to use the HTTP Client (^6.5.5|^7.0.1)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -539,32 +653,32 @@ ], "description": "The Illuminate Http package.", "homepage": "https://laravel.com", - "time": "2020-08-10T15:08:36+00:00" + "time": "2021-01-05T16:41:31+00:00" }, { "name": "illuminate/log", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/log.git", - "reference": "53c5e2b2ffbf5138488893d3c2a3a249de4a5b7b" + "reference": "e2f6fe6476b8f09236956582c3f18a330c8b1c17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/log/zipball/53c5e2b2ffbf5138488893d3c2a3a249de4a5b7b", - "reference": "53c5e2b2ffbf5138488893d3c2a3a249de4a5b7b", + "url": "https://api.github.com/repos/illuminate/log/zipball/e2f6fe6476b8f09236956582c3f18a330c8b1c17", + "reference": "e2f6fe6476b8f09236956582c3f18a330c8b1c17", "shasum": "" }, "require": { - "illuminate/contracts": "^7.0", - "illuminate/support": "^7.0", + "illuminate/contracts": "^8.0", + "illuminate/support": "^8.0", "monolog/monolog": "^2.0", - "php": "^7.2.5" + "php": "^7.3|^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -584,38 +698,125 @@ ], "description": "The Illuminate Log package.", "homepage": "https://laravel.com", - "time": "2020-07-19T12:38:38+00:00" + "time": "2020-11-16T22:35:48+00:00" }, { - "name": "illuminate/session", - "version": "v7.25.0", + "name": "illuminate/macroable", + "version": "v8.22.1", "source": { "type": "git", - "url": "https://github.com/illuminate/session.git", - "reference": "a4b1c6b10fa8461e1410339680dfb95ee18c9b46" + "url": "https://github.com/illuminate/macroable.git", + "reference": "300aa13c086f25116b5f3cde3ca54ff5c822fb05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/session/zipball/a4b1c6b10fa8461e1410339680dfb95ee18c9b46", - "reference": "a4b1c6b10fa8461e1410339680dfb95ee18c9b46", + "url": "https://api.github.com/repos/illuminate/macroable/zipball/300aa13c086f25116b5f3cde3ca54ff5c822fb05", + "reference": "300aa13c086f25116b5f3cde3ca54ff5c822fb05", "shasum": "" }, "require": { - "ext-json": "*", - "illuminate/contracts": "^7.0", - "illuminate/filesystem": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5", - "symfony/finder": "^5.0", - "symfony/http-foundation": "^5.0" - }, - "suggest": { - "illuminate/console": "Required to use the session:table command (^7.0)." + "php": "^7.3|^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Support\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Macroable package.", + "homepage": "https://laravel.com", + "time": "2020-10-27T15:20:30+00:00" + }, + { + "name": "illuminate/pipeline", + "version": "v8.22.1", + "source": { + "type": "git", + "url": "https://github.com/illuminate/pipeline.git", + "reference": "d406237ea39f6c655569551a8bfb2d00ace6e43d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/pipeline/zipball/d406237ea39f6c655569551a8bfb2d00ace6e43d", + "reference": "d406237ea39f6c655569551a8bfb2d00ace6e43d", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Pipeline\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Pipeline package.", + "homepage": "https://laravel.com", + "time": "2020-10-27T15:20:30+00:00" + }, + { + "name": "illuminate/session", + "version": "v8.22.1", + "source": { + "type": "git", + "url": "https://github.com/illuminate/session.git", + "reference": "452a6fe623bfaea90b2a462d834eeb0019ec66d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/session/zipball/452a6fe623bfaea90b2a462d834eeb0019ec66d5", + "reference": "452a6fe623bfaea90b2a462d834eeb0019ec66d5", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/collections": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/filesystem": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0", + "symfony/finder": "^5.1.4", + "symfony/http-foundation": "^5.1.4" + }, + "suggest": { + "illuminate/console": "Required to use the session:table command (^8.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" } }, "autoload": { @@ -635,46 +836,47 @@ ], "description": "The Illuminate Session package.", "homepage": "https://laravel.com", - "time": "2020-08-08T23:48:10+00:00" + "time": "2020-12-08T17:15:16+00:00" }, { "name": "illuminate/support", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "9b0c0af8d2dd1a729f6337d0ed5c81a241ea43ab" + "reference": "6a516676a83d2a73c46eaf7907f730e86ef60da5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/9b0c0af8d2dd1a729f6337d0ed5c81a241ea43ab", - "reference": "9b0c0af8d2dd1a729f6337d0ed5c81a241ea43ab", + "url": "https://api.github.com/repos/illuminate/support/zipball/6a516676a83d2a73c46eaf7907f730e86ef60da5", + "reference": "6a516676a83d2a73c46eaf7907f730e86ef60da5", "shasum": "" }, "require": { "doctrine/inflector": "^1.4|^2.0", "ext-json": "*", "ext-mbstring": "*", - "illuminate/contracts": "^7.0", - "nesbot/carbon": "^2.17", - "php": "^7.2.5", + "illuminate/collections": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/macroable": "^8.0", + "nesbot/carbon": "^2.31", + "php": "^7.3|^8.0", "voku/portable-ascii": "^1.4.8" }, "conflict": { "tightenco/collect": "<5.5.33" }, "suggest": { - "illuminate/filesystem": "Required to use the composer class (^7.0).", - "moontoast/math": "Required to use ordered UUIDs (^1.1).", - "ramsey/uuid": "Required to use Str::uuid() (^3.7|^4.0).", - "symfony/process": "Required to use the composer class (^5.0).", - "symfony/var-dumper": "Required to use the dd function (^5.0).", - "vlucas/phpdotenv": "Required to use the Env class and env helper (^4.0)." + "illuminate/filesystem": "Required to use the composer class (^8.0).", + "ramsey/uuid": "Required to use Str::uuid() (^4.0).", + "symfony/process": "Required to use the composer class (^5.1.4).", + "symfony/var-dumper": "Required to use the dd function (^5.1.4).", + "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.2)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -697,35 +899,37 @@ ], "description": "The Illuminate Support package.", "homepage": "https://laravel.com", - "time": "2020-08-10T13:58:23+00:00" + "time": "2021-01-13T13:37:56+00:00" }, { "name": "illuminate/view", - "version": "v7.25.0", + "version": "v8.22.1", "source": { "type": "git", "url": "https://github.com/illuminate/view.git", - "reference": "6ad2bb27974199b175a0d685c51325e8e1b3d253" + "reference": "696a1d6d2213be192429e97245a3d2bb4d6d1849" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/view/zipball/6ad2bb27974199b175a0d685c51325e8e1b3d253", - "reference": "6ad2bb27974199b175a0d685c51325e8e1b3d253", + "url": "https://api.github.com/repos/illuminate/view/zipball/696a1d6d2213be192429e97245a3d2bb4d6d1849", + "reference": "696a1d6d2213be192429e97245a3d2bb4d6d1849", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/container": "^7.0", - "illuminate/contracts": "^7.0", - "illuminate/events": "^7.0", - "illuminate/filesystem": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5" + "illuminate/collections": "^8.0", + "illuminate/container": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/events": "^8.0", + "illuminate/filesystem": "^8.0", + "illuminate/macroable": "^8.0", + "illuminate/support": "^8.0", + "php": "^7.3|^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -745,20 +949,20 @@ ], "description": "The Illuminate View package.", "homepage": "https://laravel.com", - "time": "2020-08-10T20:00:58+00:00" + "time": "2020-11-02T14:01:41+00:00" }, { "name": "league/flysystem", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "63cd8c14708b9544d3f61d3c15b747fda1c95c6e" + "reference": "9be3b16c877d477357c015cec057548cf9b2a14a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/63cd8c14708b9544d3f61d3c15b747fda1c95c6e", - "reference": "63cd8c14708b9544d3f61d3c15b747fda1c95c6e", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a", + "reference": "9be3b16c877d477357c015cec057548cf9b2a14a", "shasum": "" }, "require": { @@ -836,20 +1040,20 @@ "type": "other" } ], - "time": "2020-08-18T10:57:55+00:00" + "time": "2020-08-23T07:39:11+00:00" }, { "name": "league/mime-type-detection", - "version": "1.4.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "fda190b62b962d96a069fcc414d781db66d65b69" + "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/fda190b62b962d96a069fcc414d781db66d65b69", - "reference": "fda190b62b962d96a069fcc414d781db66d65b69", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/353f66d7555d8a90781f6f5e7091932f9a4250aa", + "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa", "shasum": "" }, "require": { @@ -887,20 +1091,20 @@ "type": "tidelift" } ], - "time": "2020-08-09T10:34:01+00:00" + "time": "2020-10-18T11:50:25+00:00" }, { "name": "monolog/monolog", - "version": "2.1.1", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5" + "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f9eee5cec93dfb313a38b6b288741e84e53f02d5", - "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1cb1cde8e8dd0f70cc0fe51354a59acad9302084", + "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084", "shasum": "" }, "require": { @@ -913,16 +1117,17 @@ "require-dev": { "aws/aws-sdk-php": "^2.4.9 || ^3.0", "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^6.0", + "elasticsearch/elasticsearch": "^7", "graylog2/gelf-php": "^1.4.2", + "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4", "php-console/php-console": "^3.1.3", - "php-parallel-lint/php-parallel-lint": "^1.0", "phpspec/prophecy": "^1.6.1", + "phpstan/phpstan": "^0.12.59", "phpunit/phpunit": "^8.5", "predis/predis": "^1.1", "rollbar/rollbar": "^1.3", - "ruflin/elastica": ">=0.90 <3.0", + "ruflin/elastica": ">=0.90 <7.0.1", "swiftmailer/swiftmailer": "^5.3|^6.0" }, "suggest": { @@ -942,7 +1147,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-main": "2.x-dev" } }, "autoload": { @@ -958,11 +1163,11 @@ { "name": "Jordi Boggiano", "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "homepage": "https://seld.be" } ], "description": "Sends your logs to files, sockets, inboxes, databases and various web services", - "homepage": "http://github.com/Seldaek/monolog", + "homepage": "https://github.com/Seldaek/monolog", "keywords": [ "log", "logging", @@ -978,20 +1183,20 @@ "type": "tidelift" } ], - "time": "2020-07-23T08:41:23+00:00" + "time": "2020-12-14T13:15:25+00:00" }, { "name": "nesbot/carbon", - "version": "2.38.0", + "version": "2.43.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "d8f6a6a91d1eb9304527b040500f61923e97674b" + "reference": "d32c57d8389113742f4a88725a170236470012e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d8f6a6a91d1eb9304527b040500f61923e97674b", - "reference": "d8f6a6a91d1eb9304527b040500f61923e97674b", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d32c57d8389113742f4a88725a170236470012e2", + "reference": "d32c57d8389113742f4a88725a170236470012e2", "shasum": "" }, "require": { @@ -1004,9 +1209,9 @@ "doctrine/orm": "^2.7", "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", "kylekatarnls/multi-tester": "^2.0", - "phpmd/phpmd": "^2.8", + "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.35", + "phpstan/phpstan": "^0.12.54", "phpunit/phpunit": "^7.5 || ^8.0", "squizlabs/php_codesniffer": "^3.4" }, @@ -1067,52 +1272,7 @@ "type": "tidelift" } ], - "time": "2020-08-04T19:12:46+00:00" - }, - { - "name": "paragonie/random_compat", - "version": "v9.99.99", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", - "shasum": "" - }, - "require": { - "php": "^7" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*", - "vimeo/psalm": "^1" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "polyfill", - "pseudorandom", - "random" - ], - "time": "2018-07-02T15:55:56+00:00" + "time": "2020-12-17T20:55:32+00:00" }, { "name": "psr/container", @@ -1306,16 +1466,16 @@ }, { "name": "ramsey/collection", - "version": "1.1.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/ramsey/collection.git", - "reference": "044184884e3c803e4cbb6451386cb71562939b18" + "reference": "24d93aefb2cd786b7edd9f45b554aea20b28b9b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/044184884e3c803e4cbb6451386cb71562939b18", - "reference": "044184884e3c803e4cbb6451386cb71562939b18", + "url": "https://api.github.com/repos/ramsey/collection/zipball/24d93aefb2cd786b7edd9f45b554aea20b28b9b1", + "reference": "24d93aefb2cd786b7edd9f45b554aea20b28b9b1", "shasum": "" }, "require": { @@ -1371,7 +1531,7 @@ "type": "github" } ], - "time": "2020-08-11T00:57:21+00:00" + "time": "2020-09-10T20:58:17+00:00" }, { "name": "ramsey/uuid", @@ -1462,42 +1622,44 @@ }, { "name": "roots/acorn", - "version": "v1.1.0", + "version": "dev-laravel-85", "source": { "type": "git", "url": "https://github.com/roots/acorn.git", - "reference": "fa60ba1551dc96400b10aaa7f396a2fffd62e5c6" + "reference": "236da9e8543c57647d9c18294392373e01c84bac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/roots/acorn/zipball/fa60ba1551dc96400b10aaa7f396a2fffd62e5c6", - "reference": "fa60ba1551dc96400b10aaa7f396a2fffd62e5c6", + "url": "https://api.github.com/repos/roots/acorn/zipball/236da9e8543c57647d9c18294392373e01c84bac", + "reference": "236da9e8543c57647d9c18294392373e01c84bac", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/cache": "^7.0", - "illuminate/config": "^7.0", - "illuminate/console": "^7.0", - "illuminate/container": "^7.0", - "illuminate/contracts": "^7.0", - "illuminate/events": "^7.0", - "illuminate/filesystem": "^7.0", - "illuminate/http": "^7.12", - "illuminate/log": "^7.0", - "illuminate/support": "^7.0", - "illuminate/view": "^7.0", + "illuminate/cache": "^8.0", + "illuminate/config": "^8.0", + "illuminate/console": "^8.0", + "illuminate/container": "^8.0", + "illuminate/contracts": "^8.0", + "illuminate/events": "^8.0", + "illuminate/filesystem": "^8.0", + "illuminate/http": "^8.0", + "illuminate/log": "^8.0", + "illuminate/support": "^8.0", + "illuminate/view": "^8.0", "league/flysystem": "^1.0", - "php": "^7.2.5", - "ramsey/uuid": "^3.7|^4.0", + "php": "^7.3|^8.0", + "ramsey/uuid": "^4.1", "roots/support": "dev-master", - "symfony/error-handler": "^5.0", - "symfony/var-dumper": "^5.0" + "symfony/error-handler": "^5.2", + "symfony/var-dumper": "^5.2" }, "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", "filp/whoops": "^2.7", "mikey179/vfsstream": "^1.6", - "phpunit/phpunit": "^8.5", + "phpcompatibility/php-compatibility": "^9.3", + "phpunit/phpunit": "^8.4|^9.0", "roave/security-advisories": "dev-master", "squizlabs/php_codesniffer": "^3.5" }, @@ -1507,7 +1669,8 @@ "type": "library", "autoload": { "psr-4": { - "Roots\\": "src/" + "Roots\\": "src/Roots/", + "Illuminate\\": "src/Illuminate/" }, "files": [ "src/helpers.php" @@ -1527,7 +1690,7 @@ "email": "brandon@tendency.me" } ], - "description": "Lazy-loaded framework for Roots WordPress projects.", + "description": "Framework for Roots WordPress projects built with Laravel components.", "homepage": "https://roots.io/acorn/", "keywords": [ "sage", @@ -1543,7 +1706,7 @@ "type": "patreon" } ], - "time": "2020-08-20T12:51:55+00:00" + "time": "2021-01-14T18:31:19+00:00" }, { "name": "roots/support", @@ -1597,16 +1760,16 @@ }, { "name": "symfony/console", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "2226c68009627934b8cfc01260b4d287eab070df" + "reference": "47c02526c532fb381374dab26df05e7313978976" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/2226c68009627934b8cfc01260b4d287eab070df", - "reference": "2226c68009627934b8cfc01260b4d287eab070df", + "url": "https://api.github.com/repos/symfony/console/zipball/47c02526c532fb381374dab26df05e7313978976", + "reference": "47c02526c532fb381374dab26df05e7313978976", "shasum": "" }, "require": { @@ -1643,11 +1806,6 @@ "symfony/process": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Console\\": "" @@ -1672,6 +1830,12 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], "funding": [ { "url": "https://symfony.com/sponsor", @@ -1686,20 +1850,20 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:23:11+00:00" + "time": "2020-12-18T08:03:05+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.1.3", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5e20b83385a77593259c9f8beb2c43cd03b2ac14" + "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5e20b83385a77593259c9f8beb2c43cd03b2ac14", - "reference": "5e20b83385a77593259c9f8beb2c43cd03b2ac14", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665", + "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665", "shasum": "" }, "require": { @@ -1708,7 +1872,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.2-dev" }, "thanks": { "name": "symfony/contracts", @@ -1750,20 +1914,20 @@ "type": "tidelift" } ], - "time": "2020-06-06T08:49:21+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { "name": "symfony/error-handler", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "4a0d1673a4731c3cb2dea3580c73a676ecb9ed4b" + "reference": "59b190ce16ddf32771a22087b60f6dafd3407147" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/4a0d1673a4731c3cb2dea3580c73a676ecb9ed4b", - "reference": "4a0d1673a4731c3cb2dea3580c73a676ecb9ed4b", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/59b190ce16ddf32771a22087b60f6dafd3407147", + "reference": "59b190ce16ddf32771a22087b60f6dafd3407147", "shasum": "" }, "require": { @@ -1778,11 +1942,6 @@ "symfony/serializer": "^4.4|^5.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\ErrorHandler\\": "" @@ -1821,20 +1980,20 @@ "type": "tidelift" } ], - "time": "2020-07-23T08:36:24+00:00" + "time": "2020-12-09T18:54:12+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "7827d55911f91c070fc293ea51a06eec80797d76" + "reference": "1c93f7a1dff592c252574c79a8635a8a80856042" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7827d55911f91c070fc293ea51a06eec80797d76", - "reference": "7827d55911f91c070fc293ea51a06eec80797d76", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1c93f7a1dff592c252574c79a8635a8a80856042", + "reference": "1c93f7a1dff592c252574c79a8635a8a80856042", "shasum": "" }, "require": { @@ -1854,6 +2013,7 @@ "psr/log": "~1.0", "symfony/config": "^4.4|^5.0", "symfony/dependency-injection": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0", "symfony/expression-language": "^4.4|^5.0", "symfony/http-foundation": "^4.4|^5.0", "symfony/service-contracts": "^1.1|^2", @@ -1864,11 +2024,6 @@ "symfony/http-kernel": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\EventDispatcher\\": "" @@ -1907,20 +2062,20 @@ "type": "tidelift" } ], - "time": "2020-06-18T18:24:02+00:00" + "time": "2020-12-18T08:03:05+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.1.3", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "f6f613d74cfc5a623fc36294d3451eb7fa5a042b" + "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f6f613d74cfc5a623fc36294d3451eb7fa5a042b", - "reference": "f6f613d74cfc5a623fc36294d3451eb7fa5a042b", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ba7d54483095a198fa51781bc608d17e84dffa2", + "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2", "shasum": "" }, "require": { @@ -1933,7 +2088,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.2-dev" }, "thanks": { "name": "symfony/contracts", @@ -1983,31 +2138,26 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:23:11+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { "name": "symfony/finder", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "4298870062bfc667cb78d2b379be4bf5dec5f187" + "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/4298870062bfc667cb78d2b379be4bf5dec5f187", - "reference": "4298870062bfc667cb78d2b379be4bf5dec5f187", + "url": "https://api.github.com/repos/symfony/finder/zipball/0b9231a5922fd7287ba5b411893c0ecd2733e5ba", + "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba", "shasum": "" }, "require": { "php": ">=7.2.5" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Finder\\": "" @@ -2046,20 +2196,96 @@ "type": "tidelift" } ], - "time": "2020-05-20T17:43:50+00:00" + "time": "2020-12-08T17:02:38+00:00" }, { - "name": "symfony/http-foundation", - "version": "v5.1.3", + "name": "symfony/http-client-contracts", + "version": "v2.3.1", "source": { "type": "git", - "url": "https://github.com/symfony/http-foundation.git", - "reference": "1f0d6627e680591c61e9176f04a0dc887b4e6702" + "url": "https://github.com/symfony/http-client-contracts.git", + "reference": "41db680a15018f9c1d4b23516059633ce280ca33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/1f0d6627e680591c61e9176f04a0dc887b4e6702", - "reference": "1f0d6627e680591c61e9176f04a0dc887b4e6702", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/41db680a15018f9c1d4b23516059633ce280ca33", + "reference": "41db680a15018f9c1d4b23516059633ce280ca33", + "shasum": "" + }, + "require": { + "php": ">=7.2.5" + }, + "suggest": { + "symfony/http-client-implementation": "" + }, + "type": "library", + "extra": { + "branch-version": "2.3", + "branch-alias": { + "dev-main": "2.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\HttpClient\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to HTTP clients", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-14T17:08:19+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v5.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "a1f6218b29897ab52acba58cfa905b83625bef8d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a1f6218b29897ab52acba58cfa905b83625bef8d", + "reference": "a1f6218b29897ab52acba58cfa905b83625bef8d", "shasum": "" }, "require": { @@ -2078,11 +2304,6 @@ "symfony/mime": "To use the file extension guesser" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\HttpFoundation\\": "" @@ -2121,20 +2342,20 @@ "type": "tidelift" } ], - "time": "2020-07-23T10:04:31+00:00" + "time": "2020-12-18T10:00:10+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "d6dd8f6420e377970ddad0d6317d4ce4186fc6b3" + "reference": "1feb619286d819180f7b8bc0dc44f516d9c62647" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d6dd8f6420e377970ddad0d6317d4ce4186fc6b3", - "reference": "d6dd8f6420e377970ddad0d6317d4ce4186fc6b3", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1feb619286d819180f7b8bc0dc44f516d9c62647", + "reference": "1feb619286d819180f7b8bc0dc44f516d9c62647", "shasum": "" }, "require": { @@ -2143,6 +2364,7 @@ "symfony/deprecation-contracts": "^2.1", "symfony/error-handler": "^4.4|^5.0", "symfony/event-dispatcher": "^5.0", + "symfony/http-client-contracts": "^1.1|^2", "symfony/http-foundation": "^4.4|^5.0", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-php73": "^1.9", @@ -2153,7 +2375,7 @@ "symfony/cache": "<5.0", "symfony/config": "<5.0", "symfony/console": "<4.4", - "symfony/dependency-injection": "<4.4", + "symfony/dependency-injection": "<5.1.8", "symfony/doctrine-bridge": "<5.0", "symfony/form": "<5.0", "symfony/http-client": "<5.0", @@ -2173,7 +2395,7 @@ "symfony/config": "^5.0", "symfony/console": "^4.4|^5.0", "symfony/css-selector": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", + "symfony/dependency-injection": "^5.1.8", "symfony/dom-crawler": "^4.4|^5.0", "symfony/expression-language": "^4.4|^5.0", "symfony/finder": "^4.4|^5.0", @@ -2191,11 +2413,6 @@ "symfony/dependency-injection": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\HttpKernel\\": "" @@ -2234,24 +2451,25 @@ "type": "tidelift" } ], - "time": "2020-07-24T04:22:56+00:00" + "time": "2020-12-18T13:49:39+00:00" }, { "name": "symfony/mime", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "149fb0ad35aae3c7637b496b38478797fa6a7ea6" + "reference": "de97005aef7426ba008c46ba840fc301df577ada" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/149fb0ad35aae3c7637b496b38478797fa6a7ea6", - "reference": "149fb0ad35aae3c7637b496b38478797fa6a7ea6", + "url": "https://api.github.com/repos/symfony/mime/zipball/de97005aef7426ba008c46ba840fc301df577ada", + "reference": "de97005aef7426ba008c46ba840fc301df577ada", "shasum": "" }, "require": { "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0", "symfony/polyfill-php80": "^1.15" @@ -2261,14 +2479,13 @@ }, "require-dev": { "egulias/email-validator": "^2.1.10", - "symfony/dependency-injection": "^4.4|^5.0" + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/property-access": "^4.4|^5.1", + "symfony/property-info": "^4.4|^5.1", + "symfony/serializer": "^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Mime\\": "" @@ -2311,24 +2528,24 @@ "type": "tidelift" } ], - "time": "2020-07-23T10:04:31+00:00" + "time": "2020-12-09T18:54:12+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "1c302646f6efc070cd46856e600e5e0684d6b454" + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454", - "reference": "1c302646f6efc070cd46856e600e5e0684d6b454", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-ctype": "For best performance" @@ -2336,7 +2553,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2387,24 +2604,24 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5" + "reference": "267a9adeb8ecb8071040a740930e077cdfb987af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b740103edbdcc39602239ee8860f0f45a8eb9aa5", - "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af", + "reference": "267a9adeb8ecb8071040a740930e077cdfb987af", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-intl": "For best performance" @@ -2412,7 +2629,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2465,26 +2682,25 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251" + "reference": "0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251", - "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44", + "reference": "0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44", "shasum": "" }, "require": { - "php": ">=5.3.3", + "php": ">=7.1", "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php70": "^1.10", "symfony/polyfill-php72": "^1.10" }, "suggest": { @@ -2493,7 +2709,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2550,24 +2766,24 @@ "type": "tidelift" } ], - "time": "2020-08-04T06:02:08+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e" + "reference": "6e971c891537eb617a00bb07a43d182a6915faba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", - "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/6e971c891537eb617a00bb07a43d182a6915faba", + "reference": "6e971c891537eb617a00bb07a43d182a6915faba", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-intl": "For best performance" @@ -2575,7 +2791,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2631,24 +2847,24 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-01-07T17:09:11+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a" + "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", + "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-mbstring": "For best performance" @@ -2656,7 +2872,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2708,106 +2924,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" - }, - { - "name": "symfony/polyfill-php70", - "version": "v1.18.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", - "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", - "shasum": "" - }, - "require": { - "paragonie/random_compat": "~1.0|~2.0|~9.99", - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.18-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "639447d008615574653fb3bc60d1986d7172eaae" + "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae", - "reference": "639447d008615574653fb3bc60d1986d7172eaae", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9", + "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2858,29 +2997,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca" + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fffa1a52a023e782cdcc221d781fe1ec8f87fcca", - "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2934,29 +3073,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.18.1", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981" + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981", - "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", "shasum": "" }, "require": { - "php": ">=7.0.8" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3014,20 +3153,20 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/process", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "1864216226af21eb76d9477f691e7cbf198e0402" + "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/1864216226af21eb76d9477f691e7cbf198e0402", - "reference": "1864216226af21eb76d9477f691e7cbf198e0402", + "url": "https://api.github.com/repos/symfony/process/zipball/bd8815b8b6705298beaa384f04fabd459c10bedd", + "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd", "shasum": "" }, "require": { @@ -3035,11 +3174,6 @@ "symfony/polyfill-php80": "^1.15" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Process\\": "" @@ -3078,20 +3212,20 @@ "type": "tidelift" } ], - "time": "2020-07-23T08:36:24+00:00" + "time": "2020-12-08T17:03:37+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.1.3", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "58c7475e5457c5492c26cc740cc0ad7464be9442" + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/58c7475e5457c5492c26cc740cc0ad7464be9442", - "reference": "58c7475e5457c5492c26cc740cc0ad7464be9442", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", "shasum": "" }, "require": { @@ -3104,7 +3238,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.2-dev" }, "thanks": { "name": "symfony/contracts", @@ -3154,20 +3288,20 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:23:11+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { "name": "symfony/string", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f629ba9b611c76224feb21fe2bcbf0b6f992300b" + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f629ba9b611c76224feb21fe2bcbf0b6f992300b", - "reference": "f629ba9b611c76224feb21fe2bcbf0b6f992300b", + "url": "https://api.github.com/repos/symfony/string/zipball/5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", "shasum": "" }, "require": { @@ -3185,11 +3319,6 @@ "symfony/var-exporter": "^4.4|^5.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\String\\": "" @@ -3239,27 +3368,27 @@ "type": "tidelift" } ], - "time": "2020-07-08T08:27:49+00:00" + "time": "2020-12-05T07:33:16+00:00" }, { "name": "symfony/translation", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "4b9bf719f0fa5b05253c37fc7b335337ec7ec427" + "reference": "a04209ba0d1391c828e5b2373181dac63c52ee70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/4b9bf719f0fa5b05253c37fc7b335337ec7ec427", - "reference": "4b9bf719f0fa5b05253c37fc7b335337ec7ec427", + "url": "https://api.github.com/repos/symfony/translation/zipball/a04209ba0d1391c828e5b2373181dac63c52ee70", + "reference": "a04209ba0d1391c828e5b2373181dac63c52ee70", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.15", - "symfony/translation-contracts": "^2" + "symfony/translation-contracts": "^2.3" }, "conflict": { "symfony/config": "<4.4", @@ -3288,12 +3417,10 @@ "symfony/yaml": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { + "files": [ + "Resources/functions.php" + ], "psr-4": { "Symfony\\Component\\Translation\\": "" }, @@ -3331,20 +3458,20 @@ "type": "tidelift" } ], - "time": "2020-06-30T17:42:22+00:00" + "time": "2020-12-08T17:03:37+00:00" }, { "name": "symfony/translation-contracts", - "version": "v2.1.3", + "version": "v2.3.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "616a9773c853097607cf9dd6577d5b143ffdcd63" + "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/616a9773c853097607cf9dd6577d5b143ffdcd63", - "reference": "616a9773c853097607cf9dd6577d5b143ffdcd63", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/e2eaa60b558f26a4b0354e1bbb25636efaaad105", + "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105", "shasum": "" }, "require": { @@ -3356,7 +3483,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -3406,20 +3533,20 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:23:11+00:00" + "time": "2020-09-28T13:05:58+00:00" }, { "name": "symfony/var-dumper", - "version": "v5.1.3", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "2ebe1c7bb52052624d6dc1250f4abe525655d75a" + "reference": "13e7e882eaa55863faa7c4ad7c60f12f1a8b5089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2ebe1c7bb52052624d6dc1250f4abe525655d75a", - "reference": "2ebe1c7bb52052624d6dc1250f4abe525655d75a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/13e7e882eaa55863faa7c4ad7c60f12f1a8b5089", + "reference": "13e7e882eaa55863faa7c4ad7c60f12f1a8b5089", "shasum": "" }, "require": { @@ -3446,11 +3573,6 @@ "Resources/bin/var-dump-server" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "files": [ "Resources/functions/dump.php" @@ -3496,27 +3618,27 @@ "type": "tidelift" } ], - "time": "2020-06-24T13:36:18+00:00" + "time": "2020-12-16T17:02:19+00:00" }, { "name": "voku/portable-ascii", - "version": "1.5.3", + "version": "1.5.6", "source": { "type": "git", "url": "https://github.com/voku/portable-ascii.git", - "reference": "25bcbf01678930251fd572891447d9e318a6e2b8" + "reference": "80953678b19901e5165c56752d087fc11526017c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/25bcbf01678930251fd572891447d9e318a6e2b8", - "reference": "25bcbf01678930251fd572891447d9e318a6e2b8", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/80953678b19901e5165c56752d087fc11526017c", + "reference": "80953678b19901e5165c56752d087fc11526017c", "shasum": "" }, "require": { "php": ">=7.0.0" }, "require-dev": { - "phpunit/phpunit": "~6.0 || ~7.0" + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" }, "suggest": { "ext-intl": "Use Intl for transliterator_transliterate() support" @@ -3566,31 +3688,31 @@ "type": "tidelift" } ], - "time": "2020-07-22T23:32:04+00:00" + "time": "2020-11-12T00:07:28+00:00" } ], "packages-dev": [ { "name": "filp/whoops", - "version": "2.7.3", + "version": "2.9.1", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d" + "reference": "307fb34a5ab697461ec4c9db865b20ff2fd40771" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/5d5fe9bb3d656b514d455645b3addc5f7ba7714d", - "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d", + "url": "https://api.github.com/repos/filp/whoops/zipball/307fb34a5ab697461ec4c9db865b20ff2fd40771", + "reference": "307fb34a5ab697461ec4c9db865b20ff2fd40771", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0", + "php": "^5.5.9 || ^7.0 || ^8.0", "psr/log": "^1.0.1" }, "require-dev": { "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" }, "suggest": { @@ -3600,7 +3722,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { @@ -3629,7 +3751,7 @@ "throwable", "whoops" ], - "time": "2020-06-14T09:00:00+00:00" + "time": "2020-11-01T12:00:00+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -3685,11 +3807,13 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "roots/acorn": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^7.2.5" + "php": "^7.3|^8.0" }, "platform-dev": [], "plugin-api-version": "1.1.0" diff --git a/config/app.php b/config/app.php index 363b53a..f6b4bd8 100644 --- a/config/app.php +++ b/config/app.php @@ -24,7 +24,7 @@ return [ | | This value determines the "environment" your application is currently | running in. This may determine how you prefer to configure various - | services your application utilizes. Set this in your ".env" file. + | services the application utilizes. Set this in your ".env" file. | */ @@ -56,19 +56,6 @@ return [ 'timezone' => get_option('timezone_string', 'UTC'), - /* - |-------------------------------------------------------------------------- - | Preflight Checks - |-------------------------------------------------------------------------- - | - | This value allows service providers to execute preflight tasks after - | booting. These tasks include creating directories, databases, and files, - | or doing any other checks to ensure the service is functional. - | - */ - - 'preflight' => env('WP_ENV', 'production') !== 'production', - /* |-------------------------------------------------------------------------- | Global Helpers @@ -108,6 +95,21 @@ return [ 'fallback_locale' => 'en', + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is used by the Illuminate encrypter service and should be set + | to a random, 32 character string, otherwise these encrypted strings + | will not be safe. Please do this before deploying an application! + | + */ + + 'key' => env('APP_KEY'), + + 'cipher' => 'AES-256-CBC', + /* |-------------------------------------------------------------------------- | Autoloaded Service Providers @@ -120,15 +122,42 @@ return [ */ 'providers' => [ - /** - * Package Service Providers - */ - // ExamplePackage\Providers\ExamplePackageServiceProvider::class, - /** - * Application Service Providers + /* + * Laravel Framework Service Providers... + */ + // Illuminate\Auth\AuthServiceProvider::class, + // Illuminate\Broadcasting\BroadcastServiceProvider::class, + Illuminate\Bus\BusServiceProvider::class, + Illuminate\Cache\CacheServiceProvider::class, + // Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, + // Illuminate\Cookie\CookieServiceProvider::class, + // Illuminate\Database\DatabaseServiceProvider::class, + // Illuminate\Encryption\EncryptionServiceProvider::class, + Illuminate\Filesystem\FilesystemServiceProvider::class, + // Illuminate\Foundation\Providers\FoundationServiceProvider::class, + // Illuminate\Hashing\HashServiceProvider::class, + // Illuminate\Mail\MailServiceProvider::class, + // Illuminate\Notifications\NotificationServiceProvider::class, + // Illuminate\Pagination\PaginationServiceProvider::class, + // Illuminate\Pipeline\PipelineServiceProvider::class, + // Illuminate\Queue\QueueServiceProvider::class, + // Illuminate\Redis\RedisServiceProvider::class, + // Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, + // Illuminate\Session\SessionServiceProvider::class, + // Illuminate\Translation\TranslationServiceProvider::class, + // Illuminate\Validation\ValidationServiceProvider::class, + Illuminate\View\ViewServiceProvider::class, + + /* + * Package Service Providers... + */ + + /* + * Application Service Providers... */ App\Providers\ThemeServiceProvider::class, + ], /* @@ -143,41 +172,44 @@ return [ */ 'aliases' => [ + 'App' => Illuminate\Support\Facades\App::class, 'Arr' => Illuminate\Support\Arr::class, - 'Artisan' => Illuminate\Support\Facades\Artisan::class, - 'Auth' => Illuminate\Support\Facades\Auth::class, + // 'Artisan' => Illuminate\Support\Facades\Artisan::class, + // 'Auth' => Illuminate\Support\Facades\Auth::class, 'Blade' => Illuminate\Support\Facades\Blade::class, - 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, + // 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, 'Bus' => Illuminate\Support\Facades\Bus::class, 'Cache' => Illuminate\Support\Facades\Cache::class, 'Config' => Illuminate\Support\Facades\Config::class, - 'Cookie' => Illuminate\Support\Facades\Cookie::class, - 'Crypt' => Illuminate\Support\Facades\Crypt::class, - 'DB' => Illuminate\Support\Facades\DB::class, - 'Eloquent' => Illuminate\Database\Eloquent\Model::class, + // 'Cookie' => Illuminate\Support\Facades\Cookie::class, + // 'Crypt' => Illuminate\Support\Facades\Crypt::class, + // 'DB' => Illuminate\Support\Facades\DB::class, + // 'Eloquent' => Illuminate\Database\Eloquent\Model::class, 'Event' => Illuminate\Support\Facades\Event::class, 'File' => Illuminate\Support\Facades\File::class, - 'Gate' => Illuminate\Support\Facades\Gate::class, - 'Hash' => Illuminate\Support\Facades\Hash::class, - 'Http' => Illuminate\Support\Facades\Http::class, - 'Lang' => Illuminate\Support\Facades\Lang::class, + // 'Gate' => Illuminate\Support\Facades\Gate::class, + // 'Hash' => Illuminate\Support\Facades\Hash::class, + // 'Http' => Illuminate\Support\Facades\Http::class, + // 'Lang' => Illuminate\Support\Facades\Lang::class, 'Log' => Illuminate\Support\Facades\Log::class, - 'Mail' => Illuminate\Support\Facades\Mail::class, - 'Notification' => Illuminate\Support\Facades\Notification::class, - 'Password' => Illuminate\Support\Facades\Password::class, - 'Queue' => Illuminate\Support\Facades\Queue::class, - 'Redirect' => Illuminate\Support\Facades\Redirect::class, - 'Redis' => Illuminate\Support\Facades\Redis::class, - 'Request' => Illuminate\Support\Facades\Request::class, - 'Response' => Illuminate\Support\Facades\Response::class, - 'Route' => Illuminate\Support\Facades\Route::class, - 'Schema' => Illuminate\Support\Facades\Schema::class, - 'Session' => Illuminate\Support\Facades\Session::class, + // 'Mail' => Illuminate\Support\Facades\Mail::class, + // 'Notification' => Illuminate\Support\Facades\Notification::class, + // 'Password' => Illuminate\Support\Facades\Password::class, + // 'Queue' => Illuminate\Support\Facades\Queue::class, + // 'Redirect' => Illuminate\Support\Facades\Redirect::class, + // 'Redis' => Illuminate\Support\Facades\Redis::class, + // 'Request' => Illuminate\Support\Facades\Request::class, + // 'Response' => Illuminate\Support\Facades\Response::class, + // 'Route' => Illuminate\Support\Facades\Route::class, + // 'Schema' => Illuminate\Support\Facades\Schema::class, + // 'Session' => Illuminate\Support\Facades\Session::class, 'Storage' => Illuminate\Support\Facades\Storage::class, 'Str' => Illuminate\Support\Str::class, - 'URL' => Illuminate\Support\Facades\URL::class, - 'Validator' => Illuminate\Support\Facades\Validator::class, + // 'URL' => Illuminate\Support\Facades\URL::class, + // 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, + ], + ]; diff --git a/config/assets.php b/config/assets.php index e72573e..b78140b 100644 --- a/config/assets.php +++ b/config/assets.php @@ -34,9 +34,9 @@ return [ 'manifests' => [ 'theme' => [ 'strategy' => 'relative', - 'path' => get_theme_file_path('/dist'), - 'uri' => get_theme_file_uri('/dist'), - 'manifest' => get_theme_file_path('/dist/mix-manifest.json'), + 'path' => get_theme_file_path('/public'), + 'uri' => get_theme_file_uri('/public'), + 'manifest' => get_theme_file_path('/public/mix-manifest.json'), ] ] ]; diff --git a/config/filesystems.php b/config/filesystems.php index 53c32de..d700035 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -17,19 +17,6 @@ return [ 'default' => env('FILESYSTEM_DRIVER', 'local'), - /* - |-------------------------------------------------------------------------- - | Default Cloud Filesystem Disk - |-------------------------------------------------------------------------- - | - | Many applications store files both locally and in the cloud. For this - | reason, you may specify a default "cloud" driver here. This driver - | will be bound as the Cloud disk implementation in the container. - | - */ - - 'cloud' => env('FILESYSTEM_CLOUD', 's3'), - /* |-------------------------------------------------------------------------- | Filesystem Disks @@ -44,11 +31,10 @@ return [ */ 'disks' => [ + 'local' => [ 'driver' => 'local', 'root' => WP_CONTENT_DIR, - 'url' => content_url(), - 'visibility' => 'public', ], 'wordpress' => [ @@ -58,7 +44,7 @@ return [ 'visibility' => 'public', ], - 'sage' => [ + 'theme' => [ 'driver' => 'local', 'root' => get_theme_file_path(), 'url' => get_theme_file_uri(), @@ -72,6 +58,9 @@ return [ 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), ], + ], + ]; diff --git a/config/logging.php b/config/logging.php index 18428d9..d14b127 100644 --- a/config/logging.php +++ b/config/logging.php @@ -46,28 +46,28 @@ return [ 'single' => [ 'driver' => 'single', - 'path' => storage_path('logs/sage.log'), - 'level' => 'debug', + 'path' => storage_path('logs/acorn.log'), + 'level' => env('LOG_LEVEL', 'debug'), ], 'daily' => [ 'driver' => 'daily', - 'path' => storage_path('logs/sage.log'), - 'level' => 'debug', + 'path' => storage_path('logs/acorn.log'), + 'level' => env('LOG_LEVEL', 'debug'), 'days' => 14, ], 'slack' => [ 'driver' => 'slack', 'url' => env('LOG_SLACK_WEBHOOK_URL'), - 'username' => 'App Log', + 'username' => 'Acorn Log', 'emoji' => ':boom:', - 'level' => 'critical', + 'level' => env('LOG_LEVEL', 'critical'), ], 'papertrail' => [ 'driver' => 'monolog', - 'level' => 'debug', + 'level' => env('LOG_LEVEL', 'debug'), 'handler' => SyslogUdpHandler::class, 'handler_with' => [ 'host' => env('PAPERTRAIL_URL'), @@ -86,12 +86,12 @@ return [ 'syslog' => [ 'driver' => 'syslog', - 'level' => 'debug', + 'level' => env('LOG_LEVEL', 'debug'), ], 'errorlog' => [ 'driver' => 'errorlog', - 'level' => 'debug', + 'level' => env('LOG_LEVEL', 'debug'), ], 'null' => [ @@ -100,7 +100,8 @@ return [ ], 'emergency' => [ - 'path' => storage_path('logs/sage.log'), + 'path' => storage_path('logs/acorn.log'), ], ], + ]; diff --git a/functions.php b/functions.php index 46de5af..81b7e09 100644 --- a/functions.php +++ b/functions.php @@ -19,50 +19,13 @@ require $composer; /* |-------------------------------------------------------------------------- -| Register Sage Theme Files +| Run The Theme |-------------------------------------------------------------------------- | -| Out of the box, Sage ships with categorically named theme files -| containing common functionality and setup to be bootstrapped with your -| theme. Simply add (or remove) files from the array below to change what -| is registered alongside Sage. +| Once we have the theme booted, we can handle the incoming request using +| the application's HTTP kernel. Then, we will send the response back +| to this client's browser, allowing them to enjoy our application. | */ -collect(['helpers', 'setup', 'filters', 'admin']) - ->each(function ($file) { - $file = "app/{$file}.php"; - - if (! locate_template($file, true, true)) { - wp_die( - sprintf(__('Error locating %s for inclusion.', 'sage'), $file) - ); - } - }); - -/* -|-------------------------------------------------------------------------- -| Enable Sage Theme Support -|-------------------------------------------------------------------------- -| -| Once our theme files are registered and available for use, we are almost -| ready to boot our application. But first, we need to signal to Acorn -| that we will need to initialize the necessary service providers built in -| for Sage when booting. -| -*/ - -add_theme_support('sage'); - -/* -|-------------------------------------------------------------------------- -| Turn On The Lights -|-------------------------------------------------------------------------- -| -| We are ready to bootstrap the Acorn framework and get it ready for use. -| Acorn will provide us support for Blade templating as well as the ability -| to utilize the Laravel framework and its beautifully written packages. -| -*/ - -new Roots\Acorn\Bootloader(); +require_once __DIR__ . '/bootstrap/app.php'; diff --git a/package.json b/package.json index a79299e..7faeccc 100644 --- a/package.json +++ b/package.json @@ -3,54 +3,43 @@ "browserslist": [ "extends @wordpress/browserslist-config" ], - "engines" : { - "node" : ">=12.0.0" + "engines": { + "node": ">=12.14.0" }, "scripts": { - "build": "cross-env NODE_ENV=development run-s mix", - "build:production": "cross-env NODE_ENV=production run-s clean mix", - "start": "cross-env NODE_ENV=development run-s \"mix -- --watch\"", - "hot": "cross-env NODE_ENV=development run-s build mix:hot", - "mix": "webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", - "mix:hot": "webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", - "clean": "run-p clean:*", - "clean:dist": "rimraf dist", - "clean:cache": "rimraf storage/framework/cache/*.php storage/framework/cache/data/*.php", - "clean:views": "rimraf storage/framework/views/*.php", - "lint": "run-s -c lint:*", - "lint:scripts": "eslint resources/assets/scripts", - "lint:styles": "stylelint \"resources/assets/**/*.{vue,css,sass,scss,less}\"", - "test": "run-s -c lint", - "translate": "run-s -c translate:*", - "translate:pot": "wp i18n make-pot . ./resources/languages/sage.pot --ignore-domain --include=\"app,resources/assets,resources/views\"", - "translate:js": "wp i18n make-json ./resources/languages --no-purge --pretty-print" + "build": "mix", + "build:production": "mix --production", + "start": "mix watch", + "hot": "mix watch --hot", + "clean": "wp acorn optimize:clean", + "lint": "npm run lint:js && npm run lint:css", + "lint:js": "eslint resources/js", + "lint:css": "stylelint \"resources/**/*.{css,scss,vue}\"", + "translate": "npm run translate:pot && npm run translate:js", + "translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --ignore-domain --include=\"app,resources\"", + "translate:js": "wp i18n make-json ./resources/lang --pretty-print" }, "devDependencies": { + "@tailwindcss/typography": "^0.3.1", "@tinypixelco/laravel-mix-wp-blocks": "^1.1.0", - "@wordpress/babel-preset-default": "^4.17.0", + "@wordpress/babel-preset-default": "^4.20.0", "@wordpress/browserslist-config": "^2.7.0", - "@wordpress/dependency-extraction-webpack-plugin": "^2.8.0", + "@wordpress/dependency-extraction-webpack-plugin": "^2.9.0", "babel-eslint": "^10.1.0", - "browser-sync": "^2.26.12", - "browser-sync-webpack-plugin": "^2.0.1", - "cross-env": "^7.0.2", - "eslint": "^7.7.0", - "eslint-plugin-import": "^2.22.0", - "laravel-mix": "^5.0.4", - "laravel-mix-copy-watched": "^2.2.4", - "laravel-mix-purgecss": "^5.0.0", - "npm-run-all": "^4.1", - "purgecss-with-wordpress": "^2.3.0", - "rimraf": "^3.0.2", - "sass": "^1.26.10", - "sass-loader": "^9.0.3", - "stylelint": "^13.6.1", + "browser-sync": "^2.26.13", + "browser-sync-webpack-plugin": "^2.3.0", + "cross-env": "^7.0.3", + "eslint": "^7.17.0", + "eslint-plugin-import": "^2.22.1", + "laravel-mix": "^6.0.9", + "postcss": "^8.1", + "sass": "^1.32.4", + "sass-loader": "10.1.1", + "stylelint": "^13.8.0", "stylelint-config-standard": "^20.0.0", - "vue-template-compiler": "^2.6.11" + "tailwindcss": "^2.0.2" }, "dependencies": { - "bootstrap": "^4.5.3", - "jquery": "^3.5.1", - "popper.js": "^1.16.1" + "jquery": "^3.5.1" } } diff --git a/resources/assets/styles/app.scss b/resources/assets/styles/app.scss deleted file mode 100644 index 12101ab..0000000 --- a/resources/assets/styles/app.scss +++ /dev/null @@ -1,12 +0,0 @@ -/** Config */ -@import 'config/variables'; -@import 'config/external'; - -/** Common */ -@import 'common/global'; - -/** Components */ -@import 'components'; - -/** Partials */ -@import 'partials/header'; diff --git a/resources/assets/styles/common/global.scss b/resources/assets/styles/common/global.scss deleted file mode 100644 index f6e4902..0000000 --- a/resources/assets/styles/common/global.scss +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Global - */ - -a { - color: map-get($theme-colors, 'primary'); -} - -/** - * Block editor color palette utilities - * @see https://git.io/JeyD6 - */ - -@each $color-name, $color-value in $theme-colors { - .has-#{$color-name}-color { - color: $color-value; - } - - .has-#{$color-name}-background-color { - background-color: $color-value; - } -} diff --git a/resources/assets/styles/components/button.scss b/resources/assets/styles/components/button.scss deleted file mode 100644 index 6b59f0f..0000000 --- a/resources/assets/styles/components/button.scss +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Button - */ - -.wp-block-button { - &__link { - font-size: $btn-font-size; - line-height: $btn-line-height; - padding-bottom: $btn-padding-y; - padding-left: $btn-padding-x; - padding-right: $btn-padding-x; - padding-top: $btn-padding-y; - - &:hover { - text-decoration: none; - } - } - - &.is-style-outline { - .wp-block-button__link { - @include button-outline-variant( - map-get($theme-colors, 'primary'), - map-get($theme-colors, 'light') - ); - } - } - - &.is-style-solid { - .wp-block-button__link { - @include button-variant( - map-get($theme-colors, 'primary'), - map-get($theme-colors, 'light') - ); - } - } -} diff --git a/resources/assets/styles/components/index.scss b/resources/assets/styles/components/index.scss deleted file mode 100644 index 0fd8983..0000000 --- a/resources/assets/styles/components/index.scss +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Components - */ - -@import 'button'; diff --git a/resources/assets/styles/config/external.scss b/resources/assets/styles/config/external.scss deleted file mode 100644 index b7bb7ba..0000000 --- a/resources/assets/styles/config/external.scss +++ /dev/null @@ -1,5 +0,0 @@ -/** - * External - */ - -@import '~bootstrap/scss/bootstrap'; diff --git a/resources/assets/styles/config/variables.scss b/resources/assets/styles/config/variables.scss deleted file mode 100644 index 2fa85e3..0000000 --- a/resources/assets/styles/config/variables.scss +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Variables - */ - -$theme-colors: ( - primary: #525ddc, -); diff --git a/resources/assets/styles/editor.scss b/resources/assets/styles/editor.scss deleted file mode 100644 index 9ad9237..0000000 --- a/resources/assets/styles/editor.scss +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Editor - */ - -@import 'config/variables'; - -@import '~bootstrap/scss/functions'; -@import '~bootstrap/scss/variables'; -@import '~bootstrap/scss/mixins'; - -.editor-styles-wrapper > * { - @import 'common/global'; - @import 'components'; - - font-family: $font-family-base; -} diff --git a/resources/assets/styles/partials/header.scss b/resources/assets/styles/partials/header.scss deleted file mode 100644 index 2f1b654..0000000 --- a/resources/assets/styles/partials/header.scss +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Header - */ - -.brand { - font-weight: bold; -} diff --git a/resources/css/app.scss b/resources/css/app.scss new file mode 100644 index 0000000..92ec349 --- /dev/null +++ b/resources/css/app.scss @@ -0,0 +1,6 @@ +@import 'tailwindcss/base'; + +@import 'common/global'; + +@import 'tailwindcss/components'; +@import 'tailwindcss/utilities'; diff --git a/resources/css/common/global.scss b/resources/css/common/global.scss new file mode 100644 index 0000000..76af427 --- /dev/null +++ b/resources/css/common/global.scss @@ -0,0 +1,7 @@ +body { + @apply font-sans; +} + +.brand { + @apply text-3xl font-medium text-indigo-500; +} diff --git a/resources/css/editor.scss b/resources/css/editor.scss new file mode 100644 index 0000000..74a75a4 --- /dev/null +++ b/resources/css/editor.scss @@ -0,0 +1,11 @@ +.block-editor-block-list__layout { + @apply font-sans; +} + +.wp-block { + @apply max-w-screen-md; + + &.editor-post-title__block .editor-post-title__input { + @apply font-sans #{!important}; + } +} diff --git a/resources/assets/fonts/.gitkeep b/resources/fonts/.gitkeep similarity index 100% rename from resources/assets/fonts/.gitkeep rename to resources/fonts/.gitkeep diff --git a/resources/assets/images/.gitkeep b/resources/images/.gitkeep similarity index 100% rename from resources/assets/images/.gitkeep rename to resources/images/.gitkeep diff --git a/resources/assets/scripts/app.js b/resources/js/app.js similarity index 85% rename from resources/assets/scripts/app.js rename to resources/js/app.js index a4b8a0c..3616f1c 100644 --- a/resources/assets/scripts/app.js +++ b/resources/js/app.js @@ -2,7 +2,6 @@ * External Dependencies */ import 'jquery'; -import 'bootstrap'; $(document).ready(() => { // console.log('Hello world'); diff --git a/resources/assets/scripts/customizer.js b/resources/js/customizer.js similarity index 100% rename from resources/assets/scripts/customizer.js rename to resources/js/customizer.js diff --git a/resources/assets/scripts/editor.js b/resources/js/editor.js similarity index 100% rename from resources/assets/scripts/editor.js rename to resources/js/editor.js diff --git a/resources/views/components/alert.blade.php b/resources/views/components/alert.blade.php index c0c2a75..eca24bc 100644 --- a/resources/views/components/alert.blade.php +++ b/resources/views/components/alert.blade.php @@ -1,3 +1,5 @@ -
- {!! $message ?? $slot !!} +
merge(['class' => $type]) }}> +
+ {!! $message ?? $slot !!} +
diff --git a/resources/views/forms/search.blade.php b/resources/views/forms/search.blade.php index 0d16511..90b856d 100644 --- a/resources/views/forms/search.blade.php +++ b/resources/views/forms/search.blade.php @@ -1,17 +1,21 @@ diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 6acde4f..6165ab9 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -1,15 +1,15 @@ -@include('partials.header') +
+ @include('partials.header') -
-
- @yield('content') -
+
+ @yield('content') +
- @hasSection('sidebar') - - @endif + @hasSection('sidebar') + + @endif + + @include('partials.footer')
- -@include('partials.footer') diff --git a/resources/views/partials/content-page.blade.php b/resources/views/partials/content-page.blade.php index 41e050a..5d4d204 100644 --- a/resources/views/partials/content-page.blade.php +++ b/resources/views/partials/content-page.blade.php @@ -1,2 +1,3 @@ @php(the_content()) + {!! wp_link_pages(['echo' => 0, 'before' => '']) !!} diff --git a/resources/views/partials/footer.blade.php b/resources/views/partials/footer.blade.php index 3c1fac1..91d182e 100644 --- a/resources/views/partials/footer.blade.php +++ b/resources/views/partials/footer.blade.php @@ -1,5 +1,3 @@
-
- @php(dynamic_sidebar('sidebar-footer')) -
+ @php(dynamic_sidebar('sidebar-footer'))
diff --git a/resources/views/partials/header.blade.php b/resources/views/partials/header.blade.php index 947080e..45478b4 100644 --- a/resources/views/partials/header.blade.php +++ b/resources/views/partials/header.blade.php @@ -1,5 +1,5 @@