graphql-module-skeleton/README.md

34 lines
1.3 KiB
Markdown
Raw Normal View History

2019-11-27 11:20:24 +01:00
# oxid-esales/graphql-module-skeleton
[![Build Status](https://img.shields.io/travis/com/OXID-eSales/graphql-module-skeleton/master.svg?style=for-the-badge&logo=travis)](https://travis-ci.com/OXID-eSales/graphql-module-skeleton) [![PHP Version](https://img.shields.io/packagist/php-v/oxid-esales/graphql-module-skeleton.svg?style=for-the-badge)](https://github.com/oxid-esales/graphql-module-skeleton) [![Stable Version](https://img.shields.io/packagist/v/oxid-esales/graphql-module-skeleton.svg?style=for-the-badge&label=latest)](https://packagist.org/packages/oxid-esales/graphql-module-skeleton)
## What is this?
This skeleton will set you up with a
- basic GraphQL module for OXID eShop
- including a sane `README.md`
- pre setup `NamespaceMapper`
- simple example controller
- nice developement experience
2019-11-27 11:20:24 +01:00
## How to use
```bash
$ composer create-project oxid-esales/graphql-module-skeleton
```
2021-04-22 14:03:37 +02:00
This provides you with a basic GraphQL OXID module. To install this freshly created module into your OXID eShop you can:
```bash
$ composer config repositories.graphql path path-to-module/that-you-just-created
$ composer require my-vendor/my-package
```
Make sure that `my-vendor/my-package` matches the package name in the package `composer.json`.
2019-11-27 11:20:24 +01:00
## License
GPLv3, see [LICENSE file](LICENSE).