Skip to main content

Laravel Ops Kit Demo

Terminal output of the kit against sample projects.
Live demo

Laravel Ops Kit - terminal output

See real terminal output from Laravel Ops Kit running against sample projects — genuine, unedited proof of what the kit delivers. This is exactly what you'll see when you run it on your own projects.

Video walkthrough

A short screen recording of a verified run, with the real terminal output below.

Terminal output

See Laravel Ops Kit in action - real terminal output from the kit running against bundled sample projects. This is what you get.

### Version

Laravel Ops Kit 1.0.0

### Healthy application

Laravel Ops Kit doctor
Target: tests/fixtures/healthy-app
PHP: 8.5.11   Tool: 1.0.0

RUNTIME
  [PASS]  PHP-001  PHP version is supported
           Running PHP 8.5.11; the kit requires 8.1 or newer.
  [PASS]  PHP-002  Required PHP extensions are loaded
           json, mbstring, openssl and pdo are present.
APPLICATION
  [PASS]  APP-001  composer.json is present and valid
           composer.json parsed successfully.
  [PASS]  APP-002  Target looks like a Laravel application
           artisan or laravel/framework was found.
  [PASS]  APP-003  Laravel framework constraint detected
           laravel/framework ^12.0.
  [PASS]  APP-004  composer.lock is committed
           composer.lock is present.
  [PASS]  APP-005  Dependencies are installed
           vendor/autoload.php is present.
ENVIRONMENT FILE
  [PASS]  ENV-001  .env is present
           .env was found.
  [PASS]  ENV-002  .env.example is present
           .env.example was found.
  [PASS]  ENV-003  APP_KEY is set
           APP_KEY is set and is not a placeholder.
  [INFO]  ENV-004  APP_ENV is declared
           APP_ENV is production.
  [PASS]  ENV-005  Debug mode is off in production
           APP_DEBUG is false.
  [PASS]  ENV-006  APP_URL uses HTTPS
           APP_URL is https://example.test.
  [PASS]  ENV-007  Queue connection is not sync in production
           QUEUE_CONNECTION is database.
  [PASS]  ENV-008  Production log level is not debug
           LOG_LEVEL is warning.
  [PASS]  ENV-009  Session cookie is secure in production
           SESSION_SECURE_COOKIE is true.
DEPLOYMENT
  [PASS]  DEP-001  Deployment entry file exists
           deploy.php was found.
  [PASS]  DEP-002  Deployment tooling is declared
           A Deployer based package is in composer.json.
  [PASS]  DEP-003  Deploy file contains a health check
           A health check reference was found.
  [PASS]  DEP-004  Deploy file includes a lock or shared kit helper
           A lock or klytron helper reference was found.
BACKUPS
  [PASS]  BAK-001  Backup package is declared
           spatie/laravel-backup is in composer.json.
  [PASS]  BAK-002  Backup configuration is published
           config/backup.php was found.
  [PASS]  BAK-003  A backup job is scheduled
           backup:run schedule entry was found.
  [INFO]  BAK-004  Latest backup archive is fresh
           Skipped because no backup directory was supplied.
SCHEDULER
  [PASS]  SCH-001  Scheduled tasks are defined
           Schedule definitions were found in routes/console.php.
  [PASS]  SCH-002  Scheduler alert package is declared
           klytron/laravel-schedule-telegram-output is in composer.json.
  [PASS]  SCH-003  Scheduler entry point is documented
           The code check cannot see the server crontab.
  [PASS]  SCH-004  Long running tasks use an overlap guard
           withoutOverlapping was found.
FILESYSTEM AND SECRETS
  [PASS]  SEC-001  storage is writable
           storage is writable.
  [PASS]  SEC-002  bootstrap/cache is writable
           bootstrap/cache is writable.
  [PASS]  SEC-003  .env is ignored by git
           .env is covered by .gitignore.
  [PASS]  SEC-004  .env is not world readable
           Permissions are 640.

Summary: 29 pass, 0 warn, 0 fail, 3 info.

### Exposed production environment

Laravel Ops Kit doctor
Target: tests/fixtures/exposed-app
PHP: 8.5.11   Tool: 1.0.0

RUNTIME
  [PASS]  PHP-001  PHP version is supported
           Running PHP 8.5.11; the kit requires 8.1 or newer.
  [PASS]  PHP-002  Required PHP extensions are loaded
           json, mbstring, openssl and pdo are present.
APPLICATION
  [WARN]  APP-004  composer.lock is committed
           composer.lock is missing.
  [WARN]  APP-005  Dependencies are installed
           vendor/autoload.php is missing.
ENVIRONMENT FILE
  [WARN]  ENV-002  .env.example is present
           .env.example is missing.
  [FAIL]  ENV-003  APP_KEY is set
           APP_KEY is missing or still a placeholder.
  [FAIL]  ENV-005  Debug mode is off in production
           APP_ENV is production but APP_DEBUG is on.
  [WARN]  ENV-006  APP_URL uses HTTPS
           APP_URL is http://example.test.
  [WARN]  ENV-007  Queue connection is not sync in production
           QUEUE_CONNECTION is sync.
  [WARN]  ENV-008  Production log level is not debug
           LOG_LEVEL is debug.
  [WARN]  ENV-009  Session cookie is secure in production
           SESSION_SECURE_COOKIE is false.
DEPLOYMENT
  [WARN]  DEP-001  Deployment entry file exists
           No deploy.php was found.
  [WARN]  DEP-002  Deployment tooling is declared
           No Deployer package was found.
  [WARN]  DEP-003  Deploy file contains a health check
           Skipped because deploy.php is missing.
  [WARN]  DEP-004  Deploy file includes a lock or shared kit helper
           Skipped because deploy.php is missing.
BACKUPS
  [WARN]  BAK-001  Backup package is declared
           spatie/laravel-backup is not found.
  [WARN]  BAK-002  Backup configuration is published
           config/backup.php is not found.
  [WARN]  BAK-003  A backup job is scheduled
           No backup:run schedule entry was found.
SCHEDULER
  [WARN]  SCH-001  Scheduled tasks are defined
           No schedule definitions were found in the usual Laravel files.
  [WARN]  SCH-002  Scheduler alert package is declared
           No scheduler alert package was found.
FILESYSTEM AND SECRETS
  [WARN]  SEC-003  .env is ignored by git
           .env is not clearly covered by .gitignore.
  [WARN]  SEC-004  .env is not world readable
           Permissions are 644.

Summary: 9 pass, 18 warn, 2 fail, 3 info.
Resolve the FAIL items before relying on this environment. Run "ops-kit plan" for the order.

### Ordered plan for a bare project

Laravel Ops Kit setup plan
Target: tests/fixtures/bare-app

1. Application baseline
  1. Run the command from the Laravel application root that contains artisan.
  2. Run composer install, then commit composer.lock.
  3. Confirm laravel/framework is declared and the project is Laravel 10 or newer.

2. Environment safety
  1. Create .env from .env.example and keep both files out of version control.
  2. Run php artisan key:generate in the target environment. Do not reuse a key between environments.
  3. Set APP_URL to the canonical HTTPS URL.
  4. Set SESSION_SECURE_COOKIE=true after HTTPS is confirmed.

3. Deployment path
  1. Install the deployment kit: composer require --dev klytron/php-deployment-kit.
  2. Create deploy.php from the kit recipe for this application.
  3. Add a health check that runs before the current symlink is switched.
  4. Add a deploy lock guard so two releases cannot run at the same time.

4. Backup and restore
  1. Install spatie/laravel-backup and publish config/backup.php.
  2. Configure an offsite destination disk and confirm credentials outside the repository.

### Markdown handover report

Report written to /tmp/ops-kit-report.TNBC1w.md
Summary: 29 pass, 0 warn, 0 fail, 3 info.
## Laravel Ops Kit readiness report

- Generated: 2026-12-01 09:18:42 UTC
- Target: `tests/fixtures/healthy-app`
- PHP: 8.5.11
- Tool: Laravel Ops Kit 1.0.0

## Summary

| Result | Count |
| :--- | ---: |
| Pass | 29 |
| Warn | 0 |
| Fail | 0 |
| Info | 3 |

## Checks

The full check list is in the Laravel Ops Kit readiness documentation.
Request The Kit Back to Laravel Ops Kit