• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Jagepard / Rudra-Cli / 15920986328

27 Jun 2025 07:42AM UTC coverage: 4.771% (-95.2%) from 100.0%
15920986328

push

github

web-flow
Merge pull request #29 from Jagepard/wip

adds commands

0 of 479 new or added lines in 20 files covered. (0.0%)

24 of 503 relevant lines covered (4.77%)

0.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Command/BcryptCommand.php
1
<?php
2

3
namespace Rudra\Cli\Command;
4

5
use Rudra\Cli\Command\ConsoleFacade as Cli;
6
use Rudra\Auth\AuthFacade as Auth;
7
use Rudra\Container\Facades\Request;
8

9
class BcryptCommand
10
{
NEW
11
    public function actionIndex(): void
×
12
    {
NEW
13
        Request::server()->set([
×
NEW
14
            "REMOTE_ADDR"     => "127.0.0.1",
×
NEW
15
            "HTTP_USER_AGENT" => "Mozilla",
×
NEW
16
        ]);
×
17

NEW
18
        Cli::printer("Enter password: ", "magneta");
×
NEW
19
        $password = trim(fgets(fopen("php://stdin", "r")));
×
20

NEW
21
        Cli::printer(Auth::bcrypt($password) . PHP_EOL, "light_green", );
×
22
    }
23
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc