vishwac09/php-algo-scaffold

This package is abandoned and no longer maintained. No replacement package was suggested.

When solving algorithmic examples on local machine (leetcode.com), this package allows me to create executable/test files faster.

dev-master 2022-12-23 12:02 UTC

This package is auto-updated.

Last update: 2023-10-31 00:36:05 UTC


README

I like solving problems on Leetcode and prefer using my local development environment mostly, also Wanted to keep a track of all the problems which i have solved till now, so decided to maintain a repository for it. Created a strucutre which adheres to the PSR-4 autoloading PHP-fig standard.

For every new problem i create folder under the "src" directory with a php file for the Problem with a unit test file under the "tests" directory. I created this library just to automate these file creation task.

Usage

Create a project, and add this packages as DEV dependancy. Check tjhe repo for more details https://github.com/vishwac09/LeetCodes

Installation

Add via composer

composer require --dev vishwac09/php-algo-scaffold

Run

Execute via

./vendor/bin/pas

Image