Sylius Grid: Filter data for user
The Sylius Grid Bundle allows you to integrate data grids in your application with minimal configuration quickly.
The Sylius Grid Bundle allows you to integrate data grids in your application with minimal configuration quickly.
In one of our current projects, we have to store sensitive user data in the database. Naturally, I was looking how to best encrypt the data in a Symfony & Doctrine application.
Recently I experimented a bit with OAuth 2.0 Server because I wanted to protect the API backend for the unKonf website using OAuth2 - mostly to see how easily I can integrate it with our Adroit middleware. While integrating OAuth2 Server and Adroit was fairly trivial, I was missing a Doctrine storage provider for OAuth 2.0 Server. Since I could not even find a package on packagist I thought about writing one myself. You can find the bitexpert/oauth2-server-storage-dbal package on Github. It can be installed it via Composer:
Recently I experimented a bit with Doctrine ORM and the willdurand/Hateoas library to expose my Doctrine objects via an HATEOAS api which luckily is a fairly trivial thing to do. All you need to do is set up the Hateoas serializer and call the respective serialize() method passing your Doctrine object as well the serialization type: