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?
60 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 60 attribute :apcu_autoloader |
#arguments ⇒ String?
17 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 17 attribute :arguments |
#classmap_authoritative ⇒ Symbol?
56 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 56 attribute :classmap_authoritative |
#command ⇒ String?
13 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 13 attribute :command |
#executable ⇒ Object?
21 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 21 attribute :executable |
#global_command ⇒ Symbol?
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 28 attribute :global_command |
#ignore_platform_reqs ⇒ Symbol?
64 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 64 attribute :ignore_platform_reqs |
#no_dev ⇒ Boolean?
40 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 40 attribute :no_dev |
#no_plugins ⇒ Symbol?
48 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 48 attribute :no_plugins |
#no_scripts ⇒ Symbol?
44 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 44 attribute :no_scripts |
#optimize_autoloader ⇒ Boolean?
52 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 52 attribute :optimize_autoloader |
#prefer_dist ⇒ Symbol?
36 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 36 attribute :prefer_dist |
#prefer_source ⇒ Symbol?
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 32 attribute :prefer_source |
#working_dir ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 24 attribute :working_dir |