[ 
https://issues.apache.org/jira/browse/NETBEANS-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978704#comment-16978704
 ] 

Tomáš Procházka commented on NETBEANS-2623:
-------------------------------------------

* generate autoloader - command "{{dump-autoload}}"
Documentation: https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-
Useful option is also generating of optimized autoloader with "--optimize" 
parameter.
Example: {{composer dump-autoload}}

* running scripts - command "{{run-script}}"
Documentation: https://getcomposer.org/doc/03-cli.md#run-script
List of commands can be found in composer.json under key "scripts" or using 
parameter "--list" of "run-script" (but it is not friendly for parsing).

Example in this project: https://github.com/contributte/codeception
Script "tests" is run with this command: {{composer run-script tests}}


> PHP Composer Menu Lacks Common Options
> --------------------------------------
>
>                 Key: NETBEANS-2623
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2623
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Composer
>    Affects Versions: 11.0
>            Reporter: Keith Patrick
>            Priority: Minor
>
> * generate autoload
>  * running registered scripts



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to