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 8437703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:30:27+00:00 2026-06-10T07:30:27+00:00

There are some scripts that are executed after I run composer. The problem is

  • 0

There are some scripts that are executed after I run composer.

The problem is that they do things that I don’t want, like php assets:install (without –symlink).

So I need to either be able to remove that, or add my own script to do php assets:install --symlink.

What would be the correct way for doing this?

EDIT

In Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets() I can see an option for symlink:

if ($options['symfony-assets-install'] == 'symlink') {
    $symlink = '--symlink ';

Is that configurable somewhere?

  • 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-10T07:30:29+00:00Added an answer on June 10, 2026 at 7:30 am

    To install assets with symlinks edit your composer.json (at the end) in this way

    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "symfony-assets-install": "symlink"
    }
    

    Then run composer as uusal.

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

Sidebar

Related Questions

After doing some changes to my plugin amtyThumb , I realized that there is
There is some problem, i can't understand anyway. look at this code please <script
Is there some kind of software that I can feed uploaded images to and
I have a process defined in a batch file that runs 3 php scripts,
I run Ubuntu 10.10. I just want to debug a simple script. After spending
I want to create a Windows XP batch script that sequentially performs something like
Possible Duplicate: Is there any working memory profiler for Python3 I have some script
Is there a script i can use to copy some particular sectors of my
I am writing a powershell script to set up some HyperV VM's however there
I have wrote a script to do some backup. There is a if block

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.