1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00
Commit graph

39 commits

Author SHA1 Message Date
Lars Strojny
696f27ca83
Enable APCu if prefix is set 2020-09-16 13:44:51 +02:00
Lars Strojny
6899060f6e
Remove superfluous use 2020-09-16 10:54:52 +02:00
Lars Strojny
0b6abf3b96
APCu prefix as a separate option 2020-09-16 10:49:00 +02:00
Lars Strojny
dafd225a35
Allow to pass a string for apcu-autoloader to set the APCu prefix 2020-09-14 22:36:53 +02:00
Jordi Boggiano
c8efb50d39
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues 2020-06-02 11:22:09 +02:00
Jordi Boggiano
e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861 2020-06-01 15:43:24 +02:00
Jordi Boggiano
86677ad172
Avoid scanning files twice when generating optimized autoloaders, fixes #8683 2020-03-13 18:28:27 +01:00
Jordi Boggiano
050707ed0c
Fix output of dump-autoload command to avoid interfering with warnings, refs #8397 2019-10-30 16:35:13 +01:00
Alexander M. Turek
146aa4938f Command::execute() should always return an integer. 2019-10-07 18:50:18 +02:00
Markus Staab
c876613d5c Added "Read more at" links to all commands (#8019) 2019-03-04 12:55:38 +01:00
Markus Staab
4d49fabbc4
Generating -> Generated 2018-08-27 17:36:11 +02:00
Markus Staab
766ceccd00 Print number of classes contained within the generated classmap
to give the developer a better feeling about number of dependent classes
2018-08-27 14:51:04 +02:00
Jordi Boggiano
ff59bbdab0 CS fixer 2018-07-24 14:32:52 +02:00
Oskar Stark
e85bcc882c output used strategy 2017-12-07 10:08:34 +01:00
Jordi Boggiano
92b25acce0 Fix config value used for apcu-autoloader in dump-autoload command, fixes #6237 2017-03-09 09:41:22 +01:00
Sven Luijten
b4a77e1c0e Add full stop to all command descriptions 2017-01-11 23:08:12 +01:00
Nicolas Grekas
6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 2016-12-06 11:21:44 +01:00
Niels Keurentjes
692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 2016-02-19 23:56:46 +01:00
Jordi Boggiano
c0b49d09f3 Merge remote-tracking branch 'cw-ozaki/no-script-dump-autoload'
Conflicts:
	src/Composer/Autoload/AutoloadGenerator.php
	src/Composer/Command/DumpAutoloadCommand.php
2015-11-21 17:14:33 +00:00
Bryan Davis
cc2b9cfca5 Add cli argument for classmap-authoritative
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.

Closes #4361
2015-08-19 22:18:54 -06:00
Rob Bast
cb336a5416 Implement writeError throughout Composer 2015-02-25 11:00:35 +01:00
Bryan Davis
ad1f8e6c5a Add classmap-authoritative config setting
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.

Closes #3603
2015-01-03 17:35:25 -07:00
cw-ozaki
d649cfc6a1 Add --no-scripts argument for dump-autoload command 2014-08-08 16:27:19 +09:00
renatbilalov
ee142688e1 Corrected description of the option --optimize (-o) 2014-05-07 14:55:42 +06:00
Jordi Boggiano
790a25c348 Adjust dump command, add another test, update docs, refs #1344 2014-03-01 21:21:00 +01:00
Bilal Amarni
db91454a13 added an autoload-dev section 2014-02-28 00:27:03 +01:00
Robert Boloc
8a221854b1 changed name of the option to optimize-autoloader 2014-01-17 14:43:54 +01:00
Robert Boloc
f67f04adfb added config option to optimize the autoloader always 2014-01-16 20:44:16 +01:00
Markus Staab
464fa1dedb added a indicator in the info-message on --optimize 2014-01-14 17:01:08 +01:00
Nils Adermann
d00ca4bcdb Add a Command event triggered by all comands which load plugins 2013-09-05 14:30:03 +02:00
bronze1man
9a1f4e4458 fix some files mode bug 755->644 2013-08-06 18:07:26 +08:00
Jordi Boggiano
8d0b7f278e CS fixes 2013-06-13 13:28:24 +02:00
Jordi Boggiano
542d10d8fd Remove all occurrences of getLocalDevRepository and getLocalRepositories calls 2013-03-03 01:54:14 +01:00
Ronny López
e5cbf83185 Added post-autoload-dump script event. 2013-01-10 15:04:20 +01:00
Igor Wiedler
b250d63fd8 Uppercase first character of dump-autoload description 2012-11-08 11:36:23 +01:00
Jordi Boggiano
756c7a04fd Add alias to dump-autoload 2012-08-18 14:33:34 +02:00
Jordi Boggiano
2edb26db65 Add --optimize flag to dump-autoload that allows turning PSR0 into classmaps 2012-08-14 20:29:29 +02:00
Robert Schönthal
fdf30c424b rebased to latest master 2012-07-02 09:52:09 +02:00
Robert Schönthal
e21ce860df fixed issue #627 (autoload dump command) 2012-07-02 09:48:25 +02:00