Using PHP composer packages made easy

Using PHP composer packages made easy

One less thing to worry about trying new PHP composer packages

About

Run composer packages on fly without installing them in your project or on your operating system using cpx.dev. CPX will allow is to try new composer packages without installing them. This is similar to npx from Javascript ecosystem.

The Core features of CPX:

  • Any Composer autoloaders in the directory are included automatically, so you can access and use your project code effortlessly.

  • If you use a class without referencing its full namespace, cpx will figure it out for you, no need for "use" statements.

  • Use composer_require('vendor/package') in your scratch file to dynamically include packages for testing purposes.

  • When in a Laravel project directory, the Laravel app will be bootstrapped so you can use any services just like you're writing your app.