Download the PHP package stuntrocket/rover without Composer

On this page you can find all versions of the php package stuntrocket/rover. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rover

Rover ๐Ÿš€

An opinionated Laravel development assistant for teams who value quality and standards.

Rover is a command-line tool built on Robo that streamlines Laravel development workflows, enforces code quality standards, and manages multiple projects with ease. Perfect for development teams and agencies managing multiple Laravel applications.

Features

Installation

Quick Start

Available Commands

Setup & Configuration

rover:init

Initialize Rover configuration and optionally install recommended development packages.

Creates a rover.yml configuration file and offers to install recommended packages like Pint, Pest, and IDE helpers.

rover:status

Display project status and installed tools.

rover:about

Show Rover version and available commands.


Project Scaffolding

rover:new

Create a new Laravel project with opinionated defaults and team standards.

Automatically installs and configures:

rover:setup

Set up an existing Laravel project with Rover standards.

Perfect for adding Rover to existing projects. Installs packages, creates directory structure, and sets up configuration files.


Environment Management

rover:env:validate

Validate .env file for required variables and test connections.

Checks for:

rover:env:generate

Generate .env file with interactive prompts.

rover:env:compare

Compare .env with .env.example to find missing or extra variables.

rover:env:info

Display environment information (hides sensitive data).

rover:env:check-secrets

Check for accidentally exposed secrets in version control.


Git Integration

rover:git:hooks

Install git hooks for automated quality checks.

Installs:

rover:git:hooks:remove

Remove installed git hooks.

rover:git:status-all

Show git status for all Laravel projects in current directory.

rover:git:gitignore

Generate Laravel .gitignore file.


Template Generation

rover:template:github-actions

Generate GitHub Actions workflow for CI/CD.

Creates .github/workflows/laravel.yml with:

rover:template:gitlab-ci

Generate GitLab CI configuration.

rover:template:docker

Generate Docker configuration (Dockerfile, docker-compose.yml, nginx config).

rover:template:readme

Generate README template with project documentation structure.

rover:template:all

Generate all templates with interactive prompts.


Database Operations

rover:fresh

Drop all tables, run migrations, and seed the database.

โš ๏ธ Safety first: Automatically checks environment and requires confirmation unless --force is used.

rover:db:reset

Rollback and re-run all migrations.

rover:db:seed

Run database seeders.

rover:db:status

Show migration status.


Database Backup & Management

rover:db:backup

Create timestamped database backups with automatic rotation.

Features:

rover:db:backups

List all available database backups.

Shows filename, size, and creation date for each backup.

rover:db:restore

Restore database from a backup.

โš ๏ธ Warning: This replaces your current database!

rover:db:backup:clean

Delete old backups, keeping the most recent ones.

rover:db:snapshot

Quick snapshot for testing (uses "latest" naming).

Perfect for:

rover:db:anonymize

Anonymize sensitive user data for safe development/staging use.

Anonymizes:

โš ๏ธ Production Safety: Automatically blocked in production environments.

rover:db:sync

Sync database from remote environment (requires configuration).

Provides manual instructions for database synchronization.


Migration Safety Tools

rover:migrate:check

Check for migration conflicts (duplicate timestamps, naming issues).

Detects:

rover:migrate:verify

Comprehensive migration verification before running.

Checks for:

rover:migrate:rollback-safe

Safe rollback with preview and confirmation.

Features:

rover:migrate:history

View migration history and pending migrations.

rover:make:migration

Create migration with conflict checking.

Automatically checks for naming conflicts before creation.


Cache Management

rover:clear

Clear all Laravel caches (config, route, view, cache, compiled).

Clears:

rover:optimize

Run all Laravel optimization commands.

Optimizes:

rover:refresh

Clear caches then optimize (useful when switching branches).


Testing

rover:test

Smart test runner with automatic Pest/PHPUnit detection.

rover:coverage

Generate test coverage report.

rover:test:file

Run a specific test file.

rover:test:list

List all available test files.


Code Quality

rover:lint

Check code style with Laravel Pint.

rover:fix

Automatically fix code style issues.

rover:check

Run all pre-commit checks (lint, tests, static analysis).

Perfect for CI/CD pipelines and pre-commit hooks!

rover:analyze

Run static analysis with PHPStan/Larastan.

rover:ide-helper

Generate IDE helper files for better autocompletion.


Project Management

rover:list

List all Laravel projects in current directory.

Shows project names and Laravel versions.


Workspace Management

rover:health

Run comprehensive health checks across all Laravel projects.

Checks for:

rover:switch

Quick switch between Laravel projects with interactive selection.

rover:workspace:status

Detailed overview of all projects in workspace.

Shows Laravel version, git branch, environment, and dependency status.

rover:workspace:versions

Compare Laravel versions across all projects.


Batch Operations

rover:run-all

Execute any command across all Laravel projects.

rover:update-all

Update composer dependencies in all projects.

rover:test-all

Run test suites across all projects.

rover:git:pull-all

Pull latest changes in all git repositories.

Automatically skips repositories with uncommitted changes.

rover:clear-all

Clear all caches across all Laravel projects.

rover:install-all

Run composer install in all projects.


Project Insights & Analytics

rover:insights:stats

Generate detailed statistics for a project.

Shows:

rover:insights:dependencies

Compare dependency versions across all projects.

Identifies version inconsistencies for standardization.

rover:insights:security

Security audit across all projects.

Runs composer audit to detect known vulnerabilities.

rover:insights:outdated

Check for outdated packages in all projects.

rover:insights:report

Generate comprehensive workspace report.

Provides overview of all projects including Laravel versions, git status, and testing coverage.


Log Management

rover:logs

Tail and filter Laravel logs.

Supported log levels: emergency, alert, critical, error, warning, notice, info, debug

rover:logs:clear

Clear Laravel log file.

rover:logs:stats

Show log file statistics.

Displays:

rover:logs:errors

Find recent errors quickly.

rover:logs:archive

Archive and clear logs.

Archives to storage/logs/archive/ with gzip compression.


Queue Management

rover:queue:monitor

Monitor queue status and workers.

Shows:

rover:queue:clear

Clear all failed jobs.

rover:queue:retry-all

Retry all failed jobs.

rover:queue:failed

List failed jobs.

rover:queue:restart

Gracefully restart queue workers.

Workers finish current jobs then restart.

rover:queue:work

Run queue worker in development.


Schedule Management

rover:schedule:list

List all scheduled commands.

rover:schedule:run

Run scheduled commands manually.

rover:schedule:test

Test scheduled commands immediately.

rover:schedule:work

Run scheduler in foreground (development).

rover:schedule:check

Verify cron setup.

Checks:

rover:schedule:docs

Generate schedule documentation.

Creates docs/SCHEDULE.md with all scheduled commands.


Performance & Profiling

rover:profile

Profile application performance.

Runs multiple requests and shows:

rover:n+1

Detect N+1 query problems.

rover:benchmark

Benchmark database performance.

Tests:

rover:cache:warm

Warm all application caches for optimal performance.

Caches:

rover:metrics

Show application metrics.

Displays:


Package Development

rover:package:init

Create a new Laravel package with complete structure.

Creates:

rover:package:link

Link package for local development (symlink to vendor).

Automatically:

rover:package:unlink

Unlink package and remove from project.

rover:package:test

Run package tests in isolation.

rover:package:publish

Verify package is ready for publishing.

Checks:

rover:package:docs

Generate package documentation.

Creates README.md template with:


Plugin System & Extensibility

Rover features a powerful plugin system that allows you to create project-specific commands and extend functionality without modifying Rover core.

rover:plugin:list

List all discovered plugins.

rover:plugin:info

Show detailed information about a specific plugin.

Displays:

rover:plugin:create

Scaffold a new plugin from template.

Creates complete plugin structure:

rover:plugin:enable

Enable a plugin.

rover:plugin:disable

Disable a plugin.

rover:plugin:validate

Validate plugin structure and configuration.

Checks for:

rover:plugin:hooks

List available plugin hooks.

Available hooks:

Creating a Plugin

  1. Create the plugin structure:
vendor/bin/robo rover:plugin:create my-plugin
  1. Edit the plugin class (.rover/plugins/my-plugin/src/Plugin.php):

  2. Create your commands (.rover/plugins/my-plugin/src/Commands/MyPluginCommands.php):

  3. Configure in rover.yml:
plugins:
  my-plugin:
    enabled: true
    custom_option: value
  1. Use your plugin:
vendor/bin/robo my-plugin:hello John

Plugin Locations

Rover searches for plugins in these locations (in order):

  1. .rover/plugins/ - Project-specific plugins (highest priority)
  2. rover/plugins/ - Alternative project location
  3. [rover-install]/plugins/ - Global Rover plugins

Example Plugin

Rover includes an example plugin demonstrating all features. Check it out:

vendor/bin/robo rover:plugin:info example
vendor/bin/robo example:hello
vendor/bin/robo example:demo

Study the example plugin source code at plugins/example/ for reference.


Configuration

Rover uses a rover.yml configuration file to define team standards:

# Team information
team:
  name: StuntRocket
  email: [email protected]

# Code quality settings
quality:
  pint:
    preset: laravel
  testing:
    parallel: false
    coverage: false

# Database settings
database:
  require_confirmation:
    - production
    - staging
  backup:
    path: ./storage/backups
    keep: 7

# Development settings
development:
  packages:
    require-dev:
      - laravel/pint
      - barryvdh/laravel-ide-helper
      - spatie/laravel-ray
      - pestphp/pest

Generate a default configuration with:

vendor/bin/robo rover:init

Recommended Workflow

Starting a New Project

# Create project with Rover standards
vendor/bin/robo rover:new my-awesome-app --stack=breeze

cd my-awesome-app

# Set up environment
vendor/bin/robo rover:env:generate

# Install git hooks
vendor/bin/robo rover:git:hooks

# Generate CI/CD pipeline
vendor/bin/robo rover:template:github-actions

# Start developing!
vendor/bin/robo rover:fresh
vendor/bin/robo rover:test

Adding Rover to Existing Project

# Install Rover
composer require stuntrocket/rover --dev

# Set up with opinionated defaults
vendor/bin/robo rover:setup

# Validate environment
vendor/bin/robo rover:env:validate

# Install git hooks
vendor/bin/robo rover:git:hooks

Daily Development

# Start your day
vendor/bin/robo rover:fresh          # Fresh database
vendor/bin/robo rover:test           # Run tests

# Before committing (automated with git hooks)
vendor/bin/robo rover:check          # Pre-commit checks
vendor/bin/robo rover:lint --dirty   # Check your changes

Switching Branches

vendor/bin/robo rover:refresh        # Clear and optimize
vendor/bin/robo rover:fresh          # Reset database if needed
vendor/bin/robo rover:env:compare    # Check for new env variables

Code Review

vendor/bin/robo rover:check          # Run all quality checks
vendor/bin/robo rover:coverage       # Generate coverage report
vendor/bin/robo rover:analyze        # Static analysis

Managing Multiple Projects (Agencies & Teams)

# Quick health check on all projects
vendor/bin/robo rover:health

# Get workspace overview
vendor/bin/robo rover:workspace:status

# Run tests across all projects
vendor/bin/robo rover:test-all

# Update all projects
vendor/bin/robo rover:update-all

# Pull latest changes in all repos
vendor/bin/robo rover:git:pull-all

# Security audit across workspace
vendor/bin/robo rover:insights:security

# Generate workspace report
vendor/bin/robo rover:insights:report

# Run custom command on all projects
vendor/bin/robo rover:run-all "php artisan migrate"

Weekly Maintenance

# Check for outdated packages
vendor/bin/robo rover:insights:outdated

# Security audit
vendor/bin/robo rover:insights:security

# Check dependency consistency
vendor/bin/robo rover:insights:dependencies

# Compare Laravel versions
vendor/bin/robo rover:workspace:versions

# Create weekly backups
vendor/bin/robo rover:db:backup --name=weekly
vendor/bin/robo rover:db:backup:clean --keep=4  # Keep 4 weekly backups

Database Operations & Safety

# Before risky operations - create snapshot
vendor/bin/robo rover:db:snapshot

# Test the risky operation
php artisan some:risky:command

# If something goes wrong, restore immediately
vendor/bin/robo rover:db:snapshot:restore

# Before deployment - backup and verify migrations
vendor/bin/robo rover:db:backup --name=before-deploy
vendor/bin/robo rover:migrate:verify
vendor/bin/robo rover:migrate:check

# After pulling production data - anonymize for safety
vendor/bin/robo rover:db:sync production
vendor/bin/robo rover:db:anonymize

# Safe migration rollback
vendor/bin/robo rover:migrate:rollback-safe --step=1

Debugging & Troubleshooting

# Check logs for errors
rover:logs:errors                        # Recent errors
rover:logs --level=error --follow        # Watch errors in real-time

# Monitor queues
rover:queue:monitor                      # Queue status
rover:queue:failed                       # View failed jobs
rover:queue:retry-all                    # Retry failed jobs

# Check schedule
rover:schedule:check                     # Verify cron setup
rover:schedule:test                      # Test scheduled commands

# Profile performance issues
rover:profile /api/slow-endpoint         # Profile specific route
rover:n+1                                # Detect N+1 queries
rover:benchmark                          # Database performance

Performance Optimization

# Before deployment - optimize
rover:cache:warm                         # Warm all caches
rover:optimize                           # Optimize Laravel
rover:profile /                          # Verify performance

# Monitor and improve
rover:metrics                            # Check resource usage
rover:n+1                                # Find query issues
rover:logs:stats                         # Analyze log patterns

Queue & Background Jobs

# Development workflow
rover:queue:work                         # Run worker locally

# Monitoring
rover:queue:monitor                      # Check queue health
rover:queue:failed                       # View failures

# Maintenance
rover:queue:restart                      # Restart workers
rover:queue:clear                        # Clear failed jobs
rover:queue:retry-all                    # Retry all failed

Package Development

# Create new package
rover:package:init acme/awesome-package

# Set up local development
cd packages/acme/awesome-package
composer install
rover:package:test                       # Run tests

# Link to Laravel project
cd ../../../
rover:package:link packages/acme/awesome-package

# Develop with live reload
# Edit package code, changes reflect immediately

# Before publishing
rover:package:publish                    # Check readiness
rover:package:test                       # Final tests
rover:package:docs                       # Generate docs

# Publish to Packagist
git tag v1.0.0
git push --tags
# Submit to packagist.org

Aliases

Most commands have short aliases for convenience:

Requirements

Recommended Packages

Rover works best with these packages (automatically offered during rover:init):

Roadmap

See ROADMAP.md for planned features and development phases.

Contributing

Contributions are welcome! This tool is designed to evolve with the Laravel community's needs.

License

MIT License - See LICENSE file for details.

Credits

Built with โค๏ธ by StuntRocket for the Laravel community.


All versions of rover with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
consolidation/robo Version ^5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package stuntrocket/rover contains the following files

Loading the files please wait ...