1000 search results
PHPUnit (Legacy): Testing with a Bite
…use statement. Do the same for DinosaurFactory. Ok, it's happy! Sure, the code is lacking the normal security and safeguards we expect when using Symfony's form system... but it's only a dinosaur park people! We do, however, have the success flash message!…
Learn JavaScript
JavaScript for PHP Geeks: Webpack for Module Loading Awesomeness
…Origin set to *: Since our site is served on a different host than our assets... well really a different port... CORS security will prevent some requests from working. This header will allow those requests to be made. Phew! Restart the dev server one more time…
Learn Symfony 3
The new Awesome of Symfony 3.0
…from Symfony's SecurityBundle... and we're not using that! If we need it, then you'll need to add it to LittleKernel and configure your security.yml file. For now, remove is_granted(): And try again. It alive... again! That's the MicroKernelTrait in…
Journey to the Center of Symfony: The Dependency Injection Container
…imports config.yml: And config.yml loads parameters.yml, security.yml and services.yml. Every file in the app/config directory - except the routing files - are being loaded by the container in order to provide services. In other words, all of these files have the…
Learn Symfony 2
Starting in Symfony2: Course 4 (2.4+)
…there’s no downside here - make sure you have one of these on your server. And on that note, PHP typically gets faster from version to version. So staying on the latest version is good for more than just security and features. Thanks PHPeeps! Ok…
Starting in Symfony2: Course 3 (2.4+)
… Login as Wayne. Remember, he has ROLE_ADMIN, which also means he has ROLE_EVENT_CREATE because of the role_hierarchy section in security.yml. Now, fill in some basic data and submit it. To see the result, use the query tool to list the…
Starting in Symfony2: Course 1 (2.4+)
…toolbar, and you may end up loving it even more than the console. It tells us which controller was rendered, the page load time, memory footprint, security info, form details and more. It's added automatically to any page that has a valid HTML structure…
Learn Symfony 6
Upgrading & What's New in Symfony 6!
Custom Authenticator authenticate() Method
Learn APIs
API Platform 3 Part 2: Security for your Treasures
Access Token Authenticator
Deny Access with The "security" Option
API Token Scopes
Logout & Passing API Data to JavaScript
API Login Form with json_login
Learn Symfony 5
Symfony 5 Security: Authenticators
2 Factor Authentication & Authentication Tokens
Whoops, an error! Please, try again later.