2017 © Pedro PelĆ”ez
 

symfony-bundle jsonapibundle

Json API bundle for Symfony

image

trikoder/jsonapibundle

Json API bundle for Symfony

  • Wednesday, July 11, 2018
  • by alenpokos
  • Repository
  • 9 Watchers
  • 3 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Json Api CRUD Bundle

Package to provide out-of-the box support for jsonapi in symfony with as native as possible way., (*1)

Under development

This package is currently under active development, but it is considered production safe., (*2)

How to install

Guide how to setup bundle is located in quick start guide, (*3)

Sample usage

For quick start see quick start guide You can also look at demo code located in test suite, (*4)

Advanced usage

For advanced usages that are outside of generic api you get from quick start, see advanced usage, (*5)

Requirements

Bundle is uses symfony 3 and doctrine., (*6)

Documentation and examples

Example code can also be found in tests/Resources/., (*7)

Documentations is located inside src/Resources/doc/ directory., (*8)

Issues

Use the issue tracker., (*9)

Known limitations

  • each jsonapi enabled action that receives arguments must receive Request as first argument

Versioning and changelog

Project follows Semantic versioning., (*10)

Change log for the project can be found in changelog.md, (*11)

Testing

The whole sandbox and development environment is located inside project., (*12)

To run tests, position yourself inside tests/Resources/docker and run bin/test.sh This will build whole docker setup, load fixtures and run all test suites., (*13)

Contributing

TODO write how people can send pull requests, (*14)

For development of the package, we are using the same tools as for testing. Position yourself inside tests/Resources/docker and run bin/start.sh PHP cli commands can be run from same directory using bin/console. There is also php access script bin/php [CMD] (eg. bin/php bash to enter bash)., (*15)

Coding standards

When contributing to this package, you will need to adhere to our coding standards. They are following PSR-2 with some additional rules. To check your code during development you can use provided config for php-cs-fixer. it's in root of the project, file:, (*16)

.php_cs.dist, (*17)

Checking your code, (*18)

First you need to setup test environment (as described in paragraph above)., (*19)

Then:, (*20)

Checking code:, (*21)

bin/php_cs --dry-run

If you want automatic fix, just omit ``--dry-run`:, (*22)

bin/php_cs

This will check and fix your code., (*23)

Credits

Copyright (C) 2017 Trikoder, (*24)

Author: Alen Pokos., (*25)

Contributors (in alphabetic order): Antonio Pauletich, Alen Pokos, Antonio Å unjić, Damir Trputec, Juraj Juričić, KreÅ”o Kunjas, Petar Obradović, Vedran Krizek, Vedran Mihočinec, (*26)

License

Package is licensed under MIT License, (*27)

The Versions