make:service

php mitosis make:service Billing

Writes app/Services/Billing.php:

<?php

declare(strict_types=1);

namespace App\Services;

final class Billing
{
}
✓ Created service: /path/to/app/Services/Billing.php

This is App\Services\* — your own app-level services (like this site's own App\Services\DocsContent), a different namespace from Clarity's built-in Monad\Clarity\Services\*. Refuses to overwrite an existing file.

Next steps

  • Service Container — the static-service pattern your generated class will likely follow.