Skip to content

Releases: phpsa/laravel-api-controller

1.1.0: Develop (#33)

08 Dec 22:55
63cc29a
Compare
Choose a tag to compare
* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Feature/requests mapping (#17)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#18)

* Feature/policy collections update (#19)

* Develop (#14)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Develop To Master (#16)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Feature/policy collections update (#22)

* Develop (#14)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Develop To Master (#16)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Added middleware and query qualifiers

* Policy Update

* Post adding new and artisan updated, code cleanup

* Apply fixes from StyleCI (#21)

* Scrutiniser fixes

* Put now handles relations

* Fix return types

* Minor updates to fix relationships and make command

* Sanke case vs camel case

* Apply fixes from StyleCI (#23)

* Minor bugfix for case sensitifity

* Fixed make command

* model is static

* Apply fixes from StyleCI (#24)

* Scrutiniser fixes

* Apply fixes from StyleCI (#25)

* Apply fixes from StyleCI (#27)

* Policiies auth mehtod without users

* user not needed

* Tidy up uri parser class

* Fixes

* fix more

* Feature/policy collections update (#29)

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Added middleware and query qualifiers

* Policy Update

* Post adding new and artisan updated, code cleanup

* Apply fixes from StyleCI (#21)

* Scrutiniser fixes

* Put now handles relations

* Fix return types

* Minor updates to fix relationships and make command

* Sanke case vs camel case

* Apply fixes from StyleCI (#23)

* Minor bugfix for case sensitifity

* Fixed make command

* model is static

* Apply fixes from StyleCI (#24)

* Scrutiniser fixes

* policies - for unauthed users

* Minor updates

* STYLEFIXES

* fixed phpcs rule

* Apply fixes from StyleCI (#31)

* Feature/policy collections update (#32)

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Added middleware and query qualifiers

* Policy Update

* Post adding new and artisan updated, code cleanup

* Apply fixes from StyleCI (#21)

* Scrutiniser fixes

* Put now handles relations

* Fix return types

* Minor updates to fix relationships and make command

* Sanke case vs camel case

* Apply fixes from StyleCI (#23)

* Minor bugfix for case sensitifity

* Fixed make command

* model is static

* Apply fixes from StyleCI (#24)

* Scrutiniser fixes

* policies - for unauthed users

* Minor updates

* STYLEFIXES

* fixed phpcs rule

* Apply fixes from StyleCI (#31)

* minor updates

* csfixer run on code

* Missing file updated

* Includes should be returnable

* static not defined

* Allowed fields updated

* minor updates

1.1.0-rc.3

28 Nov 21:34
Compare
Choose a tag to compare
1.1.0-rc.3 Pre-release
Pre-release
Missing file updated

Enhanced Api Usage

28 Nov 01:43
be69b35
Compare
Choose a tag to compare
Enhanced Api Usage Pre-release
Pre-release

New:

  • ApiResource Base Class - implementing AllowedFields & Field Case Styling
  • ApiCollection Base Class

Fixes:

  • issue when using multiple connections
  • config variable for fields / sort not being used correctly

Updated Test release

28 Nov 21:18
a7cbc45
Compare
Choose a tag to compare
Updated Test release Pre-release
Pre-release
Develop ready to release as next (#26)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Feature/requests mapping (#17)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#18)

* Feature/policy collections update (#19)

* Develop (#14)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Develop To Master (#16)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Feature/policy collections update (#22)

* Develop (#14)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Develop To Master (#16)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Added middleware and query qualifiers

* Policy Update

* Post adding new and artisan updated, code cleanup

* Apply fixes from StyleCI (#21)

* Scrutiniser fixes

* Put now handles relations

* Fix return types

* Minor updates to fix relationships and make command

* Sanke case vs camel case

* Apply fixes from StyleCI (#23)

* Minor bugfix for case sensitifity

* Fixed make command

* model is static

* Apply fixes from StyleCI (#24)

* Scrutiniser fixes

* Apply fixes from StyleCI (#25)

* Apply fixes from StyleCI (#27)

* Policiies auth mehtod without users

* user not needed

* Tidy up uri parser class

* Fixes

* fix more

Full featured public release

26 Nov 03:09
a7cbc45
Compare
Choose a tag to compare
Develop ready to release as next (#26)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Feature/requests mapping (#17)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#18)

* Feature/policy collections update (#19)

* Develop (#14)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Develop To Master (#16)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Feature/policy collections update (#22)

* Develop (#14)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Develop To Master (#16)

* Added Created, Updated and Deleted events, Moved request to each method to allow overloading:

* Apply fixes from StyleCI

* Scrutinizer updates

* Update controller.stub

* Feature/requests mapping (#13)

* Event accepts request object and any type of request can now be pushed through

* Apply fixes from StyleCI (#12)

* Request should have a constructor for instances with models

* Update BaseRepository.php

* Apply fixes from StyleCI (#15)

* Fixed namespace type declaration

* Fixed namespace type declaration

* Fixed namespace type declaration

* Added resource collections and policy check.

* Updated Readme

* Formatting

* Apply fixes from StyleCI (#20)

* Scrutinizer fixes - deprecation / namesapce

* Added middleware and query qualifiers

* Policy Update

* Post adding new and artisan updated, code cleanup

* Apply fixes from StyleCI (#21)

* Scrutiniser fixes

* Put now handles relations

* Fix return types

* Minor updates to fix relationships and make command

* Sanke case vs camel case

* Apply fixes from StyleCI (#23)

* Minor bugfix for case sensitifity

* Fixed make command

* model is static

* Apply fixes from StyleCI (#24)

* Scrutiniser fixes

* Apply fixes from StyleCI (#25)

* Apply fixes from StyleCI (#27)

* Policiies auth mehtod without users

* user not needed

* Tidy up uri parser class

* Fixes

* fix more

1.0.0-rc.2

20 Nov 22:25
Compare
Choose a tag to compare
1.0.0-rc.2 Pre-release
Pre-release
user not needed

Release Candidate Testing

19 Nov 01:06
12f70d0
Compare
Choose a tag to compare
Pre-release
1.0.0-rc.1

Apply fixes from StyleCI (#27)

Rebuild initital public beta

17 Nov 20:15
a27737c
Compare
Choose a tag to compare
Pre-release
1.0.0-b.2

Apply fixes from StyleCI (#23)

Resources & Policies introduced

12 Nov 04:02
Compare
Choose a tag to compare
Pre-release
0.5.0-b.1

Merge branch 'feature/policy_collections_update' of https://github.co…

Requests can be used for validation / authorisation

23 Oct 23:07
51c3217
Compare
Choose a tag to compare

Upgrading from 0.3

your index, store, show, update & destroy methods should now call the handle{{method}}Action method from parent instead of parent::{{method}}

Events now also have the request available to be accessed by your listener.