Skip to content
Advertisement

Tag: symfony4

Symfony Ldap checkPassword

I’m using Symfony 4.4 and I’m doing my own authenticator. Everything works fine, I just can’t figure out how to compare the password entered by the user and the one in Ldap. I would like to do this in …

Including properties with xpointer in Sulu templates

I have set up some Sulu templates and I have been able to use the method described here to include the contents of an entire file in multiple templates: https://docs.sulu.io/en/2.1/book/templates.html I’m using: <xi:include href=”fragments/common-properties.xml”/ and this works perfectly However I have then tried to include the properties from another template using the xpointer method (in order that i can include

How can I improve CSV import faster in Symfony?

I have to import CSV file of around 20,000 rows. This CSV is read from FTP Server which will update every 30 minutes. But the code I have written is already taking more than 45 mintues to import. This is very slow. Can anybody please help me. I am thinking of persist the data every based on the batchSize =

Generate entity from an existing table

I have a already created table: CREATE TABLE `jt_version` ( `version` int(11) NOT NULL COMMENT ‘103’, `model` varchar(4) COLLATE utf8_unicode_ci NOT NULL DEFAULT ” COMMENT ‘108’ From this …

Advertisement