From 8059efd9f0c169588218593dc3e69f873d6f4665 Mon Sep 17 00:00:00 2001 From: iMokhles Date: Mon, 6 Apr 2020 15:39:28 +0200 Subject: [PATCH] added OneUI theme and added support for laravel/ui package and now it require laravel 7.0 and above ONLY --- .idea/MultiAuthCommand.iml | 9 +- .idea/php.xml | 9 +- .idea/workspace.xml | 601 ++---------- README.md | 1 + composer.json | 11 +- composer.lock | 887 +++++++++++++----- src/Command/MultiAuthListThemes.php | 1 + src/Command/MultiAuthPrepare.php | 49 +- .../Auth/ConfirmPasswordController.stub | 50 + src/Stubs/Languages/dashboard.stub | 2 + src/Stubs/Route/routeFile.stub | 4 + .../auth/passwords/confirm.blade.stub | 36 + .../auth/passwords/confirm.blade.stub | 38 + .../HighAdmin/auth/passwords/reset.blade.stub | 2 +- .../auth/account/account_info_tab.blade.stub | 67 ++ .../account/change_password_tab.blade.stub | 75 ++ .../OneUI/auth/account/left_box.blade.stub | 14 + .../OneUI/auth/account/right_box.blade.stub | 19 + .../OneUI/auth/account/update_info.blade.stub | 46 + src/Stubs/Views/OneUI/auth/login.blade.stub | 62 ++ .../OneUI/auth/passwords/confirm.blade.stub | 60 ++ .../OneUI/auth/passwords/email.blade.stub | 33 + .../OneUI/auth/passwords/reset.blade.stub | 39 + .../Views/OneUI/auth/register.blade.stub | 68 ++ src/Stubs/Views/OneUI/auth/verify.blade.stub | 36 + src/Stubs/Views/OneUI/dashboard.blade.stub | 18 + .../Views/OneUI/layouts/inc/alerts.blade.stub | 21 + .../OneUI/layouts/inc/breadcrumb.blade.stub | 22 + .../Views/OneUI/layouts/inc/head.blade.stub | 36 + .../OneUI/layouts/inc/scripts.blade.stub | 33 + .../Views/OneUI/layouts/layout.blade.stub | 59 ++ .../OneUI/layouts/layout_guest.blade.stub | 42 + .../layouts/main_header/languages.blade.stub | 48 + .../main_header/main_header.blade.stub | 74 ++ .../main_header/notifications.blade.stub | 36 + .../OneUI/layouts/main_header/user.blade.stub | 26 + .../OneUI/layouts/sidemenu/items.blade.stub | 6 + .../OneUI/layouts/sidemenu/list.blade.stub | 92 ++ .../StartUI/auth/passwords/confirm.blade.stub | 60 ++ .../StartUI/auth/passwords/reset.blade.stub | 4 +- .../Tabler/auth/passwords/confirm.blade.stub | 37 + 41 files changed, 2025 insertions(+), 808 deletions(-) create mode 100755 src/Stubs/Controllers/Auth/ConfirmPasswordController.stub create mode 100755 src/Stubs/Views/AdminLTE2/auth/passwords/confirm.blade.stub create mode 100755 src/Stubs/Views/HighAdmin/auth/passwords/confirm.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/account/account_info_tab.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/account/change_password_tab.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/account/left_box.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/account/right_box.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/account/update_info.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/login.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/passwords/confirm.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/passwords/email.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/passwords/reset.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/register.blade.stub create mode 100755 src/Stubs/Views/OneUI/auth/verify.blade.stub create mode 100755 src/Stubs/Views/OneUI/dashboard.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/inc/alerts.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/inc/breadcrumb.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/inc/head.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/inc/scripts.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/layout.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/layout_guest.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/main_header/languages.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/main_header/main_header.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/main_header/notifications.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/main_header/user.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/sidemenu/items.blade.stub create mode 100755 src/Stubs/Views/OneUI/layouts/sidemenu/list.blade.stub create mode 100755 src/Stubs/Views/StartUI/auth/passwords/confirm.blade.stub create mode 100755 src/Stubs/Views/Tabler/auth/passwords/confirm.blade.stub diff --git a/.idea/MultiAuthCommand.iml b/.idea/MultiAuthCommand.iml index 3ad4450..dfdc74f 100755 --- a/.idea/MultiAuthCommand.iml +++ b/.idea/MultiAuthCommand.iml @@ -13,17 +13,24 @@ + - + + + + + + + diff --git a/.idea/php.xml b/.idea/php.xml index 45ca0b4..74d3daf 100755 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -8,7 +8,6 @@ - @@ -23,6 +22,14 @@ + + + + + + + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6fb87af..5876706 100755 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $PROJECT_DIR$/composer.json + + + + - + - - - - - + + + + + @@ -322,335 +172,22 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + \ No newline at end of file diff --git a/README.md b/README.md index 597adce..72d4b06 100755 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ PROJECT_DIR/public/start_ui/*css,js,img,fonts * FREE [Tabler](https://preview.tabler.io/) * PAID [StartUI](https://themeforest.net/item/startui-premium-bootstrap-4-admin-dashboard-template/15228250?ref=themesanytime) * PAID [HighAdmin](https://themeforest.net/item/highdmin-responsive-bootstrap-4-admin-dashboard/21233941) +* PAID [OneUI](https://themeforest.net/item/oneui-bootstrap-admin-dashboard-template-ui-framework-angularjs/11820082) * more comes later ( and you are welcome to send me a pull request for more themes ) ## Theme folder structure diff --git a/composer.json b/composer.json index 685ecdd..c465eb8 100755 --- a/composer.json +++ b/composer.json @@ -8,13 +8,12 @@ "laravel multiple authentication" ], "require": { - "php": ">=5.5.0", - "ext-zip": "*", - "illuminate/support": "~5.7", + "illuminate/support": "^7.0", "prologue/alerts": "^0.4.1", - "illuminate/console": "~5.7", - "symfony/process": "^4.2", - "illuminate/database": "~5.7" + "illuminate/console": "^7.0", + "symfony/process": "^5.0", + "illuminate/database": "^7.0", + "laravel/ui": "^2.0" }, "license": "MIT", "authors": [ diff --git a/composer.lock b/composer.lock index e640104..1173de3 100755 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9ba85d72ccbf0137272f9d5035ccd8e1", + "content-hash": "f165c811bd03031a5ce5a5500bb0f8e6", "packages": [ { "name": "doctrine/inflector", - "version": "v1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "5527a48b7313d15261292c149e55e26eae771b0a" + "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a", - "reference": "5527a48b7313d15261292c149e55e26eae771b0a", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/ec3a55242203ffa6a4b27c58176da97ff0a7aec1", + "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1", "shasum": "" }, "require": { @@ -42,6 +42,10 @@ "MIT" ], "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, { "name": "Roman Borschel", "email": "roman@code-factory.org" @@ -50,10 +54,6 @@ "name": "Benjamin Eberlei", "email": "kontakt@beberlei.de" }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, { "name": "Jonathan Wage", "email": "jonwage@gmail.com" @@ -71,31 +71,31 @@ "singularize", "string" ], - "time": "2018-01-09T20:05:19+00:00" + "time": "2019-10-30T19:59:35+00:00" }, { "name": "illuminate/config", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/config.git", - "reference": "6dac1dee3fb51704767c69a07aead1bc75c12368" + "reference": "d1e898de7a0cefe9ce2c94dede6679839e6a7b39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/config/zipball/6dac1dee3fb51704767c69a07aead1bc75c12368", - "reference": "6dac1dee3fb51704767c69a07aead1bc75c12368", + "url": "https://api.github.com/repos/illuminate/config/zipball/d1e898de7a0cefe9ce2c94dede6679839e6a7b39", + "reference": "d1e898de7a0cefe9ce2c94dede6679839e6a7b39", "shasum": "" }, "require": { - "illuminate/contracts": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3" + "illuminate/contracts": "^7.0", + "illuminate/support": "^7.0", + "php": "^7.2.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -115,38 +115,41 @@ ], "description": "The Illuminate Config package.", "homepage": "https://laravel.com", - "time": "2019-02-14T12:51:50+00:00" + "time": "2020-01-07T13:49:44+00:00" }, { "name": "illuminate/console", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/console.git", - "reference": "31ca5f87565db8010d29dff42b379608644adc16" + "reference": "5bce1dfc670091a812c9b390830e541753b4b651" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/console/zipball/31ca5f87565db8010d29dff42b379608644adc16", - "reference": "31ca5f87565db8010d29dff42b379608644adc16", + "url": "https://api.github.com/repos/illuminate/console/zipball/5bce1dfc670091a812c9b390830e541753b4b651", + "reference": "5bce1dfc670091a812c9b390830e541753b4b651", "shasum": "" }, "require": { - "illuminate/contracts": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3", - "symfony/console": "^4.2", - "symfony/process": "^4.2" + "illuminate/contracts": "^7.0", + "illuminate/support": "^7.0", + "php": "^7.2.5", + "symfony/console": "^5.0", + "symfony/process": "^5.0" }, "suggest": { - "dragonmantank/cron-expression": "Required to use scheduling component (^2.0).", - "guzzlehttp/guzzle": "Required to use the ping methods on schedules (^6.0).", - "illuminate/filesystem": "Required to use the generator command (5.8.*)" + "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)" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -166,32 +169,31 @@ ], "description": "The Illuminate Console package.", "homepage": "https://laravel.com", - "time": "2019-04-11T13:00:36+00:00" + "time": "2020-03-11T12:44:28+00:00" }, { "name": "illuminate/container", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/container.git", - "reference": "9405989993a48c2cd50ad1e5b2b08a33383c3807" + "reference": "9108edffa95b34df94dc36721d92f380dd59bea3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/9405989993a48c2cd50ad1e5b2b08a33383c3807", - "reference": "9405989993a48c2cd50ad1e5b2b08a33383c3807", + "url": "https://api.github.com/repos/illuminate/container/zipball/9108edffa95b34df94dc36721d92f380dd59bea3", + "reference": "9108edffa95b34df94dc36721d92f380dd59bea3", "shasum": "" }, "require": { - "illuminate/contracts": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3", + "illuminate/contracts": "^7.0", + "php": "^7.2.5", "psr/container": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -211,31 +213,31 @@ ], "description": "The Illuminate Container package.", "homepage": "https://laravel.com", - "time": "2019-04-22T13:12:35+00:00" + "time": "2020-03-18T13:25:12+00:00" }, { "name": "illuminate/contracts", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "8e2466437516edaa30201a8b5d4eaa56fa99eacd" + "reference": "f13c89509345ceee05f3527a83f38c77c0f74579" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/8e2466437516edaa30201a8b5d4eaa56fa99eacd", - "reference": "8e2466437516edaa30201a8b5d4eaa56fa99eacd", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/f13c89509345ceee05f3527a83f38c77c0f74579", + "reference": "f13c89509345ceee05f3527a83f38c77c0f74579", "shasum": "" }, "require": { - "php": "^7.1.3", + "php": "^7.2.5", "psr/container": "^1.0", "psr/simple-cache": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -255,41 +257,43 @@ ], "description": "The Illuminate Contracts package.", "homepage": "https://laravel.com", - "time": "2019-05-15T00:29:13+00:00" + "time": "2020-03-31T14:24:32+00:00" }, { "name": "illuminate/database", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/database.git", - "reference": "44740cedfbd90c5fc9710ab572adf40ab0b4c11c" + "reference": "243efac3dd66945196a19029ea738387737a8524" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/44740cedfbd90c5fc9710ab572adf40ab0b4c11c", - "reference": "44740cedfbd90c5fc9710ab572adf40ab0b4c11c", + "url": "https://api.github.com/repos/illuminate/database/zipball/243efac3dd66945196a19029ea738387737a8524", + "reference": "243efac3dd66945196a19029ea738387737a8524", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/container": "5.8.*", - "illuminate/contracts": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3" + "illuminate/container": "^7.0", + "illuminate/contracts": "^7.0", + "illuminate/support": "^7.0", + "php": "^7.2.5", + "symfony/console": "^5.0" }, "suggest": { "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", - "fzaninotto/faker": "Required to use the eloquent factory builder (^1.4).", - "illuminate/console": "Required to use the database commands (5.8.*).", - "illuminate/events": "Required to use the observers with Eloquent (5.8.*).", - "illuminate/filesystem": "Required to use the migrations (5.8.*).", - "illuminate/pagination": "Required to paginate the result set (5.8.*)." + "fzaninotto/faker": "Required to use the eloquent factory builder (^1.9.1).", + "illuminate/console": "Required to use the database commands (^7.0).", + "illuminate/events": "Required to use the observers with Eloquent (^7.0).", + "illuminate/filesystem": "Required to use the migrations (^7.0).", + "illuminate/pagination": "Required to paginate the result set (^7.0).", + "symfony/finder": "Required to use Eloquent model factories (^5.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -315,39 +319,40 @@ "orm", "sql" ], - "time": "2019-05-27T13:28:29+00:00" + "time": "2020-03-31T14:55:59+00:00" }, { "name": "illuminate/filesystem", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/filesystem.git", - "reference": "6e86ef54034c781d9ac889dea53d87a4c192d1f0" + "reference": "43d0aafb620151b9c88331e13e1660564fc56244" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/6e86ef54034c781d9ac889dea53d87a4c192d1f0", - "reference": "6e86ef54034c781d9ac889dea53d87a4c192d1f0", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/43d0aafb620151b9c88331e13e1660564fc56244", + "reference": "43d0aafb620151b9c88331e13e1660564fc56244", "shasum": "" }, "require": { - "illuminate/contracts": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3", - "symfony/finder": "^4.2" + "illuminate/contracts": "^7.0", + "illuminate/support": "^7.0", + "php": "^7.2.5", + "symfony/finder": "^5.0" }, "suggest": { + "illuminate/http": "Required for handling uploaded files (^7.0)", "league/flysystem": "Required to use the Flysystem local and FTP drivers (^1.0).", "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-rackspace": "Required to use the Flysystem Rackspace driver (^1.0).", - "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^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)" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -367,38 +372,38 @@ ], "description": "The Illuminate Filesystem package.", "homepage": "https://laravel.com", - "time": "2019-05-17T13:01:02+00:00" + "time": "2020-03-26T19:53:03+00:00" }, { "name": "illuminate/session", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/session.git", - "reference": "eca161d09f4f23a77c9a16f9a3eb5c7a82229f2c" + "reference": "4285f5208e0a59286763c591281d5d6e66e66b84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/session/zipball/eca161d09f4f23a77c9a16f9a3eb5c7a82229f2c", - "reference": "eca161d09f4f23a77c9a16f9a3eb5c7a82229f2c", + "url": "https://api.github.com/repos/illuminate/session/zipball/4285f5208e0a59286763c591281d5d6e66e66b84", + "reference": "4285f5208e0a59286763c591281d5d6e66e66b84", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/contracts": "5.8.*", - "illuminate/filesystem": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3", - "symfony/finder": "^4.2", - "symfony/http-foundation": "^4.2" + "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 (5.8.*)." + "illuminate/console": "Required to use the session:table command (^7.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -418,45 +423,46 @@ ], "description": "The Illuminate Session package.", "homepage": "https://laravel.com", - "time": "2019-04-13T10:00:28+00:00" + "time": "2020-01-07T13:49:44+00:00" }, { "name": "illuminate/support", - "version": "v5.8.19", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "5283f273d0bc67964cc7f6373573273de7676c77" + "reference": "6b5a135637bf901e5dd9c0e3d906a97d550d4cee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/5283f273d0bc67964cc7f6373573273de7676c77", - "reference": "5283f273d0bc67964cc7f6373573273de7676c77", + "url": "https://api.github.com/repos/illuminate/support/zipball/6b5a135637bf901e5dd9c0e3d906a97d550d4cee", + "reference": "6b5a135637bf901e5dd9c0e3d906a97d550d4cee", "shasum": "" }, "require": { "doctrine/inflector": "^1.1", "ext-json": "*", "ext-mbstring": "*", - "illuminate/contracts": "5.8.*", - "nesbot/carbon": "^1.26.3 || ^2.0", - "php": "^7.1.3" + "illuminate/contracts": "^7.0", + "nesbot/carbon": "^2.17", + "php": "^7.2.5", + "voku/portable-ascii": "^1.4.8" }, "conflict": { "tightenco/collect": "<5.5.33" }, "suggest": { - "illuminate/filesystem": "Required to use the composer class (5.8.*).", + "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).", - "symfony/process": "Required to use the composer class (^4.2).", - "symfony/var-dumper": "Required to use the dd function (^4.2).", - "vlucas/phpdotenv": "Required to use the env helper (^3.3)." + "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)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "7.x-dev" } }, "autoload": { @@ -479,37 +485,99 @@ ], "description": "The Illuminate Support package.", "homepage": "https://laravel.com", - "time": "2019-05-27T17:33:34+00:00" + "time": "2020-03-30T13:52:20+00:00" + }, + { + "name": "laravel/ui", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/laravel/ui.git", + "reference": "47a0a1dac76f5e73803c86e1f38b2c7e0ae7fa83" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/ui/zipball/47a0a1dac76f5e73803c86e1f38b2c7e0ae7fa83", + "reference": "47a0a1dac76f5e73803c86e1f38b2c7e0ae7fa83", + "shasum": "" + }, + "require": { + "illuminate/console": "^7.0", + "illuminate/filesystem": "^7.0", + "illuminate/support": "^7.0", + "php": "^7.2.5" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^8.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Ui\\UiServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Ui\\": "src/", + "Illuminate\\Foundation\\Auth\\": "auth-backend/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel UI utilities and presets.", + "keywords": [ + "laravel", + "ui" + ], + "time": "2020-03-03T20:16:46+00:00" }, { "name": "nesbot/carbon", - "version": "2.18.0", + "version": "2.32.2", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "8322b7bd1805be31867c13bf3cdaab948a0dd406" + "reference": "f10e22cf546704fab1db4ad4b9dedbc5c797a0dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8322b7bd1805be31867c13bf3cdaab948a0dd406", - "reference": "8322b7bd1805be31867c13bf3cdaab948a0dd406", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f10e22cf546704fab1db4ad4b9dedbc5c797a0dc", + "reference": "f10e22cf546704fab1db4ad4b9dedbc5c797a0dc", "shasum": "" }, "require": { "ext-json": "*", "php": "^7.1.8 || ^8.0", - "symfony/translation": "^3.4 || ^4.0" + "symfony/translation": "^3.4 || ^4.0 || ^5.0" }, "require-dev": { + "doctrine/orm": "^2.7", "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", "kylekatarnls/multi-tester": "^1.1", - "phpmd/phpmd": "^2.6", + "phpmd/phpmd": "^2.8", "phpstan/phpstan": "^0.11", "phpunit/phpunit": "^7.5 || ^8.0", "squizlabs/php_codesniffer": "^3.4" }, + "bin": [ + "bin/carbon" + ], "type": "library", "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + }, "laravel": { "providers": [ "Carbon\\Laravel\\ServiceProvider" @@ -530,35 +598,39 @@ "name": "Brian Nesbitt", "email": "brian@nesbot.com", "homepage": "http://nesbot.com" + }, + { + "name": "kylekatarnls", + "homepage": "http://github.com/kylekatarnls" } ], - "description": "A simple API extension for DateTime.", + "description": "An API extension for DateTime that supports 281 different languages.", "homepage": "http://carbon.nesbot.com", "keywords": [ "date", "datetime", "time" ], - "time": "2019-05-16T18:44:35+00:00" + "time": "2020-03-31T13:43:19+00:00" }, { "name": "prologue/alerts", - "version": "0.4.3", + "version": "0.4.6", "source": { "type": "git", "url": "https://github.com/prologuephp/alerts.git", - "reference": "d88244729b0109308136cbafe45f11095c7ee0b0" + "reference": "4c621a541a7f16631deda9d1b2b075c182d251d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/prologuephp/alerts/zipball/d88244729b0109308136cbafe45f11095c7ee0b0", - "reference": "d88244729b0109308136cbafe45f11095c7ee0b0", + "url": "https://api.github.com/repos/prologuephp/alerts/zipball/4c621a541a7f16631deda9d1b2b075c182d251d1", + "reference": "4c621a541a7f16631deda9d1b2b075c182d251d1", "shasum": "" }, "require": { - "illuminate/config": "~5", - "illuminate/session": "~5", - "illuminate/support": "~5", + "illuminate/config": "~5|~6|~7", + "illuminate/session": "~5|~6|~7", + "illuminate/support": "~5|~6|~7", "php": ">=5.4.0" }, "require-dev": { @@ -590,6 +662,12 @@ "name": "Dries Vints", "email": "dries.vints@gmail.com", "homepage": "http://driesvints.com", + "role": "Creator" + }, + { + "name": "Cristian Tabacitu", + "email": "hello@tabacitu.ro", + "homepage": "http://tabacitu.ro", "role": "Maintainer" } ], @@ -599,7 +677,7 @@ "laravel", "messages" ], - "time": "2019-01-22T07:44:39+00:00" + "time": "2020-03-03T08:33:38+00:00" }, { "name": "psr/container", @@ -700,37 +778,41 @@ }, { "name": "symfony/console", - "version": "v4.2.9", + "version": "v5.0.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "7a293c9a4587a92e6a0e81edb0bea54071b1b99d" + "reference": "5fa1caadc8cdaa17bcfb25219f3b53fe294a9935" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/7a293c9a4587a92e6a0e81edb0bea54071b1b99d", - "reference": "7a293c9a4587a92e6a0e81edb0bea54071b1b99d", + "url": "https://api.github.com/repos/symfony/console/zipball/5fa1caadc8cdaa17bcfb25219f3b53fe294a9935", + "reference": "5fa1caadc8cdaa17bcfb25219f3b53fe294a9935", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/contracts": "^1.0", - "symfony/polyfill-mbstring": "~1.0" + "php": "^7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/service-contracts": "^1.1|^2" }, "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/process": "<3.3" + "symfony/dependency-injection": "<4.4", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" }, "provide": { "psr/log-implementation": "1.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~3.4|~4.0", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.4|~4.0" + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/lock": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "suggest": { "psr/log": "For using the console logger", @@ -741,7 +823,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -768,59 +850,37 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-05-09T09:19:46+00:00" + "time": "2020-03-30T11:42:42+00:00" }, { - "name": "symfony/contracts", - "version": "v1.1.1", + "name": "symfony/finder", + "version": "v5.0.7", "source": { "type": "git", - "url": "https://github.com/symfony/contracts.git", - "reference": "b6e291a08e6b002fb56aa6f3e2a2beb6674d2b2f" + "url": "https://github.com/symfony/finder.git", + "reference": "600a52c29afc0d1caa74acbec8d3095ca7e9910d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/contracts/zipball/b6e291a08e6b002fb56aa6f3e2a2beb6674d2b2f", - "reference": "b6e291a08e6b002fb56aa6f3e2a2beb6674d2b2f", + "url": "https://api.github.com/repos/symfony/finder/zipball/600a52c29afc0d1caa74acbec8d3095ca7e9910d", + "reference": "600a52c29afc0d1caa74acbec8d3095ca7e9910d", "shasum": "" }, "require": { - "php": "^7.1.3" - }, - "replace": { - "symfony/cache-contracts": "self.version", - "symfony/event-dispatcher-contracts": "self.version", - "symfony/http-client-contracts": "self.version", - "symfony/service-contracts": "self.version", - "symfony/translation-contracts": "self.version" - }, - "require-dev": { - "psr/cache": "^1.0", - "psr/container": "^1.0", - "symfony/polyfill-intl-idn": "^1.10" - }, - "suggest": { - "psr/cache": "When using the Cache contracts", - "psr/container": "When using the Service contracts", - "psr/event-dispatcher": "When using the EventDispatcher contracts", - "symfony/cache-implementation": "", - "symfony/event-dispatcher-implementation": "", - "symfony/http-client-implementation": "", - "symfony/service-implementation": "", - "symfony/translation-implementation": "" + "php": "^7.2.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "5.0-dev" } }, "autoload": { "psr-4": { - "Symfony\\Contracts\\": "" + "Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ - "**/Tests/" + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -829,52 +889,50 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "A set of abstractions extracted out of the Symfony components", + "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "time": "2019-05-28T07:50:59+00:00" + "time": "2020-03-27T16:56:45+00:00" }, { - "name": "symfony/finder", - "version": "v4.2.9", + "name": "symfony/http-foundation", + "version": "v5.0.7", "source": { "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "e0ff582c4b038567a7c6630f136488b1d793e6a9" + "url": "https://github.com/symfony/http-foundation.git", + "reference": "26fb006a2c7b6cdd23d52157b05f8414ffa417b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/e0ff582c4b038567a7c6630f136488b1d793e6a9", - "reference": "e0ff582c4b038567a7c6630f136488b1d793e6a9", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/26fb006a2c7b6cdd23d52157b05f8414ffa417b6", + "reference": "26fb006a2c7b6cdd23d52157b05f8414ffa417b6", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": "^7.2.5", + "symfony/mime": "^4.4|^5.0", + "symfony/polyfill-mbstring": "~1.1" + }, + "require-dev": { + "predis/predis": "~1.0", + "symfony/expression-language": "^4.4|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "5.0-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Finder\\": "" + "Symfony\\Component\\HttpFoundation\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -894,41 +952,45 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Finder Component", + "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2019-05-26T20:47:34+00:00" + "time": "2020-03-30T14:14:32+00:00" }, { - "name": "symfony/http-foundation", - "version": "v4.2.9", + "name": "symfony/mime", + "version": "v5.0.7", "source": { "type": "git", - "url": "https://github.com/symfony/http-foundation.git", - "reference": "0d37a9bd2c7cbf887c29fee1a3301d74c73851dd" + "url": "https://github.com/symfony/mime.git", + "reference": "481b7d6da88922fb1e0d86a943987722b08f3955" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/0d37a9bd2c7cbf887c29fee1a3301d74c73851dd", - "reference": "0d37a9bd2c7cbf887c29fee1a3301d74c73851dd", + "url": "https://api.github.com/repos/symfony/mime/zipball/481b7d6da88922fb1e0d86a943987722b08f3955", + "reference": "481b7d6da88922fb1e0d86a943987722b08f3955", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/polyfill-mbstring": "~1.1" + "php": "^7.2.5", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "conflict": { + "symfony/mailer": "<4.4" }, "require-dev": { - "predis/predis": "~1.0", - "symfony/expression-language": "~3.4|~4.0" + "egulias/email-validator": "^2.1.10", + "symfony/dependency-injection": "^4.4|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "5.0-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\HttpFoundation\\": "" + "Symfony\\Component\\Mime\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -948,22 +1010,88 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony HttpFoundation Component", + "description": "A library to manipulate MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "time": "2020-03-27T16:56:45+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.15.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "47bd6aa45beb1cd7c6a16b7d1810133b728bdfcf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/47bd6aa45beb1cd7c6a16b7d1810133b728bdfcf", + "reference": "47bd6aa45beb1cd7c6a16b7d1810133b728bdfcf", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "symfony/polyfill-mbstring": "^1.3", + "symfony/polyfill-php72": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.15-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", "homepage": "https://symfony.com", - "time": "2019-05-27T05:57:45+00:00" + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "time": "2020-03-09T19:04:49+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.11.0", + "version": "v1.15.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "fe5e94c604826c35a32fa832f35bd036b6799609" + "reference": "81ffd3a9c6d707be22e3012b827de1c9775fc5ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fe5e94c604826c35a32fa832f35bd036b6799609", - "reference": "fe5e94c604826c35a32fa832f35bd036b6799609", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/81ffd3a9c6d707be22e3012b827de1c9775fc5ac", + "reference": "81ffd3a9c6d707be22e3012b827de1c9775fc5ac", "shasum": "" }, "require": { @@ -975,7 +1103,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.11-dev" + "dev-master": "1.15-dev" } }, "autoload": { @@ -1009,29 +1137,142 @@ "portable", "shim" ], - "time": "2019-02-06T07:57:58+00:00" + "time": "2020-03-09T19:04:49+00:00" + }, + { + "name": "symfony/polyfill-php72", + "version": "v1.15.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "37b0976c78b94856543260ce09b460a7bc852747" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/37b0976c78b94856543260ce09b460a7bc852747", + "reference": "37b0976c78b94856543260ce09b460a7bc852747", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.15-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "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.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2020-02-27T09:26:54+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.15.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "0f27e9f464ea3da33cbe7ca3bdf4eb66def9d0f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/0f27e9f464ea3da33cbe7ca3bdf4eb66def9d0f7", + "reference": "0f27e9f464ea3da33cbe7ca3bdf4eb66def9d0f7", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.15-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "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.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2020-02-27T09:26:54+00:00" }, { "name": "symfony/process", - "version": "v4.2.9", + "version": "v5.0.7", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "57f11a07b34f009ef64a3f95ad218f895ad95374" + "reference": "c5ca4a0fc16a0c888067d43fbcfe1f8a53d8e70e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/57f11a07b34f009ef64a3f95ad218f895ad95374", - "reference": "57f11a07b34f009ef64a3f95ad218f895ad95374", + "url": "https://api.github.com/repos/symfony/process/zipball/c5ca4a0fc16a0c888067d43fbcfe1f8a53d8e70e", + "reference": "c5ca4a0fc16a0c888067d43fbcfe1f8a53d8e70e", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": "^7.2.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1058,45 +1299,105 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-05-26T20:47:34+00:00" + "time": "2020-03-27T16:56:45+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "144c5e51266b281231e947b51223ba14acf1a749" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/144c5e51266b281231e947b51223ba14acf1a749", + "reference": "144c5e51266b281231e947b51223ba14acf1a749", + "shasum": "" + }, + "require": { + "php": "^7.2.5", + "psr/container": "^1.0" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "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 writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-11-18T17:27:11+00:00" }, { "name": "symfony/translation", - "version": "v4.2.9", + "version": "v5.0.7", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "5fe4ec5ecc04fa43c34f8df033bf60e3729bfaee" + "reference": "99b831770e10807dca0979518e2c89edffef5978" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/5fe4ec5ecc04fa43c34f8df033bf60e3729bfaee", - "reference": "5fe4ec5ecc04fa43c34f8df033bf60e3729bfaee", + "url": "https://api.github.com/repos/symfony/translation/zipball/99b831770e10807dca0979518e2c89edffef5978", + "reference": "99b831770e10807dca0979518e2c89edffef5978", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/contracts": "^1.1.1", - "symfony/polyfill-mbstring": "~1.0" + "php": "^7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^2" }, "conflict": { - "symfony/config": "<3.4", - "symfony/dependency-injection": "<3.4", - "symfony/yaml": "<3.4" + "symfony/config": "<4.4", + "symfony/dependency-injection": "<5.0", + "symfony/http-kernel": "<5.0", + "symfony/twig-bundle": "<5.0", + "symfony/yaml": "<4.4" }, "provide": { - "symfony/translation-implementation": "1.0" + "symfony/translation-implementation": "2.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/console": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/http-kernel": "~3.4|~4.0", - "symfony/intl": "~3.4|~4.0", - "symfony/var-dumper": "~3.4|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/config": "^4.4|^5.0", + "symfony/console": "^4.4|^5.0", + "symfony/dependency-injection": "^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/http-kernel": "^5.0", + "symfony/intl": "^4.4|^5.0", + "symfony/service-contracts": "^1.1.2|^2", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { "psr/log-implementation": "To use logging capability in translator", @@ -1106,7 +1407,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1133,7 +1434,113 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2019-05-28T09:07:12+00:00" + "time": "2020-03-27T16:56:45+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "8cc682ac458d75557203b2f2f14b0b92e1c744ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/8cc682ac458d75557203b2f2f14b0b92e1c744ed", + "reference": "8cc682ac458d75557203b2f2f14b0b92e1c744ed", + "shasum": "" + }, + "require": { + "php": "^7.2.5" + }, + "suggest": { + "symfony/translation-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + } + }, + "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 translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-11-18T17:27:11+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "1.4.10", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "240e93829a5f985fab0984a6e55ae5e26b78a334" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/240e93829a5f985fab0984a6e55ae5e26b78a334", + "reference": "240e93829a5f985fab0984a6e55ae5e26b78a334", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/", + "voku\\tests\\": "tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "time": "2020-03-13T01:23:26+00:00" } ], "packages-dev": [], @@ -1142,8 +1549,6 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": { - "php": ">=5.5.0" - }, + "platform": [], "platform-dev": [] } diff --git a/src/Command/MultiAuthListThemes.php b/src/Command/MultiAuthListThemes.php index 988ce84..2995ac8 100644 --- a/src/Command/MultiAuthListThemes.php +++ b/src/Command/MultiAuthListThemes.php @@ -84,6 +84,7 @@ public static function listPaidThemes() { return [ 'highadmin' => 'https://themeforest.net/item/highdmin-responsive-bootstrap-4-admin-dashboard/21233941', 'startui' => 'https://themeforest.net/item/startui-premium-bootstrap-4-admin-dashboard-template/15228250', + 'oneui' => 'https://themeforest.net/item/oneui-bootstrap-admin-dashboard-template-ui-framework-angularjs/11820082', ]; } /** diff --git a/src/Command/MultiAuthPrepare.php b/src/Command/MultiAuthPrepare.php index 1ff65fc..cd3e00b 100755 --- a/src/Command/MultiAuthPrepare.php +++ b/src/Command/MultiAuthPrepare.php @@ -6,6 +6,7 @@ use Illuminate\Database\Console\Migrations\BaseCommand; use Illuminate\Database\Migrations\MigrationCreator; use Illuminate\Support\Composer; +use Illuminate\Support\Str; use Symfony\Component\Process\Exception\ProcessFailedException; use Symfony\Component\Process\Process; @@ -175,7 +176,7 @@ public function isAlreadySetup() { $routeServicesContent = file_get_contents($this->getRouteServicesPath()); - if (str_contains($routeServicesContent,'$this->map'.$name.'Routes();')) { + if (Str::contains($routeServicesContent,'$this->map'.$name.'Routes();')) { return true; } return false; @@ -188,9 +189,9 @@ public function isAlreadySetup() { */ public function installMigration() { - $nameSmallPlural = str_plural(snake_case($this->getParsedNameInput())); + $nameSmallPlural = Str::plural(Str::snake($this->getParsedNameInput())); $name = ucfirst($this->getParsedNameInput()); - $namePlural = str_plural($name); + $namePlural = Str::plural($name); @@ -214,12 +215,12 @@ public function installMigration() ], $modelResetPasswordTableContent); - $migrationName = date('Y_m_d_His') . '_'.'create_' . str_plural(snake_case($name)) .'_table.php'; + $migrationName = date('Y_m_d_His') . '_'.'create_' . Str::plural( Str::snake($name)) .'_table.php'; $migrationModelPath = $this->getMigrationPath().DIRECTORY_SEPARATOR.$migrationName; file_put_contents($migrationModelPath, $modelTableContentNew); $migrationResetName = date('Y_m_d_His') . '_' - .'create_' . str_plural(snake_case($name)) + .'create_' . Str::plural( Str::snake($name)) .'_password_resets_table.php'; $migrationResetModelPath = $this->getMigrationPath().DIRECTORY_SEPARATOR.$migrationResetName; file_put_contents($migrationResetModelPath, $modelResetPasswordTableContentNew); @@ -235,7 +236,7 @@ public function installMigration() */ public function installModel() { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $name = ucfirst($this->getParsedNameInput()); @@ -246,7 +247,7 @@ public function installModel() $newChanges = [ $name, ]; - $nameSmallPlural = str_plural(snake_case($this->getParsedNameInput())); + $nameSmallPlural = Str::plural( Str::snake($this->getParsedNameInput())); array_push($arrayToChange, '{{$nameSmallPlural}}'); array_push($arrayToChange, '{{$nameSmall}}'); array_push($newChanges, $nameSmallPlural); @@ -306,7 +307,7 @@ public function installModel() public function installRouteMaps() { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $name = ucfirst($this->getParsedNameInput()); $mapCallFunction = file_get_contents(__DIR__ . '/../Stubs/Route/mapRoute.stub'); $mapCallFunctionNew = str_replace('{{$name}}', "$name", $mapCallFunction); @@ -332,7 +333,7 @@ public function installRouteMaps() public function installRouteFiles() { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $name = ucfirst($this->getParsedNameInput()); $createFolder = $this->getRoutesFolderPath().DIRECTORY_SEPARATOR.$nameSmall; if (!file_exists($createFolder)) { @@ -359,8 +360,8 @@ public function installRouteFiles() public function installControllers() { - $nameSmall = snake_case($this->getParsedNameInput()); - $nameSmallPlural = str_plural(snake_case($this->getParsedNameInput())); + $nameSmall = Str::snake($this->getParsedNameInput()); + $nameSmallPlural = Str::plural( Str::snake($this->getParsedNameInput())); $name = ucfirst($this->getParsedNameInput()); $nameFolder = $this->getControllersPath().DIRECTORY_SEPARATOR.$name; @@ -478,7 +479,7 @@ public function installControllers() public function installRequests() { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $name = ucfirst($this->getParsedNameInput()); $nameFolder = $this->getControllersPath().DIRECTORY_SEPARATOR.$name; @@ -527,8 +528,8 @@ public function installRequests() public function installConfigs() { - $nameSmall = snake_case($this->getParsedNameInput()); - $nameSmallPlural = str_plural(snake_case($this->getParsedNameInput())); + $nameSmall = Str::snake($this->getParsedNameInput()); + $nameSmallPlural = Str::plural( Str::snake($this->getParsedNameInput())); $name = ucfirst($this->getParsedNameInput()); $authConfigFile = $this->getConfigsFolderPath().DIRECTORY_SEPARATOR."auth.php"; @@ -573,7 +574,7 @@ public function installConfigs() public function installMiddleware() { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $redirectIfMiddlewareFile = $this->getMiddlewarePath().DIRECTORY_SEPARATOR."RedirectIfAuthenticated.php"; $authenticateMiddlewareFile = $this->getMiddlewarePath().DIRECTORY_SEPARATOR."Authenticate.php"; @@ -591,7 +592,7 @@ public function installMiddleware() file_put_contents($ensureEmailIsVerifiedMiddlewareFile, $ensureEmailIsVerifiedMiddlewareFileeContent); } - if (!str_contains($redirectIfMiddlewareFileContent, 'MultiAuthGuards')) { + if (! Str::contains($redirectIfMiddlewareFileContent, 'MultiAuthGuards')) { // replace old file $deleted = unlink($redirectIfMiddlewareFile); if ($deleted) { @@ -599,7 +600,7 @@ public function installMiddleware() } } - if (!str_contains($authenticateMiddlewareFileContent, 'MultiAuthGuards')) { + if (! Str::contains($authenticateMiddlewareFileContent, 'MultiAuthGuards')) { // replace old file $deleted = unlink($authenticateMiddlewareFile); if ($deleted) { @@ -638,14 +639,14 @@ public function installMiddleware() */ public function installUnauthenticated() { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $exceptionHandlerFile = $this->getAppFolderPath().DIRECTORY_SEPARATOR."Exceptions".DIRECTORY_SEPARATOR ."Handler.php"; $exceptionHandlerFileContent = file_get_contents($exceptionHandlerFile); $exceptionHandlerFileContentNew = file_get_contents(__DIR__ . '/../Stubs/Exceptions/handlerUnauthorized.stub'); - if (!str_contains($exceptionHandlerFileContent, 'MultiAuthUnAuthenticated')) { + if (! Str::contains($exceptionHandlerFileContent, 'MultiAuthUnAuthenticated')) { // replace old file $deleted = unlink($exceptionHandlerFile); if ($deleted) { @@ -672,7 +673,7 @@ public function installUnauthenticated() public function installView($theme_name = 'adminlte2') { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); // layouts $layoutBlade = file_get_contents(__DIR__ . '/../Stubs/Views/'.$theme_name.'/layouts/layout.blade.stub'); @@ -947,7 +948,7 @@ protected function createViewsFolders($nameSmall) { public function installLangs() { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $dashboardLangFile = file_get_contents(__DIR__ . '/../Stubs/Languages/dashboard.stub'); file_put_contents($this->getLangsFolderPath().'/'.$nameSmall.'_dashboard.php', $dashboardLangFile); @@ -964,7 +965,7 @@ public function installLangs() */ public function installProjectConfig($theme_name = 'adminlte2') { - $nameSmall = snake_case($this->getParsedNameInput()); + $nameSmall = Str::snake($this->getParsedNameInput()); $projectConfigFile = file_get_contents(__DIR__ . '/../Stubs/Config/config.stub'); @@ -1061,7 +1062,7 @@ public function installNotificationsDatabase() { /** * Run a SSH command. * - * @param string $command + * @param mixed $command * @param string $beforeNotice * @param string $afterNotice */ @@ -1096,7 +1097,7 @@ public function executeProcess($command, $beforeNotice = '', $afterNotice = '') */ protected function getParsedNameInput() { - return mb_strtolower(str_singular($this->getNameInput())); + return mb_strtolower( Str::singular($this->getNameInput())); } /** * Get the desired class name from the input. diff --git a/src/Stubs/Controllers/Auth/ConfirmPasswordController.stub b/src/Stubs/Controllers/Auth/ConfirmPasswordController.stub new file mode 100755 index 0000000..49d801c --- /dev/null +++ b/src/Stubs/Controllers/Auth/ConfirmPasswordController.stub @@ -0,0 +1,50 @@ +middleware('auth:{{$nameSmall}}'); + } + + /** + * Display the password confirmation view. + * + * @return \Illuminate\Http\Response + */ + public function showConfirmForm() + { + return view('{{$nameSmall}}.auth.passwords.confirm'); + } +} diff --git a/src/Stubs/Languages/dashboard.stub b/src/Stubs/Languages/dashboard.stub index 934b021..87a1f1e 100755 --- a/src/Stubs/Languages/dashboard.stub +++ b/src/Stubs/Languages/dashboard.stub @@ -55,5 +55,7 @@ return [ 'send_password_reset_link' => 'Send Password Reset Link', 'apply_change' => 'Apply Changes', 'cancel_changes' => 'Cancel', + 'confirm_password' => 'Confirm Password', + 'confirm_password_instruction' => 'Please confirm your password before continuing.', ]; \ No newline at end of file diff --git a/src/Stubs/Route/routeFile.stub b/src/Stubs/Route/routeFile.stub index 20b0433..45eaaca 100755 --- a/src/Stubs/Route/routeFile.stub +++ b/src/Stubs/Route/routeFile.stub @@ -38,6 +38,10 @@ Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail' Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('{{$nameSmall}}.password.reset'); Route::post('password/reset', 'Auth\ResetPasswordController@reset')->name('{{$nameSmall}}.password.update'); +// Password Confirm Routes +Route::get('password/confirm', 'Auth\ConfirmPasswordController@showConfirmForm')->name('{{$nameSmall}}.password.confirm'); +Route::post('password/confirm', 'Auth\ConfirmPasswordController@confirm')->name('{{$nameSmall}}.password.confirm'); + Route::get('/dashboard', 'DashboardController@index')->name('{{$nameSmall}}.dashboard'); Route::get('/', 'DashboardController@redirect')->name('{{$nameSmall}}.redirect'); diff --git a/src/Stubs/Views/AdminLTE2/auth/passwords/confirm.blade.stub b/src/Stubs/Views/AdminLTE2/auth/passwords/confirm.blade.stub new file mode 100755 index 0000000..dea4ebd --- /dev/null +++ b/src/Stubs/Views/AdminLTE2/auth/passwords/confirm.blade.stub @@ -0,0 +1,36 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + + +@section('content') +
+ + @if ($errors->count()) +
+ +
    + @foreach ($errors->all() as $e) +
  • {{ $e }}
  • + @endforeach +
+
+ @endif + + @csrf + +
+

@lang('{{$nameSmall}}_dashboard.confirm_password_instruction')

+
+ +
+ + +
+ + + + +
+ + @lang('{{$nameSmall}}_dashboard.have_account') @lang('{{$nameSmall}}_dashboard.sign_in') + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/HighAdmin/auth/passwords/confirm.blade.stub b/src/Stubs/Views/HighAdmin/auth/passwords/confirm.blade.stub new file mode 100755 index 0000000..12e5e44 --- /dev/null +++ b/src/Stubs/Views/HighAdmin/auth/passwords/confirm.blade.stub @@ -0,0 +1,38 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('content') +
+ +
+
@lang('{{$nameSmall}}_dashboard.confirm_password_instruction')
+ @if ($errors->count()) + + @endif + + @csrf + +
+ + +
+ + + +
+
+ +
+ @lang('{{$nameSmall}}_dashboard.have_account') @lang('{{$nameSmall}}_dashboard.sign_in') +
+@endsection \ No newline at end of file diff --git a/src/Stubs/Views/HighAdmin/auth/passwords/reset.blade.stub b/src/Stubs/Views/HighAdmin/auth/passwords/reset.blade.stub index 31ea3cb..ceb12cd 100755 --- a/src/Stubs/Views/HighAdmin/auth/passwords/reset.blade.stub +++ b/src/Stubs/Views/HighAdmin/auth/passwords/reset.blade.stub @@ -30,7 +30,7 @@
- +
diff --git a/src/Stubs/Views/OneUI/auth/account/account_info_tab.blade.stub b/src/Stubs/Views/OneUI/auth/account/account_info_tab.blade.stub new file mode 100755 index 0000000..31dd5ca --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/account/account_info_tab.blade.stub @@ -0,0 +1,67 @@ +{{--/**--}} + {{--* Created by PhpStorm.--}} + {{--* User: imokhles--}} + {{--* Date: 20/10/2018--}} + {{--* Time: 13:24--}} + {{--*/--}} + +
+ + @csrf + +
+
+
+
+ @if (session('success')) + + + @endif + + @if ($errors->count()) + + @endif +
+
+ @php + $field = 'name'; + @endphp +
+ + +
+ + @php + $field = 'email'; + @endphp + +
+ + +
+
+
+
+
+ +
+
+
+
+
diff --git a/src/Stubs/Views/OneUI/auth/account/change_password_tab.blade.stub b/src/Stubs/Views/OneUI/auth/account/change_password_tab.blade.stub new file mode 100755 index 0000000..268c1b8 --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/account/change_password_tab.blade.stub @@ -0,0 +1,75 @@ +{{--/**--}} +{{--* Created by PhpStorm.--}} +{{--* User: imokhles--}} +{{--* Date: 20/10/2018--}} +{{--* Time: 13:24--}} +{{--*/--}} + +
+ + @csrf + +
+
+
+
+ @if (session('success')) + + + @endif + + @if ($errors->count()) + + @endif +
+
+ @php + $field = 'old_password'; + @endphp +
+ + +
+ + @php + $field = 'new_password'; + @endphp +
+ + +
+ + @php + $field = 'confirm_password'; + @endphp + +
+ + +
+
+
+
+
+ +
+
+
+
+
diff --git a/src/Stubs/Views/OneUI/auth/account/left_box.blade.stub b/src/Stubs/Views/OneUI/auth/account/left_box.blade.stub new file mode 100755 index 0000000..e143da9 --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/account/left_box.blade.stub @@ -0,0 +1,14 @@ + + +
+

@lang('{{$nameSmall}}_dashboard.account_info')

+
+
+
+ +
+
{{auth('{{$nameSmall}}')->user()->name}}
+
{{auth('{{$nameSmall}}')->user()->email}}
+
+
+ diff --git a/src/Stubs/Views/OneUI/auth/account/right_box.blade.stub b/src/Stubs/Views/OneUI/auth/account/right_box.blade.stub new file mode 100755 index 0000000..56fdbac --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/account/right_box.blade.stub @@ -0,0 +1,19 @@ + +
+ +
+
+ @include('{{$nameSmall}}.auth.account.account_info_tab') +
+
+ @include('{{$nameSmall}}.auth.account.change_password_tab') +
+
+
diff --git a/src/Stubs/Views/OneUI/auth/account/update_info.blade.stub b/src/Stubs/Views/OneUI/auth/account/update_info.blade.stub new file mode 100755 index 0000000..5cd71bf --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/account/update_info.blade.stub @@ -0,0 +1,46 @@ +@extends('{{$nameSmall}}.layouts.layout') + +@section('before_styles') + +@endsection + +@section('content') + +
+
+ +
+
+ {{-- User Left --}} + @include('{{$nameSmall}}.auth.account.left_box') +
+
+
+ +
+ + {{-- User Right --}} + @include('{{$nameSmall}}.auth.account.right_box') + +
+
+@endsection + +@section('after_scripts') + +@endsection diff --git a/src/Stubs/Views/OneUI/auth/login.blade.stub b/src/Stubs/Views/OneUI/auth/login.blade.stub new file mode 100755 index 0000000..627fead --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/login.blade.stub @@ -0,0 +1,62 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('content') + +
+

+ +

+

+ @lang('{{$nameSmall}}_dashboard.sign_in') +

+
+ + + + + + + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/auth/passwords/confirm.blade.stub b/src/Stubs/Views/OneUI/auth/passwords/confirm.blade.stub new file mode 100755 index 0000000..6c9ea5b --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/passwords/confirm.blade.stub @@ -0,0 +1,60 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('before_styles') + +@endsection + +@section('content') +
+ + @if ($errors->count()) + + @endif + + @csrf + +
+ +
+ +
+

@lang('{{$nameSmall}}_dashboard.confirm_password_instruction')

+
+ +
+ +
+ + + +

Already have an account? @lang('{{$nameSmall}}_dashboard.sign_in')

+
+@endsection + +@section('after_scripts') + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/auth/passwords/email.blade.stub b/src/Stubs/Views/OneUI/auth/passwords/email.blade.stub new file mode 100755 index 0000000..32e3396 --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/passwords/email.blade.stub @@ -0,0 +1,33 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('content') + + +
+

+ +

+

+ @lang('{{$nameSmall}}_dashboard.check_verification_mail_before'), @lang('{{$nameSmall}}_dashboard.reset_instruction') +

+
+ + + + + +
+
+ +
+
+
+ +
+
+
+ + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/auth/passwords/reset.blade.stub b/src/Stubs/Views/OneUI/auth/passwords/reset.blade.stub new file mode 100755 index 0000000..1e71fc1 --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/passwords/reset.blade.stub @@ -0,0 +1,39 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('content') + + +
+

+ +

+

+ @lang('{{$nameSmall}}_dashboard.check_verification_mail_before'), @lang('{{$nameSmall}}_dashboard.reset_instruction') +

+
+ + + + + +
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+
+ + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/auth/register.blade.stub b/src/Stubs/Views/OneUI/auth/register.blade.stub new file mode 100755 index 0000000..700ccbf --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/register.blade.stub @@ -0,0 +1,68 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('content') + +
+

+ +

+

+ @lang('{{$nameSmall}}_dashboard.sign_up') +

+
+ + + + + + + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/auth/verify.blade.stub b/src/Stubs/Views/OneUI/auth/verify.blade.stub new file mode 100755 index 0000000..58801b4 --- /dev/null +++ b/src/Stubs/Views/OneUI/auth/verify.blade.stub @@ -0,0 +1,36 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('content') + + +
+

+ +

+

+ @lang('{{$nameSmall}}_dashboard.check_verification_mail_before'), @lang('{{$nameSmall}}_dashboard.if_didnt_receive_verification_mail') +

+
+ + +@if (session('resent')) +
+ + @lang('{{$nameSmall}}_dashboard.resent_verification_mail')! +
+@endif + + +
+ @csrf + +
+ + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/dashboard.blade.stub b/src/Stubs/Views/OneUI/dashboard.blade.stub new file mode 100755 index 0000000..5e0920a --- /dev/null +++ b/src/Stubs/Views/OneUI/dashboard.blade.stub @@ -0,0 +1,18 @@ +@extends('{{$nameSmall}}.layouts.layout') + +@section('content') + +
+
+

+ @lang('{{$nameSmall}}_dashboard.login_status') +

+
+
+

+ @lang('{{$nameSmall}}_dashboard.welcome_message') +

+
+
+ +@endsection diff --git a/src/Stubs/Views/OneUI/layouts/inc/alerts.blade.stub b/src/Stubs/Views/OneUI/layouts/inc/alerts.blade.stub new file mode 100755 index 0000000..570c157 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/inc/alerts.blade.stub @@ -0,0 +1,21 @@ + + + + + + +{{-- Bootstrap Notifications using Prologue Alerts --}} + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/inc/breadcrumb.blade.stub b/src/Stubs/Views/OneUI/layouts/inc/breadcrumb.blade.stub new file mode 100755 index 0000000..7d5008a --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/inc/breadcrumb.blade.stub @@ -0,0 +1,22 @@ + +
+
+
+

+ {{$page_title}} +

+ +
+
+
+ diff --git a/src/Stubs/Views/OneUI/layouts/inc/head.blade.stub b/src/Stubs/Views/OneUI/layouts/inc/head.blade.stub new file mode 100755 index 0000000..d8cf42f --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/inc/head.blade.stub @@ -0,0 +1,36 @@ + + + + +{{ isset($page_title) ? $page_title.' :: '.config('{{$nameSmall}}_config.project_name').' Dashboard' : config('{{$nameSmall}}_config.project_name').' Dashboard' }} + + + + + + + + + + + + + +@yield('before_styles') +@stack('before_styles') + + + + + + + + + + + +@yield('after_styles') +@stack('after_styles') \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/inc/scripts.blade.stub b/src/Stubs/Views/OneUI/layouts/inc/scripts.blade.stub new file mode 100755 index 0000000..51e8ae5 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/inc/scripts.blade.stub @@ -0,0 +1,33 @@ +@yield('before_scripts') +@stack('before_scripts') + + + + + + + +@include('{{$nameSmall}}.layouts.inc.alerts') + +@yield('after_scripts') +@stack('after_scripts') \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/layout.blade.stub b/src/Stubs/Views/OneUI/layouts/layout.blade.stub new file mode 100755 index 0000000..c9dc155 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/layout.blade.stub @@ -0,0 +1,59 @@ + + + + {{-- Site-Head --}} + @include('{{$nameSmall}}.layouts.inc.head') + + + + +
+ + {{-- SideMenu --}} + @include('{{$nameSmall}}.layouts.sidemenu.list') + + {{-- Navigation Bar --}} + + @include('{{$nameSmall}}.layouts.main_header.main_header') + + +
+ @if(config('{{$nameSmall}}_config.enable_breadcrumb')) + {{-- BreadCrumb--}} + @include('{{$nameSmall}}.layouts.inc.breadcrumb') + @endif + +
+ @yield('content') + @stack('content') +
+ +
+ +
+ + + + + + + + + + +@include('{{$nameSmall}}.layouts.inc.scripts') + + + + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/layout_guest.blade.stub b/src/Stubs/Views/OneUI/layouts/layout_guest.blade.stub new file mode 100755 index 0000000..c6e4fd0 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/layout_guest.blade.stub @@ -0,0 +1,42 @@ + + + + {{-- Site-Head --}} + @include('{{$nameSmall}}.layouts.inc.head') + + + + +
+ + +
+ +
+
+ +
+
+
+
+ @yield('content') + @stack('content') +
+
+
+
+
+
+ +
+ +
+ +@include('{{$nameSmall}}.layouts.inc.scripts') + + + + + + + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/main_header/languages.blade.stub b/src/Stubs/Views/OneUI/layouts/main_header/languages.blade.stub new file mode 100755 index 0000000..5358c49 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/main_header/languages.blade.stub @@ -0,0 +1,48 @@ +@php($localKey = 'applocale') + + + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/main_header/main_header.blade.stub b/src/Stubs/Views/OneUI/layouts/main_header/main_header.blade.stub new file mode 100755 index 0000000..9608735 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/main_header/main_header.blade.stub @@ -0,0 +1,74 @@ +@php + $userNotifiactions = auth('{{$nameSmall}}')->user()->unreadNotifications()->limit(5)->get(); + $userLogged = auth('{{$nameSmall}}')->user(); +@endphp + + + + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/main_header/notifications.blade.stub b/src/Stubs/Views/OneUI/layouts/main_header/notifications.blade.stub new file mode 100755 index 0000000..5b73f45 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/main_header/notifications.blade.stub @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/main_header/user.blade.stub b/src/Stubs/Views/OneUI/layouts/main_header/user.blade.stub new file mode 100755 index 0000000..41aa922 --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/main_header/user.blade.stub @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/sidemenu/items.blade.stub b/src/Stubs/Views/OneUI/layouts/sidemenu/items.blade.stub new file mode 100755 index 0000000..56f2d5a --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/sidemenu/items.blade.stub @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/src/Stubs/Views/OneUI/layouts/sidemenu/list.blade.stub b/src/Stubs/Views/OneUI/layouts/sidemenu/list.blade.stub new file mode 100755 index 0000000..9a867ee --- /dev/null +++ b/src/Stubs/Views/OneUI/layouts/sidemenu/list.blade.stub @@ -0,0 +1,92 @@ + + diff --git a/src/Stubs/Views/StartUI/auth/passwords/confirm.blade.stub b/src/Stubs/Views/StartUI/auth/passwords/confirm.blade.stub new file mode 100755 index 0000000..6c9ea5b --- /dev/null +++ b/src/Stubs/Views/StartUI/auth/passwords/confirm.blade.stub @@ -0,0 +1,60 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + +@section('before_styles') + +@endsection + +@section('content') +
+ + @if ($errors->count()) + + @endif + + @csrf + +
+ +
+ +
+

@lang('{{$nameSmall}}_dashboard.confirm_password_instruction')

+
+ +
+ +
+ + + +

Already have an account? @lang('{{$nameSmall}}_dashboard.sign_in')

+
+@endsection + +@section('after_scripts') + +@endsection \ No newline at end of file diff --git a/src/Stubs/Views/StartUI/auth/passwords/reset.blade.stub b/src/Stubs/Views/StartUI/auth/passwords/reset.blade.stub index 5c6f7af..9e0e8ca 100755 --- a/src/Stubs/Views/StartUI/auth/passwords/reset.blade.stub +++ b/src/Stubs/Views/StartUI/auth/passwords/reset.blade.stub @@ -37,11 +37,11 @@
- +
- +
diff --git a/src/Stubs/Views/Tabler/auth/passwords/confirm.blade.stub b/src/Stubs/Views/Tabler/auth/passwords/confirm.blade.stub new file mode 100755 index 0000000..6a98b08 --- /dev/null +++ b/src/Stubs/Views/Tabler/auth/passwords/confirm.blade.stub @@ -0,0 +1,37 @@ +@extends('{{$nameSmall}}.layouts.layout_guest') + + +@section('content') +
+ + @if ($errors->count()) +
+ +
    + @foreach ($errors->all() as $e) +
  • {{ $e }}
  • + @endforeach +
+
+ @endif + + @csrf + +
+

@lang('{{$nameSmall}}_dashboard.confirm_password_instruction')

+
+ +
+ + +
+ + + + + +
+ + @lang('{{$nameSmall}}_dashboard.have_account') @lang('{{$nameSmall}}_dashboard.sign_in') + +@endsection \ No newline at end of file