https://github.com/3sidedcube/backend-php-task
3 Sided Cube's Backend PHP Task
https://github.com/3sidedcube/backend-php-task
Last synced: 4 months ago
JSON representation
3 Sided Cube's Backend PHP Task
- Host: GitHub
- URL: https://github.com/3sidedcube/backend-php-task
- Owner: 3sidedcube
- License: mit
- Created: 2021-11-01T15:00:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-21T13:15:44.000Z (about 4 years ago)
- Last Synced: 2025-01-30T01:22:39.868Z (over 1 year ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 3 Sided Cube Backend PHP Task
## About
This repository contains the 3 Sided Cube backend PHP task. We use this to assess the capabilities of PHP candidates.
## Requirements
We want you to create a temperature converter using PHP. It needs to convert temperatures from Fahrenheit to Celsius and from Celsius to Fahrenheit.
This program should be run via PHP's command line interpreter. It should use the [Webmozart Console](https://packagist.org/packages/webmozart/console) library.
We would like you to use PHPUnit to write supporting tests too.
We estimate this task should take you about an hour. Don't worry if you spend more or less time though, the end result is what we're interested to see!
## First Steps
* Create a new directory and initialise a Git repository
* Install your dependencies using Composer
* Create an entry point script
* Define your namespace and configure autoloading
* Start writing some PHP!
## Scope
Things you shouldn't worry about:
* Environment - You can use a local version of PHP, PHP inside a Vagrant machine, or a PHP Docker image. Choose whatever you're most comfortable with!
* Documentation - Given the small feature set you don't need to write detailed documentation. We will be able to figure out how your program works.
* Formatting - Providing you're consistent with your approach, any formatting style is fine. Sticking to a PSR is recommended though!
* Builds - You don't need to spend any time integrating build tools with repository. Automatic linting or test runners aren't required.
## Submission
Simply create a public Git repository on GitHub, Bitbucket, or GitLab. Then push your work to it and send us the link.
## Questions
If you have any questions just ask!