• Overview
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    • Observability
    • Auto-scaling
    • Marketing Teams
    • Retail
    • Higher Education
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Contact
  • Login
  • Free Trial

Fully customizable build flavors

November 11, 2016
Larry Garfield
Larry Garfield
Director of Developer Experience

At Platform.sh, we believe your application should be deployed on your terms. That’s why we support custom build and deploy scripts on every project, to allow you to build your application in whatever way fits it best. We also support “build flavors” that automatically run common build tasks when appropriate, such as composer or npm installs.

But what if you didn’t want the default composer install command? Or maybe you don’t want to use npm but want to give new-kid-on-the-block Yarn a try? You’d still get a default build flavor and then have to repeat that work differently, which is just no good at all.

We agree. So we fixed that.

We now support a build flavor of  none  in all environments. It works just like any other build flavor, but does, unsurprisingly, nothing. No  composer install , no  npm install , nothing. Like so:

    flavor: none

You can then run whatever alternate build commands you want in your own build hook, be that a different composer command, yarn, or simply none at all.

The existing build modes ( drupal  and  composer  for PHP, and just  default  for Node.js) are still available, and the defaults haven’t changed. It’s just another option to further customize your application’s build if you want to do something a bit more exciting. See the Documentation for more details.

Happy customizing!

Get the latest Platform.sh news and resources

Related Content

PHP 8.2 lays new ground on Platform.sh

PHP 8.2 lays new ground on Platform.sh

AboutSecurity and complianceTrust CenterBoard and investorsCareersPressContact us
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceManage your cookie preferencesReport a security issue
© 2023 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺