Phpunit Projects
Looking for freelance Phpunit jobs and project work? PeoplePerHour has you covered.
Post an offer to educate them
Past "Phpunit" Projects
PHP and Vue refactoring
I seek an experienced developer to help refactor an existing PHP/Vue application to utilize best practices for separation of concerns, modularity, and testing. The current code base lacks standardized processes and testing frameworks which hinders ongoing development and improvements. Your expertise is required to implement automated unit and integration tests utilizing PHPUnit and configure continuous integration tools to run tests on code changes. Additionally, helping establish coding standards and patterns like MVC, dependency injection and facade patterns will make the code more maintainable and scalable. Refactoring common business logic into reusable components and services is desired. Documentation of changes made along with writing tutorials for fellow developers on processes implemented will help ensure code quality and process adherence going forward. Experience working with similar code bases and awareness of front-end and back-end development integration is essential for this role.
opportunity
PHP Developer
PHP 8+ write PHPUnit tests Docker API creating & testing Please do not apply if you are not good with there, because you will be tested, and you don't want to waste your time or ours. So, don't waste your time if you do not have those skills. Also, we are not looking for an agency. We are looking for 1 developer.
Consultancy on Wordpress WooCommerce Plugin
I need an experienced PHP/Wordpress/WooCommerce engineer to discuss a project's feasibility and then move to build. Requirements center around exporting product/orders/customer/page data in csv format and external API auth and interaction. I have specs, diagrams and other items ready. This will need to be TDD using PHPUnit or similar.
Simple API Roman Numerals
This task requires you to build a JSON API . I require a simple API which will convert an integer to its roman numeral counterpart. The solution will contain 3 API endpoints, and will only support integers ranging from 1 to 3999. The client wishes to keep track of conversions so they can determine which is the most frequently converted integer, and the last time this was converted Endpoints required: Accepts an integer, converts it to a roman numeral, stores it in the database and returns the response. Lists all of the recently converted integers. Lists the top 10 converted integers I am looking for: Use of MVC components (View in this instance can be, for example, a fractal transformer). Use of Fractal and Transformers - here is a Laravel specific Fractal package https://github.com/spatie/laravel-fractal OR You may also use Laravel Resources if you wish! Use of Eloquent, Requests and Routes. A class which implements the supplied interface. The supplied PHPUnit test passing. Clean, well-commented code - We use PSR-2
How to install PHPUnit in my Docker instance and run sample test
Hello, I need a quick fix. I have a docker php apache instance with my php code and want to: 1. install PHPUnit on docker 2. run sample PHP Test called "ExampleTest" in docker How do I have to modify the Dockerfile to make it work? Project structure: project/docker-compose.yml project/Dockerfile project/test/ExampleTest.php Thanks!
opportunity
Laravel PHP & SQL database CLI tool for Windows, Linux & Mac
We have an existing Laravel command-line application which requires some updates. The application works heavily and directly with all SQL databases (including MySQL, Postgres, SQLite & MSSQL) and mainly revolves around analysing & manipulating database schema and data. Project budget is 250 GBP. We require one developer with the followng experience: - Writing automated database tests with PHPUnit across MySQL, Postgres, SQLite & MSSQL databases - Fixing defects & writing new features in both the latest PHP 7.x code, as well as ensuring the code is backwards PHP compatible to PHP 5.x - Using continuous integration (CI) tools like Travis CI - Using virtualization tools like Docker - A high international standard of written English to write and update technical documentation in Markdown format - Experience developing command line applications & tooling tools for Windows, Mac and Linux - Experience in tuning databases for maximum performance - Expert level of usage with Git version control & experience with a rebase branching & merging strategy List of issues we want to tackle first, in order of priority are: - Get the database test system with PHPUnit up and running so we can write database tests with fixtures - Start looking into the defects being raised on the project, which I can provide a list of separately, and see if a failing test can be written for this and then get this failing test to pass by modifying the code - There are some open PRs on the project which address some issues, so these can be seen if they fix the failing test or not. If not, the PR should be declined and then code written to fix the issue - Once all the issues on the project have been addressed and working with our CI environment (Travis CI), we wish to start working on expanding the functionality to work with other DBs other than MySQL
I need help to fix an issue on a PHP Library
General information for the website: Appizy converts OpenDocument Spreadsheet into Web-calculators Hello, I am the developer of the project Appizy (homepage: http://www.appizy.com, Github: https://github.com/Appizy/appizy). I look for a PHP developer to fix this issue: https://github.com/Appizy/appizy/issues/15 Description of requirements/features: Please read the following page to understand the concept of the library: https://github.com/Appizy/appizy/blob/master/CONTRIBUTING.md You need to be at ease with: - PHP 5.6 and 7.* - OOP - PHPUnit - Docker (no setup required just using it) - Excel/OpenDocument Spreadsheet (good knowledge) - Linux base commands You need a Github account (please provide your Github ID in your application). Reply to this job only if you achieved to clone the repo on your machine and run the unit tests in Docker.
Create a simple, but beautifully written, PHP Command Line Interface (CLI) Program
General information for the business: We create lots of XML files that need to be managed. Kind of development: New program from scratch Description of every module: A CLI PHP program that can run on Mac, PC or Linux. I am a PHP coder who does not have time to build all the tools I need. If you build the basic framework of the program, I can then refactor the script to add my specific domain knowledge. Description of requirements/functionality: Let's exercise your PHP CLI programming skills. I hope you might be able to create a program that performs a relatively simple function but which handles errors well and is well tested: # XmlFileScanner As a writer of XML files, I would like to be able to use a CLI PHP program to scan a given directory (targetDirectory) on PC or Mac and, for each file found with the `.xml` filename extension, set the following details into a variable; full path to file, relative path from the targetDirectory given, filename and filesize. Then, set those details as items in a variable which can be iterated by later code. In addition to the arguments passed to the CLI program. The program should also read from an `ignored.txt` file which will reside in the same directory as the PHP script that was run. That file will contain a list of directory names (one per line) that should be ignored when the script is run when the 'recursive' option is TRUE. # Input The arguments passed to the CLI PHP program are: 1. `targetDirectory` (Mandatory). The path to the directory which should be scanned 2. `-r` (Optional). By default the script will just scan the files in the `targetDirectory`, if `-r` is passed as an argument, then sub-directories of the `targetDirectory` will also be scanned recursively. The CLI Program should report errors to the Standard Error Stream: * Fatal Error: Missing arguments. (If the `targetDirectory` is not provided) * Fatal Error: Unknown directory(If the `targetDirectory` cannot be found) * Fatal Error: Missing `ignored.txt` not found. (If the file containing directories to ignore is not found) * Other errors that you think might be helpful. # Output Write output to Standard Output Stream. * The total number of files found. * The total number of Xml files found. * The paths of directories that were skipped because they were in the list of ignored directories. * The relative paths of Xml files found. # Technologies * Ideally you will use Object Oriented Programming where needed. * Ideally you will make use of classes in the Standard PHP Library (SPL) (http://php.net/manual/en/book.spl.php) where possible. * Ideally you will use Test Driven Development and provide PHPUnit Tests along with the code. * Ideally you will provide some basic usage instructions along with the application. I would be interested to hear your thoughts on how much this would cost me. Specific technologies required: PHP OOP OS requirements: Windows, Mac OS, Linux Extra notes: ## Update: The following points have been added in response to discussions with Sellers ## * The key point is that I am looking for a CLI application rather than a web application. * Experience: You will have had previous experience in building CLI Applications in OOP PHP. * If the code is written in OOP and it is written and structured well (i.e using patterns from Domain Driven Design, PofEAA, Gang of Four) then I find it easier to maintain. * You could think of this task as a CLI Project Set-up (including Unit Tests) with slightly more than a 'Hello World' functionality. So, I understand that will add to the price. However, coders who have written a few OOP CLI PHP applications may well be able to base this on previously written OOP CLIP PHP applications which would reduce their costs. * With regards to the version of PHP. The PHP version must be no greater than PHP 7.* and no greater than PHP's current Current Stable release. It would be easier for me if it was backward compatible with PHP 5.6 (or whichever PHP version comes pre-installed on Mac Sierra 10.12.5). But, that would be a bonus. The 'model' aspect of the code could be re-used in a Drupal 8 custom module to be developed within 6 months. Drupal 8 requires PHP 5.6 ≤ ≥ 7 (https://www.drupal.org/docs/7/system-requirements/php#php_required) Given those parameters, I would appreciate if it was 'backward compatible' as possible whilst making the best use of PHP's SPL (some very useful classes have been added since PHP 5.6). So, in summary, it could be written in anything between: PHP 5.6 ≤ ≥ PHP 7.* (stable release)