[{"title":"( 69 个子文件 74KB ) laravel-responder:一个用于构建API响应的Laravel Fractal软件包,通过Laravel的优雅为您提供Fractal的功能-源码","children":[{"title":"laravel-responder-master","children":[{"title":"src","children":[{"title":"Transformers","children":[{"title":"ArrayTransformer.php <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"Concerns","children":[{"title":"HasRelationships.php <span style='color:#111;'> 8.53KB </span>","children":null,"spread":false},{"title":"OverridesFractal.php <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"MakesResources.php <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"Transformer.php <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"TransformerResolver.php <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"Serializers","children":[{"title":"ErrorSerializer.php <span style='color:#111;'> 956B </span>","children":null,"spread":false},{"title":"NoopSerializer.php <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"SuccessSerializer.php <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"ErrorMessageResolver.php <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"TransformBuilder.php <span style='color:#111;'> 9.54KB </span>","children":null,"spread":false},{"title":"Responder.php <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Exceptions","children":[{"title":"Http","children":[{"title":"PageNotFoundException.php <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"UnauthenticatedException.php <span style='color:#111;'> 586B </span>","children":null,"spread":false},{"title":"RelationNotFoundException.php <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"ValidationFailedException.php <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"UnauthorizedException.php <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"HttpException.php <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"ConvertsExceptions.php <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"Handler.php <span style='color:#111;'> 1019B </span>","children":null,"spread":false},{"title":"InvalidTransformerException.php <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"InvalidErrorSerializerException.php <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"InvalidSuccessSerializerException.php <span style='color:#111;'> 575B </span>","children":null,"spread":false}],"spread":true},{"title":"Http","children":[{"title":"Middleware","children":[{"title":"ConvertToSnakeCase.php <span style='color:#111;'> 985B </span>","children":null,"spread":false}],"spread":true},{"title":"MakesResponses.php <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Responses","children":[{"title":"SuccessResponseBuilder.php <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"Decorators","children":[{"title":"PrettyPrintDecorator.php <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"SuccessFlagDecorator.php <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"ResponseDecorator.php <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"EscapeHtmlDecorator.php <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"StatusCodeDecorator.php <span style='color:#111;'> 767B </span>","children":null,"spread":false}],"spread":true},{"title":"Factories","children":[{"title":"LumenResponseFactory.php <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"LaravelResponseFactory.php <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"ErrorResponseBuilder.php <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"ResponseBuilder.php <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Console","children":[{"title":"MakeTransformer.php <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"Resources","children":[{"title":"ResourceKeyResolver.php <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"DataNormalizer.php <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"ResourceFactory.php <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"Testing","children":[{"title":"MakesApiRequests.php <span style='color:#111;'> 4.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"ResponderServiceProvider.php <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false},{"title":"Pagination","children":[{"title":"CursorPaginator.php <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"PaginatorFactory.php <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"Facades","children":[{"title":"Responder.php <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"Transformation.php <span style='color:#111;'> 635B </span>","children":null,"spread":false}],"spread":false},{"title":"ErrorFactory.php <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"helpers.php <span style='color:#111;'> 930B </span>","children":null,"spread":false},{"title":"Transformation.php <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"Contracts","children":[{"title":"Transformable.php <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"Transformers","children":[{"title":"TransformerResolver.php <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"ErrorMessageResolver.php <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"Responder.php <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"ErrorSerializer.php <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"ResourceKeyResolver.php <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"ResourceFactory.php <span style='color:#111;'> 797B </span>","children":null,"spread":false}],"spread":false},{"title":"TransformFactory.php <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"SimpleTransformer.php <span style='color:#111;'> 828B </span>","children":null,"spread":false},{"title":"ResponseFactory.php <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"Pagination","children":[{"title":"PaginatorFactory.php <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"ErrorFactory.php <span style='color:#111;'> 753B </span>","children":null,"spread":false}],"spread":false},{"title":"FractalTransformFactory.php <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"LICENSE.md <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"lang","children":[{"title":"en","children":[{"title":"errors.php <span style='color:#111;'> 809B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"stubs","children":[{"title":"transformer.plain.stub <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"transformer.model.stub <span style='color:#111;'> 658B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"composer.json <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 10.02KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 40.00KB </span>","children":null,"spread":false},{"title":"config","children":[{"title":"responder.php <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]