Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phpexpertsinc/docker-phpstan
A Dockerized version of PHPStan + Laravel support.
https://github.com/phpexpertsinc/docker-phpstan
Last synced: about 6 hours ago
JSON representation
A Dockerized version of PHPStan + Laravel support.
- Host: GitHub
- URL: https://github.com/phpexpertsinc/docker-phpstan
- Owner: PHPExpertsInc
- License: mit
- Created: 2018-06-18T16:21:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T09:27:49.000Z (about 4 years ago)
- Last Synced: 2024-11-08T04:11:16.136Z (9 days ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker PHPStan
A utility for rapidly deploying [PHPStan](https://github.com/phpstan/phpstan) for PHP apps.
Includes:
* PHP v7.4
* Latest phpstan, phpstan-phpunit, and nunomaduro/larastan
* ext-astIt is based off of [**phpexperts/dockerize**](https://github.com/phpexpertsinc/dockerize-php).
# Installation
## Per Project:
composer require --dev phpexperts/docker-phpstan
## System-wide:wget https://raw.githubusercontent.com/PHPExpertsInc/docker-phpstan/master/bin/phpstan
chmod 0755 phpstan
sudo chown root:root phpstan
sudo mv phpstan /usr/local/bin### Installation Video
https://youtu.be/M32VDy5K_xU
### Configure your PATH
Ensure that your profile PATH includes `./vendor/bin` and that it takes priority over any other directory that may include a php executable:
PATH=./vendor/bin:$PATH
# Running
Run as normal, per the [PHPStan documentation](https://github.com/phpstan/phpstan).
# About PHP Experts, Inc.
[PHP Experts, Inc.](https://www.phpexperts.pro/), is my consultation company. It's a small company of a half dozen
highly skilled Full Stack PHP devs, including myself, whom I place at 1099 positions at other corporations. We fill both
long-term positions and, for crazy devs like me, short-term. If you ever wanted to work on a different project/company
every few months or even weeks, anywhere in the continental U.S., Europe, or South East Asia, it's fantastic.Since 2015, I have set up branches in Las Vegas, Houston, the UK, Dublin, Costa Rica, Colombia, India, and the Philippines.
If someone has a work auth in any of those places, we can place you almost anywhere you want. I travel 50% of the time
out of choice. All over the world.Plus, no taxes if you spend 6+ months (or a year, if you're American) out of your country.