PhpStorm offers default settings for code styling for a large amount of languages based on best practices and common standards. But you can customize the styling for each language on a per-project base within the PhpStorm Settings > Editor > Code Style.
Schemes
Schemes are collections of code style guidelines and settings. You can select a scheme for a project and it will be applied instantly. There also is a Project scheme that is only available while you have a project open. The Project scheme does not save the guidelines into general user settings but in the projects own settings.
If you click the Manage button you are able to add a new scheme to quickly set up a new set of code style guidelines. The Manage box can also be used to export or import schemes which is quite helpful if you want to share schemes with your friends or colleagues.
To change the code style settings for a specific language, simply click on the available language in the sidebar. You will then be presented a settings page that is different for each language.
For example the PHP language will have settings for tabs and spaces, braces or PHP Docs.
If you want to know what each different setting means you can look them up in the official documentation.
Code Style Documentation for PhpStorm 2016 and up