본문으로 건너뛰기
아카데미
초급 코드 지구

PHP

스크립트부터 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.

레슨
14
시간
2시간
난이도
초급

이 코스의 레슨은 당분간 영어로 제공돼요.

  • 브론즈 도전 가능
  • 실버 도전 가능
  • 골드 잠김

실력을 증명할 준비됐나요?

브론즈, 실버, 골드 세 가지 시험이 기다리고 있어요.

시험 보러 가기

이 코스를 마치면 할 수 있는 것

  • 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

여정

  1. 1
    챕터 1

    PHP basics

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

    0 / 5
  2. 2
    챕터 2

    Web and objects

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

    0 / 5
  3. 3
    챕터 3

    Next steps

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

    0 / 4

빠른 탐색