Composer & virtual packages
Published on by Eric L. Barnes
Virtual packages allow you to have a more loose dependency. Rather than depending on a specific package, you depend on a virtual one, which can be fulfilled by all packages that provide the virtual one. Sounds confusing? Lets have a look at an example.
Eric is the creator of Laravel News and has been covering Laravel since 2012.