Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

A week of symfony #21 (22->28 may 2006)

Development highlights

  • r1381: added constants expansion for image dir and filename in file uploading (admin generator)

Before r1381, the name of the uploaded file in the admin generator was auto-generated by symfony. Now, you can call an object getter to customize the uploading directory and the filename. For example, if you want to name your uploaded file with the object id and put it into a directory named after the result of the getName() current object method, you can add this to your generator.yml configuration file:

  photo: { type: admin_input_upload_tag, upload_dir: photos/%%name%%, filename: %%id%% }
  • r1387: added new skip_fields, check_types and exclude_types parameter to sfFillInFormFilter (closes #573 - based on a patch from pookey)

The sfFillInFormFilter filter now accepts more parameters (skip_fields, check_types and exclude_types):

The default values for these new parameters are:

  skip_fields:   []
  exclude_types: [hidden, password]
  check_types:   [text, checkbox, radio, password, hidden]

So, to fillin hidden fields, you can add the following snippet to your validate.yml configuration file:

  activate: on
    exclude_types: [password]

Or, to fillin all fields:

  activate: on
    exclude_types: [ ]

Book and documentation

Some people started to translate symfony documentation in french:

...and the first symfony project tutorial is also available in polish:

Some great new symfony snippets:

Some symfony powered websites

  • (Polish) A polish implementation of askeet.
  • A deals/bargains aggregator with built-in deal alert capability
  • Gîtes du Cormoran: Static website presenting self-catering cottages (gîtes) in Provence (fr).

They talked about us

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.