... class - the most pure solution for whoever is implementing your bundle - https://symfonycasts.com/screencast/api-platform-security/service-decoration#service-declaration-amp-decoration
Cheers!
... haven't been able to figure it out. I can't change the structure of the DB as it was created before using the API Platform.
... 19 & 20 - https://symfonycasts.com/screencast/api-platform-security/plain-password - to where we start encoding the plain-text password automatically. That's the only way to rule out some sort of human error, or database ...
... always our goal - thanks :)
> Can't blame anyone since it's open source project and it's our responsibility to contribute
Yep... this is a real challenge for open source. We try to give back (in this case to API Platform ...
... /getTest_ApiPlatform_ClientService.php on line 19
`
Actually i don't know what is wrong with my configs. I have Api platform 2.5 and symfony 4.3
Regards,
Alexander
... methods, in this tutorial it wasn't needed because Api Platform takes care of all of it for us
If you want to learn more about working with repositories, I recommend you to watch this tutorial: https://symfonycasts.com ...
... that dispatch "messages" into Messenger (this is also something that API Platform has a bit about in their docs).
Cheers!
... to improve DX it would be good if your Symfony 3.4 project uses Symfony Flex, otherwise you would need to create configs and register bundles yourself. I see API platform should work on Symfony 3.4, though probably not the latest version, so if you want to go this way - I think you can try.
Cheers!
... have one repository on github (https://github.com/petre-symfony/Rest-Symfony-With-Api-Platform-Bundle-Tested-With-Behat.git) where I have all the code. Here is one ancient course reworked on novel grounds. The last commit explained where the problem arise. We can download the code from there.
Thank you.
... phpspec tutorial in about a week (not too big), then I'm not entirely sure - we'll be making plans in about a week. But we're targeting API Platform in 2019, Messenger, probably more JavaScript stuff, design patterns stuff, maybe this idea you had, and more. We're going to go as fast as we can :).
Cheers!
|
{ |
|
// ... lines 2 - 5
|
|
"require": { |
|
"php": ">=8.1", |
|
"ext-ctype": "*", |
|
"ext-iconv": "*", |
|
"api-platform/core": "^3.0", |
|
"doctrine/annotations": "^1.0", |
|
"doctrine/doctrine-bundle": "^2.8", |
|
"doctrine/doctrine-migrations-bundle": "^3.2", |
|
"doctrine/orm": "^2.14", |
|
"nelmio/cors-bundle": "^2.2", |
|
"phpdocumentor/reflection-docblock": "^5.3", |
|
"phpstan/phpdoc-parser": "^1.15", |
|
"symfony/asset": "6.2.*", |
|
"symfony/console": "6.2.*", |
|
"symfony/dotenv": "6.2.*", |
|
"symfony/expression-language": "6.2.*", |
|
"symfony/flex": "^2", |
|
"symfony/framework-bundle": "6.2.*", |
|
"symfony/property-access": "6.2.*", |
|
"symfony/property-info": "6.2.*", |
|
"symfony/runtime": "6.2.*", |
|
"symfony/security-bundle": "6.2.*", |
|
"symfony/serializer": "6.2.*", |
|
"symfony/twig-bundle": "6.2.*", |
|
"symfony/validator": "6.2.*", |
|
"symfony/yaml": "6.2.*" |
|
}, |
|
// ... lines 33 - 83
|
|
} |
See Code Block in Script
... friendly.
So, instead of using Doctrine event system, API Platform advises what they call extension points, in order to stay compatible with both REST and GraphQL:
https://api-platform.com/docs/core/extending ...
... the BEARER token, I can access those parameters. *[EDIT: I suspect embedding the Cognito tokens inside the API platform access token isn't the right option - I'll likely change it to return the tokens separately - but ...
... platform-security/tokens-cookies and https://symfonycasts.com/screencast/reactjs/api-authentication and show the simpler way instead of JWT. But if you really need JWT in your project - then look at those course I mentioned ...
... `ApiPlatform\Core\Documentation\Documentation` class. Then you would need to call the core/normal normalizer (this is exactly what we do with our custom normalizer in the https://symfonycasts.com/screencast/api-platform ...
... registration. You should be able to do that in API Platform by using an event listener - there's a good example of sending an email whenever a book is created in this section - https://api-platform.com/docs/core/events/#custom ...
... plan to add JWT authentication in API Platform in this tutorial?
No :). In a future tutorial, we're going to talk about some different authentication schemes beyond the one we show here. That's on purpose - I think JWT ...
... `/products`, for example.
B) Internally (assuming your `ApiResource` is an entity), this will trigger the "doctrine extensions" system in API Platform... which includes the filters. In short, your custom filter will be ...
... days later, and not between the range asked by the user. So what I need is to add some parameters to my API request that I can use to tell API Platform "hey, tell me what activities will be opened at that moment, and join ...
... platform-security/tokens-cookies - though I don't have a lot of direct experience with strategies that do *not* use session storage. In some sense, it's super easy: you could create an "api token" system - this tutorial is a ...
1015
API Platform
Filter Results