Useful Links
Computer Science
Other Tools and Technologies
Composer Dependency Manager
1. Introduction to Dependency Management
2. System Requirements and Installation
3. Core Concepts and Architecture
4. Basic Composer Commands
5. The composer.json Schema
6. Autoloading with Composer
7. Advanced Commands and Features
8. Repository Management
9. Package Creation and Publishing
10. Security and Best Practices
11. Troubleshooting and Maintenance
12. Integration and Workflow
The composer.json Schema
Basic Package Metadata
name Field
description Field
type Field
license Field
authors Field
homepage Field
keywords Field
support Field
Dependency Definitions
require Section
Production Dependencies
Version Constraints
require-dev Section
Development-only Dependencies
Testing Framework Dependencies
conflict Section
Incompatible Package Declaration
replace Section
Package Replacement Logic
provide Section
Virtual Package Provision
Version Constraint Syntax
Exact Version Matching
Version Range Specifications
Wildcard Operators
Tilde Operator (~)
Caret Operator (^)
Stability Flags
@stable Flag
@dev Flag
@alpha Flag
@beta Flag
@RC Flag
Minimum Stability Settings
Prefer Stable Configuration
Project Configuration Options
config Section
Platform Requirements Override
Process Timeout Settings
Vendor Directory Customization
Cache Directory Configuration
Preferred Install Method
minimum-stability Setting
prefer-stable Setting
scripts Section
autoload Configuration
autoload-dev Configuration
extra Section
bin Section
archive Section
repositories Section
scripts-descriptions Section
suggest Section
funding Section
Environment Variables Integration
Environment Variable Syntax
Credential Management
Configuration Flexibility
Previous
4. Basic Composer Commands
Go to top
Next
6. Autoloading with Composer