Coder Social home page Coder Social logo

tannenfels / phpup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pronskiy/phpup

0.0 0.0 0.0 47 KB

The PHP toolchain: run Composer, PHPStan, Rector, or any PHP script without having PHP installed.

License: Apache License 2.0

Shell 27.39% PHP 72.61%

phpup's Introduction

phpup
The PHP Toolchain

Phpup is a single-file binary with zero dependencies that includes Composer and other PHP tools. It also allows installing a per-project PHP based on your composer.json.

You don't need to have PHP or anything at all on your system to run it.

Warning

Under heavy development
Currently, this is an MVP, and only macOS aarch64 is supported.

Installation

Download phpup binary from the release page and put it into a directory on your PATH, so you can simply call phpup from any directory.

curl -OL https://github.com/pronskiy/phpup/releases/latest/download/phpup
chmod +x phpup
sudo mv phpup /usr/local/bin/phpup

Usage

  • phpup list โ€“ See the list of available commands.
  • phpup <file> โ€“ Run any php file. ๐Ÿšง
  • phpup composer โ€“ Composer that does not require PHP to be installed.
  • phpup phpstan โ€“ PHPStan that does not require PHP. ๐Ÿšง
  • phpup rector โ€“ Rector that does not require PHP. ๐Ÿšง
  • phpup locus โ€“ Installs PHP binary under your project's vendor/bin/php based on the requirements in composer.json.

Contributing

Contributions are very welcome! However, it's recommended to first create an issue describing the idea โ€” let's find the best approach together.

See some ideas in the todo list below.

TODO

Credits

This package entirely relies on https://github.com/static-php and https://github.com/easysoft/phpmicro.

phpup's People

Contributors

pronskiy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.