Version 1 RC
Pre-release
Pre-release
specialtactics
released this
25 Jul 03:03
·
72 commits
to master
since this release
Version 1 PR (Open for ongoing review until finalised) (#10) * Various improvements to the make:api-resource generator command Get rid of class_basename helper because laravel adds it in 5.8 Add laravel support 5.8 as a dependency * Routes should be kebab case, not snake * Fix missing bracket * Update migrate command with create_table style name * Updating $with behaviour and splitting into item and collection * Put should take request * viewAll policy ability & stub update * First pass at put * Better handling of saving model in service, immediate update to put * Extend json formatter * StyleCI fixes * Minor improvements to str handling * Move before function to laravel base repo for boilerplate, to make it more clear/transparent what is happening * Improvements to validating model update - especially relating to multi/level rule keys (separated by dots) * Remove blank line (cs) * Typehints for array on some service functions * Simplify logic with Str::before * V1 testing approach (#12) * First testing approach * Much improved approach * Removing old location of files * Large amount of progress * Reorganising tests directory Automating config copying & putting overrides in phpunit.xml Renaming routes file for clarity * Commit travis-ci file * Specify matrix * Exclude test dir from styleci * Added php 7.4 to travis * Attempt to remove xdebug * Update test script * Add a testing note * Add restful service test * Add phpunit dist * Remove php 7.4 snap from travis * Add travis shield * Separating out testing setup from base testcase * Make the Policy stub return true from all functions by default (ie. default functionality as if there were no policy) * Implement JSON formatting for meta in responses Refactor the function to format keycase from transformer into apiboilerplate class * Fixed static references * Refactoring to put helpers in a class * Update controllers to use new itemWith and collectionWith Revert them back to public static as well * StyleCI