Class: Ansible::Ruby::Modules::Composer
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Composer
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/language/composer.rb
Overview
Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.
Instance Method Summary collapse
-
#apcu_autoloader ⇒ Symbol?
Uses APCu to cache found/not-found classes.
-
#arguments ⇒ String?
Composer arguments like required package, version and so on.
-
#classmap_authoritative ⇒ Symbol?
Autoload classes from classmap only.,Implicitely enable optimize_autoloader.,Recommended especially for production, but can take a bit of time to run.
-
#command ⇒ String?
Composer command like “install”, “update” and so on.
-
#executable ⇒ Object?
Path to PHP Executable on the remote host, if PHP is not in PATH.
-
#global_command ⇒ Symbol?
Runs the specified command globally.
-
#ignore_platform_reqs ⇒ Symbol?
Ignore php, hhvm, lib-* and ext-* requirements and force the installation even if the local machine does not fulfill these.
-
#no_dev ⇒ Boolean?
Disables installation of require-dev packages (see –no-dev).
-
#no_plugins ⇒ Symbol?
Disables all plugins ( see –no-plugins ).
-
#no_scripts ⇒ Symbol?
Skips the execution of all scripts defined in composer.json (see –no-scripts).
-
#optimize_autoloader ⇒ Boolean?
Optimize autoloader during autoloader dump (see –optimize-autoloader).,Convert PSR-0/4 autoloading to classmap to get a faster autoloader.,Recommended especially for production, but can take a bit of time to run.
-
#prefer_dist ⇒ Symbol?
Forces installation from package dist even for dev versions (see –prefer-dist).
-
#prefer_source ⇒ Symbol?
Forces installation from package sources when possible (see –prefer-source).
-
#working_dir ⇒ String?
Directory of your project (see –working-dir).
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#apcu_autoloader ⇒ Symbol?
Returns Uses APCu to cache found/not-found classes.
60 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 60 attribute :apcu_autoloader |
#arguments ⇒ String?
Returns Composer arguments like required package, version and so on.
17 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 17 attribute :arguments |
#classmap_authoritative ⇒ Symbol?
Returns Autoload classes from classmap only.,Implicitely enable optimize_autoloader.,Recommended especially for production, but can take a bit of time to run.
56 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 56 attribute :classmap_authoritative |
#command ⇒ String?
Returns Composer command like “install”, “update” and so on.
13 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 13 attribute :command |
#executable ⇒ Object?
Returns Path to PHP Executable on the remote host, if PHP is not in PATH.
21 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 21 attribute :executable |
#global_command ⇒ Symbol?
Returns Runs the specified command globally.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 28 attribute :global_command |
#ignore_platform_reqs ⇒ Symbol?
Returns Ignore php, hhvm, lib-* and ext-* requirements and force the installation even if the local machine does not fulfill these.
64 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 64 attribute :ignore_platform_reqs |
#no_dev ⇒ Boolean?
Returns Disables installation of require-dev packages (see –no-dev).
40 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 40 attribute :no_dev |
#no_plugins ⇒ Symbol?
Returns Disables all plugins ( see –no-plugins ).
48 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 48 attribute :no_plugins |
#no_scripts ⇒ Symbol?
Returns Skips the execution of all scripts defined in composer.json (see –no-scripts).
44 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 44 attribute :no_scripts |
#optimize_autoloader ⇒ Boolean?
Returns Optimize autoloader during autoloader dump (see –optimize-autoloader).,Convert PSR-0/4 autoloading to classmap to get a faster autoloader.,Recommended especially for production, but can take a bit of time to run.
52 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 52 attribute :optimize_autoloader |
#prefer_dist ⇒ Symbol?
Returns Forces installation from package dist even for dev versions (see –prefer-dist).
36 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 36 attribute :prefer_dist |
#prefer_source ⇒ Symbol?
Returns Forces installation from package sources when possible (see –prefer-source).
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 32 attribute :prefer_source |
#working_dir ⇒ String?
Returns Directory of your project (see –working-dir). This is required when the command is not run globally.,Will be ignored if C(global_command=true).
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 24 attribute :working_dir |