Skip to content

Instantly share code, notes, and snippets.

Blixit blixit

Block or report user

Report or block blixit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
blixit /
Last active Jan 29, 2018
Send notification with relief_applications/notifications-bundle

ReliefApps Notifications Bundle


composer require relief_applications/notifications-bundle

Usage without symfony

blixit /
Created Nov 9, 2017 — forked from tjamps/
Basic RESTful API with Symfony 2 + FOSRestBundle (JSON format only) + FOSUserBundle + FOSOauthServerBundle

Basic RESTful API with Symfony 2 + FOSRestBundle (JSON format only) + FOSUserBundle + FOSOauthServerBundle

The API we are creating in this gist will follow these rules :

  • The API only returns JSON responses
  • All API routes require authentication
  • Authentication is handled via OAuth2 with password Grant Type only (no need for Authorization pages and such).
  • API versioning is managed via a subdomain (e.g.

The API will be written in PHP with the Symfony 2 framework. The following SF2 bundles are used :

blixit /
Last active May 20, 2017
Msf Bundle : An easy way to implement Multi Step Forms with symfony

MSF Bundle (Symfony 3)

During a simple project, I found that there were not any bundle providing the Multiple Step Form feature. Actually, I found one, . But for me, this bundle focuses too much on the Forms themselves, which was not relevant to me. For instance, I don't use to handle Form Event. Then, I came to the idea I could create a bundle which let developper interact with each form separately and then use a little well-configured system to manage the set of forms, the transitions between them, hydratation, ...

Therefore I created the MSFBundle. It's a little one with currently 5 or 6 classes and works out as a service. Its usage is very similar to form themselves to reduce learning time.

Bonus : with this system, it's easy to manage transitions even between MSF. You just have to configure actions at each step.

You can’t perform that action at this time.