Skip to content

This repository is part of the In2it training course "PHPUnit: the basics"

License

Notifications You must be signed in to change notification settings

joerandazzo76/phpunit-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPUnit: the Basics

In2it Training: PHPUnit: the Basics

This repository is used for In2it's PHPUnit: the Basics training course.

Forking to your own GitHub account

To participate you can fork this repository to your own GitHub account. To learn how to fork, please read the GitHub documentation explaining the forking process.

Cloning locally

Once you have forked the repository, you need to clone it locally on your computer so you can work with the source code.

git clone [email protected]:<username>/phpunit-basics.git

This will create a local copy of the repository in directory phpunit-basics. Once you go into that directory, you'll see only the following files:

cd phpunit-basics/
ls -a
.git .gitignore composer.json composer.lock LICENSE README.md

Install composer and composer packages

If you don't have Composer installed yet, now is a good time to download it.

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

Or download the PHAR package directly at getcomposer.org/composer.phar.

Once composer is installed, we can start installing the required packages. We're using composer as command, but if you have downloaded the PHAR file, remember to use php composer.phar instead.

composer install

Source code license

This source code is provided for free by In2it as part of PHPUnit: the Basics and is licensed with Apache License 2.0. Copyright 2009 - 2017 © In2it. All rights reserved.

About

This repository is part of the In2it training course "PHPUnit: the basics"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published