Aller au contenu
Fikri.fr

Fikri.fr

PHP, Symfony, Laravel by Marouane FIKRI

  • Accueil
  • PHP
  • Symfony
  • Laravel
  • JavaScript
  • Angular
  • VueJS
  • ReactJS

Catégorie : php

SQL injection attacks

Publié par Fikri.fr le dans php, sql

There are mainly three types of SQL injection attacks, which are as follows:

PHP function that creates a unique ID with 3 letters and 3 numbers:

Publié par Fikri.fr le dans php

This function first creates an array of letters (from A to Z) and an array of numbers (from 0 to 9). It then generates three random letters and three random numbers and concatenates them together to form the unique ID….

PHP 8.2 itroduces Constants in traits

Publié par Fikri.fr le dans API Platform, laravel, php, symfony

You cannot access the constant through the name of the trait, but, you can access the constant through the class that uses the trait. PHP 8.2 was released on November 25, 2021, and it introduced many new features and improvements…

PHP 8.2 Deprecates dynamic properties

Publié par Fikri.fr le dans API Platform, laravel, php, symfony

PHP 8.2 is the latest version of the popular programming language and it comes with a range of new features and updates. One of the most notable changes in PHP 8.2 is the deprecation of dynamic properties. This means that…

PHP 8.2 Readonly classes

Publié par Fikri.fr le dans laravel, php, symfony

PHP 8.2 was released in November 2021 and brought several new features and improvements to the popular programming language. One of the most notable additions is the introduction of Readonly classes, which offer developers a new way to ensure that…

Whats new PHP 8.2

Publié par Fikri.fr le dans php

PHP 8.2 was released on February 17th, 2022, and it brings several new features and improvements to the popular programming language. Let’s take a look at some of the most notable changes in this new version of PHP. One of…

PHP 8.1 Enum

Publié par Fikri.fr le dans laravel, php, symfony

PHP 8.1, the latest version of the popular server-side scripting language, introduces a new feature called Enum. This feature allows developers to create enumerated types, which are a set of named values that can be used to define a list…

Laravel-9

Laravel 9

Publié par Fikri.fr le dans laravel, php

Laravel 9 is the next long-term support version (LTS) and will receive bug fixes until February 2024 and security fixes until February 2025. Here are some of the major features that we’ve covered in detail in our PHP 8 is…

Call to an undefined method Symfony\Component\Serializer\Normalizer\NormalizerInterface::denormalize().

Publié par Fikri.fr le dans API Platform, laravel, Non classé, php, symfony

In API Platform or in Symfony, If you use a denormalization like this : use Symfony\Component\Serializer\Normalizer\NormalizerInterface; private NormalizerInterface $normalizer; $this->normalizer = $normalizer; $this->normalizer->denormalize($data, Object::class) You need to change it to a denormalizerInterface like this use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; private DenormalizerInterface $denormalizer; $this->denormalizer…

Cannot normalize attribute because the injected serializer is not a normalizer.

Publié par Fikri.fr le dans API Platform, laravel, php, symfony

When using API Platform or symfony serializations, you can get this error This error happens when you use an ObjectNormalizer Symfony\Component\Serializer\Normalizer\ObjectNormalizer instead of an Symfony\Component\Serializer\Normalizer\NormalizerInterface To avoit this error Use Symfony\Component\Serializer\Normalizer\NormalizerInterface;

Navigation des articles

Page 1 Page 2

Rechercher

Articles récents

  • SQL injection attacks
  • SQL Injection with examples
  • PHP function that creates a unique ID with 3 letters and 3 numbers:
  • PHP 8.2 itroduces Constants in traits
  • PHP 8.2 Deprecates dynamic properties

Catégories

  • API Platform
  • javascript
  • laravel
  • Non classé
  • php
  • reactjs
  • sql
  • symfony
  • vuejs

Vue Global

http mailer PHP Symfony tests
Copyright © Fikri.fr | Tous droits réservés.
Thème Fashify par FRT