Skip to content

Commit

Permalink
Add PHP docs
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Sep 11, 2019
1 parent 745c78b commit dad734c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/content/_sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ <h3 class="mb-1 font-medium text-gray-500 uppercase text-sm">Dependency Types</h
<ul class="mb-4">
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/javascript/">JavaScript</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/python/">Python</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/php/">PHP</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/git/">Git*</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/ruby/">Ruby*</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/docker/">Docker*</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/php/">PHP*</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/go/">Go*</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/rust/">Rust*</a></li>
<li><a class="no-underline hover:underline inline-block py-1 text-gray-700 hover:text-black" href="/java/">Java*</a></li>
Expand Down
27 changes: 24 additions & 3 deletions docs/content/php.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# PHP

> This component is a work-in-progress while we port things over from dependencies.io v2.
If you're interested in this one specifically,
[please let us know!](https://www.dependencies.io/contact/)
Currently supports:

- `composer.json`
- `composer.lock`

## Example `deps.yml`

```yaml
version: 3
dependencies:
- type: php
path: app
settings:
# Set the options for composer install/update/require
#
# Default: "--no-progress --no-suggest"
composer_options: "--no-scripts"
```
## Support
Any questions or issues with this specific component should be discussed in [GitHub issues](https://github.com/dropseed/deps-php/issues).
If there is private information which needs to be shared then please use the private support channels in [dependencies.io](https://www.dependencies.io/contact/).
3 changes: 3 additions & 0 deletions docs/scripts/update-components
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ curl -s https://raw.githubusercontent.com/dropseed/deps-js/master/README.md?d=$(

echo "# Python" > content/python.md
curl -s https://raw.githubusercontent.com/dropseed/deps-python/master/README.md?d=$(date +%s) | tail -n +2 >> content/python.md

echo "# PHP" > content/php.md
curl -s https://raw.githubusercontent.com/dropseed/deps-php/master/README.md?d=$(date +%s) | tail -n +2 >> content/php.md

0 comments on commit dad734c

Please sign in to comment.