Skip to content

This is a collection of exercises for PHP. This repository should help you either learn PHP or refresh your memory. The exercises are targeted towards people who already know the basic terminology of pogramming and those who maybe already know a different language.

Notifications You must be signed in to change notification settings

Ruesa18/php-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Training

by Sandro Rüfenacht

I hope this repository helps you to either get into PHP or to refresh your memory about this language. The exercises are targeted towards people who already know the basic terminology of programming and those who maybe already know another language.

How to get started

You can install all the dependencies via composer. Use the command composer install inside the projects root folder (/php-training/). Composer will then read the composer.json file and install all needed libraries. After that you're ready for training. You can find all exercises under /php-training/exercises.

Folder Structure

Where to find the exercises

You'll find all exercises under /php-training/src/exercies/. To test your solutions see chapter Testing your solutions

Where to find base classes

Some exercise-classes extend base-classes. Those class can be found under /php-training/src/core/misc/.

Testing your solutions

You can test your solutions of the exercises by running the command vendor/bin/phpunit inside the root directory of this project (/php-training/). This will trigger all Unit-Tests for the exercises and show you what works and what doesn't.

Master Solutions

If you get stuck, can't find a solution to a task or just want to see how I would solve a problem you can take a look at the master solutions. You can find them inside the directory /php-training/src/master_solutions.

Final words

I hope this repository helps you to either get into PHP or to refresh your memory about this language. Now have fun and good learning! 🎉

About

This is a collection of exercises for PHP. This repository should help you either learn PHP or refresh your memory. The exercises are targeted towards people who already know the basic terminology of pogramming and those who maybe already know a different language.

Topics

Resources

Stars

Watchers

Forks

Languages