myparcelnl / pdk
MyParcel Plugin Development Kit
Installs: 5 347
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 9
Requires
- php: >=7.1.0
- ext-zip: *
- justinrainbow/json-schema: ^5.2
- myparcelnl/sdk: >= 7
- php-di/php-di: >= 6
- psr/log: ^1 || ^2 || ^3
- symfony/http-foundation: >= 2 || >= 3 || >= 4 || >= 5
Requires (Dev)
- behat/behat: ^3.13
- brick/varexporter: ^0.4
- guzzlehttp/guzzle: ^7.5
- myparcelnl/devtools: >= 1
- nette/robot-loader: >= 3
- pestphp/pest: >= 1
- phpdocumentor/reflection-docblock: ^5
- phpstan/phpstan: >= 1
- rector/rector: >= 1
- spatie/pest-plugin-snapshots: >= 1
- symfony/console: *
- dev-main
- v3.x-dev
- 2.47.2
- 2.47.1
- 2.47.0
- 2.46.1
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.6
- 2.43.5
- 2.43.4
- 2.43.3
- 2.43.2
- 2.43.1
- 2.43.0
- 2.42.3
- 2.42.2
- 2.42.1
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.3
- 2.39.2
- 2.39.1
- 2.39.0
- 2.38.1
- 2.38.0
- 2.37.1
- 2.37.0
- 2.36.5
- 2.36.4
- 2.36.3
- 2.36.2
- 2.36.1
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.2
- 2.33.1
- 2.33.0
- 2.32.2
- 2.32.1
- 2.32.0
- 2.31.5
- 2.31.4
- 2.31.3
- 2.31.2
- 2.31.1
- 2.31.0
- 2.30.4
- 2.30.3
- 2.30.2
- 2.30.1
- 2.30.0
- 2.29.0
- 2.28.9
- 2.28.8
- 2.28.7
- 2.28.6
- 2.28.5
- 2.28.4
- 2.28.3
- 2.28.2
- 2.28.1
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.2
- 2.25.1
- 2.25.0
- 2.24.2
- 2.24.1
- 2.24.0
- 2.23.1
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.1
- 2.20.0
- 2.19.2
- 2.19.1
- 2.19.0
- 2.18.0
- 2.17.1
- 2.17.0
- 2.16.2
- 2.16.1
- 2.16.0
- 2.15.0
- 2.14.1
- 2.14.0
- 2.13.0
- 2.12.3
- 2.12.2
- 2.12.1
- 2.12.0
- 2.11.1
- 2.11.0
- 2.10.0
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.1
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.1
- 1.29.0
- 1.28.1
- 1.28.0
- 1.27.0
- 1.26.2
- 1.26.1
- 1.26.0
- 1.25.3
- 1.25.2
- 1.25.1
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.1
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- dev-feat/obfuscate-auth
- dev-feat/add-ups-nl-be-lu
- dev-feat/add-ups-nl-be-lu-fixed-directories
- dev-dependabot/npm_and_yarn/cross-spawn-7.0.6
- dev-dependabot/github_actions/codecov/codecov-action-5
- dev-feat-allow-receiptcode-be
- dev-breaking/update-v3
- dev-feat/small-package-be-pickup
- dev-fix/webhook/process-webhook-when-received
- dev-feat/add-toggle-for-delivery-options-settings
- dev-fix/pdk-dpd-shipment-export
- dev-dependabot/npm_and_yarn/micromatch-4.0.8
- dev-gh-readonly-queue/main/pr-290-4d1d6f3e5c4b4f2c1364185fcdcf370c96cdc674
- dev-feat-insurance-be
- dev-fix/disable-some-options-for-postnl-pickup
- dev-refactor/customs-declaration
- dev-feat/add-platform-alias-for-folder-names
- dev-fix/return-shipment-options
- dev-fix/fix-validation-schema
- dev-wip/php-8-rector
- dev-fix/set-default-country-of-origin
- dev-fix/order-status-digitalstamp-field-to-select
- dev-fix/fix-orders-without-weight
- dev-refactor/changed-order-status-digitalstamp-field
- dev-wip/improve-storage
- dev-wip/test-base-state-1
- dev-wip/test-base-state
- dev-wip/integration-tests
- dev-feat/check-subscription-permissions
- dev-fix/separate-logic-for-posting-single-note
- dev-feat/add-order-notes
- dev-feat/add-invoice
- dev-alpha
- dev-feat/currency-format
- dev-feat/add-eori-vat-to-contact-details
- dev-fix/always-return-int-as-package-type-id
- dev-feat/currency-service
- dev-fix/prevent-exporting-of-all-shipments-on-order
- dev-fix/fix-error-when-getting-pdk-version
- dev-feat/arrayable-flags
- dev-fix/pass-correct-print-positions-to-api
- dev-fix/add-physical-properties-to-shipment
- dev-doc-generator
- dev-feat/add-pdkorder-fulfilmentorder-adapter
- dev-feat/add-validation
This package is auto-updated.
Last update: 2024-11-22 12:32:50 UTC
README
The MyParcel PDK (Plugin Development Kit) is meant for developing entire plugins on PHP E-Commerce platforms. If you're just looking to connect to our API without creating an entire plugin, you should check out our php SDK.
Requirements
- PHP >=7.1
- Composer
Documentation
For examples, guides and in-depth information, visit our Plugin Development Kit (PDK) documentation.
Support
Create an issue or contact us via our Developer Portal contact page.
Contributing
View our contribution guidelines for information on how to contribute to the PDK.
Prerequisites
- Node 18
- Yarn
- Docker
Installation
Create .env
:
cp .env.template .env
Install Yarn dependencies:
yarn
Install Composer dependencies:
docker compose up php
Running tests
Run all tests:
docker compose run php composer test
Linting
We use Prettier to format .json, .yml, .md and .html files.
Make sure Prettier is enabled in your IDE and runs on the following files:
{**/*,*}.{md,html,yml,json}
Set up Git hooks to run Prettier on each commit, correcting any formatting issues.
yarn prepare
You can also run Prettier manually:
# Check formatting issues yarn lint # Fix formatting issues yarn lint:fix