PHP

Base Template

templates\base.html.twig
Learn More

Filters Twig

upper - mode uppercase
Learn More

Syntax Twig

Comments
{# Comment #}
Learn More

Request

var_dump($request->isXmlHttpRequest());
var_dump($request->getPreferredLanguage(array("en", "ru", "fr")));
var_dump($request->query->get("page"));
var_dump($request->request->get("page"));
var_dump($request->server->get("HTTP_HOST"));
Learn More

Entity

Create new entity: php bin/console make:entity
Create CRUD: php bin/console make:crud BookProduct
Learn More

First Project Creation

After installation we should to install .httaccess
Learn More

Install Symfony

Before creating your first Symfony application you must: Install PHP 7.2.5 or higher and these PHP extensions: Ctype, iconv, JSON, PCRE, Session, SimpleXML, and Tokenizer;
Learn More

Output Control Functions

PHP provides a set of functions that control what content is sent to the browser and when. This is referred to as output control. Output can come from any of the following sources: echo, print, printf, print_r… and other similar functions and statements Notices, warnings and errors from PHP Any content outside of the <?php ?> tags PHP and the backend […]
Learn More