This package is abandoned and no longer maintained. The author suggests using the improvephp/kaataa package instead.

Start practicing code katas and improving your skills

1.0.2 2023-09-25 02:38 UTC

This package is auto-updated.

Last update: 2024-09-18 22:18:32 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 sebacarrasco93/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