Preloader
Others
  • Estimated reading time: 1 Minute

How to require a local package using composer in your PHP project

{
    "repositories": [
        {
            "type": "path",
            "url": "./../my-local-repository",
            "options": {
                "symlink": true
            }
        }
    ]
}

├── my-local-repository/
│   └── mylibrary/
│       ├── composer.json
│       ├── src
│       └── vendor
└── myproject/
    ├── composer.json
    ├── src
    └── vendor
        ├── autoload.php
        └── composer
Related articles
Common Installation Mistakes To Avoid With GPS Repeaters
20 Jul, 2026
  • Estimated reading time: 4 Minutes
What Role Do Commercial Pest Exterminators Play In Business Success?
20 Jul, 2026
  • Estimated reading time: 4 Minutes
Why Trucker News Is Shaping The Future Of Trucking
20 Jul, 2026
  • Estimated reading time: 4 Minutes
What Alpha and Beta Phases Taught Me About Where Automation Belongs
20 Jul, 2026
  • Estimated reading time: 3 Minutes
Speech to text for developers: self-host Whisper or use a tool?
20 Jul, 2026
  • Estimated reading time: 3 Minutes
Weekly trending
Common Installation Mistakes To Avoid With GPS Repeaters
20 Jul, 2026
  • Estimated reading time: 4 Minutes
What Role Do Commercial Pest Exterminators Play In Business Success?
20 Jul, 2026
  • Estimated reading time: 4 Minutes
Why Trucker News Is Shaping The Future Of Trucking
20 Jul, 2026
  • Estimated reading time: 4 Minutes
What Alpha and Beta Phases Taught Me About Where Automation Belongs
20 Jul, 2026
  • Estimated reading time: 3 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.