Ir para o conteúdo principal
Academia
Iniciante Distrito do código

PHP

Web no lado do servidor, de scripts ao Laravel.

PHP runs on the server: a request comes in, PHP builds the page or the JSON, and sends it back. It powers WordPress and Wikipedia's MediaWiki, and modern PHP is typed, fast and pleasant to write. This course starts from zero with PHP 8.5: scripts, variables and strings, arrays and loops, decisions and typed functions, then forms that are safe from XSS, classes and enums, database queries with PDO prepared statements, and a first look at Composer and Laravel. A last module goes further: sign-in with sessions, JSON APIs, tests with PHPUnit and a complete Laravel app.

Every example is small, and every output is traced line by line, so you always know exactly what to expect.

Lições
14
Tempo
2 h
Nível
Iniciante

Por enquanto, as lições desta trilha estão em inglês.

  • Bronze disponível
  • Prata disponível
  • Ouro bloqueada

Hora de provar?

Três exames esperam por você: Bronze, Prata e Ouro.

Ir para os exames

O que você vai saber fazer

  • Write and run PHP scripts from the terminal and the built-in web server
  • Use strings, arrays, loops, typed functions and match with strict types
  • Handle form input safely: validate it, and escape output against XSS
  • Model data with classes, readonly properties and enums
  • Query a database with PDO prepared statements, and know where Composer and Laravel fit

A jornada

  1. 1
    Módulo 1

    PHP basics

    Where PHP runs, your first script, strings, arrays, loops, decisions, typed functions and match.

    0 / 5
  2. 2
    Módulo 2

    Web and objects

    Forms and safe output, classes and enums, databases with PDO, and Composer with Laravel.

    0 / 5
  3. 3
    Módulo 3

    Next steps

    Where to go after this course: sign-in, APIs, tests and a full Laravel app.

    0 / 4

Navegação rápida