Comments (4)
Hi @scaytrase. We do have a composer.json file for Phan. Is there something else you were hoping for?
We're not in any central repositories, but you should be able to add this repo to your composer.json file for now.
from phan.
I hope you register this project at https://packagist.org/ to be fetchable with composer require
Also you could Expose phan binary to be automatically available at project dir within ./bin/
folder
see phpmd as a reference
https://github.com/phpmd/phpmd
https://github.com/phpmd/phpmd/blob/master/composer.json#L50
https://packagist.org/packages/phpmd/phpmd
from phan.
Phan is now available via Packagist. See https://packagist.org/packages/etsy/phan for details.
from phan.
thank you! I'll propose some improvements soon
from phan.
Related Issues (20)
- Support analyzing new functionality/syntax added in php 8.3
- Class #[\Override] brought in PHP8.3 shouldn't be reported in Previous PHP versions
- PhanAccessReadOnlyProperty seems overzealous on array properties
- Support for GitHub Workflow Commands
- `@param 'AND'|'OR'` interpreted as `'AND'|'OR'|string`, but `'AND'|'OR'` when in `@method` definition.
- PhanUnreferencedUseNormal reported in constructor promotion
- PhanImpossibleCondition: testing for initialized static variable
- __CLASS__ no longer has the MAGIC_CLASS flag in PHP 8.3's native AST
- Symlink loops prevent finding all files, but phan still exits with a successful exit code
- Generic abstract classes don't respect type annotations
- False positive that xml_parser_create() can not take null as parameter.
- Phan reports an error for trait methods that have a return type hint of static and a return value of $this
- if($var) should not modify the type of $var.
- Question: PhanPossiblyUndeclaredVariable HOT 2
- PhanUndeclaredThis when newThis assigned to closure HOT 1
- `static` return type loses information about intersection types
- False positive PhanTypePossiblyInvalidDimOffset after array_key_exists
- Odd `PhanEmptyFQSENInClasslike` error when an intersection type is the object in an array callable
- Incorrect line number for PhanPluginMixedKeyNoKey and nested arrays
- `@return mixed` annotation suppressed errors about nulls being used even with `allow_overriding_vague_return_types` set to true
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phan.