Compare commits

...

No commits in common. "balance" and "main" have entirely different histories.

2897 changed files with 57728 additions and 265883 deletions

View File

@ -1,15 +1,14 @@
APP_NAME=Bagisto
APP_ENV=local
APP_VERSION=1.4.5
APP_VERSION=1.3.3
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_ADMIN_URL=admin
APP_TIMEZONE=Asia/Kolkata
APP_LOCALE=en
APP_CURRENCY=USD
LOG_CHANNEL=stack
APP_CURRENCY=USD
DB_CONNECTION=mysql
DB_HOST=127.0.0.1

46
.env.testing Normal file
View File

@ -0,0 +1,46 @@
APP_NAME=Laravel
APP_ENV=local
APP_VERSION=1.3.3
APP_KEY=base64:G4KY3tUsTaY9ONo1n/QyJvVLQZdJDgbIkSJswFK01HE=
APP_DEBUG=true
APP_URL=http://localhost
APP_ADMIN_URL=admin
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=bagisto_testing
DB_USERNAME=bagisto
DB_PASSWORD=secret
DB_PREFIX=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
SHOP_MAIL_FROM=test@example.com
ADMIN_MAIL_TO=test@example.com

View File

@ -1,25 +0,0 @@
## How to contribute to Bagisto
### **Bug Reporting**
1. Verify that the bug was not already reported by searching on GitHub in the [Issues section](https://github.com/bagisto/bagisto/issues)
If you're unable to find an open issue, [open a new one](https://github.com/bagisto/bagisto/issues/new?assignees=&labels=&template=1_Bug_report.md).
2. Verify that the bug you are reporting is a general issue and not specific to your individual setup.
For individual issues please use the [Community Forum](https://forums.bagisto.com/).
#### **Did you fix a bug?**
1. To provide a code contribution for an issue you will need to set up your own fork of the [Bagisto repository](https://github.com/bagisto/bagisto).
Make your code changes, commit the changes and make a [Pull Request](https://help.github.com/articles/about-pull-requests/) to the [Bagisto repository](https://github.com/bagisto/bagisto).
2. Separate each fix into a new branch in your repository and name it with the issue ID e.g. issue-1234.
3. When committing to your individual branch, please try and use the following as your commit message
```Fixed #1234 - <the subject of the issue>```
4. Please follow the pull request [template](https://github.com/bagisto/bagisto/blob/master/.github/PULL_REQUEST_TEMPLATE.md) as much as possible.
### **Did you create a new feature or enhancement?**
1. To provide a code contribution for a new feature or enhancement a [feature request](https://github.com/bagisto/bagisto/issues/new?assignees=&labels=&template=2_Feature_request.md) report should be created in case it doesn't exist.
2. To contribute a feature to Bagisto, you must create a forked repository and set up your git and development environment.
3. Make sure your commit messages are relevant and descriptive.
4. Please follow the pull request [template](https://github.com/bagisto/bagisto/blob/master/.github/PULL_REQUEST_TEMPLATE.md) as much as possible.

3
.github/FUNDING.yml vendored
View File

@ -1,3 +0,0 @@
# These are supported funding model platforms
open_collective: bagisto

View File

@ -1,83 +0,0 @@
name: 🐛 Bug report
description: Report a general issue.
labels: ['Bug']
body:
- type: checkboxes
id: terms
attributes:
label: Terms
options:
- label: Before you openning this issue, i have checked if the issue has already been reported.
required: true
# input box
- type: input
id: versioninput
attributes:
label: Bagisto Version(s) affected
description: Please enter the Bagisto version(s) affected by this issue.
placeholder: 'x.y.z'
validations:
required: true
- type: textarea
id: description
attributes:
label: Issue Description
description: Provide a more detailed introduction to the issue itself.
validations:
required: true
- type: textarea
id: precon
attributes:
label: Preconditions
description: Please provide as detailed information about your environment as possible.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: It is important to provide a set of clear steps to reproduce this bug. If relevant please include code samples.
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Result
description: A clear and concise description of what should happen.
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual Result
description: A clear and concise description of what happens instead.
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please add screenshots if applicable
validations:
required: false
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: false

View File

@ -1,8 +0,0 @@
blank_issues_enabled: false
contact_links:
- name: 💬 Community Forum
url: https://forums.bagisto.com
about: Ask the community for help on our forum.
- name: ❔ Support Question
url: https://bagisto.uvdesk.com/en/customer/create-ticket/
about: This repository is only for reporting bugs or feature requests, please create a support ticket if you need any assistance from our team.

View File

@ -1,35 +0,0 @@
name: 💡 Feature request
description: Have a new idea/feature ? Share it with our team !
labels: ['Feature Request']
body:
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: extrainfo
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false

View File

@ -1,12 +0,0 @@
## Issue Reference
<!--- Please mention issue #id or use a comma if your pull request solves multiple issues. -->
## Description
<!--- Please describe your changes in detail. -->
## How To Test This?
<!--- Please describe in detail how to test the changes made in this pull request. -->
## Documentation
- [ ] My pull request requires an update on the documentation repository.
<!--- Please describe in detail what needs to be changed. --->

View File

@ -1,90 +0,0 @@
name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
tests:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1']
name: PHP ${{ matrix.php-versions }} test on ${{ matrix.operating-system }}
services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: bagisto
ports:
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: curl, gd, intl, mbstring, openssl, pdo, pdo_mysql, tokenizer, zip
- name: Composer Install
run: |
set -e
composer install --no-cache
- name: Set Testing Environment
run: |
cp .env.example .env.testing
set -e
sed -i "s|^\(APP_ENV=\s*\).*$|\1testing|" .env.testing
sed -i "s|^\(DB_HOST=\s*\).*$|\1127.0.0.1|" .env.testing
sed -i "s|^\(DB_PORT=\s*\).*$|\1${{ job.services.mysql.ports['3306'] }}|" .env.testing
sed -i "s|^\(DB_DATABASE=\s*\).*$|\1bagisto|" .env.testing
sed -i "s|^\(DB_USERNAME=\s*\).*$|\1root|" .env.testing
sed -i "s|^\(DB_PASSWORD=\s*\).*$|\1root|" .env.testing
- name: Key Generate
run: set -e && php artisan key:generate --env=testing
- name: Comlplete Testing Env File
run: |
printf "The complete `.env.testing` ... \n\n"
cat .env.testing
- name: Optimize Stuffs
run: set -e && php artisan optimize:clear --env=testing
- name: Migrate Database
run: set -e && php artisan migrate --env=testing
- name: Seed Database
run: set -e && php artisan db:seed --env=testing
- name: Vendor Publish
run: set -e && php artisan bagisto:publish --force --env=testing
- name: Execute Unit Tests
run: set -e && vendor/bin/codecept run unit
- name: Execute Functional Tests
run: set -e && vendor/bin/codecept run functional
- name: Execute Trigger Tests
run: set -e && vendor/bin/codecept run trigger
- name: Execute API Tests
run: set -e && vendor/bin/codecept run api
- name: Persist Test Artifacts
uses: actions/upload-artifact@v1
if: always()
with:
name: test_artifacts
path: tests/_output

5
.gitignore vendored
View File

@ -1,10 +1,8 @@
.env
.env.testing
.idea
.php_cs.cache
.vscode
.vagrant
/stubs
/data
/docker-compose-collection
Homestead.json
@ -20,10 +18,9 @@ package-lock.json
/public/storage
/public/themes
/public/vendor
/lang/vendor
/resources/lang/vendor
/storage/*.key
/storage/dcc-data/
/vendor
yarn.lock
yarn-error.log
/resources/lang/vendor/

View File

@ -1,44 +1,44 @@
# CHANGELOG for v0.1.x
This changelog consists of the bug & security fixes and new features included in the releases listed below.
This changelog consists the bug & security fixes and new features being included in the releases listed below.
## **v0.1.9 (20th of December, 2019)** - *Release*
* #1942 [fixed] - The selected category is not checked when editing the cart rule.
* #1942 [fixed] - When editing the cart rule, selected category is not checked.
* #1939 [fixed] - Invalid coupon gets applied if clicking on apply coupon multiple times, although there is no discount amount but its displaying a message that coupon code applied successfully.
* #1939 [fixed] - Invalid coupon gets applied, if clicking on apply coupon multiple time, although there is no discount amount but its displaying message that coupon code applied successfully.
* #1938 [fixed] - Multiple cart rules are applied using only a single coupon.
* #1938 [fixed] - multiple cart rules are getting applied by using only single coupon.
* #1935 [fixed] - Categories are not displaying if in condition Categories(children only) or Categories(Parent Only) is selected.
* #1931 [fixed] - Catalog rule not applying if in condition type"Any Condition is true" is selected, and some of the condition doesn't match the product.
* #1929 [fixed] - Actual product amount and discounted amount both should display on the product page for configurable product
* #1929 [fixed] - Actual product amount and discounted amount both should display on product page for configurable product
* #1928 [fixed] - Catalog rule should not apply if any conditions don't match if condition type"All Condition are true."
* #1928 [fixed] - Catalog rule should not apply if any of the condition doesn't match, if condition type"All Condition are true"
* #1904 [fixed] - Existing tax should display as a list on creating a catalogue rule if "Tax Category" is selected.
* #1904 [fixed] - Existing tax should display as list on creating catalog rule if in condition "Tax Category" is selected.
* #1903 [fixed] - UI issue in condition field
* #1895 [fixed] - Translation issue Action Type field while creating catalog rule.
* #1883 [fixed] - Free shipping not applied on a cart, if from action "Free Shipping" is selected and discount amount is given as zero.
* #1883 [fixed] - Free shipping not applied on cart, if from action "Free Shipping" is selected and discount amount is given as zero.
* #1882 [fixed] - If Action "Apply on shipping " is selected as yes, then the discounted amount applies to both product and shipping charges.
* #1882 [fixed] - If from Action "Apply on shipping " is selected as yes then the discounted amount is applying on both product and shipping charge.
* #1875 [fixed] - Discount gets applied on a cart if a condition is "Visible Individually" is set to yes and product added in the cart is not visible individually.
* #1875 [fixed] - Discount gets applied on cart if condition is "Visible Individually" is set to yes and product added in cart is not visible individually.
* #1868 [fixed] - Getting exception on checkout if action Buy X Get Y free is selected in cart rule.
* #1861 [fixed] - Get an exception on checkout if applying an invalid coupon code and proceed for checkout.
* #1861 [fixed] - Getting exception on checkout if applying invalid coupon code and proceed for checkout.
* #1857 [fixed] - Getting exception when creating cart rule with condition URL KEY(children only).
* #1856 [fixed] - Getting exception on creating cart rule with condition Name(children only).
* #1847 [fixed] - If the cart rule condition does not match the cart, then on applying coupon, it should display a message "Coupon cannot be applied".
* #1847 [fixed] - If cart rule condition does not match the cart then on applying coupon it should display message "Coupon cannot be applied".
* #1839 [fixed] - Getting exception on filtering cart rule through id.
@ -52,13 +52,13 @@ This changelog consists of the bug & security fixes and new features included in
* #1833 [fixed] - Discount not applied if "Payment Method", "Shipping Method", "Shipping State" or "Shipping Country" is selected in condition.
* #1832 [fixed] - Able to use coupon irrespective of the number given in the "Uses per coupon" field.
* #1832 [fixed] - Able to use coupon irrespective of the number given in "Uses per coupon" field.
* #1831 [fixed] - Negative sign is not required in the discount amount.
* #1831 [fixed] - Negative sign is not required in discount amount.
* #1830 [fixed] - If Coupon type is selected as "No Coupon", then coupon code should not generate for that particular cart rule.
* #1830 [fixed] - If Coupon type is selected as "No Coupon" then coupon code should not generate for that particular cart rule.
* #1828 [fixed] - Updated changes are not saved on the editing cart rule.
* #1828 [fixed] - Updated changes are not saved on editing cart rule.
* #1825 [fixed] - Not able to generate coupon code while creating cart rule.
@ -68,7 +68,7 @@ This changelog consists of the bug & security fixes and new features included in
* [feature] - Refund is added for orders.
* #1504 [fixed] - Getting exception when applying a filter in Invoices grid through Invoice Date.
* #1504 [fixed] - Getting Exception when applying filter in Invoices grid through Invoice Date.
* #1492 [fixed] - Not showing orderid with prefix and suffix in Refund section.
@ -76,13 +76,13 @@ This changelog consists of the bug & security fixes and new features included in
* #1489 [fixed] - Quantity of Product doesn't get updated after creating a refund.
* #1486 [fixed] - Getting incorrect Total Due Amount if the discount is applied.
* #1486 [fixed] - Getting incorrect Total Due Amount if discount is applied.
* #1484 [fixed] - Unable to edit data of Refund Shipping field.
* #1483 [fixed] - The refund option should not be available if a refund is already created.
* #1483 [fixed] - Refund option should not be available if refund is already created.
* #1461 [fixed] - Invoice number length should be a number of zeros that appears before invoice id.
* #1461 [fixed] - Invoice number length should be number of zeros that appears before invoice id.
* #1460 [fixed] - Getting error on deleting Newsletter.
@ -90,7 +90,7 @@ This changelog consists of the bug & security fixes and new features included in
* #1442 [fixed] - Customer should get an email after registration.
* #1338 [fixed] - Fixed the complete header, the header should not scroll on scrolling the page.
* #1338 [fixed] - Fixed the complete header ,header should not scroll on scrolling the page.
* #1172 [fixed] - Default shipping and payment should be selected, currently no shipping method and payment method is selected by default.
@ -160,7 +160,7 @@ This changelog consists of the bug & security fixes and new features included in
* #1259 [fixed] - Getting exception if using same sku for variants..
* #1258 [fixed] - If payment is done through paypal then invoice should generate automatically and Status of Order should be processing.
* #1258 [fixed] - If payment is done through paypal then invoice should generate automatically and status of Order should be processing.
* #1256 [fixed] - Discounted amount is not displaying in invoice and invoice pdf at both customer end and admin end.
@ -198,7 +198,7 @@ This changelog consists of the bug & security fixes and new features included in
* #973 [fixed] - Edit Slider, get wrong with: An invalid form control with name='image[image_0]' is not focusable.
* #968 [fixed] - Sorting is not working (price).
* #968 [fixed] - sorting is not working (price).
* #778 [fixed] - Error when add item to cart.
@ -314,45 +314,25 @@ This changelog consists of the bug & security fixes and new features included in
* #939 [fixed] - Not able to save price in decimal for configurable products.
* #932 [fixed] - Getting the incorrect price of a product in case of a configurable product if custom attribute of select type is used.
* #932 [fixed] - Getting incorrect price of product in case of configurable product if custom attribute of select type is used.
* #923 [fixed] - Required validation is not working for Lines in a Street Address, and add one as default line for the address field.
* #923 [fixed] - Required validation is not working for Lines in a Street Address, and add 1 as default line for address field.
* #917 [fixed] - Attribute name should display with attribute value.
* #916 [fixed] - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'phone'.
* #897 [fixed] - Product gets saved without image if a used image is large. It should throw an error message.
* #897 [fixed] - Product get saved without image, if used image is large in size.It should throw an error message.
* #896 [fixed] - getVariantMinPrice does not look at special_price.
* #894 [fixed] - Storage link command is missing when installing framework through
installer.
* #894 [fixed] - Storage link command is missing when installing framework through installer.
* #890 [fixed] - An error message should show if
uploaded mage size is
....................................................
* #890 [fixed] - An error message should show if uploaded mage size is large, while saving the category.
* #879 [fixed] - Getting validation error message for locale while editing attribute.Attribute value is required for all locale.
large, while saving the category.
* #879 [fixed] - Getting validation error message for locale while editing attribute..................An attribute value is required for all locales.
* #867 [fixed] - Getting exception if a user creates shipment for a product deleted from the catalog.
* #867 [fixed] - Getting exception if user create shipment for product which has been deleted from catalog.
* #842 [fixed] - Not able to export. This functionality is not working everywhere, where export is used.
@ -360,9 +340,9 @@ large, while saving the category.
* #835 [fixed] - Parent Products show instock when all children have quantity 0.
* #825 [fixed] - Unable to update ( is_filterable ) in attributes.
* #825 [fixed] - unable to update ( is_filterable ) in attributes.
* #818 [fixed] - Email should be sent to the respective inventory from which shipment has been created.
* #818 [fixed] - Email should sent to the respective inventory from which shipment has been created.
* #817 [fixed] - Admin should receive an email when an order is placed.
@ -374,7 +354,7 @@ large, while saving the category.
* #771 [fixed] - Getting exception when login with custom role.
* #767 [fixed] - After applying filter of Status, the result display in boolean for Active/True and Inactive/False.
* #767 [fixed] - After applying filter of status , the result display in boolean for Active/True and Inactive/False.
* #765 [fixed] - Getting issue in mass deletion for the configurable products if we have saved the products but variation and name of products has not saved.Getting this issue when App_Debug mode is false.
@ -424,7 +404,7 @@ large, while saving the category.
* #712 [fixed] - Correct the filter option in Invoice grid.
* #710 [fixed] - Getting exception when applying filter on product according to Status.
* #710 [fixed] - Getting exception when applying filter on Product according to Status.
* #709 [fixed] - Getting exception when applying filter according to Order Date of Order grid of Admin.
@ -444,7 +424,7 @@ large, while saving the category.
* #655 [fixed] - Not able to create category with images, category doesn't get save if image is used.
* #654 [fixed] - Getting exception while adding product images by gui installer.
* #654 [fixed] - Getting Exception while adding product images by gui installer.
* #647 [fixed] - Special price not working.
@ -494,11 +474,11 @@ large, while saving the category.
* #620 [fixed] - "Enter Key" is not working while searching the product.
* #619 [fixed] - Getting exception when clicking on product for which data is set according to locale.
* #619 [fixed] - Getting Exception when clicking on Product for which data is set according to locale.
* #618 [fixed] - Layout issue on Changing Locale.
* #617 [fixed] - Getting exception in case of Guest Review on frontend.
* #617 [fixed] - Getting Exception in case of Guest Review on frontend.
* #616 [fixed] - Getting error message that tax rate field is required when importing tax rate even when value is provided in that field.
@ -516,7 +496,7 @@ large, while saving the category.
* #594 [Added] - Latest order should display on top and add pagination on order page.(For Customer Account).
* #592 [Added] - "Shipping to" column of shipment remain blank if shipment for order is generated first and then invoice is created.
* #592 [Added] - "Shipping to" column of Shipment remain blank if shipment for order is generated first and then invoice is created.
* #589 [Fixed] - Getting exception when product added in wishlist is deleted from admin and user try to add that product to cart from wishlist.
@ -526,7 +506,7 @@ large, while saving the category.
* #586 [Fixed] - Getting Exception in importing tax rates.
* #585 [Fixed] - Getting exception when using filter according to Id in Order grid.
* #585 [Fixed] - Getting Exception when using filter according to Id in Order grid.
* #581 [Fixed] - Translation issues when switching between any two languages, specifically categories in nav does not revert back.
@ -542,7 +522,7 @@ large, while saving the category.
* #551 [Fixed] - Able to delete root category.
* #546 [Fixed] - Getting exception while uploading category image after installing project using installer.
* #546 [Fixed] - Getting Exception while uploading category image after installing project using installer.
* #545 [Fixed] - Installer doesn't launch admin panel of framework.
@ -576,13 +556,13 @@ large, while saving the category.
* #519 [fixed] - Status column of Review remains blank if review is in Pending state.
* #514 [fixed] - Getting exception on changing the Status of Product(On mass update).
* #514 [fixed] - Getting Exception on changing the status of Product(On mass update).
* #513 [fixed] - Getting Exception in deleting categories.
* #508 [fixed] - Correct the required php version in installer.
* #506 [fixed] - While Installing the framework through installer if at any stage user click on back button and then click on continue to install, then in this case unable to install.
* #506 [fixed] - While Installing the framework through Installer if at any stage user click on back button and then click on continue to install, then in this case unable to install.
* #457 [fixed] - Admin add product "Undefined variable: configurableFamily".
@ -600,9 +580,9 @@ large, while saving the category.
* #381 [fixed] - On front-end currency symbol display only for Indian Rupee and USD. If code is selected other than these two in currency then code displays before price.
* #378 [fixed] - Images that are applied on category doesn't display in Edit Category Page.
* #378 [fixed] - Images that are applied on Category doesn't display in Edit Category Page.
* #369 [fixed] - Displaying incorrect response message on updating the Status of products.
* #369 [fixed] - Displaying incorrect response message on updating the status of products.
* #368 [fixed] - If products are added in shopping cart and those product get deleted from admin section then it still displays in cart.
@ -634,7 +614,7 @@ large, while saving the category.
* [fixes] Optimized exception handler (thanks to @AliN11)
* #332 [fixed] Unable to change the Status of user
* #332 [fixed] Unable to change the status of user
* #326 [enhanced] Only customer that are on first page get exported
@ -670,7 +650,7 @@ large, while saving the category.
* #279 [fixed] If Inventory source is not selected as active then also after saving it, its status changes to Active
* #278 [fixed] Images that are applied on category doesn't display in Edit Category Page
* #278 [fixed] Images that are applied on Category doesn't display in Edit Category Page
* #277 [fixed] No email and number validation in Inventory Source Grid
@ -680,7 +660,7 @@ large, while saving the category.
* #273 [fixed] Add a validation on price field that it should be numeric on Edit Product Page
* #272 [fixed] Getting exception when click on Save Invoice
* #272 [fixed] Getting Exception when click on Save Invoice
* #271 [fixed] Provide little space between line and text in review section(frontend)
@ -700,7 +680,7 @@ large, while saving the category.
* #238 [enhanced] Provide a mass selection option to approve a review
* #228 [enhanced] Bagisto icon should be clickable and by clicking on it, it should redirect to dashboard
* #228 [enhanced] bagisto icon should be clickable and by clicking on it, it should redirect to dashboard
* #226 [fixed] Correct the spelling of "expensive" in Sort By
@ -758,7 +738,7 @@ large, while saving the category.
* #225 - [fixed] Slider button should display as clickable on mouse hover
* #224 - [fixed] Status column in invoice remains blank
* #224 - [fixed] Status column in Invoice remains blank
* #216 - [added] Add a Column "Channel" to verify from which channel order has been placed and also add this column in filter
@ -788,11 +768,11 @@ large, while saving the category.
* #178 - [fixed] Change the Column Name
* #177 - [fixed] Getting exception when clicking on column locale
* #177 - [fixed] Getting Exception when clicking on column locale
* #175 - [fixed] Getting exception in deleting attributes
* #174 - [fixed] Getting exception while applying filter on category page
* #174 - [fixed] Getting Exception while applying filter on category page
* #173 - [fixed] Getting 500 Internal Server Error on Updating taxes
@ -844,13 +824,13 @@ large, while saving the category.
* #132 - [fixed] Issue in Mass Deletion.This issue exists for every grid(mass actions will return in next release and the issue will remain open till next release)
* #129 - [fixed] Getting issue when deleting orders.Mass action is not working in any grid(Getting Internal server error) while updating Status (mass actions will return in next release and the issue will remain open till next release)
* #129 - [fixed] Getting issue when deleting orders.Mass action is not working in any grid(Getting Internal server error) while updating status(mass actions will return in next release and the issue will remain open till next release)
* #126 - [fixed] Add asterisk symbol on SKU field
* #125 - [fixed] Delete button is not available for mass delete of Products in Product Grid(mass actions will return in next release and the issue will remain open till next release)
* #121 - [fixed] Buy now button is not working on index page for some products
* #121 - [fixed] buy now button is not working on index page for some products
* #120 - [fixed] After signup on the frontend, the customer is still not the signup page
@ -864,7 +844,7 @@ large, while saving the category.
* #98 - [fixed] No warning before removing the item from the cart
* #97 - [fixed] Client side validation / js validation is missing at login page
* #97 - [fixed] client side validation / js validation is missing at login page
* #96 - [fixed] Search button does not work(@prashant-webkul)
@ -872,9 +852,9 @@ large, while saving the category.
* #94 - [fixed] Sign-in page shows signup text(@prashant-webkul)
* [fixed] Email Templates logo issue fixed(@jitendra-webkul)
* [fixed] Email templates logo issue fixed(@jitendra-webkul)
* [fixed] Front Search issue fixed due to hardcoded attribute code in search criteria(@jitendra-webkul)
* [fixed] Front search issue fixed due to hardcoded attribute code in search criteria(@jitendra-webkul)
* [changed] Versioning of core packages

View File

@ -2,882 +2,6 @@
This changelog consists of the bug & security fixes and new features being included in the releases listed below.
## **v1.4.5 (21th of September 2022)** - *Release*
* #6690 [enhancement] - Mass update option should be available for the categories section.
* #6689 [enhancement] - There should be a proper UI for categories in the shop if there are subcategory of any category.
* #6685 [enhancement] - There should be an option to filter the suspended customer from the admin panel.
* #6646 [enhancement] - The actual and special prices both should be visible if there is any special price for a configurable product.
* #6345 [enhancement] - Invoice Design Can Be Enhanced
* #6394 [enhancement] - The page should focus on the warning message if the customer is trying book the product without selecting the required fields.
* #1929 [enhancement] - Actual product amount and discounted amount both should display.
* #6732 [fixed] - Getting exception if the customer is trying to move product from cart to wishlist
* #6725 [fixed] - The category should not be updated for all locales if the admin is updating the category for any specific locale.
* #6705 [fixed] - The filter value should be correct if the admin is trying to filter products by the status filter.
* #6699 [fixed] - The sale icon should be visible if there is any special price for a configurable product.
* #6697 [fixed] - The add button should be hidden from view page if the user has no permission to create.
* #6687 [fixed] - There is an exception while the admin is updating the Velocity meta data
* #6686 [fixed] - The notification should be visible in the admin panel if the order status is pending payment.
* #6679 [fixed] - The admin is not able to create the catalog rule for the configurable product, with SKU condition type
* #6668 [fixed] - The back button should work if the customer is adding a new address on the checkout page.
* #6366 [fixed] - The product's image is adjusted when the user is trying to view any product.
## **v1.4.4 (30th of August 2022)** - *Release*
* #5584 [feature] - There should be an feature so that when we click on mark as read , notification box should close.
* #5463 [feature] - There should be a button so that we should clear all filters.
* [enhancement] - Optimized product
* [enhancement] - Optimized cart
* [enhancement] - Refactored code
* #6556 [enhancement] - Cart Rule -. Validation should be applied in Coupon Code uses per customer and used per coupon section.
* #6555 [enhancement] - Cart Rule - Auto Generate Coupon Code details at bottom must not visible when we switch to Manual Coupon Code.
* #6501 [enhancement] - Cart item prices rounded with precision of 2 resulting in rounding errors after applying taxes.
* #6494 [enhancement] - The product's URL_KEY should not be changed if the admin is editing the product's name for another locale.
* #6464 [enhancement] - UI - In Table Booking Product, Special Request/Notes must be in Bold for Main Cart.
* #6458 [enhancement] - There should be the validations for the input fields if the admin is trying to create catalog rules.
* #6452 [enhancement] - The page should be open on the next tab when the admin is trying to view the CMS pages.
* #6427 [enhancement] - The mouse property should be not-allowed if the cart is empty. in default theme.
* #6426 [enhancement] - The warning message should be correct if the admin is trying to ship the invalid product quantity.
* #6417 [enhancement] - There should be a flash message [ Coupan is already applied ] if the user is trying to apply the same coupon multiple times.
* #6408 [enhancement] - The name of the applied filters should be meaningful if the customer is trying to filter the orders.
* #6393 [enhancement] - The page should not be refreshed if the customer is trying to apply the same coupon multiple times.
* #6371 [enhancement] - There should be a flash message for customers when the cart rule is applied on the checkout page.
* #6358 [enhancement] - Unable to see any notification on Coupon Applied on the Checkout Page.
* #6355 [enhancement] - There should be a preview option in the CMS pages table.
* #6327 [enhancement] - Add Missing Language Folder In All Package
* #6273 [enhancement] - There should be a tooltip message, after copying the wishlist share link
* #5801 [enhancement] - Maximum video uploading size should be mentioned when we create product.
* #5464 [enhancement] - there should be an image icon of user profile image.
* #6545 [fixed] - The admin should be able to create transactions only with the Grand Total amount of the order.
* #6406 [fixed] - Discount should be shown only for the product for which we created a catalog rule.
* #6312 [fixed] - The billing address should not be saved multiple times, if the customer is clicking on save address checkbox in multiple times.
* #6654 [fixed] - The size of the image card should be fixed. on the home page.
* #6644 [fixed] - Trimming should be added for the search string.
* #6640 [fixed] - There should not be any alert box if the admin is trying to filter the products.
* #6635 [fixed] - The page should not be redirected to the wishlist page when the customer removes any product from the wishlist.
* #6632 [fixed] - There add to cart and the wishlist button are adjusting if the customer is trying to view any product.
* #6609 [fixed] - The wishlist should not get empty after deleting the all product of the second-page wishlist.
* #6606 [fixed] - The admin should be able to upload and remove the product's image.
* #6558 [fixed] - The cross icon should be just before the calendar icon if the customer is trying to select the appointment date for booking the product.
* #6554 [fixed] - The discount amount cannot be greater than 100 if the action type is the Percentage of the product.
* #6547 [fixed] - The product video should be played properly if any.
* #6518 [fixed] - The admin should be able to update the product's status by mass action.
* #6514 [fixed] - The save as category button should not be clicked automatically if the admin is pressing the enter key for the searching product.
* #6509 [fixed] - There is an exception if the admin is trying to search products from the category page.
* #6507 [fixed] - Notification url is broken when admin_url is changed.
* #6505 [fixed] - The model box should be in the center of the page if the user is clicking on Quick view for any produt.
* #6492 [fixed] - There is a UI issue if the user is trying to view the compared products in Arabic locale.
* #6485 [fixed] - The trash icon should be on the right side of the text if the user is trying to view the shopping cart in the Arabic locale.
* #6484 [fixed] - The admin is not able to logout on the mobile view.
* #6479 [fixed] - The position of the top bar should be fixed if the customer is trying to view any order in mobile view.
* #6471 [fixed] - UI Issue - In Customer Profile Edit option, there we can see the Calendar Logo at DOB is inappropriate.
* #6469 [fixed] - Translation Issue in the Configure Section related to Number.
* #6463 [fixed] - There should not be an exception if the admin is trying to add a new variant for the configurable product.
* #6461 [fixed] - There should not be any warning message for the default empty option if the admin is trying to create/edit any attribute.
* #6459 [fixed] - Only the review should be deleted which the user wants to delete.
* #6453 [fixed] - The new customer is not able to login properly when the another user is logging out.
* #6447 [fixed] - There should not be an exception if the customer is trying to add that product to the wishlist which is deleted by the admin.
* #6444 [fixed] - The page should be redirected to the login page if the guest user is trying to move products from compare to wishlist.
* #6443 [fixed] - The height of Add to cart button should be a little less on compare page.
* #6442 [fixed] - The products should be in proper alignment if there are multiple products in the compare list.
* #6441 [fixed] - The customer should be able to share the wishlist product if the share link is already generated.
* #6434 [fixed] - There should not be any translation issue in the checkout page, if the customer is trying to place an order.
* #6430 [fixed] - The admin should not be able to create a transaction for an invoice with the incorrect Transaction amount
* #6429 [fixed] - The user should not be able to add products into the cart with 0 quantity.
* #6425 [fixed] - The sidebar submenu dropdown icon should be shown properly if the admin is changing the English from LTR to RTL.
* #6423 [fixed] - The order status should be shown properly in the admin panel. if the status of the order is payment pending.
* #6419 [fixed] - There is an exception if the admin is trying to add transactions for any invoice.
* #6407 [fixed] - The user should not be able to place the order if the user is inactive.
* #6402 [fixed] - Only the address should be deleted which the user wants to delete.
* #6401 [fixed] - There is no option to view compare items for guests.
* #6400 [fixed] - The success message should not be shown multiple times if the user is trying to remove the applied coupon.
* #6397 [fixed] - The should not be an exception if the guest is trying to log in after deleting all the cart items.
* #6390 [fixed] - The radio button should be toggle only after clicking on the radio button's in admin panel
* #6389 [fixed] - The share wishlist and delete button should not overlap the sidebar in mobile view.
* #6386 [fixed] - The Products Ordered label should be highlighted if there is an error, while the admin is trying to create a ship for the order in dark mode.
* #6385 [fixed] - There should be a search icon if the customer is trying to search the orders.
* #6384 [fixed] - The product's image should not be out of the product card if the user is trying to view products in list mode.
* #6370 [fixed] - At least one shipping and payment method should be available.
* #6369 [fixed] - The product images are overriding if there are multiple products in the cart.
* #6368 [fixed] - There should be an option to update the cart if the customer is adding downloadable and simple products into the cart.
* #6366 [fixed] - The product's image is adjusted when the user is trying to view any variant of the configurable product
* #6365 [fixed] - The bullet symbol should be visible if the user is trying to change the product's image in a quick view popup box.
* #6364 [fixed] - The warning message should be correct when the condition is not matching with cart rule while the user is applying a coupon.
* #6362 [fixed] - There should be some space between the share and delete buttons on the wishlist page.
* #6349 [fixed] - The filter value should be correct if the admin is trying to filter the customers by the status filter
* #6346 [fixed] - There should not be any extra space between the update cart and the delete all items button, on the shopping cart page.
* #6344 [fixed] - The calendar icon is not showing when the admin is trying to filter the orders by date in dark mode.
* #6341 [fixed] - There is some extra space between the product image and add to cart button in the mobile view
* #6340 [fixed] - By default maximum price should be selected if the user is trying to filter a product by price filter.
* #6339 [fixed] - The Add to cart button should not be disabled if any one product is inactive of the group product.
* #6335 [fixed] - The translation is missing for slot dropdown if the user is trying to book any product
* #6334 [fixed] - The quantity field should not take a negative value if the admin is trying to edit the quantity
* #6333 [fixed] - The country dropdown should be in the Ascending order when the customer is adding the delivery address on the checkout page.
* #6332 [fixed] - The calendar Icon should be on the left side of the input box in the Arabic locale when the customer is editing the profile.
* #6331 [fixed] - The location and the calendar Icon should be slightly right side in the Arabic locale when the customer is trying to book any product.
* #6324 [fixed] - The warning message should be correct if the admin is trying to upload an invalid image format for the profile image.
* #6319 [fixed] - The calendar icon is in the center of the input box. if the customer is trying to book the product.
* #6318 [fixed] - The add to cart button should be in proper alignment inside the compare page.
* #6317 [fixed] - The page should be redirected to the product view page. if the user clicks on the product image inside the mini cart.
* #6313 [fixed] - The warning message should be correct if the customer is selecting the PayPal Smart Button payment method with an invalid country code
* #6288 [fixed] - The delete button is overriding on share button if the customer is trying to view the wishlist products on mobile view.
* #6277 [fixed] - Checkout redirects when a carrier has more than one shipping method
* #6276 [fixed] - The product's image should be visible properly in mobile view.
* #6271 [fixed] - There should not be any warning message if the user is trying to book a rental product for multiple hours.
## **v1.4.3 (20th of April 2022)** - *Release*
* #6213 [feature] - Command For Bagisto Publish
* #6197 [feature] - Link to frontend from admin product list or product detail page
* #6190 [feature] - Give option to enable WYSIWYG editor in configuration
* #5376 [feature] - There should be an option to remove all cart items at once
* #6294 [enhancement] - The mouse property should be a pointer when the admin is trying to mark all notifications as read.
* #6289 [enhancement] - Improvement on products listing
* #6285 [enhancement] - The dashboard cards are not clickable
* #6283 [enhancement] - When the user is trying to view the mini cart then Product Quantity Looks like as a minus value
* #6269 [enhancement] - The mouse property should be a pointer when the customer is trying to change the app currency & locale
* #6259 [enhancement] - The color of View All Notifications should be blue on the mouseover in admin panel
* #6243 [enhancement] - The mouse property should be a pointer when the admin is trying to drag the product image while editing any product
* #6241 [enhancement] - There should be checkboxes inside the status dropdown if the user is trying to filter orders with multiple statuses
* #6229 [enhancement] - The mouse property should be a pointer when the user is trying to sort the table by tables header.
* #6217 [enhancement] - There should be an asterisk icon for the required fields if the user is trying to book the product.
* #6213 [enhancement] - Command For Bagisto Publish
* #6208 [enhancement] - The product status should be Highlighted in product list page
* #5967 [enhancement] - There should be an option to copy the product's share link.
* #5960 [enhancement] - There should be an option for a sitemap generator. .
* #5559 [enhancement] - There should be the currency icon inside the currency dropdown
* #5530 [enhancement] - there should be an cross icon in blisss theme so that customer can delete product from cart
* #5397 [enhancement] - The filter dropdown should be according to the selected value.
* #5354 [enhancement] - The Input validation's dropdown should be according to attribute type.
* #2718 [enhancement] - Show error message "No booking available" if booking is not available for selected date. Booking
* #2308 [enhancement] - Existing groups in the attribute families are not translatable yet.
* #6290 [fixed] - Cancel already shipped order results in incorrect pending inventory amount
* #6279 [fixed] - The currency icon is overriding on the currency dropdown when the app locale is Arabic.
* #6270 [fixed] - The enter key is not working if the admin is trying to apply the filter by pressing the enter key
* #6267 [fixed] - There should not be an exception if the admin is trying to view order after deleting the customer of same order Admin
* #6266 [fixed] - The admin is not able to view the bookings in the calendar view.
* #6261 [fixed] - The filter options should be under the filter button. when the customer is trying to filter order in Arabic locale
* #6260 [fixed] - The upload image option should be slightly on the right side. when the customer is adding a review for any product.
* #6256 [fixed] - There should not be any extra space between add to cart and the by now button.
* #6253 [fixed] - The page should be redirected to the particular order's page if the customer is clicking on the order id after placing the order.
* #6250 [fixed] - The admin is not able to view the customer's review if the customer is creating a review with the moustache syntax Like: {{ url(' ') }}
* #6246 [fixed] - The products are not listing when url key is null
* #6244 [fixed] - There is an exception when the customer is changing the app currency on the product view page.
* #6228 [fixed] - There should not be a blank value in the items per page dropdown. on customer orders page
* #6206 [fixed] - The border of calendar icon is not showing in dark mode, when the admin is trying to view booking in calendar view.
* #6205 [fixed] - The flash message should be according to the selected locale if the admin trying to create a Shipment.
* #6204 [fixed] - The carousel arrow icons [ previous and next ] should work properly in the Arabic locale.
* #6202 [fixed] - There should be some space between the input box and labels if the user is trying to book an appointment for any booking product.
* #6196 [fixed] - The admin should be able to delete the users.
* #6195 [fixed] - Mini Cart sub total is not updating after removing the cart's item.
* #6192 [fixed] - The shopping cart goes empty after removing an item from the mini cart.
* #5772 [fixed] - issue in french lanugage in navigation bar
* #5067 [fixed] - Products is_wishlisted attribute is always false on API
## **v1.4.2 (31st of March 2022)** - *Release*
* #6164 [enhancement] - UI Enhancement - Please Add the separation Lines in the Heading section also in Orders and Downloadable Product Details.
* #6162 [enhancement] -UI Enhancement - Please Make the Information Text Bold in the Compare Product Page.
* #6119 [enhancement] -The locale dropdown should be in ascending order
* #6117 ['enhancement] -The locale name should be shown instead of the locale code on the orders page
* #5964 [enhancement] - The process to checkout button should be disabled if the product is out of stock.
* #5399 [enhancement] - There should be a Back to Top Button in the user panel.
* #5355 [enhancement] -There should be an option to upload user's picture
* #6186 [fixed] - The page should be redirected to the product-review page after submitting the review
* #6181 [fixed] - There should not be any UI issue on the product-view page in the quantity field.
* #6177 [fixed] - There is a UI issue on the product-view page in the Arabic locale
* #6174 [fixed] - The sidebar should be disabled if the admin is trying to send the duplicate invoice.
* #6167 [fixed] - In Reviews Section - Grammatical Mistake Found.
* #6165 [fixed] - In Downloadable Product Section Unnecessary Column is present.
* #6161 [fixed] - There should not be any UI issue on the orders page.if the user is trying to filter the orders
* #6158 [fixed] - The quantity option should not be visible for booking products.
* #6157 [fixed] - There is a UI issue on the product-edit page
* #6156 [fixed] - LINT ERROR IN EDIT PRODUCTS BLADE
* #6153 [fixed] - There should be an asterisk icon for the required fields.
* #6144 [fixed] - Payment methods page is Blank if admin_locale=fr
* #6134 [fixed] - The total amount of cart items should be correct.
* #6132 [fixed] - The edit channel page should not be blank in the Chinese locale.
* #6126 [fixed] - There is a UI issue on the cart section with Arabic locale
* #6124 [fixed] - There is a UI issue on the header section
* #6121 [fixed] - The warning message should be correct if the user is trying to delete the account
* #6115 [fixed] - The Back to top button should be disabled when the user is placing the order
* #6114 [fixed] - Edit channel page is Blank if admin_locale=fr
* #6112 [fixed] - There should not be Error 500 if the admin is trying to edit the product.
* #6109 [fixed] - The add to cart button should be blurred if the item is out of stock
* #6103 [fixed] - The header section should be responsive in mobile view
* #4959 [fixed] - getting exception when merge guest cart with customer cart with configurable item
## **v1.4.1 (17th of March 2022)** - *Release*
* #6040 [enhancement] - The locale dropdown should be in ascending order
* #6007 [enhancement] - There should be an option to export selected product
* #5923 [enhancement] - There should not be option for mass delete if there is no record in table
* #6039 [fixed] - The from date should be less than to date
* #6038 [fixed] - The color of checkboxes should be according to the theme in the admin panel
## **v1.4.0 (16th of March 2022)** - *Release*
* #5654 [feature] -Only unread notification should be shown in the notification modal box.
* #4787 [feature] - Unable to upload profile picture
* #4653 [feature] - Making billing address informations optional
* #4356 [feature] - Guest Checkout sucess add register
* #5921 [enhancement] -Notification should be received without page refresh.
* #5817 [enhancement] -The wishlist and the compare option should be inside the account section
* #5671 [enhancement] -By default the first submenu should be open, when the admin is clicking on any tab
* #5537 [enhancement] -New admin theme - RTL menu
* #5525 [enhancement] -Send a duplicate of the invoice to the customer
* #5490 [enhancement] -The address should be horizontal format
* #5404 [enhancement] -The Add image button should not be present when the user is trying to edit the profile
* #5396 [enhancement] -The currency icon should be shown properly
* #5395 [enhancement] -The user panel should be responsive on phone-view
* #5384 [enhancement] -There should be a confirmation alert before deleting all items from Wishlist and Compare
* #5300 [enhancement] -Suspend customers
* #5292 [enhancement] -Some data grids are missing ProvideDataGridPlus trait
* #5267 [enhancement] -Send reminders for overdue invoices
* #5219 [enhancement] -Issue in multi select data in every datagrid
* #5165 [enhancement] -Write All Factories In Laravel 8 Pattern
* #5158 [enhancement] -Breadcrumb Feature
* #5143 [enhancement] -Rest API Enhancement In Sanctum
* #5064 [enhancement] -Multi factor authentication
* #4834 [enhancement] -Requesting to load attributes via ajax
* #4772 [enhancement] -Ability to drag product image to reorder them in bagisto admin dashboard
* #4653 [enhancement] -Making billing address informations optional
* #2918 [enhancement] -Overview of sold booking products in Admin panel
* #2009 [enhancement] -Using AWS S3 for storage
* #1243 [enhancement] -Implement a feature to share Wishlist
* #5968 [enhancement] -The wishlist and compare option should not be in multiple times
* #1238 [enhancement] -Give configuration for converting textarea to wysiwyg editor or not for browser compatibility.
* #6019 [fixed] -There should not any UI issue if the admin is trying to update products by mass action.
* #6010 [fixed] -There should not be any UI issue when the user is trying to write a review for the product in mobile view.
* #6008 [fixed] -There is a UI issue on the Bills theme when the user is trying to log in.
* #6006 [fixed] -There is a UI issue if the admin is trying to update products by mass action.
* #5995 [fixed] -The filters should work properly. if the user is trying to filter the products by the color filter
* #5985 [fixed] -There should be a warning message on the checkout page, for the required field if the user is clicking outside of the required input field
* #5980 [fixed] - There is a UI issue if the user is trying to filter products by category
* #5966 [fixed] - The product quantity should be visible on the cart page
* #5965 [fixed] - Maximum Password length is 18 characters in velocity theme, which is way too short to be secure
* #5941 [fixed] - UI Issue at the Profile Section -> Empty space below address
* #5939 [fixed] - The selected date and time should be visible if the admin trying to add Tickets for a booking product
* #5938 [fixed] - There is a UI issue on forget password page
* #5932 [fixed] - There should not be any extra space on the product view page
* #5931 [fixed] - The product must be added to the wishlist which the user wants to add
* #5929 [fixed] - The notification text should be clickable
* #5926 [fixed] - There is a UI in the header section on mobile view
* #5919 [fixed] - There is a UI issue on the orders page
* #5915 [fixed] - There is a translation issue in notification pages.
* #5913 [fixed] - The user is able to edit the product without permission for the same
* #5908 [fixed] - The Success message should be according to the selected locale
* #5907 [fixed] - There is a UI issue on the checkout page
* #5904 [fixed] - There is a UI issue on the Tax Rates page
* #5903 [fixed] - There is a UI issue on the notification page
* #5899 [fixed] - The text color of the count should be white in mobile view
* #5898 [fixed] - The success/warning messages should be shown properly
* #5885 [fixed] - There are many translation issues on the Arabic locale
* #5865 [fixed] - There is a translation issue when the admin is trying to create a product.
* #5855 [fixed] - The categories name should be shown in all locales
* #5841 [fixed] - There is a translation issue on the Notification page.
* #5839 [fixed] - There should not be any UI issue while adding the product.
* #5830 [fixed] - There should be no exception if the user is trying to log in
* #5828 [fixed] - The Channel filter is not working properly on the product list page.
* #5820 [fixed] - The user is not able to update the review by mass action.
* #5809 [fixed] - Ui issue when admin try to click on search order in notification in mobile view
* #5808 [fixed] - proper allignment of images when admin try to upload in arabic language
* #5805 [fixed] - Navigation alligment when we try to edit checkbox and select attribute in mobile view
* #5804 [fixed] - When I create product bullets in the edit I am experienced those UL get dropped and they are left out in the customer view
* #5803 [fixed] - Alligment issue when we make a configurable product in delete and edit button.
* #5802 [fixed] - Ui issue comes when we click on add link in downloadable product
* #5799 [fixed] - Ui issues in arabic language when we try to add booking product.
* #5797 [fixed] - There should be proper space when customer is try to add address.
* #5791 [fixed] - There should be gab between edit and delete option in addresss page in velocity.
* #5790 [fixed] - Issue in orders page in velocity in arabic language
* #5789 [fixed] - Alligment should be done properly in arabic in wishlist page
* #5788 [fixed] - When we are try to delete the sliders wrong notifications show
* #5785 [fixed] - Calender icon is not properly visible in arabic
* #5778 [fixed] - issue in arbaic language of alligment in mobile view
* #5775 [fixed] - translations not working in navigation in admin panel
* #5774 [fixed] - Admin - Address index view not found
* #5772 [fixed] - issue in french lanugage in navigation bar
* #5770 [fixed] - Layout shifting in admin ui
* #5768 [fixed] - Zoomlens in product page overlap sidebar category menu
* #5764 [fixed] - not able to select options in LTR ENGLISH
* #5762 [fixed] - not able to add slider images in velocity theme
* #5761 [fixed] - email spelling wrong in notifications emails
* #5755 [fixed] - there should be a space between update quantities in mobile view in admin panel
* #5754 [fixed] - not get any mail when we make new intventory sources in admin panel
* #5752 [fixed] - in mobile view wishlist option is not there in checkout page
* #5746 [fixed] - update button alligment should done in velocity theme.
* #5736 [fixed] - remove button should be with wishlist in mobile view in simple product
* #5735 [fixed] - alligment should be done proper in velocity in mobile view of remove icon
* #5730 [fixed] - there is an option to increase quanity when user is try to booked product in both themes.
* #5729 [fixed] - ui issue when we are try to book only booking product in bliss theme in checkout page (mobile view ).
* #5728 [fixed] - user is not able to update quanity in checkout cart page in veloicity theme
* #5727 [fixed] - ui issue when guest is place an order (mobile view ) in velocity
* #5722 [fixed] - when we disable status paypal from admin panel it show error in console
* #5719 [fixed] - ui issue when we try to make booking product in admin panel in mobile view
* #5718 [fixed] - alligment issue in blisss theme in downloadable product section (mobile view)
* #5717 [fixed] - ui issue in admin panel when we try to edit cms pages (mobile view )
* #5709 [fixed] - Wrong error messages when uploading video
* #5708 [fixed] - proper alligment should be done in order page (mobile view)
* #5707 [fixed] - ui issue in configuration part of admin (mobile view)
* #5706 [fixed] - there should be an option of wishlist button in blisss theme in front panel
* #5705 [fixed] - ui issue in compare similar items in compare page (mobile view)
* #5704 [fixed] - alligment issue in velocity theme in mobile view
* #5703 [fixed] - star ratings alligment should be in same line in mobile view
* #5696 [fixed] - dropdown buttons is not working properly in admin panel
* #5695 [fixed] - ui issue when there is only 1 downloadable product in view shopping cart (mobile view)
* #5694 [fixed] - star ratings and reviews alligment should be in same line in blisss theme in mobile view
* #5687 [fixed] - there should be no option for downloadable product for increasing the quanity in velocity theme
* #5684 [fixed] - reimporting exported tax rate csv results in state field missing error
* #5670 [fixed] - user not able to redirect to cms pages in blisss theme
* #5663 [fixed] - The user should be able to download the downloadable product
* #5661 [fixed] - ui issue in customer order view page in blisss theme in mobile view
* #5659 [fixed] - delete button in customer profile should be properly allign (bliss theme) in mobile view
* #5657 [fixed] - proper alligment should be done in bliss theme when we write reviews (mobile view)
* #5650 [fixed] - There is a UI issue in cart page on phone view
* #5648 [fixed] - there should not be any blank space in payment method
* #5636 [fixed] - ui issue when we search any product in bliss theme
* #5635 [fixed] - issue when we click on search icon in blisss theme in mobile view
* #5633 [fixed] - alligment issue after you place an order in mobile view
* #5625 [fixed] - issue in side bar in mobile view when we open any cms pages in velocity
* #5624 [fixed] - in mobile view order id and all other items is not visible when we have not done any order
* #5621 [fixed] - There should not be any UI issue in the user panel.
* #5620 [fixed] - there should be enhacement in button colour so that it should be according to mode
* #5619 [fixed] - images in review is not compatiable in mobile view
* #5617 [fixed] - there should be an enhacement so that languages is not with locale heading
* #5616 [fixed] - there should be dark colour in pending in reviews so that it should be more readable when we changes the mode
* #5615 [fixed] - ui issue in order page in search bar in velocity theme
* #5613 [fixed] - ui issue in customer address edit in admin panel
* #5609 [fixed] - ui issue in catelog in mobile view
* #5608 [fixed] - slider should not overide in catelog rule and cart rule in condition part in mobile view
* #5603 [fixed] - notification box should be mobile compatible
* #5602 [fixed] - ui issue in tax rates in mobile view
* #5601 [fixed] - ui issue in exchange rate in mobile view
* #5591 [fixed] - there is a space between add category button and text box filter in mobile view
* #5585 [fixed] - filters should not attach with heading in category
* #5581 [fixed] - there should be logo of admin in dekstop view like mobile view
* #5579 [fixed] - velocity in list should be left alligment
* #5571 [fixed] - there should be an icon of calender in velocity profile page of customer
* #5569 [fixed] - There should be meaningful data inside the order dropdown
* #5556 [fixed] - Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
* #5555 [fixed] - darkmode dropdown list
* #5552 [fixed] - there should not be any blank space in attribute family
* #5545 [fixed] - navigation sliders not work properly
* #5540 [fixed] - There is a UI issue in the admin panel
* #5539 [fixed] - The Login user should not be able to update self status.
* #5538 [fixed] - There should not be any translation issue in the notification section
* #5531 [fixed] - there should be not any blank space in gender it may contain select gender
* #5529 [fixed] - when we hover over bell icon tooltip is not showing
* #5526 [fixed] - There are multiple flash messages if we are clicking on the mark as read inside the notification.
* #5524 [fixed] - Dashboard text is not readable when light mode is enabled
* #5523 [fixed] - Notifications dropdown size
* #5522 [fixed] - icons are missing in top right navbar
* #5521 [fixed] - Default logo is not visible
* #5516 [fixed] - The size of the product images should not increase when the user is removing items from compare list
* #5513 [fixed] - Admin package the manifest.php files are missing
* #5511 [fixed] - UI issue in product list page.
* #5510 [fixed] - The counting is not updating automatically when the user is trying to add or remove an item from comparison.
* #5505 [fixed] - maintance mode is not working in admin panel
* #5503 [fixed] - validation not working in inventory page
* #5501 [fixed] - There is a warning message if the user is trying to add the address.
* #5497 [fixed] - If the admin user is changing the permission of other user's then the user should be logging out with a message
* #5493 [fixed] - The page should be redirected to the product-view page if the user is clicking on the product image/name
* #5491 [fixed] - The user should be able to update quantity using the + icon.
* #5485 [fixed] - ui issue in address bar in mobile view
* #5484 [fixed] - The user should be able to add a new address.
* #5483 [fixed] - languages logo is not visible in mobile view
* #5478 [fixed] - alligment not fixed in mobile view in velocity order page
* #5474 [fixed] - The filters should work properly. if the admin is trying to filter the sliders
* #5473 [fixed] - There cart option should not multiple times in the account section.
* #5471 [fixed] - The user should be able to view the modules/plugins menu in mobile view also. if the user adds any module.
* #5470 [fixed] - there should be less spacing in compare section
* #5468 [fixed] - There is a UI issue in Compare Similar Items section
* #5466 [fixed] - text alligment in order page of velocity
* #5462 [fixed] - ui issue when we try to ship wrong quantity products
* #5461 [fixed] - ui issue when we add product in compare.
* #5460 [fixed] - UI issue when we add product in wishlist in blisss theme
* #5451 [fixed] - Possibility to order infinite configurable products (product_ordered_inventories and / or order_items not correctly updated at order)
* #5450 [fixed] - The CMS image should reflect on the shop if the admin is adding any image on CMS
* #5445 [fixed] - There should be a confirmation alert before deleting items from the Wishlist
* #5444 [fixed] - The admin is able to create Invoice/ship orders with 00 quantities.
* #5443 [fixed] - The message should be correct when the admin is trying to delete system attributes
* #5440 [fixed] - There should be an option if the user is trying to enter the product quantity before updating the cart.
* #5436 [fixed] - The discount Amount should be correct in the invoice.
* #5435 [fixed] - There should be a warning message if the user is trying to create an invoice with invalid quantity.
* #5430 [fixed] - ProductFlat getAttribute($key) throws Undefined property if value of $key is NULL in product_flat table
* #5429 [fixed] - php artisan route:list error target class onepagecontroller does not exist (current master branch)
* #5428 [fixed] - There should not be an exception if the admin is trying to refund the order.
* #5424 [fixed] - The item should not move to the wishlist if the user is canceling the action.
* #5423 [fixed] - The user should not be able to edit the record while the input field is giving a warning.
* #5409 [fixed] - The user should be able to view the reviews
* #5408 [fixed] - There should not be any exception if the user is trying to delete their reviews.
* #5406 [fixed] - The user should be able to edit the address.
* #5405 [fixed] - The success message should be correct when the user is adding items to the cart
* #5398 [fixed] - The User should not be able to add the same product to the wishlist multiple times.
* #5389 [fixed] - There should be the proper alignment of filter's
* #5381 [fixed] - Validation required for coupon code
* #5377 [fixed] - There should not be an exception When user is moving a product to a wishlist that is already in wishlist
* #5366 [fixed] - There should be a warning message when the user is applying the same filter again and again.
* #5365 [fixed] - Issue in price filter for configurable type product
* #5353 [fixed] - Shipping::rates protected variable is not cleared on Shipping::removeAllShippingRates()
* #5350 [fixed] - The product price should be correct after exporting to excel.
* #5347 [fixed] - Images are coming out to be same at the cross sell products.
* #5342 [fixed] - admin (RTL) - menu not apears
* #5328 [fixed] - SKU is still visible at the adding new product when it is disabled.
* #5325 [fixed] - Delete profile modal content data visible and then suddenly hide
* #5316 [fixed] - In Front end Order details, Order id is having a lot of space.
* #5315 [fixed] - Quantity issue in product shipment.
* #5312 [fixed] - Issue in sub-category for mobile view
* #5311 [fixed] - Total weight is null in shipment table
* #5307 [fixed] - Flat Rate calculation type in admin configurations
* #5305 [fixed] - Cart Set Shipping API
* #5289 [fixed] - Quantity should be updated on ' Shopping Cart ' page
* #5261 [fixed] - Side filter is getting detached from the category product listing in mobile
* #5259 [fixed] - Responsive issue in user Profile - Velocity
* #5233 [fixed] - Issue if create product for multiple channel
* #5232 [fixed] - App config.php has bad reference to ProductGrid::class
* #5226 [fixed] - Not able to send the products to wishlist from compare page if the product is not on the first position
* #5210 [fixed] - UI Issue in search bar in order section at customer's end.
* #5209 [fixed] - There is no way to access Admin panel if there is only one admin and he try to modify the role of Administrator and allow limited access.
* #5208 [fixed] - UI Issue in bliss theme - Product View Page
* #5200 [fixed] - getting API error after opening categories named category
* #5198 [fixed] - Wrong phpdoc reference in Webkul\Core\Core to CustomerGroupRepository
* #5197 [fixed] - There is no way to log out for 2nd user of Admin if he himself modify his roles and remove some or all privileges.
* #5194 [fixed] - Getting exception when exporting a product from the admin panel
* #5191 [fixed] - Issue is in checkbox type attribute
* #5180 [fixed] - Some code appears in starting when clicking on the any product edit page
* #5179 [fixed] - Cart items get increased when navigating away from the buy now functionality
* #5178 [fixed] - API for customers to cancel order
* #5047 [fixed] - Order status gets complete when shipment is generated in case of pending invoice
## **v1.3.3 (27th of September 2021)** - *Release*
* #5008 [feature] - Image upload option with editor.

View File

@ -2,11 +2,11 @@
**BUGS:**
To encourage active collaboration, Bagisto encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a negative test.
To encourage active collaboration, Bagisto encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing negative test.
However, when filing a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.
Remember, bug reports are created in the hope that others with the same problem will collaborate with you on solving it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.
Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.
**Projects that you can contribute in:**
@ -22,30 +22,30 @@ Remember, bug reports are created in the hope that others with the same problem
**Core development ideas or discussion:**
If you propose a new feature, please implement at least some of the code needed to complete the quality.
If you propose a new feature, please be willing to implement at least some of the code that would be needed to complete the feature.
Informal discussion regarding bugs, new features, and implementation of existing features occurs in the comments of the issues filed using feature template.
Informal discussion regarding bugs, new features, and implementation of existing features takes place in the comments of the issues filed using feature template.
**Which branch you should target?**
All bug fixes should be sent to the latest staging branch, i.e. development branch. Bug fixes should never be sent to the master branch unless they fix features that exist only in the upcoming release.
All bug fixes should be sent to the latest staging branch i.e development branch. Bug fixes should never be sent to the master branch unless they fix features that exist only in the upcoming release.
Minor features fully backwards compatible with the current Laravel release may be sent to the latest stable branch.
Minor features that are fully backwards compatible with the current Laravel release may be sent to the latest stable branch.
Major new features should always be sent to the master branch, which contains the upcoming Bagisto release.
**Compiling assets:**
If you are submitting a change that will affect a compiled file, such as most of the files in admin/resources/assets/sass or admin/resources/assets/js of the Bagisto repository, do not commit the compiled files. Due to their large size, they cannot realistically be reviewed by a maintainer. This could be exploited as a way to inject malicious code into Bagisto. To defensively prevent this, all compiled files will be generated and committed by Bagisto maintainers.
If you are submitting a change that will affect a compiled file, such as most of the files in admin/resources/assets/sass or admin/resources/assets/js of the Bagisto repository, do not commit the compiled files. Due to their large size, they cannot realistically be reviewed by a maintainer. This could be exploited as a way to inject malicious code into Bagisto. In order to defensively prevent this, all compiled files will be generated and committed by Bagisto maintainers.
**Code style:**
Bagisto follows PSR-2 for coding standards and PSR-4 as of Laravel for autoloading standards.
Bagisto follow PSR-2 for coding standard and PSR-4 as of Laravel for autoloading standards.
**PHPDoc:**
Below is an example of a valid Bagisto doc block. Note that the @param attribute is followed by two spaces, the argument type, two more spaces, and finally, the variable name:
``` php
Below is an example of a valid Bagisto doc block. Note that the @param attribute is followed by two spaces, the argument type, two more spaces, and finally the variable name:
/**
* Register a service with CoreServiceProvider.
*
@ -59,4 +59,3 @@ Below is an example of a valid Bagisto doc block. Note that the @param attribute
{
//
}
```

191
README.md
View File

@ -1,117 +1,174 @@
<p align="center">
<a href="http://www.bagisto.com"><img src="https://bagisto.com/wp-content/themes/bagisto/images/logo.png" alt="Total Downloads"></a>
<a href="http://www.bagisto.com"><img src="https://bagisto.com/wp-content/themes/bagisto/images/logo.png" alt="Total Downloads"></a>
</p>
<p align="center">
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/d/total.svg" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/v/stable.svg" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/license.svg" alt="License"></a>
<a href="https://github.com/bagisto/bagisto/actions"><img src="https://github.com/bagisto/bagisto/workflows/CI/badge.svg" alt="Backers on Open Collective"></a>
<a href="#backers"><img src="https://opencollective.com/bagisto/backers/badge.svg" alt="Backers on Open Collective"></a>
<a href="#sponsors"><img src="https://opencollective.com/bagisto/sponsors/badge.svg" alt="Sponsors on Open Collective"></a>
<a href="https://www.codetriage.com/bagisto/bagisto"><img src="https://www.codetriage.com/bagisto/bagisto/badges/users.svg" alt="Open Source Helpers"></a>
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/d/total.svg" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/v/stable.svg" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/license.svg" alt="License"></a>
<a href="https://github.com/bagisto/bagisto/actions"><img src="https://github.com/bagisto/bagisto/workflows/CI/badge.svg" alt="Backers on Open Collective"></a>
<a href="#backers"><img src="https://opencollective.com/bagisto/backers/badge.svg" alt="Backers on Open Collective"></a>
<a href="#sponsors"><img src="https://opencollective.com/bagisto/sponsors/badge.svg" alt="Sponsors on Open Collective"></a>
</p>
<p align="center">
<a href="https://twitter.com/intent/follow?screen_name=bagistoshop"><img src="https://img.shields.io/twitter/follow/bagistoshop?style=social"></a>
<a href="https://www.youtube.com/channel/UCbrfqnhyiDv-bb9QuZtonYQ"><img src="https://img.shields.io/youtube/channel/subscribers/UCbrfqnhyiDv-bb9QuZtonYQ?style=social"></a>
</p>
## Topics
1. [Introduction](#introduction)
2. [Documentation](#documentation)
3. [Requirements](#requirements)
4. [Installation & Configuration](#installation-and-configuration)
5. [License](#license)
6. [Security Vulnerabilities](#security-vulnerabilities)
7. [Modules](#modules)
8. [Miscellaneous](#miscellaneous)
<p align="center">
➡️ <a href="https://bagisto.com/en/">Website</a> | <a href="https://devdocs.bagisto.com/">Documentation</a> | <a href="https://webkul.com/blog/laravel-ecommerce-website/">Installation Guide</a> | <a href="https://forums.bagisto.com/">Forums</a> | <a href="https://www.facebook.com/groups/bagisto/">Community</a> ⬅️
</p>
### Introduction
<p align="center" style="display: inline;">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/ar.svg" alt="Arabic" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/de.svg" alt="German" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/us.svg" alt="English" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/es.svg" alt="Spanish" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/ir.svg" alt="Persian" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/it.svg" alt="Italian" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/nl.svg" alt="Dutch" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/pl.svg" alt="Polish" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/pt.svg" alt="Portuguese" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/tr.svg" alt="Turkish" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/eg.svg" alt="Egyptian" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/cn.svg" alt="Chinese" width="24" height="24">
</p>
[Bagisto](https://www.bagisto.com) is a hand tailored E-Commerce framework built on some of the hottest opensource technologies
such as [Laravel](https://laravel.com) (a [PHP](https://secure.php.net/) framework) and [Vue.js](https://vuejs.org)
a progressive Javascript framework.
<a href="https://www.youtube.com/watch?v=OHbte7hdxYU">
<img class="flag-img" src="https://raw.githubusercontent.com/bagisto/temp-media/master/bagisto-featured.png" alt="Chinese" width="100%">
</a>
**Bagisto can help you to cut down your time, cost, and workforce for building online stores or migrating from physical stores
to the ever demanding online world. Your business -- whether small or huge -- can benefit. And it's very simple to set it up.**
# Introduction
**Read our documentation: [Bagisto Docs](https://devdocs.bagisto.com/)**
[Bagisto](https://www.bagisto.com/) is a hand-tailored E-Commerce framework built on some of the hottest open-source technologies such as [Laravel](https://laravel.com/) (a [PHP](https://secure.php.net/) framework) and [Vue.js](https://vuejs.org/) a progressive Javascript framework.
**We also have a forum for any type of concerns, feature requests, or discussions. Please visit: [Bagisto Forums](https://forums.bagisto.com/)**
Bagisto can help you cut down your time, cost, and workforce for building online stores or migrating from physical stores to the ever-demanding online world. Your business—whether small or huge—can benefit. The best part, it's straightforward to set it up!
# Visit our live [Demo](https://demo.bagisto.com)
![enter image description here](https://raw.githubusercontent.com/bagisto/temp-media/master/stats.png)
It packs in lots of features that will allow your E-Commerce business to scale in no time:
# Getting Started
* Multiple Channels, Locale, Currencies.
* Built-in Access Control Layer.
* Beautiful and Responsive Storefront.
* Descriptive and Simple Admin Panel.
* Admin Dashboard.
* Custom Attributes.
* Built on Modular Approach.
* Support for Multiple Store Themes.
* Multistore Inventory System.
* Orders Management System.
* Customer Cart, Wishlist, Product Reviews.
* Simple, Configurable, Group, Bundle, Downloadable and Virtual Products.
* Price rules (Discount) inbuilt.
* Theme (Velocity).
* CMS Pages.
* Check out [these features and more](https://bagisto.com/features/).
![enter image description here](https://raw.githubusercontent.com/bagisto/temp-media/master/geting-starded.png)
**For Developers**:
Take advantage of two of the hottest frameworks used in this project -- Laravel and Vue.js -- both of which have been used in Bagisto.
**[Install Bagisto](https://webkul.com/blog/laravel-ecommerce-website/)** with or without Composer (Check **[Requirement Details](https://bagisto.com/en/download/)**)
### Documentation
Follow the **[Getting Started with Bagisto](https://www.youtube.com/watch?v=s_DhQrjK8Tw&list=PLe30vg_FG4OS3BU8rHUKQZ2mnX45xwSMc)** Tutorial
#### Bagisto Documentation [https://devdocs.bagisto.com](https://devdocs.bagisto.com)
You can browse through the Free **[Live Demo](https://demo.bagisto.com/)**
### Requirements
# Headless Commerce
* **SERVER**: Apache 2 or NGINX.
* **RAM**: 3 GB or higher.
* **PHP**: 7.3 or higher.
* **For MySQL users**: 5.7.23 or higher.
* **For MariaDB users**: 10.2.7 or Higher.
* **Node**: 8.11.3 LTS or higher.
* **Composer**: 1.6.5 or higher.
The power of headless commerce now comes to Bagisto enabling you to experience seamless and easily scalable storefront performance. Backed by some of the hottest tech stacks (Vue and React), Bagisto commerce can now be used to build powerful headless commerce solutions offering blazing-fast speed and easy customization powered by Vue Storefront and Next.js
### Installation and Configuration
## Vue Storefront
**1. You can install Bagisto by using the GUI installer.**
![enter image description here](https://raw.githubusercontent.com/bagisto/temp-media/master/vue.png)
##### a. Download zip from the link below:
Vue Storefront 2 integration for Bagisto: [https://github.com/bagisto/vuestorefront](https://github.com/bagisto/vuestorefront)
[Download the latest release](https://github.com/bagisto/bagisto/releases/latest)
## Next.js Commerce
##### b. Extract the contents of zip and execute the project in your browser:
![enter image description here](https://raw.githubusercontent.com/bagisto/temp-media/master/next.png)
~~~
http(s)://example.com
~~~
Develop and deploy your next headless commerce storefronts with Next JS and Bagisto: [https://github.com/bagisto/nextjs-commerce](https://github.com/bagisto/nextjs-commerce)
**2. Or you can install Bagisto from your console.**
# Commerce For Every Need
##### Execute these commands below, in order
![enter image description here](https://raw.githubusercontent.com/bagisto/temp-media/master/every-need.png)
~~~
1. composer create-project bagisto/bagisto
~~~
With Bagisto, you can easily create use cases for various commerce needs like Marketplaces, PWA, Native Mobile Apps, Multi-Tenants systems, and many more.
~~~
2. php artisan bagisto:install
~~~
# Built In Extensions
**To execute Bagisto**:
![enter image description here](https://raw.githubusercontent.com/bagisto/temp-media/master/extenstion.png)
##### On server:
Make use of 100+ Bagisto pre built extensions from [Bagisto Extension Markeptlace](https://bagisto.com/en/extensions/)
Warning: Before going into production mode we recommend you uninstall developer dependencies.
In order to do that, run the command below:
# Community
> composer install --no-dev
![enter image description here](https://raw.githubusercontent.com/bagisto/temp-media/master/community.png)
~~~
Open the specified entry point in your hosts file in your browser or make an entry in hosts file if not done.
~~~
Get Bagisto support on Facebook Group and [Forum](https://forum.sylius.com/)
Would like to help us build the most developer-friendly E-Commerce platform? Start by reading our [Contributing Guide](https://github.com/bagisto/bagisto/blob/master/.github/CONTRIBUTING.md)!
##### On local:
# License
Bagisto is a truly open-source E-Commerce framework that will always be free under the [MIT License](https://github.com/bagisto/bagisto/blob/master/LICENSE).
~~~
php artisan serve
~~~
# Security Vulnerabilities
If you think that you have found a security issue in Bagisto, please do not use the issue tracker and do not post it publicly. Instead, all security issues must be sent to [mailto:support@bagisto.com](mailto:support@bagisto.com).
# Contributors
**How to log in as admin:**
This project is on [Open Collective](https://opencollective.com/bagisto), and it exists thanks to the people who contribute.
> *http(s)://example.com/admin/login*
~~~
email:admin@example.com
password:admin123
~~~
**How to log in as customer:**
*You can directly register as customer and then login.*
> *http(s)://example.com/customer/register*
### License
Bagisto is a truly opensource E-Commerce framework which will always be free under the [MIT License](https://github.com/bagisto/bagisto/blob/master/LICENSE).
### Security Vulnerabilities
Please don't disclose security vulnerabilities publicly. If you find any security vulnerability in Bagisto then please email us: mailto:support@bagisto.com.
### Modules
[Available Modules](https://bagisto.com/en/extensions)
Need something else? Email us at support@bagisto.com.
### Miscellaneous
#### Contribute
Bagisto is a community driven project, we appreciate every contribution from the community
- If you found an issue that you think we should know about, or if you have a suggestion, please submit an issue.
- If you want to submit a solution or offer a new feature, please create a pull request.
Please read our [contributing guide](https://github.com/bagisto/bagisto/blob/master/.github/CONTRIBUTING.md) for more info.
#### Contributors
This project is on [Open Collective](https://opencollective.com/bagisto) and it exists thanks to the people who contribute.
<a href="https://github.com/bagisto/bagisto/graphs/contributors"><img src="https://opencollective.com/bagisto/contributors.svg?width=890&button=false"/></a>
# Backers
#### Backers
Thank you to all our backers! 🙏
<a href="https://opencollective.com/bagisto#contributors" target="_blank"><img src="https://opencollective.com/bagisto/backers.svg?width=890"></a>
# Sponsors
#### Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

View File

@ -1,7 +0,0 @@
# Reporting Security Issues
Bagisto values the contributions of the security research community, and we look forward to working with you to minimize risk to Bagisto merchants.
## Where should I report security issues?
If you think that you have found a security issue in Bagisto, please do not use the issue tracker and do not post it publicly. Instead, all security issues must be sent to mailto:support@bagisto.com.

View File

@ -25,8 +25,6 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule)
{
$schedule->command('booking:cron')->dailyAt('3:00');
$schedule->command('invoice:cron')->dailyAt('3:00');
$schedule->command('product:index --type=price')->dailyAt('24:00');
}
/**

View File

@ -14,12 +14,10 @@ class Kernel extends HttpKernel
* @var array
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Illuminate\Http\Middleware\HandleCors::class,
\Webkul\Core\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Webkul\Core\Http\Middleware\SecureHeaders::class,
];
@ -30,16 +28,13 @@ class Kernel extends HttpKernel
*/
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'api' => [
\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
'throttle:60,1',
'bindings',
],
@ -55,7 +50,6 @@ class Kernel extends HttpKernel
protected $routeMiddleware = [
'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class,
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,

View File

@ -1,20 +0,0 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array<int, string|null>
*/
public function hosts()
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}

View File

@ -3,7 +3,7 @@
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
@ -19,10 +19,5 @@ class TrustProxies extends Middleware
*
* @var int
*/
protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}

View File

@ -11,5 +11,7 @@ class VerifyCsrfToken extends Middleware
*
* @var array
*/
protected $except = [];
protected $except = [
'paypal/standard/ipn'
];
}

View File

@ -1 +0,0 @@
../vendor/bin/codecept

1
bin/codecept Normal file
View File

@ -0,0 +1 @@
../vendor/bin/codecept

View File

@ -1,2 +0,0 @@
*
!.gitignore

204
bootstrap/cache/packages.php vendored Normal file
View File

@ -0,0 +1,204 @@
<?php return array (
'astrotomic/laravel-translatable' =>
array (
'providers' =>
array (
0 => 'Astrotomic\\Translatable\\TranslatableServiceProvider',
),
),
'babenkoivan/elastic-client' =>
array (
'providers' =>
array (
0 => 'ElasticClient\\ServiceProvider',
),
),
'babenkoivan/elastic-scout-driver' =>
array (
'providers' =>
array (
0 => 'ElasticScoutDriver\\ServiceProvider',
),
),
'bagistobrasil/bagisto-product-social-share' =>
array (
'providers' =>
array (
0 => 'BagistoBrasil\\ProductSocialShare\\Providers\\ProductSocialShareProvider',
),
'aliases' =>
array (
),
),
'barryvdh/laravel-debugbar' =>
array (
'providers' =>
array (
0 => 'Barryvdh\\Debugbar\\ServiceProvider',
),
'aliases' =>
array (
'Debugbar' => 'Barryvdh\\Debugbar\\Facade',
),
),
'barryvdh/laravel-dompdf' =>
array (
'providers' =>
array (
0 => 'Barryvdh\\DomPDF\\ServiceProvider',
),
'aliases' =>
array (
'PDF' => 'Barryvdh\\DomPDF\\Facade',
),
),
'facade/ignition' =>
array (
'providers' =>
array (
0 => 'Facade\\Ignition\\IgnitionServiceProvider',
),
'aliases' =>
array (
'Flare' => 'Facade\\Ignition\\Facades\\Flare',
),
),
'fideloper/proxy' =>
array (
'providers' =>
array (
0 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
),
),
'flynsarmy/db-blade-compiler' =>
array (
'providers' =>
array (
0 => 'Flynsarmy\\DbBladeCompiler\\DbBladeCompilerServiceProvider',
),
'aliases' =>
array (
'DbView' => 'Flynsarmy\\DbBladeCompiler\\Facades\\DbView',
),
),
'intervention/image' =>
array (
'providers' =>
array (
0 => 'Intervention\\Image\\ImageServiceProvider',
),
'aliases' =>
array (
'Image' => 'Intervention\\Image\\Facades\\Image',
),
),
'kalnoy/nestedset' =>
array (
'providers' =>
array (
0 => 'Kalnoy\\Nestedset\\NestedSetServiceProvider',
),
),
'konekt/concord' =>
array (
'providers' =>
array (
0 => 'Konekt\\Concord\\ConcordServiceProvider',
),
'aliases' =>
array (
'Concord' => 'Konekt\\Concord\\Facades\\Concord',
'Helper' => 'Konekt\\Concord\\Facades\\Helper',
),
),
'konekt/enum-eloquent' =>
array (
'providers' =>
array (
0 => 'Konekt\\Enum\\Eloquent\\EnumServiceProvider',
),
),
'laravel/legacy-factories' =>
array (
'providers' =>
array (
0 => 'Illuminate\\Database\\Eloquent\\LegacyFactoryServiceProvider',
),
),
'laravel/scout' =>
array (
'providers' =>
array (
0 => 'Laravel\\Scout\\ScoutServiceProvider',
),
),
'laravel/socialite' =>
array (
'providers' =>
array (
0 => 'Laravel\\Socialite\\SocialiteServiceProvider',
),
'aliases' =>
array (
'Socialite' => 'Laravel\\Socialite\\Facades\\Socialite',
),
),
'laravel/tinker' =>
array (
'providers' =>
array (
0 => 'Laravel\\Tinker\\TinkerServiceProvider',
),
),
'laravel/ui' =>
array (
'providers' =>
array (
0 => 'Laravel\\Ui\\UiServiceProvider',
),
),
'maatwebsite/excel' =>
array (
'providers' =>
array (
0 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
),
'aliases' =>
array (
'Excel' => 'Maatwebsite\\Excel\\Facades\\Excel',
),
),
'nesbot/carbon' =>
array (
'providers' =>
array (
0 => 'Carbon\\Laravel\\ServiceProvider',
),
),
'nunomaduro/collision' =>
array (
'providers' =>
array (
0 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
),
),
'prettus/l5-repository' =>
array (
'providers' =>
array (
0 => 'Prettus\\Repository\\Providers\\RepositoryServiceProvider',
),
),
'tymon/jwt-auth' =>
array (
'aliases' =>
array (
'JWTAuth' => 'Tymon\\JWTAuth\\Facades\\JWTAuth',
'JWTFactory' => 'Tymon\\JWTAuth\\Facades\\JWTFactory',
),
'providers' =>
array (
0 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
),
),
);

330
bootstrap/cache/services.php vendored Normal file
View File

@ -0,0 +1,330 @@
<?php return array (
'providers' =>
array (
0 => 'Illuminate\\Auth\\AuthServiceProvider',
1 => 'Illuminate\\Broadcasting\\BroadcastServiceProvider',
2 => 'Illuminate\\Bus\\BusServiceProvider',
3 => 'Illuminate\\Cache\\CacheServiceProvider',
4 => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
5 => 'Illuminate\\Cookie\\CookieServiceProvider',
6 => 'Illuminate\\Database\\DatabaseServiceProvider',
7 => 'Illuminate\\Encryption\\EncryptionServiceProvider',
8 => 'Illuminate\\Filesystem\\FilesystemServiceProvider',
9 => 'Illuminate\\Foundation\\Providers\\FoundationServiceProvider',
10 => 'Illuminate\\Hashing\\HashServiceProvider',
11 => 'Illuminate\\Mail\\MailServiceProvider',
12 => 'Illuminate\\Notifications\\NotificationServiceProvider',
13 => 'Illuminate\\Pagination\\PaginationServiceProvider',
14 => 'Illuminate\\Pipeline\\PipelineServiceProvider',
15 => 'Illuminate\\Queue\\QueueServiceProvider',
16 => 'Illuminate\\Redis\\RedisServiceProvider',
17 => 'Illuminate\\Auth\\Passwords\\PasswordResetServiceProvider',
18 => 'Illuminate\\Session\\SessionServiceProvider',
19 => 'Illuminate\\Translation\\TranslationServiceProvider',
20 => 'Illuminate\\Validation\\ValidationServiceProvider',
21 => 'Illuminate\\View\\ViewServiceProvider',
22 => 'Astrotomic\\Translatable\\TranslatableServiceProvider',
23 => 'ElasticClient\\ServiceProvider',
24 => 'ElasticScoutDriver\\ServiceProvider',
25 => 'BagistoBrasil\\ProductSocialShare\\Providers\\ProductSocialShareProvider',
26 => 'Barryvdh\\Debugbar\\ServiceProvider',
27 => 'Barryvdh\\DomPDF\\ServiceProvider',
28 => 'Facade\\Ignition\\IgnitionServiceProvider',
29 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
30 => 'Flynsarmy\\DbBladeCompiler\\DbBladeCompilerServiceProvider',
31 => 'Intervention\\Image\\ImageServiceProvider',
32 => 'Kalnoy\\Nestedset\\NestedSetServiceProvider',
33 => 'Konekt\\Concord\\ConcordServiceProvider',
34 => 'Konekt\\Enum\\Eloquent\\EnumServiceProvider',
35 => 'Illuminate\\Database\\Eloquent\\LegacyFactoryServiceProvider',
36 => 'Laravel\\Scout\\ScoutServiceProvider',
37 => 'Laravel\\Socialite\\SocialiteServiceProvider',
38 => 'Laravel\\Tinker\\TinkerServiceProvider',
39 => 'Laravel\\Ui\\UiServiceProvider',
40 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
41 => 'Carbon\\Laravel\\ServiceProvider',
42 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
43 => 'Prettus\\Repository\\Providers\\RepositoryServiceProvider',
44 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
45 => 'Astrotomic\\Translatable\\TranslatableServiceProvider',
46 => 'App\\Providers\\AppServiceProvider',
47 => 'App\\Providers\\AuthServiceProvider',
48 => 'App\\Providers\\EventServiceProvider',
49 => 'App\\Providers\\RouteServiceProvider',
50 => 'Intervention\\Image\\ImageServiceProvider',
51 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
52 => 'Prettus\\Repository\\Providers\\RepositoryServiceProvider',
53 => 'Konekt\\Concord\\ConcordServiceProvider',
54 => 'Flynsarmy\\DbBladeCompiler\\DbBladeCompilerServiceProvider',
55 => 'Barryvdh\\DomPDF\\ServiceProvider',
56 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
57 => 'Webkul\\Theme\\Providers\\ThemeServiceProvider',
58 => 'Webkul\\User\\Providers\\UserServiceProvider',
59 => 'Webkul\\Admin\\Providers\\AdminServiceProvider',
60 => 'Webkul\\Ui\\Providers\\UiServiceProvider',
61 => 'Webkul\\Category\\Providers\\CategoryServiceProvider',
62 => 'Webkul\\Attribute\\Providers\\AttributeServiceProvider',
63 => 'Webkul\\Core\\Providers\\CoreServiceProvider',
64 => 'Webkul\\Core\\Providers\\EnvValidatorServiceProvider',
65 => 'Webkul\\Shop\\Providers\\ShopServiceProvider',
66 => 'Webkul\\Customer\\Providers\\CustomerServiceProvider',
67 => 'Webkul\\Inventory\\Providers\\InventoryServiceProvider',
68 => 'Webkul\\Product\\Providers\\ProductServiceProvider',
69 => 'Webkul\\Checkout\\Providers\\CheckoutServiceProvider',
70 => 'Webkul\\Shipping\\Providers\\ShippingServiceProvider',
71 => 'Webkul\\Payment\\Providers\\PaymentServiceProvider',
72 => 'Webkul\\Paypal\\Providers\\PaypalServiceProvider',
73 => 'Webkul\\Sales\\Providers\\SalesServiceProvider',
74 => 'Webkul\\Tax\\Providers\\TaxServiceProvider',
75 => 'Webkul\\API\\Providers\\APIServiceProvider',
76 => 'Webkul\\CatalogRule\\Providers\\CatalogRuleServiceProvider',
77 => 'Webkul\\CartRule\\Providers\\CartRuleServiceProvider',
78 => 'Webkul\\Rule\\Providers\\RuleServiceProvider',
79 => 'Webkul\\CMS\\Providers\\CMSServiceProvider',
80 => 'Webkul\\Velocity\\Providers\\VelocityServiceProvider',
81 => 'Webkul\\BookingProduct\\Providers\\BookingProductServiceProvider',
82 => 'Webkul\\SocialLogin\\Providers\\SocialLoginServiceProvider',
83 => 'Webkul\\DebugBar\\Providers\\DebugBarServiceProvider',
84 => 'Webkul\\Marketing\\Providers\\MarketingServiceProvider',
),
'eager' =>
array (
0 => 'Illuminate\\Auth\\AuthServiceProvider',
1 => 'Illuminate\\Cookie\\CookieServiceProvider',
2 => 'Illuminate\\Database\\DatabaseServiceProvider',
3 => 'Illuminate\\Encryption\\EncryptionServiceProvider',
4 => 'Illuminate\\Filesystem\\FilesystemServiceProvider',
5 => 'Illuminate\\Foundation\\Providers\\FoundationServiceProvider',
6 => 'Illuminate\\Notifications\\NotificationServiceProvider',
7 => 'Illuminate\\Pagination\\PaginationServiceProvider',
8 => 'Illuminate\\Session\\SessionServiceProvider',
9 => 'Illuminate\\View\\ViewServiceProvider',
10 => 'Astrotomic\\Translatable\\TranslatableServiceProvider',
11 => 'ElasticClient\\ServiceProvider',
12 => 'ElasticScoutDriver\\ServiceProvider',
13 => 'BagistoBrasil\\ProductSocialShare\\Providers\\ProductSocialShareProvider',
14 => 'Barryvdh\\Debugbar\\ServiceProvider',
15 => 'Barryvdh\\DomPDF\\ServiceProvider',
16 => 'Facade\\Ignition\\IgnitionServiceProvider',
17 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
18 => 'Flynsarmy\\DbBladeCompiler\\DbBladeCompilerServiceProvider',
19 => 'Intervention\\Image\\ImageServiceProvider',
20 => 'Kalnoy\\Nestedset\\NestedSetServiceProvider',
21 => 'Konekt\\Concord\\ConcordServiceProvider',
22 => 'Konekt\\Enum\\Eloquent\\EnumServiceProvider',
23 => 'Illuminate\\Database\\Eloquent\\LegacyFactoryServiceProvider',
24 => 'Laravel\\Scout\\ScoutServiceProvider',
25 => 'Laravel\\Ui\\UiServiceProvider',
26 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
27 => 'Carbon\\Laravel\\ServiceProvider',
28 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
29 => 'Prettus\\Repository\\Providers\\RepositoryServiceProvider',
30 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
31 => 'Astrotomic\\Translatable\\TranslatableServiceProvider',
32 => 'App\\Providers\\AppServiceProvider',
33 => 'App\\Providers\\AuthServiceProvider',
34 => 'App\\Providers\\EventServiceProvider',
35 => 'App\\Providers\\RouteServiceProvider',
36 => 'Intervention\\Image\\ImageServiceProvider',
37 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
38 => 'Prettus\\Repository\\Providers\\RepositoryServiceProvider',
39 => 'Konekt\\Concord\\ConcordServiceProvider',
40 => 'Flynsarmy\\DbBladeCompiler\\DbBladeCompilerServiceProvider',
41 => 'Barryvdh\\DomPDF\\ServiceProvider',
42 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
43 => 'Webkul\\Theme\\Providers\\ThemeServiceProvider',
44 => 'Webkul\\User\\Providers\\UserServiceProvider',
45 => 'Webkul\\Admin\\Providers\\AdminServiceProvider',
46 => 'Webkul\\Ui\\Providers\\UiServiceProvider',
47 => 'Webkul\\Category\\Providers\\CategoryServiceProvider',
48 => 'Webkul\\Attribute\\Providers\\AttributeServiceProvider',
49 => 'Webkul\\Core\\Providers\\CoreServiceProvider',
50 => 'Webkul\\Core\\Providers\\EnvValidatorServiceProvider',
51 => 'Webkul\\Shop\\Providers\\ShopServiceProvider',
52 => 'Webkul\\Customer\\Providers\\CustomerServiceProvider',
53 => 'Webkul\\Inventory\\Providers\\InventoryServiceProvider',
54 => 'Webkul\\Product\\Providers\\ProductServiceProvider',
55 => 'Webkul\\Checkout\\Providers\\CheckoutServiceProvider',
56 => 'Webkul\\Shipping\\Providers\\ShippingServiceProvider',
57 => 'Webkul\\Payment\\Providers\\PaymentServiceProvider',
58 => 'Webkul\\Paypal\\Providers\\PaypalServiceProvider',
59 => 'Webkul\\Sales\\Providers\\SalesServiceProvider',
60 => 'Webkul\\Tax\\Providers\\TaxServiceProvider',
61 => 'Webkul\\API\\Providers\\APIServiceProvider',
62 => 'Webkul\\CatalogRule\\Providers\\CatalogRuleServiceProvider',
63 => 'Webkul\\CartRule\\Providers\\CartRuleServiceProvider',
64 => 'Webkul\\Rule\\Providers\\RuleServiceProvider',
65 => 'Webkul\\CMS\\Providers\\CMSServiceProvider',
66 => 'Webkul\\Velocity\\Providers\\VelocityServiceProvider',
67 => 'Webkul\\BookingProduct\\Providers\\BookingProductServiceProvider',
68 => 'Webkul\\SocialLogin\\Providers\\SocialLoginServiceProvider',
69 => 'Webkul\\DebugBar\\Providers\\DebugBarServiceProvider',
70 => 'Webkul\\Marketing\\Providers\\MarketingServiceProvider',
),
'deferred' =>
array (
'Illuminate\\Broadcasting\\BroadcastManager' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider',
'Illuminate\\Contracts\\Broadcasting\\Factory' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider',
'Illuminate\\Contracts\\Broadcasting\\Broadcaster' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider',
'Illuminate\\Bus\\Dispatcher' => 'Illuminate\\Bus\\BusServiceProvider',
'Illuminate\\Contracts\\Bus\\Dispatcher' => 'Illuminate\\Bus\\BusServiceProvider',
'Illuminate\\Contracts\\Bus\\QueueingDispatcher' => 'Illuminate\\Bus\\BusServiceProvider',
'Illuminate\\Bus\\BatchRepository' => 'Illuminate\\Bus\\BusServiceProvider',
'cache' => 'Illuminate\\Cache\\CacheServiceProvider',
'cache.store' => 'Illuminate\\Cache\\CacheServiceProvider',
'cache.psr6' => 'Illuminate\\Cache\\CacheServiceProvider',
'memcached.connector' => 'Illuminate\\Cache\\CacheServiceProvider',
'Illuminate\\Cache\\RateLimiter' => 'Illuminate\\Cache\\CacheServiceProvider',
'command.cache.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.cache.forget' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.clear-compiled' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.auth.resets.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.config.cache' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.config.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Database\\Console\\DbCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.db.wipe' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.down' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.environment' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.event.cache' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.event.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.event.list' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.key.generate' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.optimize' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.optimize.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.package.discover' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.failed' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.flush' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.forget' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.listen' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.prune-batches' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.restart' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.retry' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.retry-batch' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.work' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.route.cache' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.route.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.route.list' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.schema.dump' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.seed' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleFinishCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleListCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleRunCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleTestCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleWorkCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.storage.link' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.up' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.view.cache' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.view.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.cache.table' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.cast.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.channel.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.component.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.console.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.controller.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.event.generate' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.event.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.exception.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.factory.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.job.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.listener.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.mail.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.middleware.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.model.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.notification.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.notification.table' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.observer.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.policy.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.provider.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.failed-table' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.table' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.batches-table' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.request.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.resource.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.rule.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.seeder.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.session.table' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.serve' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.stub.publish' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.test.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.vendor.publish' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'migrator' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'migration.repository' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'migration.creator' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate.fresh' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate.install' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate.refresh' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate.reset' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate.rollback' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate.status' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.migrate.make' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'composer' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'hash' => 'Illuminate\\Hashing\\HashServiceProvider',
'hash.driver' => 'Illuminate\\Hashing\\HashServiceProvider',
'mail.manager' => 'Illuminate\\Mail\\MailServiceProvider',
'mailer' => 'Illuminate\\Mail\\MailServiceProvider',
'Illuminate\\Mail\\Markdown' => 'Illuminate\\Mail\\MailServiceProvider',
'Illuminate\\Contracts\\Pipeline\\Hub' => 'Illuminate\\Pipeline\\PipelineServiceProvider',
'queue' => 'Illuminate\\Queue\\QueueServiceProvider',
'queue.connection' => 'Illuminate\\Queue\\QueueServiceProvider',
'queue.failer' => 'Illuminate\\Queue\\QueueServiceProvider',
'queue.listener' => 'Illuminate\\Queue\\QueueServiceProvider',
'queue.worker' => 'Illuminate\\Queue\\QueueServiceProvider',
'redis' => 'Illuminate\\Redis\\RedisServiceProvider',
'redis.connection' => 'Illuminate\\Redis\\RedisServiceProvider',
'auth.password' => 'Illuminate\\Auth\\Passwords\\PasswordResetServiceProvider',
'auth.password.broker' => 'Illuminate\\Auth\\Passwords\\PasswordResetServiceProvider',
'translator' => 'Illuminate\\Translation\\TranslationServiceProvider',
'translation.loader' => 'Illuminate\\Translation\\TranslationServiceProvider',
'validator' => 'Illuminate\\Validation\\ValidationServiceProvider',
'validation.presence' => 'Illuminate\\Validation\\ValidationServiceProvider',
'Laravel\\Socialite\\Contracts\\Factory' => 'Laravel\\Socialite\\SocialiteServiceProvider',
'command.tinker' => 'Laravel\\Tinker\\TinkerServiceProvider',
),
'when' =>
array (
'Illuminate\\Broadcasting\\BroadcastServiceProvider' =>
array (
),
'Illuminate\\Bus\\BusServiceProvider' =>
array (
),
'Illuminate\\Cache\\CacheServiceProvider' =>
array (
),
'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider' =>
array (
),
'Illuminate\\Hashing\\HashServiceProvider' =>
array (
),
'Illuminate\\Mail\\MailServiceProvider' =>
array (
),
'Illuminate\\Pipeline\\PipelineServiceProvider' =>
array (
),
'Illuminate\\Queue\\QueueServiceProvider' =>
array (
),
'Illuminate\\Redis\\RedisServiceProvider' =>
array (
),
'Illuminate\\Auth\\Passwords\\PasswordResetServiceProvider' =>
array (
),
'Illuminate\\Translation\\TranslationServiceProvider' =>
array (
),
'Illuminate\\Validation\\ValidationServiceProvider' =>
array (
),
'Laravel\\Socialite\\SocialiteServiceProvider' =>
array (
),
'Laravel\\Tinker\\TinkerServiceProvider' =>
array (
),
),
);

View File

@ -8,47 +8,46 @@
"license": "MIT",
"type": "project",
"require": {
"php": "^8.1",
"php": "^7.3|^8.0",
"algolia/algoliasearch-client-php": "^2.2",
"astrotomic/laravel-translatable": "^11.0.0",
"bagisto/laravel-datafaker": "^2.0@alpha",
"bagisto/rest-api": "^1.0",
"aws/aws-sdk-php": "^3.171",
"babenkoivan/elastic-scout-driver": "^1.1",
"bagistobrasil/bagisto-product-social-share": "^0.1.2",
"barryvdh/laravel-debugbar": "^3.1",
"barryvdh/laravel-dompdf": "^2.0.0",
"cviebrock/laravel-elasticsearch": "^9.0",
"diglactic/laravel-breadcrumbs": "^7.0",
"barryvdh/laravel-dompdf": "^0.8.5|^0.9.0",
"doctrine/dbal": "^2.9",
"enshrined/svg-sanitize": "^0.15.0",
"enshrined/svg-sanitize": "^0.14.0",
"facade/ignition": "^2.3.6",
"fakerphp/faker": "^1.14",
"flynsarmy/db-blade-compiler": "dev-master",
"fideloper/proxy": "^4.2",
"flynsarmy/db-blade-compiler": "^5.5",
"guzzlehttp/guzzle": "^7.0.1",
"intervention/image": "^2.4",
"intervention/imagecache": "^2.5.2",
"kalnoy/nestedset": "^6.0",
"intervention/imagecache": "^2.3",
"kalnoy/nestedset": "^5.0",
"khaled.alshamaa/ar-php": "^6.0.0",
"konekt/concord": "^1.2",
"laravel/framework": "^9.0",
"laravel/sanctum": "^2.12",
"laravel/framework": "^8.0",
"laravel/legacy-factories": "^1.1",
"laravel/scout": "^8.0",
"laravel/socialite": "^5.0",
"laravel/tinker": "^2.0",
"laravel/ui": "^3.0",
"maatwebsite/excel": "^3.1.26",
"paypal/paypal-checkout-sdk": "1.0.1",
"prettus/l5-repository": "^2.6",
"pusher/pusher-php-server": "^7.0",
"spatie/laravel-ignition": "^1.0",
"spatie/laravel-sitemap": "^6.1"
"tymon/jwt-auth": "1.0.x-dev"
},
"require-dev": {
"codeception/codeception": "*@dev",
"codeception/module-asserts": "^3.0.0",
"codeception/module-filesystem": "^3.0.0",
"codeception/module-laravel": "*@dev",
"codeception/module-rest": "^3.0.0",
"codeception/module-webdriver": "^3.0.0",
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.1",
"codeception/module-filesystem": "^1.0",
"codeception/module-laravel5": "^1.0",
"codeception/module-webdriver": "^1.0",
"filp/whoops": "^2.0",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^6.1",
"nunomaduro/collision": "^5.3",
"phpunit/phpunit": "^9.5"
},
"replace": {
@ -94,6 +93,7 @@
"Webkul\\Paypal\\": "packages/Webkul/Paypal/src",
"Webkul\\Sales\\": "packages/Webkul/Sales/src",
"Webkul\\Tax\\": "packages/Webkul/Tax/src",
"Webkul\\API\\": "packages/Webkul/API",
"Webkul\\CatalogRule\\": "packages/Webkul/CatalogRule/src",
"Webkul\\CartRule\\": "packages/Webkul/CartRule/src",
"Webkul\\Rule\\": "packages/Webkul/Rule/src",
@ -102,22 +102,15 @@
"Webkul\\BookingProduct\\": "packages/Webkul/BookingProduct/src",
"Webkul\\SocialLogin\\": "packages/Webkul/SocialLogin/src",
"Webkul\\DebugBar\\": "packages/Webkul/DebugBar/src",
"Webkul\\Marketing\\": "packages/Webkul/Marketing/src",
"Webkul\\Notification\\": "packages/Webkul/Notification/src",
"Webkul\\Sitemap\\": "packages/Webkul/Sitemap/src",
"Webkul\\Marketplace\\": "packages/Webkul/Marketplace/src",
"TPS\\Shop\\": "packages/TPS/Shop/src",
"TPS\\Admin\\": "packages/TPS/Admin/src",
"TPS\\API\\": "packages/TPS/API",
"TPS\\Payment\\": "packages/TPS/Payment"
"Webkul\\Marketing\\": "packages/Webkul/Marketing/src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\API\\": "tests/api/",
"Tests\\Acceptance\\": "tests/acceptance/",
"Tests\\Functional\\": "tests/functional/",
"Tests\\Trigger\\": "tests/trigger/",
"Tests\\Unit\\": "tests/unit/"
"Tests\\Unit\\": "tests/unit/",
"Tests\\Trigger\\": "tests/trigger/"
}
},
"extra": {
@ -144,16 +137,14 @@
"@php artisan migrate:fresh --env=testing",
"vendor/bin/codecept run unit",
"vendor/bin/codecept run functional",
"vendor/bin/codecept run trigger",
"vendor/bin/codecept run api"
"vendor/bin/codecept run trigger"
],
"test-win": [
"@set -e",
"@php artisan migrate:fresh --env=testing",
"vendor\\bin\\codecept.bat run unit",
"vendor\\bin\\codecept.bat run functional",
"vendor\\bin\\codecept.bat run trigger",
"vendor\\bin\\codecept.bat run api"
"vendor\\bin\\codecept.bat run trigger"
]
},
"config": {

7087
composer.lock generated

File diff suppressed because it is too large Load Diff

13
config/.gitignore vendored
View File

@ -1,13 +0,0 @@
db-blade-compiler.php
debugbar.php
dompdf.php
excel.php
flare.php
ignition.php
image.php
imagecache.php
jwt.php
repository.php
scout.php
tinker.php
translatable.php

View File

@ -1,7 +1,5 @@
<?php
use Illuminate\Support\Facades\Facade;
return [
/*
@ -15,7 +13,7 @@ return [
|
*/
'name' => env('APP_NAME', 'Elektronika'),
'name' => env('APP_NAME', 'Bagisto'),
/*
|--------------------------------------------------------------------------
@ -79,7 +77,7 @@ return [
|
*/
'timezone' => env('APP_TIMEZONE', 'Asia/Ashgabat'),
'timezone' => env('APP_TIMEZONE', 'Asia/Kolkata'),
/*
|--------------------------------------------------------------------------
@ -120,7 +118,7 @@ return [
| (use capital letters!)
*/
'default_country' => 'TM',
'default_country' => null,
/*
|--------------------------------------------------------------------------
@ -142,7 +140,7 @@ return [
|
*/
'channel' => 'ashgabat',
'channel' => 'default',
/*
|--------------------------------------------------------------------------
@ -159,15 +157,15 @@ return [
'cipher' => 'AES-256-CBC',
/**
* Code editor.
/*
Code Editor
*/
'editor' => 'vscode',
/*
*Application Version
Application Version
*/
'version' => env('APP_VERSION', '1.x-dev'),
'version' => env('APP_VERSION'),
/**
* Blacklisting attributes while debugging
@ -202,7 +200,7 @@ return [
'providers' => [
/*
* Laravel Framework Service Providers.
* Laravel Framework Service Providers...
*/
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
@ -228,15 +226,13 @@ return [
Illuminate\View\ViewServiceProvider::class,
/*
* Package Service Providers.
* Package Service Providers...
*/
Astrotomic\Translatable\TranslatableServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,
Maatwebsite\Excel\ExcelServiceProvider::class,
/*
* Application Service Providers.
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
@ -244,17 +240,20 @@ return [
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
/**
* Repository Service Providers.
*/
//Laravel Intervention
Intervention\Image\ImageServiceProvider::class,
//Laravel Maatwebsite
Maatwebsite\Excel\ExcelServiceProvider::class,
//Repository
Prettus\Repository\Providers\RepositoryServiceProvider::class,
Konekt\Concord\ConcordServiceProvider::class,
Flynsarmy\DbBladeCompiler\DbBladeCompilerServiceProvider::class,
Barryvdh\DomPDF\ServiceProvider::class,
Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
/**
* Webkul Package Service Providers.
*/
//Webkul packages
Webkul\Theme\Providers\ThemeServiceProvider::class,
Webkul\User\Providers\UserServiceProvider::class,
Webkul\Admin\Providers\AdminServiceProvider::class,
@ -270,9 +269,10 @@ return [
Webkul\Checkout\Providers\CheckoutServiceProvider::class,
Webkul\Shipping\Providers\ShippingServiceProvider::class,
Webkul\Payment\Providers\PaymentServiceProvider::class,
// Webkul\Paypal\Providers\PaypalServiceProvider::class,
Webkul\Paypal\Providers\PaypalServiceProvider::class,
Webkul\Sales\Providers\SalesServiceProvider::class,
Webkul\Tax\Providers\TaxServiceProvider::class,
Webkul\API\Providers\APIServiceProvider::class,
Webkul\CatalogRule\Providers\CatalogRuleServiceProvider::class,
Webkul\CartRule\Providers\CartRuleServiceProvider::class,
Webkul\Rule\Providers\RuleServiceProvider::class,
@ -280,15 +280,8 @@ return [
Webkul\Velocity\Providers\VelocityServiceProvider::class,
Webkul\BookingProduct\Providers\BookingProductServiceProvider::class,
Webkul\SocialLogin\Providers\SocialLoginServiceProvider::class,
// Webkul\DebugBar\Providers\DebugBarServiceProvider::class,
Webkul\DebugBar\Providers\DebugBarServiceProvider::class,
Webkul\Marketing\Providers\MarketingServiceProvider::class,
Webkul\Notification\Providers\NotificationServiceProvider::class,
Webkul\Sitemap\Providers\SitemapServiceProvider::class,
// Webkul\Marketplace\Providers\MarketplaceServiceProvider::class,
TPS\Shop\Providers\ShopServiceProvider::class,
TPS\API\Providers\APIServiceProvider::class,
TPS\Admin\Providers\AdminServiceProvider::class,
TPS\Payment\Providers\PaymentServiceProvider::class
],
/*
@ -302,20 +295,65 @@ return [
|
*/
'aliases' => Facade::defaultAliases()->merge([
'aliases' => [
/**
* Laravel
*
* Place your aliases in alphabetical order.
*/
'App' => Illuminate\Support\Facades\App::class,
'Artisan' => Illuminate\Support\Facades\Artisan::class,
'Auth' => Illuminate\Support\Facades\Auth::class,
'Blade' => Illuminate\Support\Facades\Blade::class,
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
'Bus' => Illuminate\Support\Facades\Bus::class,
'Cache' => Illuminate\Support\Facades\Cache::class,
'Config' => Illuminate\Support\Facades\Config::class,
'Cookie' => Illuminate\Support\Facades\Cookie::class,
'Crypt' => Illuminate\Support\Facades\Crypt::class,
'DB' => Illuminate\Support\Facades\DB::class,
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
'Event' => Illuminate\Support\Facades\Event::class,
'File' => Illuminate\Support\Facades\File::class,
'Gate' => Illuminate\Support\Facades\Gate::class,
'Hash' => Illuminate\Support\Facades\Hash::class,
'Lang' => Illuminate\Support\Facades\Lang::class,
'Log' => Illuminate\Support\Facades\Log::class,
'Mail' => Illuminate\Support\Facades\Mail::class,
'Notification' => Illuminate\Support\Facades\Notification::class,
'Password' => Illuminate\Support\Facades\Password::class,
'Queue' => Illuminate\Support\Facades\Queue::class,
'Redirect' => Illuminate\Support\Facades\Redirect::class,
'Redis' => Illuminate\Support\Facades\Redis::class,
'Request' => Illuminate\Support\Facades\Request::class,
'Response' => Illuminate\Support\Facades\Response::class,
'Route' => Illuminate\Support\Facades\Route::class,
'Schema' => Illuminate\Support\Facades\Schema::class,
'Session' => Illuminate\Support\Facades\Session::class,
'Storage' => Illuminate\Support\Facades\Storage::class,
'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
/**
* Bagisto
*
* Place your aliases in alphabetical order.
*/
'Captcha' => Webkul\Customer\Facades\Captcha::class,
'Cart' => Webkul\Checkout\Facades\Cart::class,
'Concord' => Konekt\Concord\Facades\Concord::class,
'Core' => Webkul\Core\Facades\Core::class,
'Datagrid' => Webkul\Ui\DataGrid\Facades\DataGrid::class,
'DbView' => Flynsarmy\DbBladeCompiler\Facades\DbView::class,
'Debugbar' => Barryvdh\Debugbar\Facades\Debugbar::class,
'Debugbar' => Barryvdh\Debugbar\Facade::class,
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
'Helper' => Konekt\Concord\Facades\Helper::class,
'Image' => Intervention\Image\Facades\Image::class,
'PDF' => Barryvdh\DomPDF\Facade\Pdf::class,
'PDF' => Barryvdh\DomPDF\Facade::class,
'ProductImage' => Webkul\Product\Facades\ProductImage::class,
'ProductGrid' => Webkul\Ui\DataGrid\Facades\ProductGrid::class,
'ProductVideo' => Webkul\Product\Facades\ProductVideo::class,
'Redis' => Illuminate\Support\Facades\Redis::class,
])->toArray(),
],
];

View File

@ -2,17 +2,12 @@
return [
'defaults' => [
'guard' => 'customer',
'passwords' => 'customers',
'guard' => 'web',
'passwords' => 'admins',
],
'guards' => [
'customer' => [
'driver' => 'session',
'provider' => 'customers',
],
'admin' => [
'web' => [
'driver' => 'session',
'provider' => 'admins',
],
@ -22,10 +17,20 @@ return [
'provider' => 'customers',
],
'customer' => [
'driver' => 'session',
'provider' => 'customers'
],
'admin' => [
'driver' => 'session',
'provider' => 'admins'
],
'admin-api' => [
'driver' => 'jwt',
'provider' => 'admins',
],
]
],
'providers' => [
@ -37,22 +42,19 @@ return [
'admins' => [
'driver' => 'eloquent',
'model' => Webkul\User\Models\Admin::class,
],
]
],
'passwords' => [
'customers' => [
'provider' => 'customers',
'table' => 'customer_password_resets',
'expire' => 60,
'throttle' => 60,
],
'admins' => [
'provider' => 'admins',
'table' => 'admin_password_resets',
'expire' => 60,
'throttle' => 60,
],
'customers' => [
'provider' => 'customers',
'table' => 'customer_password_resets',
'expire' => 60,
],
],
];

View File

@ -1,75 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| View Name
|--------------------------------------------------------------------------
|
| Choose a view to display when Breadcrumbs::render() is called.
| Built in templates are:
|
| - 'breadcrumbs::bootstrap5' - Bootstrap 5
| - 'breadcrumbs::bootstrap4' - Bootstrap 4
| - 'breadcrumbs::bulma' - Bulma
| - 'breadcrumbs::foundation6' - Foundation 6
| - 'breadcrumbs::json-ld' - JSON-LD Structured Data
| - 'breadcrumbs::materialize' - Materialize
| - 'breadcrumbs::tailwind' - Tailwind CSS
| - 'breadcrumbs::uikit' - UIkit
|
| Or a custom view, e.g. '_partials/breadcrumbs'.
|
*/
'view' => 'breadcrumbs::bootstrap5',
/*
|--------------------------------------------------------------------------
| Breadcrumbs File(s)
|--------------------------------------------------------------------------
|
| The file(s) where breadcrumbs are defined. e.g.
|
| - base_path('routes/breadcrumbs.php')
| - glob(base_path('breadcrumbs/*.php'))
|
*/
'files' => base_path('routes/breadcrumbs.php'),
/*
|--------------------------------------------------------------------------
| Exceptions
|--------------------------------------------------------------------------
|
| Determine when to throw an exception.
|
*/
// When route-bound breadcrumbs are used but the current route doesn't have a name (UnnamedRouteException)
'unnamed-route-exception' => true,
// When route-bound breadcrumbs are used and the matching breadcrumb doesn't exist (InvalidBreadcrumbException)
'missing-route-bound-breadcrumb-exception' => true,
// When a named breadcrumb is used but doesn't exist (InvalidBreadcrumbException)
'invalid-named-breadcrumb-exception' => true,
/*
|--------------------------------------------------------------------------
| Classes
|--------------------------------------------------------------------------
|
| Subclass the default classes for more advanced customisations.
|
*/
// Manager
'manager-class' => Diglactic\Breadcrumbs\Manager::class,
// Generator
'generator-class' => Diglactic\Breadcrumbs\Generator::class,
];

View File

@ -5,7 +5,6 @@ return [
'convention' => Webkul\Core\CoreConvention::class,
'modules' => [
/**
* Example:
* VendorA\ModuleX\Providers\ModuleServiceProvider::class,
@ -14,6 +13,7 @@ return [
*/
\Webkul\Admin\Providers\ModuleServiceProvider::class,
\Webkul\API\Providers\ModuleServiceProvider::class,
\Webkul\Attribute\Providers\ModuleServiceProvider::class,
\Webkul\BookingProduct\Providers\ModuleServiceProvider::class,
\Webkul\CartRule\Providers\ModuleServiceProvider::class,
@ -38,7 +38,5 @@ return [
\Webkul\Ui\Providers\ModuleServiceProvider::class,
\Webkul\User\Providers\ModuleServiceProvider::class,
\Webkul\Velocity\Providers\ModuleServiceProvider::class,
\Webkul\Sitemap\Providers\ModuleServiceProvider::class,
],
]
];

View File

@ -1,5 +1,7 @@
<?php
use Illuminate\Support\Str;
return [
/*
@ -36,7 +38,7 @@ return [
'sqlite' => [
'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => env('DB_PREFIX', ''),
'prefix' => env('DB_PREFIX'),
],
'mysql' => [
@ -49,7 +51,7 @@ return [
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => env('DB_PREFIX', ''),
'prefix' => env('DB_PREFIX'),
'strict' => false,
'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
],

View File

@ -42,48 +42,6 @@ return [
'port' => 2304, // Port to use with the "socket" driver
],
/*
|--------------------------------------------------------------------------
| Editor
|--------------------------------------------------------------------------
|
| Choose your preferred editor to use when clicking file name.
|
| Supported: "phpstorm", "vscode", "vscode-insiders", "vscode-remote",
| "vscode-insiders-remote", "vscodium", "textmate", "emacs",
| "sublime", "atom", "nova", "macvim", "idea", "netbeans",
| "xdebug", "espresso"
|
*/
'editor' => env('DEBUGBAR_EDITOR', 'phpstorm'),
/*
|--------------------------------------------------------------------------
| Remote Path Mapping
|--------------------------------------------------------------------------
|
| If you are using a remote dev server, like Laravel Homestead, Docker, or
| even a remote VPS, it will be necessary to specify your path mapping.
|
| Leaving one, or both of these, empty or null will not trigger the remote
| URL changes and Debugbar will treat your editor links as local files.
|
| "remote_sites_path" is an absolute base path for your sites or projects
| in Homestead, Vagrant, Docker, or another remote development server.
|
| Example value: "/home/vagrant/Code"
|
| "local_sites_path" is an absolute base path for your sites or projects
| on your local computer where your IDE or code editor is running on.
|
| Example values: "/Users/<name>/Code", "C:\Users\<name>\Documents\Code"
|
*/
'remote_sites_path' => env('DEBUGBAR_REMOTE_SITES_PATH', ''),
'local_sites_path' => env('DEBUGBAR_LOCAL_SITES_PATH', ''),
/*
|--------------------------------------------------------------------------
| Vendors
@ -192,7 +150,6 @@ return [
'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
'backtrace_exclude_paths' => [], // Paths to exclude from backtrace. (in addition to defaults)
'timeline' => false, // Add the queries to the timeline
'duration_background' => true, // Show shaded background on each query relative to how long it took to execute.
'explain' => [ // Show EXPLAIN output on queries
'enabled' => false,
'types' => ['SELECT'], // Deprecated setting, is always only SELECT
@ -204,7 +161,6 @@ return [
'full_log' => false,
],
'views' => [
'timeline' => false, // Add the views to the timeline (Experimental)
'data' => false, //Note: Can slow down the application, because the data can be quite large..
],
'route' => [

View File

@ -13,10 +13,6 @@ return array(
*/
'show_warnings' => false, // Throw an Exception on warnings from dompdf
'orientation' => 'portrait',
/*
* Dejavu Sans font is missing glyphs for converted entities, turn it off if you need to show and £.
*/
'convert_entities' => true,
'defines' => array(
/**
* The location of the DOMPDF font directory
@ -42,7 +38,7 @@ return array(
* Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic,
* Symbol, ZapfDingbats.
*/
"font_dir" => storage_path('fonts'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
"font_dir" => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
/**
* The location of the DOMPDF font cache directory
@ -52,7 +48,7 @@ return array(
*
* Note: This directory must exist and be writable by the webserver process.
*/
"font_cache" => storage_path('fonts'),
"font_cache" => storage_path('fonts/'),
/**
* The location of a temporary directory.

View File

@ -1,210 +0,0 @@
<?php
return [
/**
* You can specify one of several different connections when building an
* Elasticsearch client.
*
* Here you may specify which of the connections below you wish to use
* as your default connection when building an client. Of course you may
* use create several clients at once, each with different configurations.
*/
'defaultConnection' => 'default',
/**
* These are the connection parameters used when building a client.
*/
'connections' => [
'default' => [
/**
* Hosts
*
* This is an array of hosts that the client will connect to. It can be a
* single host, or an array if you are running a cluster of Elasticsearch
* instances.
*
* This is the only configuration value that is mandatory.
*
* Presently using "extended" host configuration method
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_extended_host_configuration
*
* There is also the shorter "inline" configuration method available
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_inline_host_configuration
*/
'hosts' => [
[
'host' => env('ELASTICSEARCH_HOST', 'localhost'),
// For local development, the default Elasticsearch port is 9200.
// If you are connecting to an Elasticsearch instance on AWS, you probably want to set this to null
'port' => env('ELASTICSEARCH_PORT', 9200),
'scheme' => env('ELASTICSEARCH_SCHEME', null),
'user' => env('ELASTICSEARCH_USER', null),
'pass' => env('ELASTICSEARCH_PASS', null),
// If you are connecting to an Elasticsearch instance on AWS, you will need these values as well
'aws' => env('AWS_ELASTICSEARCH_ENABLED', false),
'aws_region' => env('AWS_REGION', ''),
'aws_key' => env('AWS_ACCESS_KEY_ID', ''),
'aws_secret' => env('AWS_SECRET_ACCESS_KEY', ''),
'aws_credentials' => null,
'aws_session_token' => env('AWS_SESSION_TOKEN', null),
],
],
/**
* SSL
*
* If your Elasticsearch instance uses an out-dated or self-signed SSL
* certificate, you will need to pass in the certificate bundle. This can
* either be the path to the certificate file (for self-signed certs), or a
* package like https://github.com/Kdyby/CurlCaBundle. See the documentation
* below for all the details.
*
* If you are using SSL instances, and the certificates are up-to-date and
* signed by a public certificate authority, then you can leave this null and
* just use "https" in the host path(s) above and you should be fine.
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_security.html#_ssl_encryption_2
*/
'sslVerification' => null,
/**
* Logging
*
* Logging is handled by passing in an instance of Monolog\Logger (which
* coincidentally is what Laravel's default logger is).
*
* If logging is enabled, you either need to set the path and log level
* (some defaults are given for you below), or you can use a custom logger by
* setting 'logObject' to an instance of Psr\Log\LoggerInterface. In fact,
* if you just want to use the default Laravel logger, then set 'logObject'
* to \Log::getMonolog().
*
* Note: 'logObject' takes precedent over 'logPath'/'logLevel', so set
* 'logObject' null if you just want file-based logging to a custom path.
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#enabling_logger
*/
'logging' => false,
// If you have an existing instance of Monolog you can use it here.
// 'logObject' => \Log::getMonolog(),
'logPath' => storage_path('logs/elasticsearch.log'),
'logLevel' => Monolog\Logger::INFO,
/**
* Retries
*
* By default, the client will retry n times, where n = number of nodes in
* your cluster. If you would like to disable retries, or change the number,
* you can do so here.
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_set_retries
*/
'retries' => null,
/**
* The remainder of the configuration options can almost always be left
* as-is unless you have specific reasons to change them. Refer to the
* appropriate sections in the Elasticsearch documentation for what each option
* does and what values it expects.
*/
/**
* Sniff On Start
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html
*/
'sniffOnStart' => false,
/**
* HTTP Handler
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_configure_the_http_handler
* @see http://ringphp.readthedocs.org/en/latest/client_handlers.html
*/
'httpHandler' => null,
/**
* Connection Pool
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_connection_pool
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_connection_pool.html
*/
'connectionPool' => null,
/**
* Connection Selector
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_connection_selector
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_selectors.html
*/
'connectionSelector' => null,
/**
* Serializer
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_serializer
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_serializers.html
*/
'serializer' => null,
/**
* Connection Factory
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_a_custom_connectionfactory
*/
'connectionFactory' => null,
/**
* Endpoint
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/6.0/_configuration.html#_set_the_endpoint_closure
*/
'endpoint' => null,
/**
* Register additional namespaces
*
* An array of additional namespaces to register.
*
* @example 'namespaces' => [XPack::Security(), XPack::Watcher()]
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/ElasticsearchPHP_Endpoints.html#Elasticsearch_ClientBuilderregisterNamespace_registerNamespace
*/
'namespaces' => [],
/**
* Tracer
*
* Tracer is handled by passing in a name of the class implements Psr\Log\LoggerInterface.
*
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_a_custom_connectionfactory
*/
'tracer' => null,
],
],
];

View File

@ -48,7 +48,6 @@ return [
'use_bom' => false,
'include_separator_line' => false,
'excel_compatibility' => false,
'output_encoding' => '',
],
/*
@ -122,7 +121,7 @@ return [
|
*/
'csv' => [
'delimiter' => null,
'delimiter' => ',',
'enclosure' => '"',
'escape_character' => '\\',
'contiguous' => false,
@ -277,9 +276,6 @@ return [
*/
'transactions' => [
'handler' => 'db',
'db' => [
'connection' => null,
],
],
'temporary_files' => [
@ -293,7 +289,7 @@ return [
| storing reading or downloading. Here you can customize that path.
|
*/
'local_path' => storage_path('framework/cache/laravel-excel'),
'local_path' => storage_path('framework/laravel-excel'),
/*
|--------------------------------------------------------------------------

View File

@ -13,7 +13,7 @@ return [
|
*/
'default' => env('FILESYSTEM_DISK', 'public'),
'default' => env('FILESYSTEM_DRIVER', 'public'),
/*
|--------------------------------------------------------------------------

View File

@ -1,17 +1,5 @@
<?php
use Spatie\FlareClient\FlareMiddleware\AddGitInformation;
use Spatie\FlareClient\FlareMiddleware\RemoveRequestIp;
use Spatie\FlareClient\FlareMiddleware\CensorRequestBodyFields;
use Spatie\FlareClient\FlareMiddleware\CensorRequestHeaders;
use Spatie\LaravelIgnition\FlareMiddleware\AddDumps;
use Spatie\LaravelIgnition\FlareMiddleware\AddEnvironmentInformation;
use Spatie\LaravelIgnition\FlareMiddleware\AddExceptionInformation;
use Spatie\LaravelIgnition\FlareMiddleware\AddJobs;
use Spatie\LaravelIgnition\FlareMiddleware\AddLogs;
use Spatie\LaravelIgnition\FlareMiddleware\AddQueries;
use Spatie\LaravelIgnition\FlareMiddleware\AddNotifierName;
return [
/*
|
@ -29,51 +17,46 @@ return [
/*
|--------------------------------------------------------------------------
| Middleware
| Reporting Options
|--------------------------------------------------------------------------
|
| These middleware will modify the contents of the report sent to Flare.
| These options determine which information will be transmitted to Flare.
|
*/
'flare_middleware' => [
RemoveRequestIp::class,
AddGitInformation::class,
AddNotifierName::class,
AddEnvironmentInformation::class,
AddExceptionInformation::class,
AddDumps::class,
AddLogs::class => [
'maximum_number_of_collected_logs' => 200,
],
AddQueries::class => [
'reporting' => [
'anonymize_ips' => true,
'collect_git_information' => false,
'report_queries' => true,
'maximum_number_of_collected_queries' => 200,
'report_query_bindings' => true,
],
AddJobs::class => [
'max_chained_job_reporting_depth' => 5,
],
CensorRequestBodyFields::class => [
'censor_fields' => [
'password',
],
],
CensorRequestHeaders::class => [
'headers' => [
'API-KEY'
]
]
'report_view_data' => true,
'grouping_type' => null,
'report_logs' => true,
'maximum_number_of_collected_logs' => 200,
'censor_request_body_fields' => ['password'],
],
/*
|--------------------------------------------------------------------------
| Reporting log statements
| Reporting Log statements
|--------------------------------------------------------------------------
|
| If this setting is `false` log statements won't be sent as events to Flare,
| If this setting is `false` log statements won't be send as events to Flare,
| no matter which error level you specified in the Flare log channel.
|
*/
'send_logs_as_events' => true,
/*
|--------------------------------------------------------------------------
| Censor request body fields
|--------------------------------------------------------------------------
|
| These fields will be censored from your request when sent to Flare.
|
*/
'censor_request_body_fields' => ['password'],
];

View File

@ -1,23 +1,5 @@
<?php
use Spatie\Ignition\Solutions\SolutionProviders\BadMethodCallSolutionProvider;
use Spatie\Ignition\Solutions\SolutionProviders\MergeConflictSolutionProvider;
use Spatie\Ignition\Solutions\SolutionProviders\UndefinedPropertySolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\DefaultDbNameSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\GenericLaravelExceptionSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\IncorrectValetDbCredentialsSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\InvalidRouteActionSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\MissingAppKeySolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\MissingColumnSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\MissingImportSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\MissingLivewireComponentSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\MissingMixManifestSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\RunningLaravelDuskInProductionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\TableNotFoundSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\UndefinedViewVariableSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\UnknownValidationSolutionProvider;
use Spatie\LaravelIgnition\Solutions\SolutionProviders\ViewNotFoundSolutionProvider;
return [
/*
@ -46,7 +28,7 @@ return [
|
*/
'theme' => env('IGNITION_THEME', 'auto'),
'theme' => env('IGNITION_THEME', 'light'),
/*
|--------------------------------------------------------------------------
@ -74,43 +56,8 @@ return [
| You can enable the command registration below.
|
*/
'register_commands' => env('REGISTER_IGNITION_COMMANDS', false),
/*
|--------------------------------------------------------------------------
| Solution Providers
|--------------------------------------------------------------------------
|
| You may specify a list of solution providers (as fully qualified class
| names) that shouldn't be loaded. Ignition will ignore these classes
| and possible solutions provided by them will never be displayed.
|
*/
'solution_providers' => [
// from spatie/ignition
BadMethodCallSolutionProvider::class,
MergeConflictSolutionProvider::class,
UndefinedPropertySolutionProvider::class,
// from spatie/laravel-ignition
IncorrectValetDbCredentialsSolutionProvider::class,
MissingAppKeySolutionProvider::class,
DefaultDbNameSolutionProvider::class,
TableNotFoundSolutionProvider::class,
MissingImportSolutionProvider::class,
InvalidRouteActionSolutionProvider::class,
ViewNotFoundSolutionProvider::class,
RunningLaravelDuskInProductionProvider::class,
MissingColumnSolutionProvider::class,
UnknownValidationSolutionProvider::class,
MissingMixManifestSolutionProvider::class,
MissingLivewireComponentSolutionProvider::class,
UndefinedViewVariableSolutionProvider::class,
GenericLaravelExceptionSolutionProvider::class,
],
/*
|--------------------------------------------------------------------------
| Ignored Solution Providers
@ -123,7 +70,7 @@ return [
*/
'ignored_solution_providers' => [
\Facade\Ignition\SolutionProviders\MissingPackageSolutionProvider::class,
],
/*
@ -132,14 +79,12 @@ return [
|--------------------------------------------------------------------------
|
| Some solutions that Ignition displays are runnable and can perform
| various tasks. By default, runnable solutions are enabled when your app
| has debug mode enabled. You may also fully disable this feature.
|
| Default: env('IGNITION_ENABLE_RUNNABLE_SOLUTIONS', env('APP_DEBUG', false))
| various tasks. Runnable solutions are enabled when your app has
| debug mode enabled. You may also fully disable this feature.
|
*/
'enable_runnable_solutions' => env('IGNITION_ENABLE_RUNNABLE_SOLUTIONS', env('APP_DEBUG', false)),
'enable_runnable_solutions' => env('IGNITION_ENABLE_RUNNABLE_SOLUTIONS', null),
/*
|--------------------------------------------------------------------------
@ -164,7 +109,7 @@ return [
|
*/
'remote_sites_path' => env('IGNITION_REMOTE_SITES_PATH', base_path()),
'remote_sites_path' => env('IGNITION_REMOTE_SITES_PATH', ''),
'local_sites_path' => env('IGNITION_LOCAL_SITES_PATH', ''),
/*
@ -176,32 +121,6 @@ return [
| specify a route prefix that will be used to host all internal links.
|
*/
'housekeeping_endpoint_prefix' => '_ignition',
/*
|--------------------------------------------------------------------------
| Settings File
|--------------------------------------------------------------------------
|
| Ignition allows you to save your settings to a specific global file.
|
| If no path is specified, a file with settings will be saved to the user's
| home directory. The directory depends on the OS and its settings but it's
| typically `~/.ignition.json`. In this case, the settings will be applied
| to all of your projects where Ignition is used and the path is not
| specified.
|
| However, if you want to store your settings on a project basis, or you
| want to keep them in another directory, you can specify a path where
| the settings file will be saved. The path should be an existing directory
| with correct write access.
| For example, create a new `ignition` folder in the storage directory and
| use `storage_path('ignition')` as the `settings_file_path`.
|
| Default value: '' (empty string)
*/
'settings_file_path' => '',
];

View File

@ -1,6 +1,7 @@
<?php
return [
return array(
/*
|--------------------------------------------------------------------------
| Name of route
@ -29,10 +30,10 @@ return [
|
*/
'paths' => [
'paths' => array(
storage_path('app/public'),
public_path('storage'),
],
public_path('storage')
),
/*
|--------------------------------------------------------------------------
@ -50,11 +51,11 @@ return [
|
*/
'templates' => [
'templates' => array(
'small' => 'Webkul\Product\CacheFilters\Small',
'medium' => 'Webkul\Product\CacheFilters\Medium',
'large' => 'Webkul\Product\CacheFilters\Large',
],
),
/*
|--------------------------------------------------------------------------
@ -66,4 +67,5 @@ return [
*/
'lifetime' => 525600,
];
);

View File

@ -1,6 +1,16 @@
<?php
/*
* This file is part of jwt-auth.
*
* (c) Sean Tymon <tymon148@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
/*
|--------------------------------------------------------------------------
| JWT Authentication Secret
@ -35,6 +45,7 @@ return [
*/
'keys' => [
/*
|--------------------------------------------------------------------------
| Public Key
@ -71,6 +82,7 @@ return [
*/
'passphrase' => env('JWT_PASSPHRASE'),
],
/*
@ -89,7 +101,7 @@ return [
|
*/
'ttl' => env('JWT_TTL', null),
'ttl' => env('JWT_TTL', 60),
/*
|--------------------------------------------------------------------------
@ -225,17 +237,6 @@ return [
'blacklist_grace_period' => env('JWT_BLACKLIST_GRACE_PERIOD', 0),
/*
|--------------------------------------------------------------------------
| Show blacklisted token option
|--------------------------------------------------------------------------
|
| Specify if you want to show black listed token exception on the laravel logs.
|
*/
'show_black_list_exception' => env('JWT_SHOW_BLACKLIST_EXCEPTION', 0),
/*
|--------------------------------------------------------------------------
| Cookies encryption
@ -264,6 +265,7 @@ return [
*/
'providers' => [
/*
|--------------------------------------------------------------------------
| JWT Provider
@ -273,7 +275,7 @@ return [
|
*/
'jwt' => PHPOpenSourceSaver\JWTAuth\Providers\JWT\Lcobucci::class,
'jwt' => Tymon\JWTAuth\Providers\JWT\Lcobucci::class,
/*
|--------------------------------------------------------------------------
@ -284,7 +286,7 @@ return [
|
*/
'auth' => PHPOpenSourceSaver\JWTAuth\Providers\Auth\Illuminate::class,
'auth' => Tymon\JWTAuth\Providers\Auth\Illuminate::class,
/*
|--------------------------------------------------------------------------
@ -295,6 +297,8 @@ return [
|
*/
'storage' => PHPOpenSourceSaver\JWTAuth\Providers\Storage\Illuminate::class,
'storage' => Tymon\JWTAuth\Providers\Storage\Illuminate::class,
],
];

View File

@ -4,81 +4,45 @@ return [
/*
|--------------------------------------------------------------------------
| Default Mailer
| Mail Driver
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your application. Alternative mailers may be setup
| and used as needed; however, this mailer will be used by default.
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses",
| "sparkpost", "log", "array"
|
*/
'default' => env('MAIL_MAILER', 'smtp'),
'driver' => env('MAIL_DRIVER', 'smtp'),
/*
|--------------------------------------------------------------------------
| Mailer Configurations
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may configure all of the mailers used by your application plus
| their respective settings. Several examples have been configured for
| you and you are free to add your own as your application requires.
|
| Laravel supports a variety of mail "transport" drivers to be used while
| sending an e-mail. You will specify which one you are using for your
| mailers below. You are free to add additional mailers as required.
|
| Supported: "smtp", "sendmail", "mailgun", "ses",
| "postmark", "log", "array", "failover"
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Mailgun mail service which will provide reliable deliveries.
|
*/
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to deliver e-mails to
| users of the application. Like the host we have set this value to
| stay compatible with the Mailgun e-mail application by default.
|
*/
'port' => env('MAIL_PORT', 587),
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'verify_peer' => false,
],
'ses' => [
'transport' => 'ses',
],
'mailgun' => [
'transport' => 'mailgun',
],
'postmark' => [
'transport' => 'postmark',
],
'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
],
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
],
'array' => [
'transport' => 'array',
],
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
],
],
/*
|--------------------------------------------------------------------------
@ -110,6 +74,55 @@ return [
'name' => env('ADMIN_MAIL_NAME', 'Admin')
],
/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'stream' => [
'ssl' => [
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
],
],
/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/
'sendmail' => '/usr/sbin/sendmail -bs',
/*
|--------------------------------------------------------------------------
| Markdown Mail Settings

View File

@ -79,7 +79,6 @@ return [
*/
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'failed_jobs',
],

View File

@ -1,65 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts will receive stateful API
| authentication cookies. Typically, these should include your local
| and production domains which access your API via a frontend SPA.
|
*/
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : ''
))),
/*
|--------------------------------------------------------------------------
| Sanctum Guards
|--------------------------------------------------------------------------
|
| This array contains the authentication guards that will be checked when
| Sanctum is trying to authenticate a request. If none of these guards
| are able to authenticate the request, Sanctum will use the bearer
| token that's present on an incoming request for authentication.
|
*/
'guard' => ['admin', 'customer'],
/*
|--------------------------------------------------------------------------
| Expiration Minutes
|--------------------------------------------------------------------------
|
| This value controls the number of minutes until an issued token will be
| considered expired. If this value is null, personal access tokens do
| not expire. This won't tweak the lifetime of first-party sessions.
|
*/
'expiration' => null,
/*
|--------------------------------------------------------------------------
| Sanctum Middleware
|--------------------------------------------------------------------------
|
| When authenticating your first-party SPA with Sanctum you may need to
| customize some of the middleware Sanctum uses while processing the
| request. You may change the middleware listed below as required.
|
*/
'middleware' => [
'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
],
];

View File

@ -41,20 +41,7 @@ return [
|
*/
'queue' => env('SCOUT_QUEUE', false),
/*
|--------------------------------------------------------------------------
| Database Transactions
|--------------------------------------------------------------------------
|
| This configuration option determines if your data will only be synced
| with your search indexes after every open database transaction has
| been committed, thus preventing any discarded data from syncing.
|
*/
'after_commit' => false,
'queue' => env('SCOUT_QUEUE', true),
/*
|--------------------------------------------------------------------------
@ -85,21 +72,6 @@ return [
'soft_delete' => false,
/*
|--------------------------------------------------------------------------
| Identify User
|--------------------------------------------------------------------------
|
| This option allows you to control whether to notify the search engine
| of the user performing the search. This is sometimes useful if the
| engine supports any analytics based on this application's users.
|
| Supported engines: "algolia"
|
*/
'identify' => env('SCOUT_IDENTIFY', false),
/*
|--------------------------------------------------------------------------
| Algolia Configuration

View File

@ -1,57 +0,0 @@
<?php
use GuzzleHttp\RequestOptions;
use Spatie\Sitemap\Crawler\Profile;
return [
/*
* These options will be passed to GuzzleHttp\Client when it is created.
* For in-depth information on all options see the Guzzle docs:
*
* http://docs.guzzlephp.org/en/stable/request-options.html
*/
'guzzle_options' => [
/*
* Whether or not cookies are used in a request.
*/
RequestOptions::COOKIES => true,
/*
* The number of seconds to wait while trying to connect to a server.
* Use 0 to wait indefinitely.
*/
RequestOptions::CONNECT_TIMEOUT => 10,
/*
* The timeout of the request in seconds. Use 0 to wait indefinitely.
*/
RequestOptions::TIMEOUT => 10,
/*
* Describes the redirect behavior of a request.
*/
RequestOptions::ALLOW_REDIRECTS => false,
],
/*
* The sitemap generator can execute JavaScript on each page so it will
* discover links that are generated by your JS scripts. This feature
* is powered by headless Chrome.
*/
'execute_javascript' => false,
/*
* The package will make an educated guess as to where Google Chrome is installed.
* You can also manually pass it's location here.
*/
'chrome_binary_path' => null,
/*
* The sitemap generator uses a CrawlProfile implementation to determine
* which urls should be crawled for the sitemap.
*/
'crawl_profile' => Profile::class,
];

View File

@ -16,18 +16,19 @@ return [
// 'name' => 'Bliss',
// 'parent' => 'default'
// ]
'elektronika' => [
'views_path' => 'resources/themes/elektronika/views',
'assets_path' => 'public/themes/elektronika/assets',
'name' => 'Elektronika',
'parent' => 'default'
],
'velocity' => [
'views_path' => 'resources/themes/velocity/views',
'assets_path' => 'public/themes/velocity/assets',
'name' => 'Velocity',
'parent' => 'default'
],
'elektronika' => [
'views_path' => 'resources/themes/elektronika/views',
'assets_path' => 'public/themes/elektronika/assets',
'name' => 'Elektronika',
'parent' => 'default'
],
],
'admin-default' => 'default',

50
config/trustedproxy.php Normal file
View File

@ -0,0 +1,50 @@
<?php
return [
/*
* Set trusted proxy IP addresses.
*
* Both IPv4 and IPv6 addresses are
* supported, along with CIDR notation.
*
* The "*" character is syntactic sugar
* within TrustedProxy to trust any proxy
* that connects directly to your server,
* a requirement when you cannot know the address
* of your proxy (e.g. if using ELB or similar).
*
*/
'proxies' => null, // [<ip addresses>,], '*', '<ip addresses>,'
/*
* To trust one or more specific proxies that connect
* directly to your server, use an array or a string separated by comma of IP addresses:
*/
// 'proxies' => ['192.168.1.1'],
// 'proxies' => '192.168.1.1, 192.168.1.2',
/*
* Or, to trust all proxies that connect
* directly to your server, use a "*"
*/
// 'proxies' => '*',
/*
* Which headers to use to detect proxy related data (For, Host, Proto, Port)
*
* Options include:
*
* - Illuminate\Http\Request::HEADER_X_FORWARDED_ALL (use all x-forwarded-* headers to establish trust)
* - Illuminate\Http\Request::HEADER_FORWARDED (use the FORWARDED header to establish trust)
* - Illuminate\Http\Request::HEADER_X_FORWARDED_AWS_ELB (If you are using AWS Elastic Load Balancer)
*
* - 'HEADER_X_FORWARDED_ALL' (use all x-forwarded-* headers to establish trust)
* - 'HEADER_FORWARDED' (use the FORWARDED header to establish trust)
* - 'HEADER_X_FORWARDED_AWS_ELB' (If you are using AWS Elastic Load Balancer)
*
* @link https://symfony.com/doc/current/deployment/proxies.html
*/
'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,
];

View File

@ -1,9 +0,0 @@
<?php
use Faker\Generator as Faker;
$factory->define(\Webkul\Customer\Models\CustomerAddress::class, function (Faker $faker) {
$fakeData = app('Webkul\DataFaker\Repositories\CustomerAddressRepository')->customerAddressDummyData($faker);
return $fakeData;
});

View File

@ -1,9 +0,0 @@
<?php
use Faker\Generator as Faker;
$factory->define(\Webkul\Customer\Models\Customer::class, function (Faker $faker) {
$fakeData = app('Webkul\DataFaker\Repositories\CustomerRepository')->customerDummyData($faker);
return $fakeData;
});

View File

@ -1,7 +0,0 @@
<?php
use Faker\Generator as Faker;
$factory->define(\Webkul\Product\Models\ProductAttributeValue::class, function (Faker $faker, $attributeValue) {
return $attributeValue;
});

View File

@ -1,15 +0,0 @@
<?php
use Faker\Generator as Faker;
$factory->define(\Webkul\Product\Models\Product::class, function (Faker $faker) {
$productName = $faker->userName;
$sku = substr(strtolower(str_replace(array('a','e','i','o','u'), '', $productName)), 0, 6);
$productSku = str_replace(' ', '', $sku) . "-". str_replace(' ', '', $sku) . "-" . rand(1,9999999) . "-" . rand(1,9999999);
return [
'sku' => $productSku,
'attribute_family_id'=>1
];
});

View File

@ -1,60 +0,0 @@
<?php
use Faker\Generator as Faker;
use Webkul\Product\Models\ProductAttributeValue;
$factory->define(\Webkul\Product\Models\ProductFlat::class, function (Faker $faker, $data) {
$products = $data['product_id'];
if ($products->type == 'simple') {
$product = ['product_id' => $products->id];
$fakeData = app('Webkul\DataFaker\Repositories\ProductFlatRepository')->GetProductFlatDummyData($faker, $products->type);
$attributes = app('Webkul\Attribute\Repositories\AttributeRepository')->get();
foreach ($attributes as $attribute) {
if (! isset($fakeData[$attribute->code]) || (in_array($attribute->type, ['date', 'datetime']) && ! $fakeData[$attribute->code]))
continue;
if ($attribute->type == 'multiselect' || $attribute->type == 'checkbox') {
$fakeData[$attribute->code] = implode(",", $fakeData[$attribute->code]);
}
if ($attribute->type == 'image' || $attribute->type == 'file') {
$dir = 'product';
if (gettype($fakeData[$attribute->code]) == 'object') {
$fakeData[$attribute->code] = request()->file($attribute->code)->store($dir);
} else {
$fakeData[$attribute->code] = NULL;
}
}
$attributeValue = [
'product_id' => $product['product_id'],
'attribute_id' => $attribute->id,
'value' => $fakeData[$attribute->code],
'channel' => $attribute->value_per_channel ? $fakeData['channel'] : null,
'locale' => $attribute->value_per_locale ? $fakeData['locale'] : null
];
$attributeValue[ProductAttributeValue::$attributeTypeFields[$attribute->type]] = $attributeValue['value'];
unset($attributeValue['value']);
factory(\Webkul\Product\Models\ProductAttributeValue::class)->create($attributeValue);
}
$fakeImage = app('Webkul\DataFaker\Repositories\ProductFlatRepository')->uploadImages($faker, $product);
factory(\Webkul\Product\Models\ProductImage::class, 5)->create($fakeImage);
$category = app('Webkul\DataFaker\Repositories\ProductFlatRepository')->createProductCategories($product, $faker);
return $fakeData;
}
});

View File

@ -1,7 +0,0 @@
<?php
use Faker\Generator as Faker;
$factory->define(\Webkul\Product\Models\ProductImage::class, function ($faker,$fakeImage) {
return $fakeImage;
});

View File

@ -1,11 +0,0 @@
<?php
use Faker\Generator as Faker;
$factory->define(\Webkul\Product\Models\ProductInventory::class, function (Faker $faker,$data) {
return [
'product_id' => $data['product_id'],
'inventory_source_id' => $data['inventory_source_id'],
'qty' =>rand(1,999)
];
});

View File

@ -1,47 +1,23 @@
<?php
namespace Database\Factories;
use Faker\Generator as Faker;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/
class UserFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
$factory->define(App\User::class, function (Faker $faker) {
return [
'name' => $this->faker->name(),
'email' => $this->faker->unique()->safeEmail(),
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => Str::random(10),
'name' => $faker->name,
'email' => $faker->unique()->safeEmail,
'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
'remember_token' => str_random(10),
];
}
/**
* Indicate that the model's email address should be unverified.
*
* @return \Illuminate\Database\Eloquent\Factories\Factory
*/
public function unverified()
{
return $this->state(function (array $attributes) {
return [
'email_verified_at' => null,
];
});
}
}
});

View File

@ -1,65 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceSellersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_sellers', function (Blueprint $table) {
$table->increments('id');
$table->string('url')->unique();
$table->boolean('is_approved')->default(0);
$table->string('shop_title')->nullable();
$table->text('description')->nullable();
$table->string('banner')->nullable();
$table->string('logo')->nullable();
$table->string('tax_vat')->nullable();
$table->text('meta_title')->nullable();
$table->text('meta_description')->nullable();
$table->text('meta_keywords')->nullable();
$table->string('address1')->nullable();
$table->string('address2')->nullable();
$table->string('phone')->nullable();
$table->string('state')->nullable();
$table->string('city')->nullable();
$table->string('country')->nullable();
$table->string('postcode')->nullable();
$table->text('return_policy')->nullable();
$table->text('shipping_policy')->nullable();
$table->text('privacy_policy')->nullable();
$table->string('twitter')->nullable();
$table->string('facebook')->nullable();
$table->string('youtube')->nullable();
$table->string('instagram')->nullable();
$table->string('skype')->nullable();
$table->string('linked_in')->nullable();
$table->string('pinterest')->nullable();
$table->integer('customer_id')->unsigned()->nullable()->unique();
$table->foreign('customer_id')->references('id')->on('customers')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_sellers');
}
}

View File

@ -1,50 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_products', function (Blueprint $table) {
$table->increments('id');
$table->string('condition')->nullable();
$table->double('price')->default(0);
$table->text('description')->nullable();
$table->boolean('is_approved')->nullable();
$table->boolean('is_owner')->default(0);
$table->integer('parent_id')->unsigned()->nullable();
$table->integer('product_id')->unsigned();
$table->foreign('product_id')->references('id')->on('products')->onDelete('cascade');
$table->integer('marketplace_seller_id')->unsigned();
$table->foreign('marketplace_seller_id')->references('id')->on('marketplace_sellers')->onDelete('cascade');
$table->unique(['marketplace_seller_id', 'product_id']);
$table->timestamps();
});
Schema::table('marketplace_products', function (Blueprint $table) {
$table->foreign('parent_id')->references('id')->on('marketplace_products')->onDelete('cascade');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_products');
}
}

View File

@ -1,40 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceSellerReviewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_seller_reviews', function (Blueprint $table) {
$table->increments('id');
$table->integer('rating');
$table->text('comment')->nullable();
$table->string('status');
$table->integer('marketplace_seller_id')->unsigned();
$table->foreign('marketplace_seller_id')->references('id')->on('marketplace_sellers')->onDelete('cascade');
$table->integer('customer_id')->unsigned();
$table->foreign('customer_id')->references('id')->on('customers')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_seller_reviews');
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceProductImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_product_images', function (Blueprint $table) {
$table->increments('id');
$table->string('type')->nullable();
$table->string('path');
$table->integer('marketplace_product_id')->unsigned();
$table->foreign('marketplace_product_id')->references('id')->on('marketplace_products')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_product_images');
}
}

View File

@ -1,90 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceOrdersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_orders', function (Blueprint $table) {
$table->increments('id');
$table->string('status')->nullable();
$table->boolean('is_withdrawal_requested')->default(0);
$table->string('seller_payout_status')->nullable();
$table->decimal('commission_percentage', 12, 4)->default(0)->nullable();
$table->decimal('commission', 12, 4)->default(0)->nullable();
$table->decimal('base_commission', 12, 4)->default(0)->nullable();
$table->decimal('commission_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_commission_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('seller_total', 12, 4)->default(0)->nullable();
$table->decimal('base_seller_total', 12, 4)->default(0)->nullable();
$table->decimal('seller_total_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_seller_total_invoiced', 12, 4)->default(0)->nullable();
$table->integer('total_item_count')->nullable();
$table->integer('total_qty_ordered')->nullable();
$table->decimal('grand_total', 12, 4)->default(0)->nullable();
$table->decimal('base_grand_total', 12, 4)->default(0)->nullable();
$table->decimal('grand_total_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_grand_total_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('grand_total_refunded', 12, 4)->default(0)->nullable();
$table->decimal('base_grand_total_refunded', 12, 4)->default(0)->nullable();
$table->decimal('sub_total', 12, 4)->default(0)->nullable();
$table->decimal('base_sub_total', 12, 4)->default(0)->nullable();
$table->decimal('sub_total_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_sub_total_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('sub_total_refunded', 12, 4)->default(0)->nullable();
$table->decimal('base_sub_total_refunded', 12, 4)->default(0)->nullable();
$table->decimal('discount_percent', 12, 4)->default(0)->nullable();
$table->decimal('discount_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_discount_amount', 12, 4)->default(0)->nullable();
$table->decimal('discount_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_discount_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('discount_refunded', 12, 4)->default(0)->nullable();
$table->decimal('base_discount_refunded', 12, 4)->default(0)->nullable();
$table->decimal('tax_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_tax_amount', 12, 4)->default(0)->nullable();
$table->decimal('tax_amount_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_tax_amount_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('tax_amount_refunded', 12, 4)->default(0)->nullable();
$table->decimal('base_tax_amount_refunded', 12, 4)->default(0)->nullable();
$table->decimal('shipping_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_shipping_amount', 12, 4)->default(0)->nullable();
$table->decimal('shipping_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_shipping_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('shipping_refunded', 12, 4)->default(0)->nullable();
$table->decimal('base_shipping_refunded', 12, 4)->default(0)->nullable();
$table->integer('marketplace_seller_id')->unsigned();
$table->integer('order_id')->unsigned();
$table->foreign('marketplace_seller_id')->references('id')->on('marketplace_sellers')->onDelete('cascade');
$table->foreign('order_id')->references('id')->on('orders')->onDelete('cascade');
$table->unique(['marketplace_seller_id', 'order_id']);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_orders');
}
}

View File

@ -1,52 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceOrderItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_order_items', function (Blueprint $table) {
$table->increments('id');
$table->decimal('commission', 12, 4)->default(0)->nullable();
$table->decimal('base_commission', 12, 4)->default(0)->nullable();
$table->decimal('commission_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_commission_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('seller_total', 12, 4)->default(0)->nullable();
$table->decimal('base_seller_total', 12, 4)->default(0)->nullable();
$table->decimal('seller_total_invoiced', 12, 4)->default(0)->nullable();
$table->decimal('base_seller_total_invoiced', 12, 4)->default(0)->nullable();
$table->integer('order_item_id')->unsigned();
$table->integer('marketplace_product_id')->nullable()->unsigned();
$table->integer('marketplace_order_id')->unsigned();
$table->integer('parent_id')->unsigned()->nullable();
$table->foreign('order_item_id')->references('id')->on('order_items')->onDelete('cascade');
$table->foreign('marketplace_product_id')->references('id')->on('marketplace_products')->onDelete('set null');
$table->foreign('marketplace_order_id')->references('id')->on('marketplace_orders')->onDelete('cascade');
$table->foreign('parent_id')->references('id')->on('marketplace_order_items')->onDelete('cascade');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_order_items');
}
}

View File

@ -1,39 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceShipmentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_shipments', function (Blueprint $table) {
$table->increments('id');
$table->integer('total_qty')->nullable();
$table->integer('shipment_id')->unsigned();
$table->foreign('shipment_id')->references('id')->on('shipments')->onDelete('cascade');
$table->integer('marketplace_order_id')->unsigned();
$table->foreign('marketplace_order_id')->references('id')->on('marketplace_orders')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_shipments');
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceShipmentItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_shipment_items', function (Blueprint $table) {
$table->increments('id');
$table->integer('marketplace_shipment_id')->unsigned();
$table->foreign('marketplace_shipment_id')->references('id')->on('marketplace_shipments')->onDelete('cascade');
$table->integer('shipment_item_id')->unsigned();
$table->foreign('shipment_item_id')->references('id')->on('shipment_items')->onDelete('cascade');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_shipment_items');
}
}

View File

@ -1,57 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceInvoicesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_invoices', function (Blueprint $table) {
$table->increments('id');
$table->string('state')->nullable();
$table->boolean('email_sent')->default(0);
$table->integer('total_qty')->nullable();
$table->decimal('sub_total', 12, 4)->default(0)->nullable();
$table->decimal('base_sub_total', 12, 4)->default(0)->nullable();
$table->decimal('grand_total', 12, 4)->default(0)->nullable();
$table->decimal('base_grand_total', 12, 4)->default(0)->nullable();
$table->decimal('shipping_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_shipping_amount', 12, 4)->default(0)->nullable();
$table->decimal('tax_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_tax_amount', 12, 4)->default(0)->nullable();
$table->decimal('discount_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_discount_amount', 12, 4)->default(0)->nullable();
$table->integer('invoice_id')->unsigned();
$table->foreign('invoice_id')->references('id')->on('invoices')->onDelete('cascade');
$table->integer('marketplace_order_id')->unsigned();
$table->foreign('marketplace_order_id')->references('id')->on('marketplace_orders')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_invoices');
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceInvoiceItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_invoice_items', function (Blueprint $table) {
$table->increments('id');
$table->integer('marketplace_invoice_id')->unsigned();
$table->foreign('marketplace_invoice_id')->references('id')->on('marketplace_invoices')->onDelete('cascade');
$table->integer('invoice_item_id')->unsigned();
$table->foreign('invoice_item_id')->references('id')->on('invoice_items')->onDelete('cascade');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_invoice_items');
}
}

View File

@ -1,42 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceTransactionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_transactions', function (Blueprint $table) {
$table->increments('id');
$table->string('type')->nullable();
$table->string('transaction_id')->unique();
$table->string('method')->nullable();
$table->text('comment')->nullable();
$table->decimal('base_total', 12, 4)->default(0)->nullable();
$table->integer('marketplace_seller_id')->unsigned();
$table->integer('marketplace_order_id')->unsigned();
$table->foreign('marketplace_seller_id')->references('id')->on('marketplace_sellers')->onDelete('cascade');
$table->foreign('marketplace_order_id')->references('id')->on('marketplace_orders')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_transactions');
}
}

View File

@ -1,33 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class RenameDiscountInvoicedColumnsInMarketplaceOrdersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('marketplace_orders', function (Blueprint $table) {
$table->renameColumn('discount_invoiced', 'discount_amount_invoiced');
$table->renameColumn('base_discount_invoiced', 'base_discount_amount_invoiced');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('marketplace_orders', function (Blueprint $table) {
//
});
}
}

View File

@ -1,66 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceRefundsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_refunds', function (Blueprint $table) {
$table->increments('id');
$table->string('increment_id')->nullable();
$table->string('state')->nullable();
$table->boolean('email_sent')->default(0);
$table->integer('total_qty')->nullable();
$table->decimal('adjustment_refund', 12, 4)->default(0)->nullable();
$table->decimal('base_adjustment_refund', 12, 4)->default(0)->nullable();
$table->decimal('adjustment_fee', 12, 4)->default(0)->nullable();
$table->decimal('base_adjustment_fee', 12, 4)->default(0)->nullable();
$table->decimal('sub_total', 12, 4)->default(0)->nullable();
$table->decimal('base_sub_total', 12, 4)->default(0)->nullable();
$table->decimal('grand_total', 12, 4)->default(0)->nullable();
$table->decimal('base_grand_total', 12, 4)->default(0)->nullable();
$table->decimal('shipping_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_shipping_amount', 12, 4)->default(0)->nullable();
$table->decimal('tax_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_tax_amount', 12, 4)->default(0)->nullable();
$table->decimal('discount_percent', 12, 4)->default(0)->nullable();
$table->decimal('discount_amount', 12, 4)->default(0)->nullable();
$table->decimal('base_discount_amount', 12, 4)->default(0)->nullable();
$table->integer('refund_id')->unsigned()->nullable();
$table->foreign('refund_id')->references('id')->on('refunds')->onDelete('cascade');
$table->integer('marketplace_order_id')->unsigned()->nullable();
$table->foreign('marketplace_order_id')->references('id')->on('marketplace_orders')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_refunds');
}
}

View File

@ -1,38 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMarketplaceRefundItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_refund_items', function (Blueprint $table) {
$table->increments('id');
$table->integer('marketplace_refund_id')->unsigned();
$table->foreign('marketplace_refund_id')->references('id')->on('marketplace_refunds')->onDelete('cascade');
$table->integer('refund_item_id')->unsigned();
$table->foreign('refund_item_id')->references('id')->on('refund_items')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_refund_items');
}
}

View File

@ -1,30 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddCommissionEnableAndCommissionPercentageToMarketplaceSellersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('marketplace_sellers', function (Blueprint $table) {
$table->boolean('commission_enable')->default(0);
$table->decimal('commission_percentage', 12, 4)->default(0)->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePersonalAccessTokensTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
$table->bigIncrements('id');
$table->morphs('tokenable');
$table->string('name');
$table->string('token', 64)->unique();
$table->text('abilities')->nullable();
$table->timestamp('last_used_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('personal_access_tokens');
}
}

View File

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMarketplaceProductFlagReasons extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_product_flag_reasons', function (Blueprint $table) {
$table->id();
$table->string('reason')->nullable();
$table->boolean('status')->nullable()->default(true);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_product_flag_reasons');
}
}

View File

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMarketplaceSellerFlagReasons extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_seller_flag_reasons', function (Blueprint $table) {
$table->id();
$table->string('reason')->nullable();
$table->boolean('status')->nullable()->default(true);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_seller_flag_reasons');
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMarketplaceProductFlagsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_product_flags', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('email');
$table->text('reason');
$table->integer('product_id')->unsigned();
$table->foreign('product_id')->references('id')->on('products')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('product_flags');
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMarketplaceSellerFlagsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_seller_flags', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('email');
$table->text('reason');
$table->integer('seller_id')->unsigned();
$table->foreign('seller_id')->references('id')->on('marketplace_sellers')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('seller_flags');
}
}

View File

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddMinOrderAmountToMarketplaceSellers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('marketplace_sellers', function (Blueprint $table) {
$table->string('min_order_amount')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('marketplace_sellers', function (Blueprint $table) {
//
});
}
}

View File

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddGoogleAnalyticsToMarketplaceSellers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('marketplace_sellers', function (Blueprint $table) {
$table->string('google_analytics_id')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('marketplace_sellers', function (Blueprint $table) {
//
});
}
}

View File

@ -1,35 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMarketplaceProductVideosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('marketplace_product_videos', function (Blueprint $table) {
$table->increments('id');
$table->string('type')->nullable();
$table->string('path');
$table->integer('marketplace_product_id')->unsigned();
$table->foreign('marketplace_product_id', 'mp_products_video_foreign')->references('id')->on('marketplace_products')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('marketplace_product_videos');
}
}

View File

@ -1,40 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMpProductDownloadableSamplesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mp_product_downloadable_samples', function (Blueprint $table) {
$table->increments('id');
$table->string('url')->nullable();
$table->string('file')->nullable();
$table->string('file_name')->nullable();
$table->string('type');
$table->integer('sort_order')->nullable();
$table->integer('product_id')->unsigned();
$table->foreign('product_id')->references('id')->on('marketplace_products')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('product_downloadable_samples');
}
}

View File

@ -1,35 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMpProductDownloadableSampleTranslationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mp_product_downloadable_sample_translations', function (Blueprint $table) {
$table->increments('id');
$table->string('locale');
$table->text('title')->nullable();
$table->integer('mp_product_downloadable_sample_id')->unsigned();
$table->foreign('mp_product_downloadable_sample_id', 'mp_sample_translations_sample_id_foreign')->references('id')->on('mp_product_downloadable_samples')->onDelete('cascade');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('product_downloadable_sample_translations');
}
}

View File

@ -1,46 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMpProductDownloadableLinksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mp_product_downloadable_links', function (Blueprint $table) {
$table->increments('id');
$table->string('url')->nullable();
$table->string('file')->nullable();
$table->string('file_name')->nullable();
$table->string('type');
$table->decimal('price', 12, 4)->default(0);
$table->string('sample_url')->nullable();
$table->string('sample_file')->nullable();
$table->string('sample_file_name')->nullable();
$table->string('sample_type')->nullable();
$table->integer('downloads')->default(0);
$table->integer('sort_order')->nullable();
$table->integer('product_id')->unsigned();
$table->foreign('product_id')->references('id')->on('marketplace_products')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('product_downloadable_links');
}
}

View File

@ -1,35 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMpProductDownloadableLinkTranslationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mp_product_downloadable_link_translations', function (Blueprint $table) {
$table->increments('id');
$table->string('locale');
$table->text('title')->nullable();
$table->integer('mp_product_downloadable_link_id')->unsigned();
$table->foreign('mp_product_downloadable_link_id', 'mp_link_translations_link_id_foreign')->references('id')->on('mp_product_downloadable_links')->onDelete('cascade');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('mp_product_downloadable_link_translations');
}
}

View File

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddSellerProfileBackgroudToMarketplaceSellers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('marketplace_sellers', function (Blueprint $table) {
$table->string('profile_background')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('marketplace_sellers', function (Blueprint $table) {
});
}
}

View File

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSellerCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('seller_categories', function (Blueprint $table) {
$table->id();
$table->integer('seller_id')->unsigned();
$table->json('categories')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('seller_categories');
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaymentRequestsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payment_requests', function (Blueprint $table) {
$table->id();
$table->double('payment_amount')->nullable();
$table->string('seller_name')->nullable();
$table->integer('seller_id')->unsigned()->nullable();
$table->json('order_id')->nullable();
$table->boolean('status')->nullable()->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('payment_requests');
}
}

View File

@ -1,35 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Notifications extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('notifications', function (Blueprint $table) {
$table->increments('id');
$table->string('type');
$table->boolean('read')->default(0);
$table->integer('order_id')->unsigned();
$table->foreign('order_id')->references('id')->on('orders')->onDelete('cascade');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('notifications');
}
}

View File

@ -1,36 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFailedJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->id();
$table->string('uuid')->unique();
$table->text('connection');
$table->text('queue');
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('failed_jobs');
}
}

View File

@ -1,35 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sitemaps', function (Blueprint $table) {
$table->increments('id');
$table->string('file_name');
$table->string('path');
$table->datetime('generated_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('sitemaps');
}
};

View File

@ -1,39 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('job_batches', function (Blueprint $table) {
$table->string('id')->primary();
$table->string('name');
$table->integer('total_jobs');
$table->integer('pending_jobs');
$table->integer('failed_jobs');
$table->text('failed_job_ids');
$table->mediumText('options')->nullable();
$table->integer('cancelled_at')->nullable();
$table->integer('created_at');
$table->integer('finished_at')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('job_batches');
}
};

View File

@ -5,7 +5,6 @@ namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Webkul\Velocity\Database\Seeders\VelocityMetaDataSeeder;
use Webkul\Admin\Database\Seeders\DatabaseSeeder as BagistoDatabaseSeeder;
use TPS\Shop\Database\Seeders\DatabaseSeeder as TPSDatabaseSeeder;
class DatabaseSeeder extends Seeder
{
@ -17,7 +16,6 @@ class DatabaseSeeder extends Seeder
public function run()
{
$this->call(BagistoDatabaseSeeder::class);
// $this->call(VelocityMetaDataSeeder::class);
$this->call(TPSDatabaseSeeder::class);
$this->call(VelocityMetaDataSeeder::class);
}
}

View File

@ -1,19 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'ليس هناك حساب مسجل بهذه البيانات!',
'throttle' => 'تم محاولة تسجيل الدخول عدة مرات! الرجاء المحاولة مرة أخرى خلاي :seconds ثواني.',
];

View File

@ -1,19 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; السابق',
'next' => 'التالي &raquo;',
];

View File

@ -1,22 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'يجب أن تتكون كلمة المرور من ستة أحرف على الأقل وأن تتطابق مع حقل تأكيدها!',
'reset' => 'تم أعادة تعيين كلمة المرور!',
'sent' => 'تم ارسال بريد الكتروني اليك به رابط إعادة تعيين كلمة المرور!',
'token' => 'كود إعادة تعيين كلمة المرور هذا غير صالح!',
'user' => "لم نجد مستخدم مسجل لدينا بهذا البريد الألكتروني!",
];

View File

@ -1,179 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'يجب أن تقوم بقبول :attribute.',
'active_url' => ':attribute ليس رابط صالح.',
'after' => ':attribute يجب أن يكون بعد :date.',
'after_or_equal' => ':attribute يجب أن تكون مساوية أو بعد تاريخ :date.',
'alpha' => ':attribute لا يجوز أن تحتوي إلا على حروف.',
'alpha_dash' => ':attribute لا يجوز أن تحتوي إلا على حروف وأرقام وشرطات وشرطات سفلية.',
'alpha_num' => ':attribute لا يجوز أن تحتوي إلا على أحرف وأرقام.',
'array' => ':attribute يجب أن تكون مصفوفة/قائمة.',
'before' => ':attribute يجب أن يكون قبل :date.',
'before_or_equal' => ':attribute يجب أن تكون مساوية أو قبل تاريخ :date.',
'between' => [
'numeric' => ':attribute يجب أن يكون من :min إلى :max.',
'file' => ':attribute يجب أن يكون من :min إلى :max كيلو بايت.',
'string' => ':attribute يجب أن يكون من :min إلى :max حرف.',
'array' => ':attribute يجب أن يكون من :min إلى :max عنصر.',
],
'boolean' => ':attribute يجب أن تكون true أو false.',
'confirmed' => 'تأكيد :attribute لا يتطابق.',
'date' => ':attribute ليس تاريخ صالح.',
'date_format' => ':attribute لا يطابق الفورمات/الترتيب :format',
'different' => ':attribute و :other يجب أن يكونوا مختلفين.',
'digits' => ':attribute يجب أن يكون :digits أرقام.',
'digits_between' => ':attribute يجب أن يكون رقم من :min إلى :max.',
'dimensions' => ':attribute ليس لديها أبعاد صورة صحيحة.',
'distinct' => ':attribute يحتوي على قيمة مكررة.',
'email' => ':attribute يجب أن يكون بريد إلكتروني صالح.',
'exists' => ':attribute المختار هذا غير صالح.',
'file' => ':attribute يجب أن يكون ملف.',
'filled' => ':attribute يجب أن يحتوي على قيمة.',
'gt' => [
'numeric' => ':attribute يجب أن يكون أكبر من :value.',
'file' => ':attribute يجب أن يكون أكبر من :value كيلو بايت.',
'string' => ':attribute يجب أن يكون أكبر من :value حروف.',
'array' => ':attribute يجب أن يكون لديه أكبر من :value عناصر.',
],
'gte' => [
'numeric' => ':attribute يجب أن يكون أكبر من أو يساوي :value.',
'file' => ':attribute يجب أن يكون أكبر من أو يساوي :value كيلو بايت.',
'string' => ':attribute يجب أن يكون أكبر من أو يساوي :value حروف.',
'array' => ':attribute يجب أن يكون لدية :value عناصر أو أكثر.',
],
'image' => ':attribute يجب أن تكون صورة.',
'in' => ':attribute المحدد هذا غير صالح.',
'in_array' => 'حقل :attribute ليس موجود في :other.',
'integer' => ':attribute يجب أن يكون رقم صحيح.',
'ip' => ':attribute يجب أن يكون عنوان IP صالح.',
'ipv4' => ':attribute يجب أن يكون عنوان IPv4 صالح.',
'ipv6' => ':attribute يجب أن يكون عنوان IPv6 صالح.',
'json' => ':attribute يجب أن يكون نص JSON صالح.',
'lt' => [
'numeric' => ':attribute يجب أن يكون أقل من :value.',
'file' => ':attribute يجب أن يكون أقل من :value كيلو بايت.',
'string' => ':attribute يجب أن يكون أقل من :value حروف.',
'array' => ':attribute يجب أن يكون لديه أقل من :value عناصر.',
],
'lte' => [
'numeric' => ':attribute يجب أن يكون أقل من أو يساوي :value.',
'file' => ':attribute يجب أن يكون أقل من أو يساوي :value كيلو بايت.',
'string' => ':attribute يجب أن يكون أقل من أو يساوي :value حروف.',
'array' => ':attribute يجب أن يكون لدية :value عناصر أو أقل.',
],
'max' => [
'numeric' => ':attribute يجب أن لا تكون أكبر من :max.',
'file' => ':attribute يجب أن لا تكون أكبر من :max كيلو بايت.',
'string' => ':attribute يجب أن لا تكون أكبر من :max حرووف.',
'array' => ':attribute يجب أن لا تحتوى على أكبر من :max عنصر.',
],
'mimes' => ':attribute يجب أن يكون ملف بواحد من هذه الأمتدادات :values.',
'mimetypes' => ':attribute يجب أن يكون ملف بواحد من هذه الأمتدادات :values.',
'min' => [
'numeric' => ':attribute يجب أن يكون علي الأقل :min.',
'file' => ':attribute يجب أن يكون علي الأقل :min كيلو بايت.',
'string' => ':attribute يجب أن يكون علي الأقل :min حروف.',
'array' => ':attribute يجب أن يكون علي الأقل :min عنصر.',
],
'not_in' => ':attribute المختارة غير صالحة.',
'not_regex' => 'تنسيق :attribute هذا غير صالح.',
'numeric' => ':attribute يجب أن يكون رقم.',
'present' => 'حقل :attribute مطلوب.',
'regex' => 'تنسيق :attribute هذا غير صالح.',
'required' => 'حقل :attribute مطلوب.',
'required_if' => 'حقل :attribute مطلوب عندما تكون قيمة :other هي :value.',
'required_unless' => 'حقل :attribute مطلوب ما لم يكن :other في :values.',
'required_with' => 'حقل :attribute مطلوب في وجود :values.',
'required_with_all' => 'حقل :attribute مطلوب في وجود :values.',
'required_without' => 'حقل :attribute مطلوب في عدم وجود :values.',
'required_without_all' => 'حقل :attribute مطلوب عند عدم وجود أياً من :values.',
'same' => ':attribute و :other يجب أن يكونوا متساويين.',
'size' => [
'numeric' => ':attribute يجب أن يكون :size.',
'file' => ':attribute يجب أن يكون :size كيلو بايت.',
'string' => ':attribute يجب أن يكون :size حروف.',
'array' => ':attribute يجب أن تحتوي على :size عنصر.',
],
'string' => ':attribute يجب أن يكون نص.',
'timezone' => ':attribute يجب أن تكون منطقة صالحة.',
'unique' => ':attribute مسجل مسبقاً.',
'uploaded' => 'فشلت عملية رفع :attribute.',
'url' => 'تنسيق :attribute غير صالح.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [
'name' => 'الأسم',
'username' => 'اسم المستخدم',
'email' => 'البريد الألكتروني',
'first_name' => 'الأسم الأول',
'last_name' => 'الأسم الأخير',
'password' => 'كلمة المرور',
'password_confirmation' => 'تكرار كلمة المرور',
'city' => 'المدينة',
'country' => 'الدولة',
'address' => 'العنوان',
'phone' => 'رقم الهاتف',
'mobile' => 'رقم الهاتف النقال',
'age' => 'السن',
'sex' => 'الجنس',
'gender' => 'النوع',
'day' => 'اليوم',
'month' => 'الشهر',
'year' => 'السنة',
'hour' => 'الساعة',
'minute' => 'الدقيقة',
'second' => 'الثانية',
'title' => 'العنوان',
'text' => 'النص',
'content' => 'المحتوى',
'description' => 'الوصف',
'excerpt' => 'المقتطفات',
'date' => 'التاريخ',
'time' => 'الوقت',
'available' => 'موجود',
'size' => 'الحجم',
'terms' => 'المصطلحات',
'province' => 'المحافظة',
],
];

View File

@ -1,19 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'এই শংসাপত্রগুলি আমাদের রেকর্ডের সাথে মেলে না।',
'throttle' => 'অনেকগুলি লগইন প্রচেষ্টা। অনুগ্রহ করে আবার চেষ্টা করুন :seconds সেকেন্ড.',
];

View File

@ -1,19 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; আগে',
'next' => 'পরবর্তী &raquo;',
];

View File

@ -1,22 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'পাসওয়ার্ড কমপক্ষে ছয় অক্ষরের হতে হবে এবং নিশ্চিতকরণের সাথে মেলে।',
'reset' => 'আপনার পাসওয়ার্ড পুনরায় সেট করা হয়েছে!',
'sent' => 'আমরা আপনার পাসওয়ার্ড রিসেট লিঙ্ক ই-মেইল করেছি!',
'token' => 'এই পাসওয়ার্ড রিসেট টোকেন অবৈধ।',
'user' => "আমরা এই ই-মেইল ঠিকানার কোনো ব্যবহারকারী খুঁজে পাচ্ছি না।",
];

View File

@ -1,146 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => ':attribute অবশ্যই গ্রহণ করতে হবে.',
'active_url' => ':attribute একটি বৈধ URL নয়।',
'after' => ':attribute অবশ্যই :date এর পরে একটি তারিখ হতে হবে৷',
'after_or_equal' => ':attribute অবশ্যই :date এর পরে বা তার সমান হতে হবে৷',
'alpha' => ':attribute শুধুমাত্র অক্ষর থাকতে পারে।',
'alpha_dash' => ':attribute শুধুমাত্র অক্ষর, সংখ্যা, ড্যাশ এবং আন্ডারস্কোর থাকতে পারে।',
'alpha_num' => ':attribute শুধুমাত্র অক্ষর এবং সংখ্যা থাকতে পারে।',
'array' => ':attribute একটি অ্যারে হতে হবে।',
'before' => ':attribute অবশ্যই :date এর আগে একটি তারিখ হতে হবে।',
'before_or_equal' => ':attribute টি অবশ্যই :date এর আগে বা সমান একটি তারিখ হতে হবে।',
'between' => [
'numeric' => ':attribute অবশ্যই :min এবং :max এর মধ্যে হতে হবে।',
'file' => ':attribute অবশ্যই :min এবং :max কিলোবাইটের মধ্যে হতে হবে৷',
'string' => ':attribute অবশ্যই :min এবং :max অক্ষরের মধ্যে হতে হবে।',
'array' => ':attribute এর মধ্যে থাকতে হবে :min এবং :max আইটেম।',
],
'boolean' => ':attribute ক্ষেত্রটি সত্য বা মিথ্যা হতে হবে।',
'confirmed' => ':attribute নিশ্চিতকরণ মেলে না।',
'date' => ':attribute একটি বৈধ তারিখ নয়।',
'date_format' => ':attribute টি :format ফর্ম্যাটের সাথে মেলে না।',
'different' => ':attribute এবং :other আলাদা হতে হবে।',
'digits' => ':attribute অবশ্যই :digits সংখ্যা হতে হবে।.',
'digits_between' => ':attribute অবশ্যই :min এবং :max সংখ্যার মধ্যে হতে হবে।',
'dimensions' => ':attribute অবৈধ চিত্রের মাত্রা রয়েছে।',
'distinct' => ':attribute ক্ষেত্রের একটি ডুপ্লিকেট মান আছে।',
'email' => ':attribute একটি বৈধ ইমেল ঠিকানা হতে হবে।',
'exists' => 'নির্বাচিত :attribute অবৈধ।',
'file' => ':attribute একটি ফাইল হতে হবে।',
'filled' => ':attribute ক্ষেত্রের একটি মান থাকতে হবে।',
'gt' => [
'numeric' => ':attribute অবশ্যই :value এর থেকে বড় হতে হবে।',
'file' => ':attribute অবশ্যই :value কিলোবাইটের চেয়ে বেশি হতে হবে।',
'string' => ':attribute অবশ্যই :value অক্ষরের চেয়ে বড় হতে হবে।',
'array' => ':attribute-এ অবশ্যই :value আইটেম এর থেকে বেশি থাকতে হবে।',
],
'gte' => [
'numeric' => ':attribute অবশ্যই :value এর চেয়ে বড় বা সমান হতে হবে।',
'file' => ':attribute অবশ্যই :value কিলোবাইটের চেয়ে বড় বা সমান হতে হবে৷',
'string' => ':attribute অবশ্যই :value অক্ষরের চেয়ে বড় বা সমান হতে হবে।',
'array' => ':attribute এর অবশ্যই :value আইটেম বা তার বেশি থাকতে হবে।',
],
'image' => ':attribute একটি ছবি হতে হবে।',
'in' => 'নির্বাচিত :attribute অবৈধ।',
'in_array' => ':attribute ক্ষেত্রটি :other মধ্যে বিদ্যমান নেই।',
'integer' => ':attribute একটি পূর্ণসংখ্যা হতে হবে।',
'ip' => ':attribute একটি বৈধ আইপি ঠিকানা হতে হবে।',
'ipv4' => ':attribute একটি বৈধ IPv4 ঠিকানা হতে হবে।',
'ipv6' => ':attribute একটি বৈধ IPv6 ঠিকানা হতে হবে।',
'json' => ':attribute একটি বৈধ JSON স্ট্রিং হতে হবে।',
'lt' => [
'numeric' => ':attribute অবশ্যই :value-এর চেয়ে কম হতে হবে।',
'file' => ':attribute অবশ্যই :value কিলোবাইটের চেয়ে কম হতে হবে।',
'string' => ':attribute অবশ্যই :value অক্ষরের চেয়ে কম হতে হবে।',
'array' => ':attribute এর থেকে কম :value আইটেম থাকতে হবে।',
],
'lte' => [
'numeric' => ':attribute অবশ্যই :value এর থেকে কম বা সমান হতে হবে।',
'file' => ':attribute অবশ্যই :value কিলোবাইটের থেকে কম বা সমান হতে হবে।',
'string' => ':attribute অবশ্যই :value অক্ষরের কম বা সমান হতে হবে।',
'array' => ':attribute অবশ্যই :value আইটেমের বেশি থাকা উচিত নয়।',
],
'max' => [
'numeric' => ':attribute :max এর থেকে বেশি নাও হতে পারে।',
'file' => ':attribute :max kilobytes এর থেকে বেশি নাও হতে পারে৷',
'string' => ':attributeটি :max অক্ষরের চেয়ে বেশি নাও হতে পারে।.',
'array' => ':attribute এ :max এর বেশি আইটেম নাও থাকতে পারে।',
],
'mimes' => ':attribute টাইপের ফাইল হতে হবে: :values.',
'mimetypes' => ':attribute টাইপের একটি ফাইল হতে হবে: :values.',
'min' => [
'numeric' => ':attribute অন্তত :min হতে হবে।',
'file' => ':attribute অবশ্যই কমপক্ষে :min কিলোবাইট হতে হবে৷',
'string' => ':attribute অন্তত :min অক্ষর হতে হবে।',
'array' => ':attribute কমপক্ষে :min আইটেম থাকতে হবে।',
],
'not_in' => 'নির্বাচিত :attribute টি অবৈধ।',
'not_regex' => ':attribute বিন্যাসটি অবৈধ।',
'numeric' => ':attribute একটি সংখ্যা হতে হবে।',
'present' => ':attribute ক্ষেত্রটি অবশ্যই উপস্থিত থাকতে হবে।',
'regex' => ':attribute বিন্যাসটি অবৈধ।',
'required' => ':attribute ক্ষেত্র প্রয়োজন।',
'required_if' => ':attribute ফিল্ডের প্রয়োজন হয় যখন :other হয় :value ।',
'required_unless' => ':attribute ক্ষেত্রটি আবশ্যক যদি না :other :value থাকে।',
'required_with' => 'যখন :values ​​উপস্থিত থাকে তখন :attribute ফিল্ডের প্রয়োজন হয়।',
'required_with_all' => 'যখন :values ​​উপস্থিত থাকে তখন :attribute ফিল্ডের প্রয়োজন হয়।',
'required_without' => 'যখন :values ​​উপস্থিত না থাকে তখন :attribute ফিল্ডের প্রয়োজন হয়।',
'required_without_all' => ':value র কোনোটি উপস্থিত না থাকলে :attribute ক্ষেত্রের প্রয়োজন হয়৷',
'same' => ':attribute এবং :other অবশ্যই মিলবে।',
'size' => [
'numeric' => ':attribute অবশ্যই :size হতে হবে।',
'file' => ':attribute অবশ্যই :size কিলোবাইট হতে হবে।',
'string' => ':attribute অবশ্যই :size অক্ষর হতে হবে।',
'array' => ':attribute এ অবশ্যই :size আইটেম থাকতে হবে।.',
],
'string' => ':attribute একটি স্ট্রিং হতে হবে।',
'timezone' => ':attribute অবশ্যই একটি বৈধ অঞ্চল হতে হবে।',
'unique' => ':attribute ইতিমধ্যে নেওয়া হয়েছে।',
'uploaded' => ':attribute আপলোড করতে ব্যর্থ হয়েছে।',
'url' => ':attribute বিন্যাসটি অবৈধ।',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];

Some files were not shown because too many files have changed in this diff Show More