1
0
Fork 0
Commit Graph

228 Commits (a481dfce3fc5312a2bee581d4df7f72ced52e84b)

Author SHA1 Message Date
gnito-org 239638e687
Fix minor spelling & grammar issues in docs (#10370) 2021-12-19 15:15:21 +01:00
Helmut Hummel f12a5b8214
Expose path to autoload in a global var for binaries (#10137)
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked

If the binary is a PHP script, a global variable is now exposed,
which holds the path to the vendor/autoload.php file.
This variable can the be used in the binaries to include this file
without guessing where the path to the vendor folder might be.

Additionally it is now checked on binary creation whether
the reference binary has a shebang and if not, generates
a much simple proxy code, because the stream wrapper code,
that is required for PHP <8 to omit the shebang from the output,
can be skipped.

Fixes: #10119

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-11-25 09:53:03 +01:00
Wouter de Jong bb128c465c Capitalize Composer in the docs 2021-10-25 13:11:56 +02:00
Thomas Dutrion 82a7c527f9
Highlight the proprietary license trick
From the Symfony Dev #french slack channel (symfony-devs.slack.com), people look confused regarding the value to use as license for proprietary projects, even though it's written in the documentation.

Because proprietary software is still a massive part of composer's usage, I think it can be interesting to have it as a note, more readable to people.

Extract from the conversation:
> J’étais sur la bonne page, il me manquait deux lignes de scroll pour voir ça -.- On a tous nos petits moments de faiblesse

Which roughly translates to:
> I was looking at the right page, just about two lines above... We all have our weak moments
2021-07-22 12:08:25 +02:00
Guilliam Xavier 41c66b1a2d Revert "Update docs and add more helpful output to validate command, refs #9782"
This reverts commit 458bd41d8f.
2021-05-24 11:46:08 +02:00
Jordi Boggiano 458bd41d8f
Update docs and add more helpful output to validate command, refs #9782 2021-05-20 16:11:51 +02:00
Jordi Boggiano 19eef374d0
Clarify package link docs a little, refs #9569 2021-01-08 09:29:48 +01:00
Jordi Boggiano f129c231b1
Update recommended php req in docs 2020-11-20 09:18:21 +01:00
Jordi Boggiano 0d236858ec
Merge branch '1.10' 2020-10-24 09:59:46 +02:00
Nils Adermann b12b50c679 Docs: Remove unnecessary uses of simple/easy
They only serve to make anyone reading the docs who doesn't find
something as simple or easy as stated feel bad about themselves, they
don't add anything valuable to the docs in these cases.
2020-10-23 21:52:05 +02:00
Jordi Boggiano 49a28f606c
Merge branch '1.10' 2020-10-23 10:38:03 +02:00
Christophe Coevoet 8e9262f129
Enhance the doc about provide to reduce mistakes 2020-10-22 15:13:01 +02:00
Ayesh Karunaratne 6e3efabbfc
Multiple grammar fixes in markdown files 2020-07-01 02:43:13 +07:00
Jordi Boggiano 501b06323d
Fix wording 2020-06-03 13:12:22 +02:00
Markus Staab 50944e1c42
Added docs for glob pattern support in classmaps 2020-06-03 11:04:43 +02:00
Jordi Boggiano ba3df8faea
Merge pull request #8843 from FIDATA/feature/archive-name
Add (default) base name of archive into composer.json
2020-05-06 11:06:28 +02:00
Jordi Boggiano 0071bc1ec0
Add docs about new runtime features 2020-05-01 10:18:54 +02:00
Basil Peace 6140897d08 feat: add archive.name config option 2020-04-29 01:01:48 +03:00
Carsten Brandt 8f8840bfda
Update 04-schema.md to reflect package naming in 2.0 (#8777) 2020-04-23 11:02:50 +02:00
Jordi Boggiano 44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778 2020-04-15 00:24:13 +02:00
Ayesh Karunaratne 280f02b4bc
Update HTTP URLs to their HTTPS if they already redirect automatically 2020-04-13 06:22:02 +07:00
Nils Adermann 538f070a29
JSON Syntax fix for schema doc
Co-Authored-By: Andreas Möller <am@localheinz.com>
2020-02-14 10:08:37 +01:00
Nils Adermann 5c4f524d6a
Add funding field to composer.json
You can specify a list of funding options each with a type and URL. The
type is used to specify the kind of funding or the platform through
which funding is possible.
2020-02-14 10:08:35 +01:00
Fonata 6add026df0
Explain the syntax of stability flags 2019-12-25 20:13:57 +01:00
Alexey Kopytko e92eda5678
composer/composer#7384: update chat note based on code review feedback
Co-Authored-By: dmanners <dmanners87@gmail.com>
2018-10-22 10:11:34 +02:00
David Manners 96347fbea1 composer/composer#7384: add chat to support options
- update schema documents to note that chat is allowed,
 - validate that chat must be a string and a url similar to forum options
2018-10-14 11:15:25 +00:00
Jordi Boggiano 9de9c2b114
Merge pull request #7259 from tflori/doc-readme-patch
move readme description one level up
2018-04-13 11:04:53 +02:00
Jordi Boggiano eaf725d6a5
Merge pull request #7131 from pylebecq/doc-abandoned-prop
Add abandoned property in composer schema documentation
2018-04-13 10:11:54 +02:00
Thomas Flori 6825592d65
move readme description one level up 2018-04-13 09:06:45 +02:00
Jordi Boggiano a8cf4a07fc Merge branch '1.6' 2018-04-12 20:03:08 +02:00
Jordi Boggiano 24ef605473 Clarify that #refs is root-only, fixes #7241 2018-04-12 19:49:18 +02:00
Thomas Flori 05c9542db8
add readme to support fields in the schema docs 2018-04-12 06:37:16 +02:00
Sven Luijten 8f65518ed3 Avoid using 'just' in documentation 2018-03-23 11:37:33 +01:00
Pierre-Yves Lebecq efc744de76 Add abandoned property in composer schema documentation 2018-02-23 10:50:53 +01:00
Jordi Boggiano 9b30d83c23 More license docs fixes 2018-01-22 09:42:50 +01:00
Jordi Boggiano 2e0a25e73f Update license docs 2018-01-22 09:37:05 +01:00
Gabriel Caruso 486e580db2 Clean up documentation 2017-12-30 18:11:52 -02:00
Martin Hujer 9bb4cce0b8 Fixes typos in docs 2017-12-29 13:29:13 +01:00
Martin Hujer 149a5e9401 Change links to prevent unnecessary redirect 2017-12-29 11:38:02 +01:00
Martin Hujer 58a62dceab Change http to https where possible 2017-12-29 11:37:59 +01:00
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 2017-08-07 18:14:04 +02:00
Jordi Boggiano 474834e8a9 Wording tweaks 2017-08-07 10:57:15 +02:00
Alex Mersdorf 1d66852c6e Update 04-schema.md
Added line to try and clarify, that any dev/non-minimum-stability Requirement needs to be added to root composer.json as well.
2017-07-10 14:27:01 +02:00
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
2017-06-11 19:02:51 +02:00
Jonas Thelemann f3aa1885bb Remove Deprecated Licenses
These licenses are deprecated in spdx spec v2 (https://spdx.org/licenses/).
2017-05-25 23:33:20 +02:00
Javier Eguiluz 4a3d57b166 Typo 2017-04-05 11:31:41 +02:00
Javier Eguiluz 5f6d42a0b0 Package names are case insensitive 2017-04-05 10:04:19 +02:00
Javier Eguiluz 5f09df6070 [Doc] Explained a bit more about the possible contents of the "name" property 2017-04-05 09:15:06 +02:00
Nils Adermann 001fe8afcf Merge branch 'docs-improve'
* docs-improve:
  Docs: cleanup version branches section
  Docs: those/these composer/Composer
  Docs: notice => note
  Docs: Fix shell sample output
  Docs: Add back a second clear note about hardcoded versions in VCS
  Docs: HHVM is not called HipHop
  Docs: versions plural, and update == rm lock&install
  Docs: don't use short forms, it => composer
  Docs: composer.lock lists versions, not constraints
  Docs: superfluous comma & it => Composer
  The confusing part is probably rather constraints and how versions work, not what they are
  Docs: Clarify what "It" stands for
  Finished reworking docs to clarify points about versioning (fixes #6088)
  Updated basic usage and versions pages to clarify how versioning and package resolution works (refs #6088)
  Added some useful overview information about repositories in the Basic Usage documentation.
2017-03-08 11:21:05 +01:00
Jordi Boggiano f1f064981b Add docs about autoloader optimizations, fixes #5947 2017-03-07 12:33:19 +01:00