Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: grayloon/magento-laravel-api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.5.0
Choose a base ref
...
head repository: grayloon/magento-laravel-api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 1,532 additions and 292 deletions.
  1. +2 −0 .github/ISSUE_TEMPLATE/config.yml
  2. +3 −3 .github/workflows/tests.yml
  3. +1 −37 CHANGELOG.md
  4. +246 −25 README.md
  5. +4 −4 composer.json
  6. +11 −0 config/magento.php
  7. +21 −16 src/Api/AbstractApi.php
  8. +17 −0 src/Api/BundleProducts.php
  9. +27 −0 src/Api/CartItems.php
  10. +33 −0 src/Api/Carts.php
  11. +4 −6 src/Api/Categories.php
  12. +14 −5 src/Api/Custom.php
  13. +99 −0 src/Api/CustomerGroups.php
  14. +80 −2 src/Api/Customers.php
  15. +68 −5 src/Api/GuestCarts.php
  16. +48 −0 src/Api/Orders.php
  17. +15 −0 src/Api/ProductAttributes.php
  18. +19 −9 src/Api/Products.php
  19. +0 −1 src/Api/SourceItems.php
  20. +35 −0 src/Api/Sources.php
  21. +23 −0 src/Api/Stocks.php
  22. +26 −0 src/Api/Store.php
  23. +73 −7 src/Magento.php
  24. +8 −8 tests/Api/AbstractApiTest.php
  25. +26 −0 tests/Api/BundleProductsTest.php
  26. +28 −14 tests/Api/CartItemsTest.php
  27. +4 −8 tests/Api/CartTotalsTest.php
  28. +46 −39 tests/Api/CartsTest.php
  29. +5 −14 tests/Api/CategoriesTest.php
  30. +15 −7 tests/Api/CustomTest.php
  31. +100 −0 tests/Api/CustomerGroupsTest.php
  32. +70 −8 tests/Api/CustomersTest.php
  33. +66 −33 tests/Api/GuestCartsTest.php
  34. +4 −8 tests/Api/IntegrationTest.php
  35. +62 −0 tests/Api/OrdersTest.php
  36. +14 −6 tests/Api/ProductAttributesTest.php
  37. +3 −6 tests/Api/ProductLinkTypeTest.php
  38. +15 −8 tests/Api/ProductTest.php
  39. +3 −6 tests/Api/SchemaTest.php
  40. +3 −7 tests/Api/SourceItemsTest.php
  41. +37 −0 tests/Api/SourcesTest.php
  42. +26 −0 tests/Api/StocksTest.php
  43. +37 −0 tests/Api/StoreTest.php
  44. +91 −0 tests/MagentoTest.php
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# don't use the organizational defaults specific to business.
blank_issues_enabled: true
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -16,8 +16,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4]
laravel: [^7.0, ^8.0]
php: [8.0, 8.1]
laravel: [^8.0, ^9.0]

name: PHP v${{ matrix.php }} - Laravel v${{ matrix.laravel }}

@@ -42,4 +42,4 @@ jobs:
run: composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction

- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit --verbose
38 changes: 1 addition & 37 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,3 @@
# Changelog

All notable changes to `grayloon/magento-laravel-api` will be documented in this file

## 0.5 - October 6, 2020
- Fix for Laravel 8 Applications
- Ability to query custom extension API endpoints
- Added Delete and Put Methods
- Added Product Categories API Endpoint
- Added Payment as Guest Endpoint
- Added Payment as Customer Endpoint
- Added Cart Payment Methods Endpoint
- Added Shipping Information Endpoint
- Added Add Items as Customer to Cart Endpoint
- Now throws Exception when >500 error is thrown


## 0.4.1 - September 8, 2020
- Support for Laravel 8 applications

## 0.4.0 - September 2, 2020
- Removed Storage System (moved to its own package for less breaking changes)
- Added Guest Carts Endpoint
- Added Source Items Endpoint
- Added Product Links Endpoint
- Added Product Link Type Endpoint

## 0.3.0 - August 11, 2020
- Ability to resolve Custom Attribute values
- Added helpers to easily retrieve product custom attribute values
- Added slug column to Magento Products table

## 0.2.0 - August 7, 2020
- Ability to publish factories for application mocking
- Added slug attribute to Category Factory
- Downloads product images on product sync/import

## 0.1.0 - July 30, 2020
- Initial Release
Please refer to the [releases](https://github.com/grayloon/magento-laravel-api/releases) page on the GitHub repository a full changelog of releases.
Loading