php-router icon indicating copy to clipboard operation
php-router copied to clipboard

Add cli for creating controllers and middlewares

Open elliot-ghorbani opened this issue 5 years ago • 3 comments

I tried to use symfony/console as recommended.

elliot-ghorbani avatar Sep 04 '20 13:09 elliot-ghorbani

I think it would be good to have the tests for these make:controller command behaviors :).

Some references are as follows:

  • https://symfony.com/doc/current/console.html#testing-commands
  • https://github.com/laravel/installer/blob/master/tests/NewCommandTest.php

peter279k avatar Sep 07 '20 08:09 peter279k

I think it would be good to have the tests for these make:controller command behaviors :).

Some references are as follows:

  • https://symfony.com/doc/current/console.html#testing-commands
  • https://github.com/laravel/installer/blob/master/tests/NewCommandTest.php

Thanks for your reply. I will work on it.

elliot-ghorbani avatar Sep 07 '20 09:09 elliot-ghorbani

I think it would be good to have the tests for these make:controller command behaviors :).

Some references are as follows:

  • https://symfony.com/doc/current/console.html#testing-commands
  • https://github.com/laravel/installer/blob/master/tests/NewCommandTest.php

I added some tests for the commands as recommended.

elliot-ghorbani avatar Sep 08 '20 16:09 elliot-ghorbani