improvephp/kaataa

Start practicing code katas and improving your skills

1.0.0 2024-09-18 22:30 UTC

This package is auto-updated.

Last update: 2024-09-18 22:32:27 UTC


README

Kaataa

😎 Improve your programming skills by solving challenges

✅ Verify your solutions with Unit Tests

💡 A really good start point to understanding TDD

What is a Kata?

In programming, a kata is an exercise which helps you to enhance skills through practice and repetition.

If you want more information, please check Awesome Katas.

Why Kaataa?

Kaataa is a open source project heavily inspired in simplicity of Laravel. With Kaataa, you can take advantage from Unit Tests.

It is supercharged with:

  • PHPUnit
  • Mockery
  • Pest (soon)

Of course, it's also has the dd helper from Symfony for easy debugging while you get fun on it.

Requirements

  • PHP 8.1 or greater
  • Composer 2

Installation

composer create-project improvephp/kaataa {your_project_name}

Quick start

Automatically create Class and Test files

php dojo create:kata {NameOfYourKata}

Another commands

Want to make a only a class? No problem

php dojo make:class {ClassName}

Only a test? Of course

php dojo make:test {TestName}

Run tests

From composer (easier)

composer test

PHPUnit

./vendor/bin/phpunit

Video

Check out the demo