This is the result of all the videos that were created in the series that i published on the playlist. LINK BELOW
Playlist to all the videos This series goes over how to create a really BASIC Symfony API, yeah i didn't use API platform but that's okay, Below is a list of all the libraries that were used in the series.
I admit that a lot of the time i either said something that was misleading or i used the incorrect thing, let me explain.
This is a complete section by itself because it seems like couple of people have had their share of headaches because of this, to create a user manually and save it in the dabase here's what i personally do, IT WORKS
This is extremely important especially if you have no idea what the hell is happening, use the following command to generate a hashed version of your password and then jut copy the value that was printed to you and put in your database. Command: php bin/console security:encode-password You will be prompted to enter the plaintext password that you want to be hashed, after clicking the return key (enter key) the hashed key will be generated for you.
There are three main fields that i care about, and they are the email, password, roles. Theses are the value that i enter for my testing user just to make sure that my authentication system works.
NOTE ABOUT THE PASSWORD: This password is the hashed version of [000000], just six zeros, and i got this result because the algorithm in the security file is set to auto, if you have bcrypt it could be different if you have a2rgony or whatever the hell that one is called, you will get something different
This one error could happen because of multiple error due to the very bad error reporting of this library or whatever is responsible for that, the main thing to keep in mind is anything could lead to this type of problems
This project is open for everyone, if you notice anything wrong with my code, or even this readme, any mistakes are welcome.
Maybe this should've been above with the Contribution section but doesn't matter, if you have any question i think it would be nice to create an issue (Please open an issue no matter how trivial you think the question is, no one will charge you money for it) that way people with similar questions can look them up.