Universal CLI tool to automate dev setup and maintenance (Laravel, Nuxt, Composer, ...)

v0.2.3 2025-06-14 00:43 UTC

This package is auto-updated.

Last update: 2025-06-15 16:17:58 UTC


README

Latest Version on Packagist PHP Version License

The Laravel-friendly CLI to automate development environments. From initializing fullstack apps (Laravel + Nuxt) to updating dependencies, devx does the boring stuff for you.

🚀 What is devx?

devx is a command-line tool that helps developers quickly set up, maintain, and scale local development environments.

It (or will) supports:

  • PHP framework scaffolding
  • JS / TS frontend pairing
  • Composer and Node/NPM automation
  • Custom aliases, .bashrc generation, OTP/OAuth setup
  • And more to come...

🧰 Installation

composer global require julienjovy/devx

Make sure your global Composer bin directory is in your $PATH:

  • Linux/macOS:

    export PATH="$HOME/.config/composer/vendor/bin:$PATH"
  • Windows (PowerShell):

    set PATH=%APPDATA%\Composer\vendor\bin;%PATH%

Once installed, use devx from anywhere:

devx --help

⚙️ Available Commands

🏗️ Scaffold a Laravel + Nuxt fullstack app

devx install --stack=laravel-nuxt --project=my-app --mode=split

Options:

  • --stack=laravel-nuxt|laravel-only
  • --mode=split|fullstack split = frontend & backend in separate folders fullstack = front (e.g. Vite/Blade) inside Laravel app

🏗️ Generate aliases for you favorite tools

devx alias
devx alias:kube (can be shortened to alias:k)
devx alias:docker (can be shortened to alias:d)

🧪 Environment checks

devx doctor

Checks:

  • PHP, Composer, Node, NPM, NVM
  • Docker installed?
  • Laravel tools present?

💬 Feedback

Made with ❤️ && ☕ by Julien Jovy

Pull requests welcome.