Skip to content

martinscoding/php-first-steps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

My First Steps in PHP — OOP Car Example

A small introductory PHP OOP project created to take my first steps in PHP, including classes, properties, constructors, and simple methods.


Components & Structure

|- index.php
  • index.php – Main file that creates a Car object and outputs its message

Preview

(Example output of the script)

"My car is a: [BRAND] Ford [MODEL] Fiesta [COLOR] Blue"

🇬🇧 English

About the Project

This project represents my first steps in PHP, focusing on understanding how classes and objects work.
I created a simple Car class with properties such as brand, model, and color, along with a method that prints a formatted message.

Learning Aspect

The main goal of this project is to become familiar with:

  • Basic PHP syntax
  • How to create and use classes
  • How constructors work
  • How object properties and methods interact

Technologies

  • PHP

Author

Created by Martin


🇩🇪 Deutsch

Über das Projekt

Dieses Projekt umfasst meine ersten Schritte mit PHP, insbesondere das Verständnis von Klassen und Objekten.
Ich habe eine einfache Car-Klasse erstellt, die Eigenschaften wie Marke, Modell und Farbe enthält und eine Methode besitzt, die eine formatierte Nachricht ausgibt.

Lern Aspekt

Das Ziel des Projekts war es, erste Grundlagen zu erlernen:

  • Grundsyntax von PHP
  • Erstellung und Verwendung von Klassen
  • Funktionsweise von Konstruktoren
  • Zusammenspiel von Objekt-Eigenschaften und Methoden

Technologien

  • PHP

Autor

Erstellt von Martin

About

A repository for my first steps in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages