
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
@massds/mayflower
Advanced tools
Open source UI components and visual style guide for Massachusetts government websites
The Standard Edition for Twig gives developers and designers a clean and stable base from which to develop a Twig-based pattern library.
The Standard Edition for Twig comes with the following components:
pattern-lab/core
: GitHub, Packagistpattern-lab/patternengine-twig
: documentation, GitHub, Packagistpattern-lab/styleguidekit-assets-default
: GitHub, Packagistpattern-lab/styleguidekit-twig-default
: GitHub, PackagistThere are two methods for downloading and installing the Standard Edition for Twig:
The fastest way to get started with the Standard Edition for Twig is to download the pre-built version from the releases page. The pre-built project comes with the Base StarterKit for Twig installed by default.
Please note: Pattern Lab uses Composer to manage project dependencies. To upgrade the Standard Edition for Twig or to install plug-ins you'll need to install Composer. We recommend that you install it globally.
Pattern Lab uses Composer to manage project dependencies.
Please follow the directions for installing Composer on the Composer website. We recommend you install it globally.
Use Composer's create-project
command to install the Standard Edition for Twig into a location of your choosing. In Terminal type:
cd install/location/
composer create-project pattern-lab/edition-twig-standard your-project-name && cd $_
This will install the Standard Edition for Twig into a directory called your-project-name
in install/location/
. During the set-up process you will be asked to install an appropriate StarterKit. You will be automatically dropped into the project directory after the process is finished.
To update Pattern Lab please refer to each component's GitHub repository. The components are listed at the top of the README.
These are some helpful commands you can use on the command line for working with Pattern Lab.
To list all available commands type:
php core/console --help
To list the options for a particular command type:
php core/console --help --[command]
To generate the front-end for Pattern Lab type:
php core/console --generate
To watch for changes and re-generate the front-end for Pattern Lab type:
php core/console --watch
You can use PHP's built-in web server to review your Pattern Lab project in a browser. In a seperate window type:
php core/console --server
Then open http://localhost:8080 in your browser.
To install a near-empty StarterKit as a starting point for your project type:
php core/console --starterkit --init
To install a specific StarterKit from GitHub type:
php core/console --starterkit --install <starterkit-vendor/starterkit-name>
13.2.0 (1/22/2025)
level
property to allow override default contactHeading. (#1926)FAQs
Open source UI components and visual style guide for Massachusetts government websites
The npm package @massds/mayflower receives a total of 477 weekly downloads. As such, @massds/mayflower popularity was classified as not popular.
We found that @massds/mayflower demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.