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 🙏

© 2024 – Pkg Stats / Ryan Hefner

webforge-cms

v3.2.1

Published

this repo contains the Webforge/CmsBundle and a symfony bundle (AppBundle) that allows self-tests

Downloads

5

Readme

cms

this repo contains the Webforge/CmsBundle and a symfony bundle (AppBundle) that allows self-tests

The "core" of the cms is in the Webforge\CmsBundle (located in src\php\Webforge\CmsBundle). The cms consists of this bundle and some components (see src\php).

versioning

The npm package webforge-cms and the composer package webforge/cms will be always in sync in versioning. So some minor changes may only apply to the js package, to the php-package or to both of them.

testing

phpunit

and several javascript tests

npm test

Sponsoring

A big thank you to BrowserStack.com for sponsoring a free Live account, that allows us to test on Iphones and other devices.

changelog

BC Breaks 3.1.x

  • added resetMediaMetadata to MediaFileEntityInterface. If you are using the MediaFileEntityMetadata-Trait you're all good

BC Breaks for 3.0.x

  • symfony/symfony is now longer a dependency. You have to use symfony/flex and configure EVERYTHING on your own. (prepend config is no longer used)
  • the public folder is now www (not public)
  • construct CommonController with em and dc
  • Symfony\Kernel was removed
  • CommonController is now an Symfony-AbstractController and therefore has narrower dependency injection: You need to refactor your controller code
  • Read Upgrading to 3.0

BC Breaks for 2.3.x

  • after serialization there will be no automatic flush (after each binary serialization) as before - this was slow as hell. You have call em->flush yourself
  • exif is now read with lsolesen/pel, not with php native anymore. This might have more or less failing cases for you
  • original image metadata (allthough with rotation-exif-data) wont be automatically rotated, because the physical file is not rotated as well, but thumbnails-meta will be rotated and images are physically rotated

BC Breaks for 2.2.x

  • you need php 7.2 to install
  • dependency symfony/symfony updated to 4.1
  • use phpunit 6.5.x
  • TestCaseTrait now uses the mockery trait, so you have to install mockery to 1.1.0 now

BC Breaks for 2.1.x

  • files uploaded to the media controller will overwrite existing files (but warnings will still be generated)

Upgrade to 2.0.x

BC Breaks for 1.15.x

  • use PHPUnit 5.x.x
  • BlockExtender Interface has been changed to pass value of blocks-array by reference

BC Breaks for 1.14.x

  • MediaFileEntityInterface has two new methods: setMediaMetadata and getMediaMetadata
  • add this to your model.json for binaries "mediaMeta": { "type": "Object", "nullable": true }
  • use the trait: Webforge\CmsBundle\Media\MediaFileEntityMetadata to implement the methods
  • generation of thumbnails with imagine is deprecated
  • thumbnails will be created with thumbor and therefore have no width and height per default (pass metadata_only: true to the configuration of the transformation to enable getting metadata)
  • add cms.version to your global twig variables

BC Breaks for 1.13.x

  • Dont add \Knp\Bundle\MarkdownBundle\KnpMarkdownBundle() to the appkernel. It will be added automatically
  • create a etc/cms/blocktypes.json file (containing one empty array sufficient)
  • split the admin/config.js into etc/cms/blocktypes.json and include it with: requirejs-json
  • Refactor When I click on "" in context to When I click on ""

BC Breaks for 1.12.x

  • change site.url into cms.site.url in global twig variables
  • change site.title into cms.site.title in global twig variables

BC Breaks for 1.11.x

  • Rename Webforge\Common\String into Webforge\Common\StringUtil (because of PHP 7.x)

BC Breaks for 1.7.x

  • A link in the CMS adds and activates the tab with one click (instead of two). So calling tabs.open() was changed. add and select will still work.

BC Breaks for 1.6.x

  • You need to provide the database parameters again (database_host, database_port, database_name, database_user, database_password)
  • You need to set sidebar.activeGroup in the base.html.twig template
  • You need to set site.url and site.title in the base.html.twig template
  • You need to set cms.title and (optional) site.xsTitle in the base.html.twig template (do this with a global twig extension: Twig_Extension_GlobalsInterface)