npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

shipit-symfony

v1.0.1

Published

Deploy symfony projects with shipit

Downloads

6

Readme

shipit-symfony

Deploy symfony projects with Shipit.

Shipit is a brilliant alternative to Capistrano to automate the deployment of applications on remote servers. This module bring some complementary tasks to manage Symfony applications, in the manner of Capifony.

Features

  • Update vendors with Composer
  • Clear symfony cache before
  • Install assets
  • Easy integration with shipit-shared

Install

npm install shipit-symfony

Usage

Example shipitfile.js

module.exports = function (shipit) {

  shipit.initConfig({
    default: {
      workspace: 'tmp/shipit',
      deployTo: '/home/deploy/myProject',
      repositoryUrl: '[email protected]:user/repo.git',
      keepReleases: 3,
      shallowClone: true,

      // These files/folders will not be transfered
      ignores: ['.git', 'node_modules',
                // usual folders for symfony applications
                'web/bundles', 'composer.phar', 'app/cache', 'app/logs'],

      // Configuration for shipit-shared (great module !)
      shared: {
        overwrite: true,
        dirs: [
          'app/logs',
          'web/uploads'
        ],
        files: [
          'app/config/parameters.yml'
        ]
      },

      symfony: {
        // By default, cache will be cleared and assets will be install on
        // 'updated' event. If you use 'shipit-shared', specify 'sharedEnd'
        // event to make that task start at the right moment.
        installOn: 'sharedEnd'
      }
    }
  });

  require('shipit-deploy')(shipit);
  require('shipit-shared')(shipit);
  require('shipit-symfony')(shipit);
};

Tasks

These tasks are automatically managed during the deployment.

symfony:vendors

Install vendors locally, just after the project is fetched from its repository and before it is packaged and uploaded to the remote server.

symfony:cache

Clear cache (dev and prod) before the new release replaces the current one.

symfony:assets

Dump Assetic and install assets before the new release replaces the current one.

Dependencies

This module has been tested with shipit-shared v4.1.4. Older versions may work, but shipit-symfony requires event sharedEnd to be triggered (not in oldest version).