News Articles symfony

Symfony Station Communique – 7 January 2021. A look at Symfony and PHP news.

This post originally appeared on Symfony Station. Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. Take your time and enjoy the items most valuable for you. Thanks once again to Javier Eguiluz and Symfony for sharing our last […]

Symfony & Doctrine: Part 3

Previously, I talked about how to create easily an Entity (ex:JOB) using a simple command line make:Entity and answering a few question(fields,type…). This article will be about saving data to, fetching data from, the database. Saving Data to DB : To do so, we need to use a service provided by Doctrine, called EntityManagerInterface. The […]

Symfony Station Communique – 17 December 2021. A Look at Symfony and PHP news.

This post originally appeared on Symfony Station. Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. Thanks to Javier Eguiluz and Symfony for sharing our last communique in their Week of Symfony. *Please note that links will open in […]

Symfony & Database-Part 2

In the previous post, we configured Symfony to use Docker for Database, in this post we will talk about Database creation(table, column…) using Doctrine and Symfony. Create Database : We can create a database with a simple command : symfony console doctrine:database:create Doctrine is an ORM (Object Relational Mapper) : Each Table in Database (ex:employee) […]

add an active class to one of my elements and select only the relevant parent

In my menu I would like to add an active class to one of my elements: li.nav-item and this only if the child item: ul.nav-collapse.li has the active class. for this I made a script that works but it adds the active class to all elements: li.nav-intem I would like it to select only the […]

How to track visitors on a web site from messengers? [closed]

I build own analytics on the site to track where visitors come from. I track visitors from other sites using property ‘document.referrer’. How can I track visitors who went to my site from messengers (app)? Source: JavaSript – Stack Overflow

Symfony, using path() (javascript) in a twig

In my javascript, I need to use a route. In the Symfony’s documentation, it said that I can include my script in the twig to get the route BUT my route needs a parameter, then I found var isbn = 1234567890; var url = {{ path(‘book_search_general’, {‘isbn’: ‘isbn’}) }}; url.replace("isbn", isbn); But javascript believes that […]

Symfony Station Communique – 3 December 2021. A Look at Symfony and PHP News.

This post originally appeared on Symfony Station. https://symfonystation.com/Communiques Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. This week it’s extensive again, so take your time and enjoy its most valuable items. Thanks to Javier Eguiluz and Symfony for […]

How Should an Ideal "Deploy PHP via GitHub Actions" Hosting Service Look Like?

Hi everyone, I’m Robert, Product Owner at IONOS. We recently launched a hosting tool called Deploy Now, that allows users to deploy static sites via GitHub Actions. We would like to move on to PHP in the next step. Thus, my question: How should a “Deploy PHP via GitHub Actions” hosting product look like, so […]

Symfony Station Communique – 26 November 2021. A Look at Symfony and PHP News.

This post originally appeared on Symfony Station. Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. This week it’s extensive again, so take your time and enjoy its most valuable items. Thanks to Javier Eguiluz and Symfony for sharing […]

Symfony Station Communique – 26 November 2021. A Look at Symfony and PHP News.

This post originally appeared on Symfony Station. Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. This week it’s extensive again, so take your time and enjoy its most valuable items. Thanks to Javier Eguiluz and Symfony for sharing […]

Symfony Station Communique – 26 November 2021. A Look at Symfony and PHP News.

This post originally appeared on Symfony Station. Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. This week it’s extensive again, so take your time and enjoy its most valuable items. Thanks to Javier Eguiluz and Symfony for sharing […]

Twig – The Ultimate Guide to the Premier PHP Templating Language

Learn how to make the code for your site’s frontend simpler, cleaner, dryer, more logical, and secure with Twig. WHAT’S IN THIS ARTICLE FOR YOU? You will discover Twig’s history and what the language is. You will see why you should use it. You will begin learning how to use it. Twig is a PHP […]

Symfony Station Communique - 19 November 2021. A Look at Symfony and PHP News.

This post originally appeared on Symfony Station. Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. This week it’s pretty extensive, so take your time and peruse it for the most valuable items. Thanks to Javier Eguiluz and Symfony […]

Deploy Sylius to Heroku

In this blog we are going to deploy sylius store to heroku, First you need to know that sylius will need php, node, mysql environments to load and build assets for our store so long story short we will install new app and add two buildpacks heroku/php and heroku/nodejs and will add add-on JawsDb for […]

Symfony Station Communique - 12 November 2021. A Look at Symfony and PHP News.

This post originally appeared on Symfony Station. Vist the link to see past communiques and sign up to receive future ones (a day early) directly in your inbox. Welcome to this week’s Symfony Station Communique. It’s your weekly review of the most valuable and essential news in the Symfony and PHP development communities. This week […]

Visual editor for Symfony Workflow component

In my pet project (online text quest game) I use Symfony Workflow as base for different quests. Flow can be both very simple like "1. start game" -> "2. kill monster" -> "3. finish" and complex "1. start new day" -> "2a. go to work (increase your money counter)" -> "3a. go to sleep" —return […]

Stopping time with PHP

Introduction It is a good practice to use an interface to manage the clock in an application, as it allows having full control of time. For example, it eases testing, as it lets us define the concrete time for each test. Frank de Jonge and Matthias Noback have blog posts about it, brick has an […]

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.