├── public ├── favicon.ico ├── robots.txt ├── mix-manifest.json ├── assets │ ├── fonts │ │ ├── Flaticon.eot │ │ ├── Flaticon.ttf │ │ ├── Flaticon.woff │ │ ├── Flaticond41d.eot │ │ ├── flexslider-icon.eot │ │ ├── flexslider-icon.ttf │ │ ├── flexslider-icon.woff │ │ ├── flexslider-icond41d.eot │ │ ├── fontawesome-webfont3e6e.eot │ │ ├── fontawesome-webfont3e6e.ttf │ │ ├── fontawesome-webfontd41d.eot │ │ ├── fontawesome-webfont3e6e.woff │ │ ├── fontawesome-webfont3e6e.woff2 │ │ └── flexslider-icon.svg │ ├── images │ │ ├── favicon.ico │ │ ├── lang-en.png │ │ ├── payment.png │ │ ├── lang-can.png │ │ ├── lang-fra.png │ │ ├── lang-ger.png │ │ ├── lang-hun.png │ │ ├── author-avata.jpg │ │ ├── banner-top.jpg │ │ ├── brands │ │ │ ├── visa.jpg │ │ │ ├── paypal.jpg │ │ │ ├── codecanyon.jpg │ │ │ ├── discover.jpg │ │ │ ├── photodune.jpg │ │ │ ├── apple-store.png │ │ │ ├── audiojungle.jpg │ │ │ ├── graphicriver.jpg │ │ │ ├── master-card.jpg │ │ │ ├── themeforest.jpg │ │ │ ├── american-express.jpg │ │ │ └── google-play-store.png │ │ ├── date-label.png │ │ ├── effects │ │ │ └── 2eSd.gif │ │ ├── logo-top-1.png │ │ ├── logo-top-2.png │ │ ├── member-braum.jpg │ │ ├── member-leona.jpg │ │ ├── member-lucia.jpg │ │ ├── member-nana.jpg │ │ ├── shop-banner.jpg │ │ ├── social-list.png │ │ ├── spa-banner.jpg │ │ ├── tool-banner.jpg │ │ ├── 2-spa-organic-1.jpg │ │ ├── 2-spa-organic-2.jpg │ │ ├── 3-slide-banner-1.jpg │ │ ├── 3-slide-banner-2.jpg │ │ ├── home-1-banner-1.jpg │ │ ├── home-1-banner-2.jpg │ │ ├── home-2-banner-1.jpg │ │ ├── home-2-banner-2.jpg │ │ ├── home-2-banner-3.jpg │ │ ├── home-3-banner-1.jpg │ │ ├── home-3-banner-2.jpg │ │ ├── kids-toy-banner.jpg │ │ ├── main-slider-1-1.jpg │ │ ├── main-slider-1-2.jpg │ │ ├── main-slider-1-3.jpg │ │ ├── main-slider-2-1.jpg │ │ ├── main-slider-2-2.jpg │ │ ├── main-slider-2-3.jpg │ │ ├── main-slider-3-1.jpg │ │ ├── main-slider-3-2.jpg │ │ ├── main-slider-3-3.jpg │ │ ├── 2-fashion-banner-1.jpg │ │ ├── 2-fashion-banner-2.jpg │ │ ├── 2-kindtoy-banner-1.jpg │ │ ├── 2-kindtoy-banner-2.jpg │ │ ├── 3-fashion-banner-1.jpg │ │ ├── mega_accessories_1.jpg │ │ ├── mega_accessories_2.jpg │ │ ├── mega_accessories_3.jpg │ │ ├── megamenu_kid_toy_1.jpg │ │ ├── products │ │ │ ├── digital_01.jpg │ │ │ ├── digital_02.jpg │ │ │ ├── digital_03.jpg │ │ │ ├── digital_04.jpg │ │ │ ├── digital_05.jpg │ │ │ ├── digital_06.jpg │ │ │ ├── digital_07.jpg │ │ │ ├── digital_08.jpg │ │ │ ├── digital_09.jpg │ │ │ ├── digital_1.jpg │ │ │ ├── digital_10.jpg │ │ │ ├── digital_11.jpg │ │ │ ├── digital_12.jpg │ │ │ ├── digital_13.jpg │ │ │ ├── digital_14.jpg │ │ │ ├── digital_15.jpg │ │ │ ├── digital_16.jpg │ │ │ ├── digital_17.jpg │ │ │ ├── digital_18.jpg │ │ │ ├── digital_19.jpg │ │ │ ├── digital_2.jpg │ │ │ ├── digital_20.jpg │ │ │ ├── digital_21.jpg │ │ │ ├── digital_22.jpg │ │ │ ├── digital_3.jpg │ │ │ ├── digital_4.jpg │ │ │ ├── digital_5.jpg │ │ │ ├── digital_6.jpg │ │ │ ├── digital_7.jpg │ │ │ ├── digital_8.jpg │ │ │ ├── digital_9.jpg │ │ │ ├── fashion_01.jpg │ │ │ ├── fashion_02.jpg │ │ │ ├── fashion_03.jpg │ │ │ ├── fashion_04.jpg │ │ │ ├── fashion_05.jpg │ │ │ ├── fashion_06.jpg │ │ │ ├── fashion_07.jpg │ │ │ ├── fashion_08.jpg │ │ │ ├── fashion_09.jpg │ │ │ ├── fashion_10.jpg │ │ │ ├── kidtoy_01.jpg │ │ │ ├── kidtoy_02.jpg │ │ │ ├── kidtoy_03.jpg │ │ │ ├── kidtoy_04.jpg │ │ │ ├── kidtoy_05.jpg │ │ │ ├── kidtoy_06.jpg │ │ │ ├── kidtoy_07.jpg │ │ │ ├── kidtoy_08.jpg │ │ │ ├── kidtoy_09.jpg │ │ │ ├── kidtoy_10.jpg │ │ │ ├── furniture_01.jpg │ │ │ ├── furniture_02.jpg │ │ │ ├── furniture_03.jpg │ │ │ ├── furniture_04.jpg │ │ │ ├── furniture_05.jpg │ │ │ ├── furniture_06.jpg │ │ │ ├── furniture_07.jpg │ │ │ ├── furniture_08.jpg │ │ │ ├── furniture_09.jpg │ │ │ ├── organics_spa_1.jpg │ │ │ ├── organics_spa_2.jpg │ │ │ ├── organics_spa_3.jpg │ │ │ ├── organics_spa_4.jpg │ │ │ ├── organics_spa_5.jpg │ │ │ ├── organics_spa_6.jpg │ │ │ ├── organics_spa_7.jpg │ │ │ ├── organics_spa_8.jpg │ │ │ ├── tools_equipment_1.jpg │ │ │ ├── tools_equipment_2.jpg │ │ │ ├── tools_equipment_3.jpg │ │ │ ├── tools_equipment_4.jpg │ │ │ ├── tools_equipment_5.jpg │ │ │ ├── tools_equipment_6.jpg │ │ │ ├── tools_equipment_7.jpg │ │ │ └── tools_equipment_8.jpg │ │ ├── size-banner-widget.jpg │ │ ├── 2-mega_accessories_1.jpg │ │ ├── 2-mega_accessories_2.jpg │ │ ├── 2-megamenu_kid_toy_1.jpg │ │ ├── about-us-bg-page-title.jpg │ │ ├── banner-shop-full-width.jpg │ │ ├── blogs │ │ │ ├── blog-article-1.jpg │ │ │ ├── blog-article-2.jpg │ │ │ ├── blog-article-3.jpg │ │ │ ├── blog-article-4.jpg │ │ │ └── blog-article-5.jpg │ │ ├── mega_accessories_pr1.jpg │ │ ├── 3-carpenter-tools-banner.jpg │ │ ├── 2-carpenter-tools-banner-1.jpg │ │ ├── 2-carpenter-tools-banner-2.jpg │ │ ├── 3-digital-electronic-banner.jpg │ │ ├── digital-electronic-banner.jpg │ │ ├── fashion-accesories-banner.jpg │ │ ├── 2-smartphone-laptop-banner-1.jpg │ │ ├── 2-smartphone-laptop-banner-2.jpg │ │ ├── 2-megamenu_digital_electronics_1.jpg │ │ ├── furniture-and-home-decors-banner.jpg │ │ ├── megamenu_digital_electronics_1.jpg │ │ ├── megamenu_furniture_home_decors_1.jpg │ │ ├── megamenu_tool_equiment_banner_1.jpg │ │ ├── megamenu_tool_equiment_banner_2.jpg │ │ ├── 2-megamenu_furniture_home_decors_1.jpg │ │ ├── 2-megamenu_tool_equiment_banner_1.jpg │ │ ├── 2-megamenu_tool_equiment_banner_2.jpg │ │ └── 3-furniture-and-home-decors-banner.jpg │ └── css │ │ ├── chosen-sprite.png │ │ ├── chosen-sprite@2x.png │ │ └── owl.carousel.min.css ├── .htaccess ├── web.config └── index.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── database ├── .gitignore ├── seeders │ └── DatabaseSeeder.php ├── factories │ ├── CategoryFactory.php │ ├── UserFactory.php │ └── ProductFactory.php └── migrations │ ├── 2021_01_21_155805_create_categories_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ ├── 2021_01_21_032352_create_sessions_table.php │ ├── 2019_12_14_000001_create_personal_access_tokens_table.php │ ├── 2014_10_12_200000_add_two_factor_columns_to_users_table.php │ ├── 2014_10_12_000000_create_users_table.php │ └── 2021_01_21_160212_create_products_table.php ├── resources ├── js │ ├── app.js │ └── bootstrap.js ├── views │ ├── livewire │ │ ├── user │ │ │ └── user-dashboard-component.blade.php │ │ ├── admin │ │ │ └── admin-dashboard-component.blade.php │ │ └── header-search-component.blade.php │ ├── api │ │ └── index.blade.php │ ├── terms.blade.php │ ├── policy.blade.php │ ├── dashboard.blade.php │ ├── auth │ │ ├── confirm-password.blade.php │ │ ├── forgot-password.blade.php │ │ ├── verify-email.blade.php │ │ ├── reset-password.blade.php │ │ └── two-factor-challenge.blade.php │ ├── layouts │ │ └── app.blade.php │ └── profile │ │ ├── show.blade.php │ │ ├── update-password-form.blade.php │ │ ├── delete-user-form.blade.php │ │ └── update-profile-information-form.blade.php ├── css │ └── app.css ├── markdown │ ├── policy.md │ └── terms.md └── lang │ └── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php ├── .gitattributes ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ ├── ExampleTest.php │ ├── BrowserSessionsTest.php │ ├── RegistrationTest.php │ ├── DeleteApiTokenTest.php │ ├── AuthenticationTest.php │ ├── ProfileInformationTest.php │ ├── CreateApiTokenTest.php │ ├── PasswordConfirmationTest.php │ ├── DeleteAccountTest.php │ ├── ApiTokenPermissionsTest.php │ ├── TwoFactorAuthenticationSettingsTest.php │ ├── UpdatePasswordTest.php │ ├── PasswordResetTest.php │ └── EmailVerificationTest.php └── CreatesApplication.php ├── .styleci.yml ├── .gitignore ├── app ├── Models │ ├── Product.php │ ├── Category.php │ └── User.php ├── Http │ ├── Livewire │ │ ├── HomeComponent.php │ │ ├── AboutUsComponent.php │ │ ├── CheckoutComponent.php │ │ ├── ContactUsComponent.php │ │ ├── ReturnPolicyComponent.php │ │ ├── PrivacyPolicyComponent.php │ │ ├── TermsConditionsComponent.php │ │ ├── User │ │ │ └── UserDashboardComponent.php │ │ ├── Admin │ │ │ └── AdminDashboardComponent.php │ │ ├── HeaderSearchComponent.php │ │ ├── CartComponent.php │ │ ├── DetailsComponent.php │ │ ├── ShopComponent.php │ │ ├── CategoryComponent.php │ │ └── SearchComponent.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrimStrings.php │ │ ├── TrustHosts.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── Authenticate.php │ │ ├── AuthAdmin.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ ├── Controllers │ │ └── Controller.php │ └── Kernel.php ├── View │ └── Components │ │ ├── AppLayout.php │ │ └── GuestLayout.php ├── Actions │ ├── Fortify │ │ ├── PasswordValidationRules.php │ │ ├── ResetUserPassword.php │ │ ├── CreateNewUser.php │ │ ├── UpdateUserPassword.php │ │ └── UpdateUserProfileInformation.php │ └── Jetstream │ │ └── DeleteUser.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ ├── JetstreamServiceProvider.php │ ├── FortifyServiceProvider.php │ └── RouteServiceProvider.php ├── Exceptions │ └── Handler.php └── Console │ └── Kernel.php ├── .editorconfig ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── server.php ├── tailwind.config.js ├── .github └── FUNDING.yml ├── package.json ├── webpack.mix.js ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── jetstream.php ├── sanctum.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── logging.php └── cache.php ├── .env.example ├── phpunit.xml ├── artisan └── composer.json /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | *.sqlite-journal 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | 3 | require('alpinejs'); 4 | -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js", 3 | "/css/app.css": "/css/app.css" 4 | } 5 | -------------------------------------------------------------------------------- /resources/views/livewire/user/user-dashboard-component.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

User Dashboard

3 |
4 | -------------------------------------------------------------------------------- /resources/views/livewire/admin/admin-dashboard-component.blade.php: -------------------------------------------------------------------------------- 1 |
2 |

Admin Dashboard

3 |
4 | -------------------------------------------------------------------------------- /resources/css/app.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss/base'; 2 | @import 'tailwindcss/components'; 3 | @import 'tailwindcss/utilities'; 4 | -------------------------------------------------------------------------------- /resources/markdown/policy.md: -------------------------------------------------------------------------------- 1 | # Privacy Policy 2 | 3 | Edit this file to define the privacy policy for your application. 4 | -------------------------------------------------------------------------------- /resources/markdown/terms.md: -------------------------------------------------------------------------------- 1 | # Terms of Service 2 | 3 | Edit this file to define the terms of service for your application. 4 | -------------------------------------------------------------------------------- /public/assets/fonts/Flaticon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/Flaticon.eot -------------------------------------------------------------------------------- /public/assets/fonts/Flaticon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/Flaticon.ttf -------------------------------------------------------------------------------- /public/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/favicon.ico -------------------------------------------------------------------------------- /public/assets/images/lang-en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/lang-en.png -------------------------------------------------------------------------------- /public/assets/images/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/payment.png -------------------------------------------------------------------------------- /public/assets/fonts/Flaticon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/Flaticon.woff -------------------------------------------------------------------------------- /public/assets/images/lang-can.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/lang-can.png -------------------------------------------------------------------------------- /public/assets/images/lang-fra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/lang-fra.png -------------------------------------------------------------------------------- /public/assets/images/lang-ger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/lang-ger.png -------------------------------------------------------------------------------- /public/assets/images/lang-hun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/lang-hun.png -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /public/assets/css/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/css/chosen-sprite.png -------------------------------------------------------------------------------- /public/assets/fonts/Flaticond41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/Flaticond41d.eot -------------------------------------------------------------------------------- /public/assets/images/author-avata.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/author-avata.jpg -------------------------------------------------------------------------------- /public/assets/images/banner-top.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/banner-top.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/visa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/visa.jpg -------------------------------------------------------------------------------- /public/assets/images/date-label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/date-label.png -------------------------------------------------------------------------------- /public/assets/images/effects/2eSd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/effects/2eSd.gif -------------------------------------------------------------------------------- /public/assets/images/logo-top-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/logo-top-1.png -------------------------------------------------------------------------------- /public/assets/images/logo-top-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/logo-top-2.png -------------------------------------------------------------------------------- /public/assets/images/member-braum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/member-braum.jpg -------------------------------------------------------------------------------- /public/assets/images/member-leona.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/member-leona.jpg -------------------------------------------------------------------------------- /public/assets/images/member-lucia.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/member-lucia.jpg -------------------------------------------------------------------------------- /public/assets/images/member-nana.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/member-nana.jpg -------------------------------------------------------------------------------- /public/assets/images/shop-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/shop-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/social-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/social-list.png -------------------------------------------------------------------------------- /public/assets/images/spa-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/spa-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/tool-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/tool-banner.jpg -------------------------------------------------------------------------------- /public/assets/css/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/css/chosen-sprite@2x.png -------------------------------------------------------------------------------- /public/assets/fonts/flexslider-icon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/flexslider-icon.eot -------------------------------------------------------------------------------- /public/assets/fonts/flexslider-icon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/flexslider-icon.ttf -------------------------------------------------------------------------------- /public/assets/images/brands/paypal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/paypal.jpg -------------------------------------------------------------------------------- /public/assets/fonts/flexslider-icon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/flexslider-icon.woff -------------------------------------------------------------------------------- /public/assets/images/2-spa-organic-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-spa-organic-1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-spa-organic-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-spa-organic-2.jpg -------------------------------------------------------------------------------- /public/assets/images/3-slide-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/3-slide-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/3-slide-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/3-slide-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/codecanyon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/codecanyon.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/discover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/discover.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/photodune.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/photodune.jpg -------------------------------------------------------------------------------- /public/assets/images/home-1-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/home-1-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/home-1-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/home-1-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/home-2-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/home-2-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/home-2-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/home-2-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/home-2-banner-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/home-2-banner-3.jpg -------------------------------------------------------------------------------- /public/assets/images/home-3-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/home-3-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/home-3-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/home-3-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/kids-toy-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/kids-toy-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-1-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-1-1.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-1-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-1-2.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-1-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-1-3.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-2-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-2-1.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-2-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-2-2.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-2-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-2-3.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-3-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-3-1.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-3-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-3-2.jpg -------------------------------------------------------------------------------- /public/assets/images/main-slider-3-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/main-slider-3-3.jpg -------------------------------------------------------------------------------- /public/assets/fonts/flexslider-icond41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/flexslider-icond41d.eot -------------------------------------------------------------------------------- /public/assets/images/2-fashion-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-fashion-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-fashion-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-fashion-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/2-kindtoy-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-kindtoy-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-kindtoy-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-kindtoy-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/3-fashion-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/3-fashion-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/apple-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/apple-store.png -------------------------------------------------------------------------------- /public/assets/images/brands/audiojungle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/audiojungle.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/graphicriver.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/graphicriver.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/master-card.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/master-card.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/themeforest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/themeforest.jpg -------------------------------------------------------------------------------- /public/assets/images/mega_accessories_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/mega_accessories_1.jpg -------------------------------------------------------------------------------- /public/assets/images/mega_accessories_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/mega_accessories_2.jpg -------------------------------------------------------------------------------- /public/assets/images/mega_accessories_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/mega_accessories_3.jpg -------------------------------------------------------------------------------- /public/assets/images/megamenu_kid_toy_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/megamenu_kid_toy_1.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_01.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_02.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_03.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_04.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_05.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_06.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_07.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_08.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_09.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_1.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_10.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_11.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_12.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_13.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_14.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_15.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_16.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_17.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_18.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_19.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_2.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_20.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_21.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_22.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_22.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_3.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_4.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_5.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_6.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_7.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_8.jpg -------------------------------------------------------------------------------- /public/assets/images/products/digital_9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/digital_9.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_01.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_02.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_03.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_04.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_05.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_06.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_07.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_08.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_09.jpg -------------------------------------------------------------------------------- /public/assets/images/products/fashion_10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/fashion_10.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_01.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_02.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_03.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_04.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_05.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_06.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_07.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_08.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_09.jpg -------------------------------------------------------------------------------- /public/assets/images/products/kidtoy_10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/kidtoy_10.jpg -------------------------------------------------------------------------------- /public/assets/images/size-banner-widget.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/size-banner-widget.jpg -------------------------------------------------------------------------------- /public/assets/fonts/fontawesome-webfont3e6e.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/fontawesome-webfont3e6e.eot -------------------------------------------------------------------------------- /public/assets/fonts/fontawesome-webfont3e6e.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/fontawesome-webfont3e6e.ttf -------------------------------------------------------------------------------- /public/assets/fonts/fontawesome-webfontd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/fontawesome-webfontd41d.eot -------------------------------------------------------------------------------- /public/assets/images/2-mega_accessories_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-mega_accessories_1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-mega_accessories_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-mega_accessories_2.jpg -------------------------------------------------------------------------------- /public/assets/images/2-megamenu_kid_toy_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-megamenu_kid_toy_1.jpg -------------------------------------------------------------------------------- /public/assets/images/about-us-bg-page-title.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/about-us-bg-page-title.jpg -------------------------------------------------------------------------------- /public/assets/images/banner-shop-full-width.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/banner-shop-full-width.jpg -------------------------------------------------------------------------------- /public/assets/images/blogs/blog-article-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/blogs/blog-article-1.jpg -------------------------------------------------------------------------------- /public/assets/images/blogs/blog-article-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/blogs/blog-article-2.jpg -------------------------------------------------------------------------------- /public/assets/images/blogs/blog-article-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/blogs/blog-article-3.jpg -------------------------------------------------------------------------------- /public/assets/images/blogs/blog-article-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/blogs/blog-article-4.jpg -------------------------------------------------------------------------------- /public/assets/images/blogs/blog-article-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/blogs/blog-article-5.jpg -------------------------------------------------------------------------------- /public/assets/images/mega_accessories_pr1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/mega_accessories_pr1.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_01.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_02.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_03.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_04.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_05.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_06.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_07.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_08.jpg -------------------------------------------------------------------------------- /public/assets/images/products/furniture_09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/furniture_09.jpg -------------------------------------------------------------------------------- /public/assets/fonts/fontawesome-webfont3e6e.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/fontawesome-webfont3e6e.woff -------------------------------------------------------------------------------- /public/assets/fonts/fontawesome-webfont3e6e.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/fonts/fontawesome-webfont3e6e.woff2 -------------------------------------------------------------------------------- /public/assets/images/3-carpenter-tools-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/3-carpenter-tools-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/american-express.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/american-express.jpg -------------------------------------------------------------------------------- /public/assets/images/brands/google-play-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/brands/google-play-store.png -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_1.jpg -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_2.jpg -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_3.jpg -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_4.jpg -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_5.jpg -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_6.jpg -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_7.jpg -------------------------------------------------------------------------------- /public/assets/images/products/organics_spa_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/organics_spa_8.jpg -------------------------------------------------------------------------------- /public/assets/images/2-carpenter-tools-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-carpenter-tools-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-carpenter-tools-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-carpenter-tools-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/3-digital-electronic-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/3-digital-electronic-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/digital-electronic-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/digital-electronic-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/fashion-accesories-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/fashion-accesories-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_1.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_2.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_3.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_4.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_5.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_6.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_7.jpg -------------------------------------------------------------------------------- /public/assets/images/products/tools_equipment_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/products/tools_equipment_8.jpg -------------------------------------------------------------------------------- /public/assets/images/2-smartphone-laptop-banner-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-smartphone-laptop-banner-1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-smartphone-laptop-banner-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-smartphone-laptop-banner-2.jpg -------------------------------------------------------------------------------- /public/assets/images/2-megamenu_digital_electronics_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-megamenu_digital_electronics_1.jpg -------------------------------------------------------------------------------- /public/assets/images/furniture-and-home-decors-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/furniture-and-home-decors-banner.jpg -------------------------------------------------------------------------------- /public/assets/images/megamenu_digital_electronics_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/megamenu_digital_electronics_1.jpg -------------------------------------------------------------------------------- /public/assets/images/megamenu_furniture_home_decors_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/megamenu_furniture_home_decors_1.jpg -------------------------------------------------------------------------------- /public/assets/images/megamenu_tool_equiment_banner_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/megamenu_tool_equiment_banner_1.jpg -------------------------------------------------------------------------------- /public/assets/images/megamenu_tool_equiment_banner_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/megamenu_tool_equiment_banner_2.jpg -------------------------------------------------------------------------------- /public/assets/images/2-megamenu_furniture_home_decors_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-megamenu_furniture_home_decors_1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-megamenu_tool_equiment_banner_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-megamenu_tool_equiment_banner_1.jpg -------------------------------------------------------------------------------- /public/assets/images/2-megamenu_tool_equiment_banner_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/2-megamenu_tool_equiment_banner_2.jpg -------------------------------------------------------------------------------- /public/assets/images/3-furniture-and-home-decors-banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FernandoCalmet/php-laravel-8-ecommerce/HEAD/public/assets/images/3-furniture-and-home-decors-banner.jpg -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/AboutUsComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/CheckoutComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/ContactUsComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/ReturnPolicyComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/PrivacyPolicyComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/TermsConditionsComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/User/UserDashboardComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Livewire/Admin/AdminDashboardComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | {{ __('API Tokens') }} 5 |

6 |
7 | 8 |
9 |
10 | @livewire('api.api-token-manager') 11 |
12 |
13 | 14 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrustHosts.php: -------------------------------------------------------------------------------- 1 | allSubdomainsOfApplicationUrl(), 18 | ]; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/Http/Middleware/PreventRequestsDuringMaintenance.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 |
7 | 8 |
9 | {!! $terms !!} 10 |
11 |
12 |
13 | 14 | -------------------------------------------------------------------------------- /app/Actions/Jetstream/DeleteUser.php: -------------------------------------------------------------------------------- 1 | deleteProfilePhoto(); 18 | $user->tokens->each->delete(); 19 | $user->delete(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | create(); 17 | \App\Models\Category::factory(6)->create(); 18 | \App\Models\Product::factory(22)->create(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /resources/views/policy.blade.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 |
7 | 8 |
9 | {!! $policy !!} 10 |
11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | {{ __('Dashboard') }} 5 |

6 |
7 | 8 |
9 |
10 |
11 | 12 |
13 |
14 |
15 | 16 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 18 | }); 19 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 18 | return $request->user(); 19 | }); 20 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 19 | })->purpose('Display an inspiring quote'); 20 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | const defaultTheme = require('tailwindcss/defaultTheme'); 2 | 3 | module.exports = { 4 | purge: [ 5 | './vendor/laravel/jetstream/**/*.blade.php', 6 | './storage/framework/views/*.php', 7 | './resources/views/**/*.blade.php', 8 | ], 9 | 10 | theme: { 11 | extend: { 12 | fontFamily: { 13 | sans: ['Nunito', ...defaultTheme.fontFamily.sans], 14 | }, 15 | }, 16 | }, 17 | 18 | variants: { 19 | extend: { 20 | opacity: ['disabled'], 21 | }, 22 | }, 23 | 24 | plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')], 25 | }; 26 | -------------------------------------------------------------------------------- /app/Http/Middleware/AuthAdmin.php: -------------------------------------------------------------------------------- 1 | flush(); 23 | return redirect()->route('login'); 24 | } 25 | 26 | return $next($request); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews -Indexes 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Handle Authorization Header 9 | RewriteCond %{HTTP:Authorization} . 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 11 | 12 | # Redirect Trailing Slashes If Not A Folder... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_URI} (.+)/$ 15 | RewriteRule ^ %1 [L,R=301] 16 | 17 | # Send Requests To Front Controller... 18 | RewriteCond %{REQUEST_FILENAME} !-d 19 | RewriteCond %{REQUEST_FILENAME} !-f 20 | RewriteRule ^ index.php [L] 21 | 22 | -------------------------------------------------------------------------------- /app/Http/Livewire/HeaderSearchComponent.php: -------------------------------------------------------------------------------- 1 | product_cat = 'All Category'; 17 | $this->fill(request()->only('search', 'product_cat', 'product_cat_id')); 18 | } 19 | 20 | public function render() 21 | { 22 | $categories = Category::all(); 23 | 24 | return view('livewire.header-search-component', ['categories' => $categories]); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- 1 | actingAs($user = User::factory()->create()); 18 | 19 | Livewire::test(LogoutOtherBrowserSessionsForm::class) 20 | ->set('password', 'password') 21 | ->call('logoutOtherBrowserSessions'); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: fernandocalmet 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | $this->registerPolicies(); 27 | 28 | // 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'password' => 'The provided password is incorrect.', 18 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 19 | 20 | ]; 21 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "dev": "npm run development", 5 | "development": "mix", 6 | "watch": "mix watch", 7 | "watch-poll": "mix watch -- --watch-options-poll=1000", 8 | "hot": "mix watch --hot", 9 | "prod": "npm run production", 10 | "production": "mix --production" 11 | }, 12 | "devDependencies": { 13 | "@tailwindcss/forms": "^0.2.1", 14 | "@tailwindcss/typography": "^0.3.0", 15 | "alpinejs": "^2.7.3", 16 | "autoprefixer": "^10.0.2", 17 | "axios": "^0.21", 18 | "laravel-mix": "^6.0.6", 19 | "lodash": "^4.17.19", 20 | "postcss": "^8.1.14", 21 | "postcss-import": "^12.0.1", 22 | "tailwindcss": "^2.0.2" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | const mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel applications. By default, we are compiling the CSS 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.js('resources/js/app.js', 'public/js') 15 | .postCss('resources/css/app.css', 'public/css', [ 16 | require('postcss-import'), 17 | require('tailwindcss'), 18 | require('autoprefixer'), 19 | ]); 20 | 21 | if (mix.inProduction()) { 22 | mix.version(); 23 | } 24 | -------------------------------------------------------------------------------- /database/factories/CategoryFactory.php: -------------------------------------------------------------------------------- 1 | faker->unique()->words($nb = 2, $asText = true); 26 | $slug = Str::slug($category_name); 27 | 28 | return [ 29 | 'name' => $category_name, 30 | 'slug' => $slug 31 | ]; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/Actions/Fortify/ResetUserPassword.php: -------------------------------------------------------------------------------- 1 | $this->passwordRules(), 24 | ])->validate(); 25 | 26 | $user->forceFill([ 27 | 'password' => Hash::make($input['password']), 28 | ])->save(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 19 | SendEmailVerificationNotification::class, 20 | ], 21 | ]; 22 | 23 | /** 24 | * Register any events for your application. 25 | * 26 | * @return void 27 | */ 28 | public function boot() 29 | { 30 | // 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Your password has been reset!', 17 | 'sent' => 'We have emailed your password reset link!', 18 | 'throttled' => 'Please wait before retrying.', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that email address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /database/migrations/2021_01_21_155805_create_categories_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('name')->unique(); 19 | $table->string('slug')->unique(); 20 | $table->timestamps(); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::dropIfExists('categories'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | string('email')->index(); 18 | $table->string('token'); 19 | $table->timestamp('created_at')->nullable(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::dropIfExists('password_resets'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 26 | return redirect(RouteServiceProvider::HOME); 27 | } 28 | } 29 | 30 | return $next($request); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /database/factories/UserFactory.php: -------------------------------------------------------------------------------- 1 | $this->faker->name, 27 | 'email' => $this->faker->unique()->safeEmail, 28 | 'email_verified_at' => now(), 29 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 30 | 'remember_token' => Str::random(10), 31 | ]; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- 1 | reportable(function (Throwable $e) { 37 | // 38 | }); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/Http/Livewire/CartComponent.php: -------------------------------------------------------------------------------- 1 | layout('layouts.base'); 13 | } 14 | 15 | public function increaseQuantity($rowId) 16 | { 17 | $product = Cart::get($rowId); 18 | $qty = $product->qty + 1; 19 | Cart::update($rowId, $qty); 20 | } 21 | 22 | public function descreaseQuantity($rowId) 23 | { 24 | $product = Cart::get($rowId); 25 | $qty = $product->qty - 1; 26 | Cart::update($rowId, $qty); 27 | } 28 | 29 | public function destroy($rowId) 30 | { 31 | Cart::remove($rowId); 32 | session()->flash('success_message', 'Item has been removed'); 33 | } 34 | 35 | public function destroyAll() 36 | { 37 | Cart::destroy(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /config/cors.php: -------------------------------------------------------------------------------- 1 | ['api/*', 'sanctum/csrf-cookie'], 19 | 20 | 'allowed_methods' => ['*'], 21 | 22 | 'allowed_origins' => ['*'], 23 | 24 | 'allowed_origins_patterns' => [], 25 | 26 | 'allowed_headers' => ['*'], 27 | 28 | 'exposed_headers' => [], 29 | 30 | 'max_age' => 0, 31 | 32 | 'supports_credentials' => false, 33 | 34 | ]; 35 | -------------------------------------------------------------------------------- /resources/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | window._ = require('lodash'); 2 | 3 | /** 4 | * We'll load the axios HTTP library which allows us to easily issue requests 5 | * to our Laravel back-end. This library automatically handles sending the 6 | * CSRF token as a header based on the value of the "XSRF" token cookie. 7 | */ 8 | 9 | window.axios = require('axios'); 10 | 11 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 12 | 13 | /** 14 | * Echo exposes an expressive API for subscribing to channels and listening 15 | * for events that are broadcast by Laravel. Echo and event broadcasting 16 | * allows your team to easily build robust real-time web applications. 17 | */ 18 | 19 | // import Echo from 'laravel-echo'; 20 | 21 | // window.Pusher = require('pusher-js'); 22 | 23 | // window.Echo = new Echo({ 24 | // broadcaster: 'pusher', 25 | // key: process.env.MIX_PUSHER_APP_KEY, 26 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER, 27 | // forceTLS: true 28 | // }); 29 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire')->hourly(); 28 | } 29 | 30 | /** 31 | * Register the commands for the application. 32 | * 33 | * @return void 34 | */ 35 | protected function commands() 36 | { 37 | $this->load(__DIR__.'/Commands'); 38 | 39 | require base_path('routes/console.php'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /database/migrations/2019_08_19_000000_create_failed_jobs_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('uuid')->unique(); 19 | $table->text('connection'); 20 | $table->text('queue'); 21 | $table->longText('payload'); 22 | $table->longText('exception'); 23 | $table->timestamp('failed_at')->useCurrent(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('failed_jobs'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_NAME=Laravel 2 | APP_ENV=local 3 | APP_KEY= 4 | APP_DEBUG=true 5 | APP_URL=http://localhost 6 | 7 | LOG_CHANNEL=stack 8 | LOG_LEVEL=debug 9 | 10 | DB_CONNECTION=mysql 11 | DB_HOST=127.0.0.1 12 | DB_PORT=3306 13 | DB_DATABASE=laravel 14 | DB_USERNAME=root 15 | DB_PASSWORD= 16 | 17 | BROADCAST_DRIVER=log 18 | CACHE_DRIVER=file 19 | QUEUE_CONNECTION=sync 20 | SESSION_DRIVER=database 21 | SESSION_LIFETIME=120 22 | 23 | MEMCACHED_HOST=127.0.0.1 24 | 25 | REDIS_HOST=127.0.0.1 26 | REDIS_PASSWORD=null 27 | REDIS_PORT=6379 28 | 29 | MAIL_MAILER=smtp 30 | MAIL_HOST=mailhog 31 | MAIL_PORT=1025 32 | MAIL_USERNAME=null 33 | MAIL_PASSWORD=null 34 | MAIL_ENCRYPTION=null 35 | MAIL_FROM_ADDRESS=null 36 | MAIL_FROM_NAME="${APP_NAME}" 37 | 38 | AWS_ACCESS_KEY_ID= 39 | AWS_SECRET_ACCESS_KEY= 40 | AWS_DEFAULT_REGION=us-east-1 41 | AWS_BUCKET= 42 | 43 | PUSHER_APP_ID= 44 | PUSHER_APP_KEY= 45 | PUSHER_APP_SECRET= 46 | PUSHER_APP_CLUSTER=mt1 47 | 48 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" 49 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 50 | -------------------------------------------------------------------------------- /database/migrations/2021_01_21_032352_create_sessions_table.php: -------------------------------------------------------------------------------- 1 | string('id')->primary(); 18 | $table->foreignId('user_id')->nullable()->index(); 19 | $table->string('ip_address', 45)->nullable(); 20 | $table->text('user_agent')->nullable(); 21 | $table->text('payload'); 22 | $table->integer('last_activity')->index(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('sessions'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /tests/Feature/RegistrationTest.php: -------------------------------------------------------------------------------- 1 | get('/register'); 17 | 18 | $response->assertStatus(200); 19 | } 20 | 21 | public function test_new_users_can_register() 22 | { 23 | $response = $this->post('/register', [ 24 | 'name' => 'Test User', 25 | 'email' => 'test@example.com', 26 | 'password' => 'password', 27 | 'password_confirmation' => 'password', 28 | 'terms' => Jetstream::hasTermsAndPrivacyPolicyFeature(), 29 | ]); 30 | 31 | $this->assertAuthenticated(); 32 | $response->assertRedirect(RouteServiceProvider::HOME); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => env('MAILGUN_DOMAIN'), 19 | 'secret' => env('MAILGUN_SECRET'), 20 | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), 21 | ], 22 | 23 | 'postmark' => [ 24 | 'token' => env('POSTMARK_TOKEN'), 25 | ], 26 | 27 | 'ses' => [ 28 | 'key' => env('AWS_ACCESS_KEY_ID'), 29 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 30 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 31 | ], 32 | 33 | ]; 34 | -------------------------------------------------------------------------------- /database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->morphs('tokenable'); 19 | $table->string('name'); 20 | $table->string('token', 64)->unique(); 21 | $table->text('abilities')->nullable(); 22 | $table->timestamp('last_used_at')->nullable(); 23 | $table->timestamps(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('personal_access_tokens'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php: -------------------------------------------------------------------------------- 1 | text('two_factor_secret') 18 | ->after('password') 19 | ->nullable(); 20 | 21 | $table->text('two_factor_recovery_codes') 22 | ->after('two_factor_secret') 23 | ->nullable(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::table('users', function (Blueprint $table) { 35 | $table->dropColumn('two_factor_secret', 'two_factor_recovery_codes'); 36 | }); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /resources/views/auth/confirm-password.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | {{ __('This is a secure area of the application. Please confirm your password before continuing.') }} 9 |
10 | 11 | 12 | 13 |
14 | @csrf 15 | 16 |
17 | 18 | 19 |
20 | 21 |
22 | 23 | {{ __('Confirm') }} 24 | 25 |
26 |
27 |
28 |
29 | -------------------------------------------------------------------------------- /app/Providers/JetstreamServiceProvider.php: -------------------------------------------------------------------------------- 1 | configurePermissions(); 29 | 30 | Jetstream::deleteUsersUsing(DeleteUser::class); 31 | } 32 | 33 | /** 34 | * Configure the permissions that are available within the application. 35 | * 36 | * @return void 37 | */ 38 | protected function configurePermissions() 39 | { 40 | Jetstream::defaultApiTokenPermissions(['read']); 41 | 42 | Jetstream::permissions([ 43 | 'create', 44 | 'read', 45 | 'update', 46 | 'delete', 47 | ]); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /tests/Feature/DeleteApiTokenTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('API support is not enabled.'); 21 | } 22 | 23 | $this->actingAs($user = User::factory()->withPersonalTeam()->create()); 24 | 25 | $token = $user->tokens()->create([ 26 | 'name' => 'Test Token', 27 | 'token' => Str::random(40), 28 | 'abilities' => ['create', 'read'], 29 | ]); 30 | 31 | Livewire::test(ApiTokenManager::class) 32 | ->set(['apiTokenIdBeingDeleted' => $token->id]) 33 | ->call('deleteApiToken'); 34 | 35 | $this->assertCount(0, $user->fresh()->tokens); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/Actions/Fortify/CreateNewUser.php: -------------------------------------------------------------------------------- 1 | ['required', 'string', 'max:255'], 25 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], 26 | 'password' => $this->passwordRules(), 27 | 'terms' => Jetstream::hasTermsAndPrivacyPolicyFeature() ? ['required', 'accepted'] : '', 28 | ])->validate(); 29 | 30 | return User::create([ 31 | 'name' => $input['name'], 32 | 'email' => $input['email'], 33 | 'password' => Hash::make($input['password']), 34 | ]); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /resources/views/livewire/header-search-component.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 17 | resource_path('views'), 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled View Path 23 | |-------------------------------------------------------------------------- 24 | | 25 | | This option determines where all the compiled Blade templates will be 26 | | stored for your application. Typically, this is within the storage 27 | | directory. However, as usual, you are free to change this value. 28 | | 29 | */ 30 | 31 | 'compiled' => env( 32 | 'VIEW_COMPILED_PATH', 33 | realpath(storage_path('framework/views')) 34 | ), 35 | 36 | ]; 37 | -------------------------------------------------------------------------------- /app/Http/Livewire/DetailsComponent.php: -------------------------------------------------------------------------------- 1 | slug = $slug; 16 | } 17 | 18 | public function render() 19 | { 20 | $product = Product::where('slug', $this->slug)->first(); 21 | $popular_products = Product::inRandomOrder()->limit(4)->get(); 22 | $related_products = Product::where('category_id', $product->category_id)->inRandomOrder()->limit(5)->get(); 23 | 24 | return view('livewire.details-component', [ 25 | 'product' => $product, 26 | 'popular_products' => $popular_products, 27 | 'related_products' => $related_products 28 | ])->layout('layouts.base'); 29 | } 30 | 31 | public function store($product_id, $product_name, $product_price) 32 | { 33 | Cart::add($product_id, $product_name, 1, $product_price)->associate('App\Models\Product'); 34 | session()->flash('success_message', 'Item added in Cart'); 35 | 36 | return redirect()->route('product.cart'); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('name'); 19 | $table->string('email')->unique(); 20 | $table->timestamp('email_verified_at')->nullable(); 21 | $table->string('password'); 22 | $table->rememberToken(); 23 | $table->foreignId('current_team_id')->nullable(); 24 | $table->text('profile_photo_path')->nullable(); 25 | $table->string('utype')->default('USR')->comment('ADM for Admin and USR for User or Customer'); 26 | $table->timestamps(); 27 | }); 28 | } 29 | 30 | /** 31 | * Reverse the migrations. 32 | * 33 | * @return void 34 | */ 35 | public function down() 36 | { 37 | Schema::dropIfExists('users'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /tests/Feature/AuthenticationTest.php: -------------------------------------------------------------------------------- 1 | get('/login'); 17 | 18 | $response->assertStatus(200); 19 | } 20 | 21 | public function test_users_can_authenticate_using_the_login_screen() 22 | { 23 | $user = User::factory()->create(); 24 | 25 | $response = $this->post('/login', [ 26 | 'email' => $user->email, 27 | 'password' => 'password', 28 | ]); 29 | 30 | $this->assertAuthenticated(); 31 | $response->assertRedirect(RouteServiceProvider::HOME); 32 | } 33 | 34 | public function test_users_can_not_authenticate_with_invalid_password() 35 | { 36 | $user = User::factory()->create(); 37 | 38 | $this->post('/login', [ 39 | 'email' => $user->email, 40 | 'password' => 'wrong-password', 41 | ]); 42 | 43 | $this->assertGuest(); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /app/Actions/Fortify/UpdateUserPassword.php: -------------------------------------------------------------------------------- 1 | ['required', 'string'], 24 | 'password' => $this->passwordRules(), 25 | ])->after(function ($validator) use ($user, $input) { 26 | if (! isset($input['current_password']) || ! Hash::check($input['current_password'], $user->password)) { 27 | $validator->errors()->add('current_password', __('The provided password does not match your current password.')); 28 | } 29 | })->validateWithBag('updatePassword'); 30 | 31 | $user->forceFill([ 32 | 'password' => Hash::make($input['password']), 33 | ])->save(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /tests/Feature/ProfileInformationTest.php: -------------------------------------------------------------------------------- 1 | actingAs($user = User::factory()->create()); 18 | 19 | $component = Livewire::test(UpdateProfileInformationForm::class); 20 | 21 | $this->assertEquals($user->name, $component->state['name']); 22 | $this->assertEquals($user->email, $component->state['email']); 23 | } 24 | 25 | public function test_profile_information_can_be_updated() 26 | { 27 | $this->actingAs($user = User::factory()->create()); 28 | 29 | Livewire::test(UpdateProfileInformationForm::class) 30 | ->set('state', ['name' => 'Test Name', 'email' => 'test@example.com']) 31 | ->call('updateProfileInformation'); 32 | 33 | $this->assertEquals('Test Name', $user->fresh()->name); 34 | $this->assertEquals('test@example.com', $user->fresh()->email); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /public/web.config: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | ./tests/Unit 10 | 11 | 12 | ./tests/Feature 13 | 14 | 15 | 16 | 17 | ./app 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /database/factories/ProductFactory.php: -------------------------------------------------------------------------------- 1 | faker->unique()->words($nb = 2, $asText = true); 26 | $slug = Str::slug($product_name); 27 | 28 | return [ 29 | 'name' => $product_name, 30 | 'slug' => $slug, 31 | 'short_description' => $this->faker->text(200), 32 | 'description' => $this->faker->text(500), 33 | 'regular_price' => $this->faker->numberBetween(10, 500), 34 | 'SKU' => 'DIGI' . $this->faker->unique()->numberBetween(100, 500), 35 | 'stock_status' => 'instock', 36 | 'quantity' => $this->faker->numberBetween(100, 200), 37 | 'image' => 'digital_' . $this->faker->unique()->numberBetween(1, 22) . '.jpg', 38 | 'category_id' => $this->faker->numberBetween(1, 5) 39 | ]; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /resources/views/auth/forgot-password.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | {{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }} 9 |
10 | 11 | @if (session('status')) 12 |
13 | {{ session('status') }} 14 |
15 | @endif 16 | 17 | 18 | 19 |
20 | @csrf 21 | 22 |
23 | 24 | 25 |
26 | 27 |
28 | 29 | {{ __('Email Password Reset Link') }} 30 | 31 |
32 |
33 |
34 |
35 | -------------------------------------------------------------------------------- /tests/Feature/CreateApiTokenTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('API support is not enabled.'); 20 | } 21 | 22 | $this->actingAs($user = User::factory()->withPersonalTeam()->create()); 23 | 24 | Livewire::test(ApiTokenManager::class) 25 | ->set(['createApiTokenForm' => [ 26 | 'name' => 'Test Token', 27 | 'permissions' => [ 28 | 'read', 29 | 'update', 30 | ], 31 | ]]) 32 | ->call('createApiToken'); 33 | 34 | $this->assertCount(1, $user->fresh()->tokens); 35 | $this->assertEquals('Test Token', $user->fresh()->tokens->first()->name); 36 | $this->assertTrue($user->fresh()->tokens->first()->can('read')); 37 | $this->assertFalse($user->fresh()->tokens->first()->can('delete')); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /tests/Feature/PasswordConfirmationTest.php: -------------------------------------------------------------------------------- 1 | withPersonalTeam()->create() 18 | : User::factory()->create(); 19 | 20 | $response = $this->actingAs($user)->get('/user/confirm-password'); 21 | 22 | $response->assertStatus(200); 23 | } 24 | 25 | public function test_password_can_be_confirmed() 26 | { 27 | $user = User::factory()->create(); 28 | 29 | $response = $this->actingAs($user)->post('/user/confirm-password', [ 30 | 'password' => 'password', 31 | ]); 32 | 33 | $response->assertRedirect(); 34 | $response->assertSessionHasNoErrors(); 35 | } 36 | 37 | public function test_password_is_not_confirmed_with_invalid_password() 38 | { 39 | $user = User::factory()->create(); 40 | 41 | $response = $this->actingAs($user)->post('/user/confirm-password', [ 42 | 'password' => 'wrong-password', 43 | ]); 44 | 45 | $response->assertSessionHasErrors(); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /resources/views/layouts/app.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ config('app.name', 'Laravel') }} 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | @livewireStyles 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | @livewire('navigation-menu') 26 | 27 | 28 |
29 |
30 | {{ $header }} 31 |
32 |
33 | 34 | 35 |
36 | {{ $slot }} 37 |
38 |
39 | 40 | @stack('modals') 41 | 42 | @livewireScripts 43 | 44 | 45 | -------------------------------------------------------------------------------- /app/Models/User.php: -------------------------------------------------------------------------------- 1 | 'datetime', 51 | ]; 52 | 53 | /** 54 | * The accessors to append to the model's array form. 55 | * 56 | * @var array 57 | */ 58 | protected $appends = [ 59 | 'profile_photo_url', 60 | ]; 61 | } 62 | -------------------------------------------------------------------------------- /app/Providers/FortifyServiceProvider.php: -------------------------------------------------------------------------------- 1 | by($request->email.$request->ip()); 41 | }); 42 | 43 | RateLimiter::for('two-factor', function (Request $request) { 44 | return Limit::perMinute(5)->by($request->session()->get('login.id')); 45 | }); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /tests/Feature/DeleteAccountTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('Account deletion is not enabled.'); 20 | } 21 | 22 | $this->actingAs($user = User::factory()->create()); 23 | 24 | $component = Livewire::test(DeleteUserForm::class) 25 | ->set('password', 'password') 26 | ->call('deleteUser'); 27 | 28 | $this->assertNull($user->fresh()); 29 | } 30 | 31 | public function test_correct_password_must_be_provided_before_account_can_be_deleted() 32 | { 33 | if (! Features::hasAccountDeletionFeatures()) { 34 | return $this->markTestSkipped('Account deletion is not enabled.'); 35 | } 36 | 37 | $this->actingAs($user = User::factory()->create()); 38 | 39 | Livewire::test(DeleteUserForm::class) 40 | ->set('password', 'wrong-password') 41 | ->call('deleteUser') 42 | ->assertHasErrors(['password']); 43 | 44 | $this->assertNotNull($user->fresh()); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /database/migrations/2021_01_21_160212_create_products_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('name'); 19 | $table->string('slug')->unique(); 20 | $table->string('short_description')->nullable(); 21 | $table->text('description'); 22 | $table->decimal('regular_price'); 23 | $table->decimal('sale_price')->nullable(); 24 | $table->string('SKU'); 25 | $table->enum('stock_status', ['instock', 'outofstpck']); 26 | $table->boolean('featured')->default(false); 27 | $table->unsignedInteger('quantity')->default(10); 28 | $table->string('image')->nullable(); 29 | $table->text('images')->nullable(); 30 | $table->bigInteger('category_id')->unsigned()->nullable(); 31 | $table->timestamps(); 32 | $table->foreign('category_id')->references('id')->on('categories')->onDelete('cascade'); 33 | }); 34 | } 35 | 36 | /** 37 | * Reverse the migrations. 38 | * 39 | * @return void 40 | */ 41 | public function down() 42 | { 43 | Schema::dropIfExists('products'); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /resources/views/auth/verify-email.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | {{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.') }} 9 |
10 | 11 | @if (session('status') == 'verification-link-sent') 12 |
13 | {{ __('A new verification link has been sent to the email address you provided during registration.') }} 14 |
15 | @endif 16 | 17 |
18 |
19 | @csrf 20 | 21 |
22 | 23 | {{ __('Resend Verification Email') }} 24 | 25 |
26 |
27 | 28 |
29 | @csrf 30 | 31 | 34 |
35 |
36 |
37 |
38 | -------------------------------------------------------------------------------- /tests/Feature/ApiTokenPermissionsTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('API support is not enabled.'); 21 | } 22 | 23 | $this->actingAs($user = User::factory()->withPersonalTeam()->create()); 24 | 25 | $token = $user->tokens()->create([ 26 | 'name' => 'Test Token', 27 | 'token' => Str::random(40), 28 | 'abilities' => ['create', 'read'], 29 | ]); 30 | 31 | Livewire::test(ApiTokenManager::class) 32 | ->set(['managingPermissionsFor' => $token]) 33 | ->set(['updateApiTokenForm' => [ 34 | 'permissions' => [ 35 | 'delete', 36 | 'missing-permission', 37 | ], 38 | ]]) 39 | ->call('updateApiToken'); 40 | 41 | $this->assertTrue($user->fresh()->tokens->first()->can('delete')); 42 | $this->assertFalse($user->fresh()->tokens->first()->can('read')); 43 | $this->assertFalse($user->fresh()->tokens->first()->can('missing-permission')); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /resources/views/auth/reset-password.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | @csrf 11 | 12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 | 21 | 22 |
23 | 24 |
25 | 26 | 27 |
28 | 29 |
30 | 31 | {{ __('Reset Password') }} 32 | 33 |
34 |
35 |
36 |
37 | -------------------------------------------------------------------------------- /resources/views/profile/show.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | {{ __('Profile') }} 5 |

6 |
7 | 8 |
9 |
10 | @if (Laravel\Fortify\Features::canUpdateProfileInformation()) 11 | @livewire('profile.update-profile-information-form') 12 | 13 | 14 | @endif 15 | 16 | @if (Laravel\Fortify\Features::enabled(Laravel\Fortify\Features::updatePasswords())) 17 |
18 | @livewire('profile.update-password-form') 19 |
20 | 21 | 22 | @endif 23 | 24 | @if (Laravel\Fortify\Features::canManageTwoFactorAuthentication()) 25 |
26 | @livewire('profile.two-factor-authentication-form') 27 |
28 | 29 | 30 | @endif 31 | 32 |
33 | @livewire('profile.logout-other-browser-sessions-form') 34 |
35 | 36 | @if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures()) 37 | 38 | 39 |
40 | @livewire('profile.delete-user-form') 41 |
42 | @endif 43 |
44 |
45 |
46 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Bcrypt Options 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may specify the configuration options that should be used when 26 | | passwords are hashed using the Bcrypt algorithm. This will allow you 27 | | to control the amount of time it takes to hash the given password. 28 | | 29 | */ 30 | 31 | 'bcrypt' => [ 32 | 'rounds' => env('BCRYPT_ROUNDS', 10), 33 | ], 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Argon Options 38 | |-------------------------------------------------------------------------- 39 | | 40 | | Here you may specify the configuration options that should be used when 41 | | passwords are hashed using the Argon algorithm. These will allow you 42 | | to control the amount of time it takes to hash the given password. 43 | | 44 | */ 45 | 46 | 'argon' => [ 47 | 'memory' => 1024, 48 | 'threads' => 2, 49 | 'time' => 2, 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /app/Http/Livewire/ShopComponent.php: -------------------------------------------------------------------------------- 1 | sorting = "default"; 19 | $this->pagesize = 12; 20 | } 21 | 22 | use WithPagination; 23 | public function render() 24 | { 25 | if($this->sorting == 'date'){ 26 | $products = Product::orderBy('created_at', 'DESC')->paginate($this->pagesize); 27 | } 28 | else if($this->sorting == 'price'){ 29 | $products = Product::orderBy('regular_price', 'ASC')->paginate($this->pagesize); 30 | } 31 | else if($this->sorting == 'price-desc'){ 32 | $products = Product::orderBy('regular_price', 'DESC')->paginate($this->pagesize); 33 | } 34 | else{ 35 | $products = Product::paginate($this->pagesize); 36 | } 37 | 38 | $popular_products = Product::inRandomOrder()->limit(4)->get(); 39 | 40 | $categories = Category::all(); 41 | 42 | return view('livewire.shop-component', [ 43 | 'products' => $products, 44 | 'popular_products' => $popular_products, 45 | 'categories' => $categories 46 | ])->layout('layouts.base'); 47 | } 48 | 49 | public function store($product_id, $product_name, $product_price) 50 | { 51 | Cart::add($product_id, $product_name, 1, $product_price)->associate('App\Models\Product'); 52 | session()->flash('success_message', 'Item added in Cart'); 53 | 54 | return redirect()->route('product.cart'); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | singleton( 30 | Illuminate\Contracts\Http\Kernel::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 42 | ); 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Return The Application 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This script returns the application instance. The instance is given to 50 | | the calling script so we can separate the building of the instances 51 | | from the actual running of the application and sending responses. 52 | | 53 | */ 54 | 55 | return $app; 56 | -------------------------------------------------------------------------------- /config/jetstream.php: -------------------------------------------------------------------------------- 1 | 'livewire', 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Jetstream Route Middleware 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may specify which middleware Jetstream will assign to the routes 26 | | that it registers with the application. When necessary, you may modify 27 | | these middleware; however, this default value is usually sufficient. 28 | | 29 | */ 30 | 31 | 'middleware' => ['web'], 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Features 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Some of Jetstream's features are optional. You may disable the features 39 | | by removing them from this array. You're free to only remove some of 40 | | these features or you can even remove all of these if you need to. 41 | | 42 | */ 43 | 44 | 'features' => [ 45 | // Features::termsAndPrivacyPolicy(), 46 | // Features::profilePhotos(), 47 | // Features::api(), 48 | // Features::teams(['invitations' => true]), 49 | Features::accountDeletion(), 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /config/sanctum.php: -------------------------------------------------------------------------------- 1 | explode(',', env( 17 | 'SANCTUM_STATEFUL_DOMAINS', 18 | 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1' 19 | )), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Expiration Minutes 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This value controls the number of minutes until an issued token will be 27 | | considered expired. If this value is null, personal access tokens do 28 | | not expire. This won't tweak the lifetime of first-party sessions. 29 | | 30 | */ 31 | 32 | 'expiration' => null, 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Sanctum Middleware 37 | |-------------------------------------------------------------------------- 38 | | 39 | | When authenticating your first-party SPA with Sanctum you may need to 40 | | customize some of the middleware Sanctum uses while processing the 41 | | request. You may change the middleware listed below as required. 42 | | 43 | */ 44 | 45 | 'middleware' => [ 46 | 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, 47 | 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, 48 | ], 49 | 50 | ]; 51 | -------------------------------------------------------------------------------- /resources/views/profile/update-password-form.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ __('Update Password') }} 4 | 5 | 6 | 7 | {{ __('Ensure your account is using a long, random password to stay secure.') }} 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 |
16 | 17 |
18 | 19 | 20 | 21 |
22 | 23 |
24 | 25 | 26 | 27 |
28 |
29 | 30 | 31 | 32 | {{ __('Saved.') }} 33 | 34 | 35 | 36 | {{ __('Save') }} 37 | 38 | 39 |
40 | -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | make(Illuminate\Contracts\Console\Kernel::class); 34 | 35 | $status = $kernel->handle( 36 | $input = new Symfony\Component\Console\Input\ArgvInput, 37 | new Symfony\Component\Console\Output\ConsoleOutput 38 | ); 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Shutdown The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once Artisan has finished running, we will fire off the shutdown events 46 | | so that any final work may be done by the application before we shut 47 | | down the process. This is the last thing to happen to the request. 48 | | 49 | */ 50 | 51 | $kernel->terminate($input, $status); 52 | 53 | exit($status); 54 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class); 50 | 51 | $response = tap($kernel->handle( 52 | $request = Request::capture() 53 | ))->send(); 54 | 55 | $kernel->terminate($request, $response); 56 | -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- 1 | configureRateLimiting(); 39 | 40 | $this->routes(function () { 41 | Route::prefix('api') 42 | ->middleware('api') 43 | ->namespace($this->namespace) 44 | ->group(base_path('routes/api.php')); 45 | 46 | Route::middleware('web') 47 | ->namespace($this->namespace) 48 | ->group(base_path('routes/web.php')); 49 | }); 50 | } 51 | 52 | /** 53 | * Configure the rate limiters for the application. 54 | * 55 | * @return void 56 | */ 57 | protected function configureRateLimiting() 58 | { 59 | RateLimiter::for('api', function (Request $request) { 60 | return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); 61 | }); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'null'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Broadcast Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the broadcast connections that will be used 26 | | to broadcast events to other systems or over websockets. Samples of 27 | | each available type of connection are provided inside this array. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'pusher' => [ 34 | 'driver' => 'pusher', 35 | 'key' => env('PUSHER_APP_KEY'), 36 | 'secret' => env('PUSHER_APP_SECRET'), 37 | 'app_id' => env('PUSHER_APP_ID'), 38 | 'options' => [ 39 | 'cluster' => env('PUSHER_APP_CLUSTER'), 40 | 'useTLS' => true, 41 | ], 42 | ], 43 | 44 | 'ably' => [ 45 | 'driver' => 'ably', 46 | 'key' => env('ABLY_KEY'), 47 | ], 48 | 49 | 'redis' => [ 50 | 'driver' => 'redis', 51 | 'connection' => 'default', 52 | ], 53 | 54 | 'log' => [ 55 | 'driver' => 'log', 56 | ], 57 | 58 | 'null' => [ 59 | 'driver' => 'null', 60 | ], 61 | 62 | ], 63 | 64 | ]; 65 | -------------------------------------------------------------------------------- /app/Actions/Fortify/UpdateUserProfileInformation.php: -------------------------------------------------------------------------------- 1 | ['required', 'string', 'max:255'], 23 | 'email' => ['required', 'email', 'max:255', Rule::unique('users')->ignore($user->id)], 24 | 'photo' => ['nullable', 'image', 'max:1024'], 25 | ])->validateWithBag('updateProfileInformation'); 26 | 27 | if (isset($input['photo'])) { 28 | $user->updateProfilePhoto($input['photo']); 29 | } 30 | 31 | if ($input['email'] !== $user->email && 32 | $user instanceof MustVerifyEmail) { 33 | $this->updateVerifiedUser($user, $input); 34 | } else { 35 | $user->forceFill([ 36 | 'name' => $input['name'], 37 | 'email' => $input['email'], 38 | ])->save(); 39 | } 40 | } 41 | 42 | /** 43 | * Update the given verified user's profile information. 44 | * 45 | * @param mixed $user 46 | * @param array $input 47 | * @return void 48 | */ 49 | protected function updateVerifiedUser($user, array $input) 50 | { 51 | $user->forceFill([ 52 | 'name' => $input['name'], 53 | 'email' => $input['email'], 54 | 'email_verified_at' => null, 55 | ])->save(); 56 | 57 | $user->sendEmailVerificationNotification(); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "laravel/laravel", 3 | "type": "project", 4 | "description": "The Laravel Framework.", 5 | "keywords": [ 6 | "framework", 7 | "laravel" 8 | ], 9 | "license": "MIT", 10 | "require": { 11 | "php": "^7.3|^8.0", 12 | "fideloper/proxy": "^4.4", 13 | "fruitcake/laravel-cors": "^2.0", 14 | "guzzlehttp/guzzle": "^7.0.1", 15 | "hardevine/shoppingcart": "^2.9", 16 | "laravel/framework": "^8.12", 17 | "laravel/jetstream": "^2.1", 18 | "laravel/sanctum": "^2.6", 19 | "laravel/tinker": "^2.5", 20 | "livewire/livewire": "^2.0" 21 | }, 22 | "require-dev": { 23 | "facade/ignition": "^2.5", 24 | "fakerphp/faker": "^1.9.1", 25 | "laravel/sail": "^1.0.1", 26 | "mockery/mockery": "^1.4.2", 27 | "nunomaduro/collision": "^5.0", 28 | "phpunit/phpunit": "^9.3.3" 29 | }, 30 | "config": { 31 | "optimize-autoloader": true, 32 | "preferred-install": "dist", 33 | "sort-packages": true 34 | }, 35 | "extra": { 36 | "laravel": { 37 | "dont-discover": [] 38 | } 39 | }, 40 | "autoload": { 41 | "psr-4": { 42 | "App\\": "app/", 43 | "Database\\Factories\\": "database/factories/", 44 | "Database\\Seeders\\": "database/seeders/" 45 | } 46 | }, 47 | "autoload-dev": { 48 | "psr-4": { 49 | "Tests\\": "tests/" 50 | } 51 | }, 52 | "minimum-stability": "dev", 53 | "prefer-stable": true, 54 | "scripts": { 55 | "post-autoload-dump": [ 56 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 57 | "@php artisan package:discover --ansi" 58 | ], 59 | "post-root-package-install": [ 60 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 61 | ], 62 | "post-create-project-cmd": [ 63 | "@php artisan key:generate --ansi" 64 | ] 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /tests/Feature/TwoFactorAuthenticationSettingsTest.php: -------------------------------------------------------------------------------- 1 | actingAs($user = User::factory()->create()); 18 | 19 | $this->withSession(['auth.password_confirmed_at' => time()]); 20 | 21 | Livewire::test(TwoFactorAuthenticationForm::class) 22 | ->call('enableTwoFactorAuthentication'); 23 | 24 | $user = $user->fresh(); 25 | 26 | $this->assertNotNull($user->two_factor_secret); 27 | $this->assertCount(8, $user->recoveryCodes()); 28 | } 29 | 30 | public function test_recovery_codes_can_be_regenerated() 31 | { 32 | $this->actingAs($user = User::factory()->create()); 33 | 34 | $this->withSession(['auth.password_confirmed_at' => time()]); 35 | 36 | $component = Livewire::test(TwoFactorAuthenticationForm::class) 37 | ->call('enableTwoFactorAuthentication') 38 | ->call('regenerateRecoveryCodes'); 39 | 40 | $user = $user->fresh(); 41 | 42 | $component->call('regenerateRecoveryCodes'); 43 | 44 | $this->assertCount(8, $user->recoveryCodes()); 45 | $this->assertCount(8, array_diff($user->recoveryCodes(), $user->fresh()->recoveryCodes())); 46 | } 47 | 48 | public function test_two_factor_authentication_can_be_disabled() 49 | { 50 | $this->actingAs($user = User::factory()->create()); 51 | 52 | $this->withSession(['auth.password_confirmed_at' => time()]); 53 | 54 | $component = Livewire::test(TwoFactorAuthenticationForm::class) 55 | ->call('enableTwoFactorAuthentication'); 56 | 57 | $this->assertNotNull($user->fresh()->two_factor_secret); 58 | 59 | $component->call('disableTwoFactorAuthentication'); 60 | 61 | $this->assertNull($user->fresh()->two_factor_secret); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /tests/Feature/UpdatePasswordTest.php: -------------------------------------------------------------------------------- 1 | actingAs($user = User::factory()->create()); 19 | 20 | Livewire::test(UpdatePasswordForm::class) 21 | ->set('state', [ 22 | 'current_password' => 'password', 23 | 'password' => 'new-password', 24 | 'password_confirmation' => 'new-password', 25 | ]) 26 | ->call('updatePassword'); 27 | 28 | $this->assertTrue(Hash::check('new-password', $user->fresh()->password)); 29 | } 30 | 31 | public function test_current_password_must_be_correct() 32 | { 33 | $this->actingAs($user = User::factory()->create()); 34 | 35 | Livewire::test(UpdatePasswordForm::class) 36 | ->set('state', [ 37 | 'current_password' => 'wrong-password', 38 | 'password' => 'new-password', 39 | 'password_confirmation' => 'new-password', 40 | ]) 41 | ->call('updatePassword') 42 | ->assertHasErrors(['current_password']); 43 | 44 | $this->assertTrue(Hash::check('password', $user->fresh()->password)); 45 | } 46 | 47 | public function test_new_passwords_must_match() 48 | { 49 | $this->actingAs($user = User::factory()->create()); 50 | 51 | Livewire::test(UpdatePasswordForm::class) 52 | ->set('state', [ 53 | 'current_password' => 'password', 54 | 'password' => 'new-password', 55 | 'password_confirmation' => 'wrong-password', 56 | ]) 57 | ->call('updatePassword') 58 | ->assertHasErrors(['password']); 59 | 60 | $this->assertTrue(Hash::check('password', $user->fresh()->password)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /app/Http/Livewire/CategoryComponent.php: -------------------------------------------------------------------------------- 1 | sorting = "default"; 20 | $this->pagesize = 12; 21 | $this->category_slug = $category_slug; 22 | } 23 | 24 | use WithPagination; 25 | public function render() 26 | { 27 | $category = Category::where('slug', $this->category_slug)->first(); 28 | $category_id = $category->id; 29 | $category_name = $category->name; 30 | 31 | if($this->sorting == 'date'){ 32 | $products = Product::where('category_id', $category_id)->orderBy('created_at', 'DESC')->paginate($this->pagesize); 33 | } 34 | else if($this->sorting == 'price'){ 35 | $products = Product::where('category_id', $category_id)->orderBy('regular_price', 'ASC')->paginate($this->pagesize); 36 | } 37 | else if($this->sorting == 'price-desc'){ 38 | $products = Product::where('category_id', $category_id)->orderBy('regular_price', 'DESC')->paginate($this->pagesize); 39 | } 40 | else{ 41 | $products = Product::where('category_id', $category_id)->paginate($this->pagesize); 42 | } 43 | 44 | $popular_products = Product::inRandomOrder()->limit(4)->get(); 45 | 46 | $categories = Category::all(); 47 | 48 | return view('livewire.category-component', [ 49 | 'products' => $products, 50 | 'popular_products' => $popular_products, 51 | 'categories' => $categories, 52 | 'category_name' => $category_name 53 | ])->layout('layouts.base'); 54 | } 55 | 56 | public function store($product_id, $product_name, $product_price) 57 | { 58 | Cart::add($product_id, $product_name, 1, $product_price)->associate('App\Models\Product'); 59 | session()->flash('success_message', 'Item added in Cart'); 60 | 61 | return redirect()->route('product.cart'); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /tests/Feature/PasswordResetTest.php: -------------------------------------------------------------------------------- 1 | get('/forgot-password'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | 22 | public function test_reset_password_link_can_be_requested() 23 | { 24 | Notification::fake(); 25 | 26 | $user = User::factory()->create(); 27 | 28 | $response = $this->post('/forgot-password', [ 29 | 'email' => $user->email, 30 | ]); 31 | 32 | Notification::assertSentTo($user, ResetPassword::class); 33 | } 34 | 35 | public function test_reset_password_screen_can_be_rendered() 36 | { 37 | Notification::fake(); 38 | 39 | $user = User::factory()->create(); 40 | 41 | $response = $this->post('/forgot-password', [ 42 | 'email' => $user->email, 43 | ]); 44 | 45 | Notification::assertSentTo($user, ResetPassword::class, function ($notification) { 46 | $response = $this->get('/reset-password/'.$notification->token); 47 | 48 | $response->assertStatus(200); 49 | 50 | return true; 51 | }); 52 | } 53 | 54 | public function test_password_can_be_reset_with_valid_token() 55 | { 56 | Notification::fake(); 57 | 58 | $user = User::factory()->create(); 59 | 60 | $response = $this->post('/forgot-password', [ 61 | 'email' => $user->email, 62 | ]); 63 | 64 | Notification::assertSentTo($user, ResetPassword::class, function ($notification) use ($user) { 65 | $response = $this->post('/reset-password', [ 66 | 'token' => $notification->token, 67 | 'email' => $user->email, 68 | 'password' => 'password', 69 | 'password_confirmation' => 'password', 70 | ]); 71 | 72 | $response->assertSessionHasNoErrors(); 73 | 74 | return true; 75 | }); 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /app/Http/Livewire/SearchComponent.php: -------------------------------------------------------------------------------- 1 | sorting = "default"; 22 | $this->pagesize = 12; 23 | $this->fill(request()->only('search', 'product_cat', 'product_cat_id')); 24 | } 25 | 26 | use WithPagination; 27 | public function render() 28 | { 29 | if ($this->sorting == 'date') { 30 | $products = Product::where('name', 'like', '%' . $this->search . '%')->where('category_id', 'like', '%'. $this->product_cat_id)->orderBy('created_at', 'DESC')->paginate($this->pagesize); 31 | } else if ($this->sorting == 'price') { 32 | $products = Product::where('name', 'like', '%' . $this->search . '%')->where('category_id', 'like', '%'. $this->product_cat_id)->orderBy('regular_price', 'ASC')->paginate($this->pagesize); 33 | } else if ($this->sorting == 'price-desc') { 34 | $products = Product::where('name', 'like', '%' . $this->search . '%')->where('category_id', 'like', '%'. $this->product_cat_id)->orderBy('regular_price', 'DESC')->paginate($this->pagesize); 35 | } else { 36 | $products = Product::where('name', 'like', '%' . $this->search . '%')->where('category_id', 'like', '%'. $this->product_cat_id)->paginate($this->pagesize); 37 | } 38 | 39 | $popular_products = Product::inRandomOrder()->limit(4)->get(); 40 | 41 | $categories = Category::all(); 42 | 43 | return view('livewire.search-component', [ 44 | 'products' => $products, 45 | 'popular_products' => $popular_products, 46 | 'categories' => $categories 47 | ])->layout('layouts.base'); 48 | } 49 | 50 | public function store($product_id, $product_name, $product_price) 51 | { 52 | Cart::add($product_id, $product_name, 1, $product_price)->associate('App\Models\Product'); 53 | session()->flash('success_message', 'Item added in Cart'); 54 | 55 | return redirect()->route('product.cart'); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /public/assets/fonts/flexslider-icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG font generated by IcoMoon. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('FILESYSTEM_DRIVER', 'local'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Filesystem Disks 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure as many filesystem "disks" as you wish, and you 24 | | may even configure multiple disks of the same driver. Defaults have 25 | | been setup for each driver as an example of the required options. 26 | | 27 | | Supported Drivers: "local", "ftp", "sftp", "s3" 28 | | 29 | */ 30 | 31 | 'disks' => [ 32 | 33 | 'local' => [ 34 | 'driver' => 'local', 35 | 'root' => storage_path('app'), 36 | ], 37 | 38 | 'public' => [ 39 | 'driver' => 'local', 40 | 'root' => storage_path('app/public'), 41 | 'url' => env('APP_URL').'/storage', 42 | 'visibility' => 'public', 43 | ], 44 | 45 | 's3' => [ 46 | 'driver' => 's3', 47 | 'key' => env('AWS_ACCESS_KEY_ID'), 48 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 49 | 'region' => env('AWS_DEFAULT_REGION'), 50 | 'bucket' => env('AWS_BUCKET'), 51 | 'url' => env('AWS_URL'), 52 | 'endpoint' => env('AWS_ENDPOINT'), 53 | ], 54 | 55 | ], 56 | 57 | /* 58 | |-------------------------------------------------------------------------- 59 | | Symbolic Links 60 | |-------------------------------------------------------------------------- 61 | | 62 | | Here you may configure the symbolic links that will be created when the 63 | | `storage:link` Artisan command is executed. The array keys should be 64 | | the locations of the links and the values should be their targets. 65 | | 66 | */ 67 | 68 | 'links' => [ 69 | public_path('storage') => storage_path('app/public'), 70 | ], 71 | 72 | ]; 73 | -------------------------------------------------------------------------------- /resources/views/profile/delete-user-form.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ __('Delete Account') }} 4 | 5 | 6 | 7 | {{ __('Permanently delete your account.') }} 8 | 9 | 10 | 11 |
12 | {{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.') }} 13 |
14 | 15 |
16 | 17 | {{ __('Delete Account') }} 18 | 19 |
20 | 21 | 22 | 23 | 24 | {{ __('Delete Account') }} 25 | 26 | 27 | 28 | {{ __('Are you sure you want to delete your account? Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.') }} 29 | 30 |
31 | 36 | 37 | 38 |
39 |
40 | 41 | 42 | 43 | {{ __('Nevermind') }} 44 | 45 | 46 | 47 | {{ __('Delete Account') }} 48 | 49 | 50 |
51 |
52 |
53 | -------------------------------------------------------------------------------- /tests/Feature/EmailVerificationTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('Email verification not enabled.'); 22 | } 23 | 24 | $user = User::factory()->create([ 25 | 'email_verified_at' => null, 26 | ]); 27 | 28 | $response = $this->actingAs($user)->get('/email/verify'); 29 | 30 | $response->assertStatus(200); 31 | } 32 | 33 | public function test_email_can_be_verified() 34 | { 35 | if (! Features::enabled(Features::emailVerification())) { 36 | return $this->markTestSkipped('Email verification not enabled.'); 37 | } 38 | 39 | Event::fake(); 40 | 41 | $user = User::factory()->create([ 42 | 'email_verified_at' => null, 43 | ]); 44 | 45 | $verificationUrl = URL::temporarySignedRoute( 46 | 'verification.verify', 47 | now()->addMinutes(60), 48 | ['id' => $user->id, 'hash' => sha1($user->email)] 49 | ); 50 | 51 | $response = $this->actingAs($user)->get($verificationUrl); 52 | 53 | Event::assertDispatched(Verified::class); 54 | 55 | $this->assertTrue($user->fresh()->hasVerifiedEmail()); 56 | $response->assertRedirect(RouteServiceProvider::HOME.'?verified=1'); 57 | } 58 | 59 | public function test_email_can_not_verified_with_invalid_hash() 60 | { 61 | if (! Features::enabled(Features::emailVerification())) { 62 | return $this->markTestSkipped('Email verification not enabled.'); 63 | } 64 | 65 | $user = User::factory()->create([ 66 | 'email_verified_at' => null, 67 | ]); 68 | 69 | $verificationUrl = URL::temporarySignedRoute( 70 | 'verification.verify', 71 | now()->addMinutes(60), 72 | ['id' => $user->id, 'hash' => sha1('wrong-email')] 73 | ); 74 | 75 | $this->actingAs($user)->get($verificationUrl); 76 | 77 | $this->assertFalse($user->fresh()->hasVerifiedEmail()); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | [ 33 | \App\Http\Middleware\EncryptCookies::class, 34 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 35 | \Illuminate\Session\Middleware\StartSession::class, 36 | \Laravel\Jetstream\Http\Middleware\AuthenticateSession::class, 37 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 38 | \App\Http\Middleware\VerifyCsrfToken::class, 39 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 40 | ], 41 | 42 | 'api' => [ 43 | 'throttle:api', 44 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 45 | ], 46 | ]; 47 | 48 | /** 49 | * The application's route middleware. 50 | * 51 | * These middleware may be assigned to groups or used individually. 52 | * 53 | * @var array 54 | */ 55 | protected $routeMiddleware = [ 56 | 'authadmin' => \App\Http\Middleware\AuthAdmin::class, 57 | 'auth' => \App\Http\Middleware\Authenticate::class, 58 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 59 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 60 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 61 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 62 | 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, 63 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 64 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 65 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 66 | ]; 67 | } 68 | -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- 1 | name('product.cart'); 41 | 42 | Route::get('/checkout', CheckoutComponent::class); 43 | 44 | Route::get('/product/{slug}', DetailsComponent::class)->name('product.details'); 45 | 46 | Route::get('/product-category/{category_slug}', CategoryComponent::class)->name('product.category'); 47 | 48 | Route::get('/search', SearchComponent::class)->name('product.search'); 49 | 50 | Route::get('/contact-us', ContactUsComponent::class); 51 | 52 | Route::get('/about-us', AboutUsComponent::class); 53 | 54 | Route::get('/privacy-policy', PrivacyPolicyComponent::class); 55 | 56 | Route::get('/return-policy', ReturnPolicyComponent::class); 57 | 58 | Route::get('/terms-conditions', TermsConditionsComponent::class); 59 | 60 | /* 61 | // Dashboard igual para todos los tipos de usuario 62 | Route::middleware(['auth:sanctum', 'verified'])->get('/dashboard', function () { 63 | return view('dashboard'); 64 | })->name('dashboard'); 65 | */ 66 | 67 | // Dashboard particular para usuarios o clientes 68 | Route::middleware(['auth:sanctum', 'verified'])->group(function(){ 69 | Route::get('/user/dashboard', UserDashboardComponent::class)->name('user.dashboard'); 70 | }); 71 | 72 | // Dashboard particular para administradores 73 | Route::middleware(['auth:sanctum', 'verified'])->group(function(){ 74 | Route::get('/admin/dashboard', AdminDashboardComponent::class)->name('admin.dashboard'); 75 | }); -------------------------------------------------------------------------------- /resources/views/auth/two-factor-challenge.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
9 | {{ __('Please confirm access to your account by entering the authentication code provided by your authenticator application.') }} 10 |
11 | 12 |
13 | {{ __('Please confirm access to your account by entering one of your emergency recovery codes.') }} 14 |
15 | 16 | 17 | 18 |
19 | @csrf 20 | 21 |
22 | 23 | 24 |
25 | 26 |
27 | 28 | 29 |
30 | 31 |
32 | 40 | 41 | 49 | 50 | 51 | {{ __('Login') }} 52 | 53 |
54 |
55 |
56 |
57 |
58 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | env('QUEUE_CONNECTION', 'sync'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Queue Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the connection information for each server that 24 | | is used by your application. A default configuration has been added 25 | | for each back-end shipped with Laravel. You are free to add more. 26 | | 27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'sync' => [ 34 | 'driver' => 'sync', 35 | ], 36 | 37 | 'database' => [ 38 | 'driver' => 'database', 39 | 'table' => 'jobs', 40 | 'queue' => 'default', 41 | 'retry_after' => 90, 42 | ], 43 | 44 | 'beanstalkd' => [ 45 | 'driver' => 'beanstalkd', 46 | 'host' => 'localhost', 47 | 'queue' => 'default', 48 | 'retry_after' => 90, 49 | 'block_for' => 0, 50 | ], 51 | 52 | 'sqs' => [ 53 | 'driver' => 'sqs', 54 | 'key' => env('AWS_ACCESS_KEY_ID'), 55 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 56 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 57 | 'queue' => env('SQS_QUEUE', 'your-queue-name'), 58 | 'suffix' => env('SQS_SUFFIX'), 59 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 60 | ], 61 | 62 | 'redis' => [ 63 | 'driver' => 'redis', 64 | 'connection' => 'default', 65 | 'queue' => env('REDIS_QUEUE', 'default'), 66 | 'retry_after' => 90, 67 | 'block_for' => null, 68 | ], 69 | 70 | ], 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | Failed Queue Jobs 75 | |-------------------------------------------------------------------------- 76 | | 77 | | These options configure the behavior of failed queue job logging so you 78 | | can control which database and table are used to store the jobs that 79 | | have failed. You may change them to any database / table you wish. 80 | | 81 | */ 82 | 83 | 'failed' => [ 84 | 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), 85 | 'database' => env('DB_CONNECTION', 'mysql'), 86 | 'table' => 'failed_jobs', 87 | ], 88 | 89 | ]; 90 | -------------------------------------------------------------------------------- /public/assets/css/owl.carousel.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.3.4 3 | * Copyright 2013-2018 David Deutsch 4 | * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE 5 | */ 6 | .owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:0 0;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.html) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%} -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- 1 | env('LOG_CHANNEL', 'stack'), 21 | 22 | /* 23 | |-------------------------------------------------------------------------- 24 | | Log Channels 25 | |-------------------------------------------------------------------------- 26 | | 27 | | Here you may configure the log channels for your application. Out of 28 | | the box, Laravel uses the Monolog PHP logging library. This gives 29 | | you a variety of powerful log handlers / formatters to utilize. 30 | | 31 | | Available Drivers: "single", "daily", "slack", "syslog", 32 | | "errorlog", "monolog", 33 | | "custom", "stack" 34 | | 35 | */ 36 | 37 | 'channels' => [ 38 | 'stack' => [ 39 | 'driver' => 'stack', 40 | 'channels' => ['single'], 41 | 'ignore_exceptions' => false, 42 | ], 43 | 44 | 'single' => [ 45 | 'driver' => 'single', 46 | 'path' => storage_path('logs/laravel.log'), 47 | 'level' => env('LOG_LEVEL', 'debug'), 48 | ], 49 | 50 | 'daily' => [ 51 | 'driver' => 'daily', 52 | 'path' => storage_path('logs/laravel.log'), 53 | 'level' => env('LOG_LEVEL', 'debug'), 54 | 'days' => 14, 55 | ], 56 | 57 | 'slack' => [ 58 | 'driver' => 'slack', 59 | 'url' => env('LOG_SLACK_WEBHOOK_URL'), 60 | 'username' => 'Laravel Log', 61 | 'emoji' => ':boom:', 62 | 'level' => env('LOG_LEVEL', 'critical'), 63 | ], 64 | 65 | 'papertrail' => [ 66 | 'driver' => 'monolog', 67 | 'level' => env('LOG_LEVEL', 'debug'), 68 | 'handler' => SyslogUdpHandler::class, 69 | 'handler_with' => [ 70 | 'host' => env('PAPERTRAIL_URL'), 71 | 'port' => env('PAPERTRAIL_PORT'), 72 | ], 73 | ], 74 | 75 | 'stderr' => [ 76 | 'driver' => 'monolog', 77 | 'handler' => StreamHandler::class, 78 | 'formatter' => env('LOG_STDERR_FORMATTER'), 79 | 'with' => [ 80 | 'stream' => 'php://stderr', 81 | ], 82 | ], 83 | 84 | 'syslog' => [ 85 | 'driver' => 'syslog', 86 | 'level' => env('LOG_LEVEL', 'debug'), 87 | ], 88 | 89 | 'errorlog' => [ 90 | 'driver' => 'errorlog', 91 | 'level' => env('LOG_LEVEL', 'debug'), 92 | ], 93 | 94 | 'null' => [ 95 | 'driver' => 'monolog', 96 | 'handler' => NullHandler::class, 97 | ], 98 | 99 | 'emergency' => [ 100 | 'path' => storage_path('logs/laravel.log'), 101 | ], 102 | ], 103 | 104 | ]; 105 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | env('CACHE_DRIVER', 'file'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Cache Stores 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the cache "stores" for your application as 26 | | well as their drivers. You may even define multiple stores for the 27 | | same cache driver to group types of items stored in your caches. 28 | | 29 | | Supported drivers: "apc", "array", "database", "file", 30 | | "memcached", "redis", "dynamodb", "null" 31 | | 32 | */ 33 | 34 | 'stores' => [ 35 | 36 | 'apc' => [ 37 | 'driver' => 'apc', 38 | ], 39 | 40 | 'array' => [ 41 | 'driver' => 'array', 42 | 'serialize' => false, 43 | ], 44 | 45 | 'database' => [ 46 | 'driver' => 'database', 47 | 'table' => 'cache', 48 | 'connection' => null, 49 | 'lock_connection' => null, 50 | ], 51 | 52 | 'file' => [ 53 | 'driver' => 'file', 54 | 'path' => storage_path('framework/cache/data'), 55 | ], 56 | 57 | 'memcached' => [ 58 | 'driver' => 'memcached', 59 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 60 | 'sasl' => [ 61 | env('MEMCACHED_USERNAME'), 62 | env('MEMCACHED_PASSWORD'), 63 | ], 64 | 'options' => [ 65 | // Memcached::OPT_CONNECT_TIMEOUT => 2000, 66 | ], 67 | 'servers' => [ 68 | [ 69 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 70 | 'port' => env('MEMCACHED_PORT', 11211), 71 | 'weight' => 100, 72 | ], 73 | ], 74 | ], 75 | 76 | 'redis' => [ 77 | 'driver' => 'redis', 78 | 'connection' => 'cache', 79 | 'lock_connection' => 'default', 80 | ], 81 | 82 | 'dynamodb' => [ 83 | 'driver' => 'dynamodb', 84 | 'key' => env('AWS_ACCESS_KEY_ID'), 85 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 86 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 87 | 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), 88 | 'endpoint' => env('DYNAMODB_ENDPOINT'), 89 | ], 90 | 91 | ], 92 | 93 | /* 94 | |-------------------------------------------------------------------------- 95 | | Cache Key Prefix 96 | |-------------------------------------------------------------------------- 97 | | 98 | | When utilizing a RAM based store such as APC or Memcached, there might 99 | | be other applications utilizing the same cache. So, we'll specify a 100 | | value to get prefixed to all our keys so we can avoid collisions. 101 | | 102 | */ 103 | 104 | 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), 105 | 106 | ]; 107 | -------------------------------------------------------------------------------- /resources/views/profile/update-profile-information-form.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ __('Profile Information') }} 4 | 5 | 6 | 7 | {{ __('Update your account\'s profile information and email address.') }} 8 | 9 | 10 | 11 | 12 | @if (Laravel\Jetstream\Jetstream::managesProfilePhotos()) 13 |
14 | 15 | 26 | 27 | 28 | 29 | 30 |
31 | {{ $this->user->name }} 32 |
33 | 34 | 35 |
36 | 38 | 39 |
40 | 41 | 42 | {{ __('Select A New Photo') }} 43 | 44 | 45 | @if ($this->user->profile_photo_path) 46 | 47 | {{ __('Remove Photo') }} 48 | 49 | @endif 50 | 51 | 52 |
53 | @endif 54 | 55 | 56 |
57 | 58 | 59 | 60 |
61 | 62 | 63 |
64 | 65 | 66 | 67 |
68 |
69 | 70 | 71 | 72 | {{ __('Saved.') }} 73 | 74 | 75 | 76 | {{ __('Save') }} 77 | 78 | 79 |
80 | --------------------------------------------------------------------------------