Advertising
January
01

How to force access via HTTPS (HTTP over SSL) in Symfony 3

Learn how to force the secure protocol of an URL in Symfony 3.

December
17

How to send a file as response from a controller in Symfony 3

Learn how to return a file of your server from a Symfony 3 controller easily

November
16

Ubuntu Symfony PHP PDOException “could not find driver"

Learn how to solve the "PHP PDOException could not find driver" error in Ubuntu.

November
16

Symfony ubuntu: Attempted to load class "DOMDocument" from the global namespace

Learn how to solve the Symfony error "Attempted to load class "DOMDocument" from the global namespace" in Ubuntu quickly.

November
01

How to solve the client side "Access-Control-Allow-Origin" request error with your own Symfony 3 API

Learn how to solve the known client side "Access-Control-Allow-Origin" error probably created by your self implemented API.

September
28

How to add a role to an user with FOSUserBundle in Symfony 3

Learn how to add a specific role for an user in symfony 3 using FOSUserBundle.

September
27

How to create a custom login event (onLogin) listener using FOSUserBundle in Symfony 3

Learn how to add an event listener for the login event with FOSUserBundle in Symfony 3.

September
26

How to connect to a SFTP server using phpseclib in Symfony 3

Learn how to connect to a SFTP using phpseclib in your Symfony 3 project.

September
15

How to create a screenshot of a website using SnappyBundle (wkhtmltoimage) in Symfony 3

Learn how to create a screenshot of a website with KNPSnappyBundle and wkhtmltoimage.

September
07

How to create a PDF from HTML using SnappyBundle (wkhtmltopdf) in Symfony 3

Learn how to generate PDF files in Symfony 3 with all the features that wkhtmltopdf has to offer using KNPSnappyBundle.

Our Code World

Symfony

Symfony is a set of reusable php components and a PHP framework for web projects.