…api or can that be changed? I would like it to be /apiv2 or something. I ask because my app already has enpoints with /api and I would like to gradually move to the api-platform. What pitfalls can I avoid when installing api-platform…
Hey Evelair,
I just double-checked it for you: downloaded the course code and checked the installed version of API Platform in composer.lock - "api-platform/core" package is locked on v2.4.3. The latest is 2.5.4, but I remember we added…
Hey SirRFI, sorry for the late response
I found this in the ApiPlatform docs: https://api-platform.com/docs/core/testing/
but it doesn't say anything of how to port the testing utilities to your application. So, I believe it won't be that…
Hey Victor,
I think it comes from Symfony and not API Platform, like this issue : https://github.com/symfony/symfony/issues/34875
Cheers 😉
…add my composer.json :
```
{
"type": "project",
"license": "proprietary",
"require": {
"php": "^7.1.3",
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/api-pack": "^1.2",
"doctrine/doctrine-migrations-bundle": "^2.0",
"nesbot/carbon": "^2.17",
"symfony/console": "4.3.*",
"symfony/dotenv": "4.3.*",
"symfony/flex": "^1.1",
…
If you are using the downloaded code as I am, you can update only the api-platform/core package to 2.5.0 (compser update api-platform/core). And if you are using PHPStorm (You should), exlude the "tutorial" directory. IDE will include the proper…
I didn't understood your first question but about the second one try this documentation:
https://api-platform.com/docs/core/file-upload/
I tried it few months ago and it worked well
Yo Rakodev !
> I wish there will be some performance topic in the next API Platform course, because with a big database mysql could be low performing
That's true! However, I also think it comes down to three simple strategies to handle this:
A…
Hey Rakodev!
> Thank you very much for the great work you do with these API Platform tutorials
❤️
> Is there a way for me (as a backend developer) to login via Swagger so I can test the whole authentication part?
You somehow just…
Are you guys also planning on doing a course on Vue.js since some newer courses like Messenger or API Platform Security have their frontend built on it? I would love to build a single page app but it seems so hard to really build…
Hey Sébastien J.
We are actively releasing a new course about Api Platform + Symfony + Vue.js. I know it's not ReactJS but its internals are very similar
https://symfonycasts.com/screencast/api-platform-security
Cheers!
Gotcha. I've done just that and provided a detailed outline on https://github.com/api-platform/core/issues/2967 with a link and description on how to reproduce the issue. Thanks!
I don't know if it is just me, but when I try using the api platform interface to create a user, it doesn't bcrypt the password, any idea why that is?
Thanks for the great tutorial!
I was wondering how to configure API Platform to support versions.
For example, I want to make url like this: https://example.com/api/v1/.
Any idea? Thanks.
FYI, code block was fixed in https://github.com/SymfonyCasts/api-platform/commit/7313e5e275cdcf8181555a41b29413c0cb0c3aea
Thank you for reporting it!
Cheers!
Hey John christensen
It's a Symfony bug. Read this thread: https://symfonycasts.com/screencast/api-platform/serializer#comment-4493208070
Cheers!
Hey, thank you for this course. I think API Platform is great! I've been learning it for days now and I can't wait to see what you're going to teach us here. Keep up the good work, that's fantastic!
…series based on api-platform this time and tested with behat.
But examples for sharing multiple contexts in another context doesn't seem to work anymore.
The entire example is found in https://github.com/petre-symfony/Rest-Symfony-With-Api-Platform-Bundle-Tested-With…
This link shows: "This UserVoice instance does not exist.". I would be very happy if API platform course would be created.
Hey Kaizoku
You can watch our courses about REST API's, it will help you understanding how to develop your own API, how to test it, and some best practices, but we do not talk about "API Platform" on those courses.
Cheers!
x
1000+