Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7712727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:42:16+00:00 2026-06-01T01:42:16+00:00

Composer is a PHP package manager. I have looked through the documentation here: http://getcomposer.org/

  • 0

Composer is a PHP package manager. I have looked through the documentation here: http://getcomposer.org/

I am looking to create a custom type “symfony2-assets” and have them install to the “web” directory instead of to the “vendor” directory.

I know i can change the config key “vendor-dir” to web to accomplish this but that also installs all of the other packages in there and i need those ones in the vendor directory.

If anyone has a good tutorial they have come across on this or knows how to do it, I would be most appreciative.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:42:17+00:00Added an answer on June 1, 2026 at 1:42 am

    You can create a package with type composer-installer, and require it in your application. In theory packages of the type you want to handle (symfony2-asset2) should require the installer to make sure it’s installed first.

    Your installer can just inherit from LibraryInstaller and put files wherever you want.

    This should work for now, but in the long term I hope we can find a somewhat generic way of handling web assets in Composer. Our main focus is still PHP code for now though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Regarding the audio on this page: http://ebonytay.com/site/composer.php?clip=getOutOfTown#mediaplayer The audio controls show up in Chrome
I have an ajax heavy web-application built using PHP, jQuery. I am looking for
I have implemented mail composer. But it opens mail composer whenever user had implemented
When I create a a ICO file on the Mac using 'Icon Composer' it
i'm working on a php script that is called by frontlinesms and I have
if have the following rule RewriteRule ^userCP/([a-zA-Z]+).html /userCp.php?action=$1 and what i need is to
I have this array in PHP: foreach($rss_items as $item) : $contenu[] = array (
I'm trying to create a scripts with PHP's pecl module Gmagick to remove a
I'm looking for some advice if possible. PHP isn't the main language I write
I'm creating a simple query builder for PHP PDO, to create queries faster, without

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.