PHP Framework for building scalable API's on top of Laravel.
Full Changelog: https://github.com/apiato/apiato/compare/v12.2.0...v12.4.0
unset
macro which can be used to completely remove a config key.
config()->unset($key)
findById
method which returns Model|Null
getById
method which returns Model
or throws exceptionfindMany
method which returns Collection
(empty or not)pushCriteriaWith
method which is a wrapper around pushCriteria
method that allows for easier testingWelcome
vendor container dependency and move it's features/endpoints to Authentication
container: Landing/Welcome
& Login
pagestest runner
, php cs fixer
code coverage
lang
folder
app/Containers/{SectionName}/{ContainerName}/Tests
directoryAuthorizationTrait
IsResourceOwnerTrait
(use policies instead)GetAllResources
files to ListResources
User/Providers/MainServicePorvider
Full Changelog: https://github.com/apiato/apiato/compare/v12.1.0...v12.2.0
Dependencies updated to Core v8.7.0 & Doc Generator v3.0.5
activeGuard
helper to get the current logged-in user guard.Core/Traits/ModelTrait.php
on
App\Containers\AppSection\Authorization\Models\Permission
and
App\Containers\AppSection\Authorization\Models\Role
instead of adding required traits manually.verify email
route only if email verification is enabledDetachPermissionsFromUserRequest
reset password
endpoint accepts all http verbs. Now only accept post
.GetAllPermissionsTask
& GetAllRolesTask
now only return roles & permissions for the current logged-in user guard.guard_name
field to the response of Role
& Permission
transformers. (Only for admin)Full Changelog: https://github.com/apiato/apiato/compare/v12.1.0...v12.1.1
Note: If you are on v12.1.0
please see the fix and apply it to your code.
Full Changelog: https://github.com/apiato/apiato/compare/v12.0.2...v12.1.0
php-cs-fixer
workflowlcobucci/clock
version to prevent composer package conflictsApiato:
Core: https://github.com/apiato/core/releases/tag/v8.4.0
Full Changelog: https://github.com/apiato/apiato/compare/v11.3.2...v12.0.0
$routeMiddleware
field is renamed to $middlewareAliases
TestsMockHelperTrait
TestsResponseHelperTrait
encode()
method return value has changed -> In case of unencodable value (e.g. null
), now returns null
instead of ''
decode()
method return value has changed -> In case of undecodable value (e.g. null
), now returns null
instead of []
Request
constructor
injection instead of directly using the Service Container like so app(CreateUserByCredentialsTask::class)->run()
invokable
controllers\\ from
Route::get('profile', [GetAuthenticatedUserController::class, 'getAuthenticatedUser']);
\\ to
Route::get('profile', GetAuthenticatedUserController::class);
RefreshProxyForWebClient.v1.public.php
-> RefreshProxyForWebClient.v1.private.php
withUrlParameters()
getAccessArray()
getDecodeArray()
getUrlParametersArray()
TestAssertionHelperTrait
to the TestCase which provides some usefull assertionswithMeta()
method on ResponseTrait now correctly includes added meta data