Symfony 3.0, the next major version of our preferred PHP framework, will be released in a few weeks. Basically, it shares the same code base as Symfony 2.8 but all deprecated features coming from older versions have been removed to simplify the framework and its maintenance: Symfony 3 deprecation progress report. #symfony pic.twitter.com/Nz4pMZZwU4 — Symfony News (@symfony_en) October 6, 2015 Symfony 2.8…
Tag: PHP
Deploying Symfony and API Platform apps on Heroku easily
I’ve just published a new library and a tutorial to deploy easily Symfony and API Platform applications in Heroku, the popular Platform As A Service. The tutorial explains how to set up and deploy an application with a database (Heroku Postgres or MySQL ClearDB), using the log managing system provided by Heroku (Logplex) and using environment variables to define Symfony parameters…
Symfony Live 2015 : à la découverte de API Platform (vidéo et slides)
Voici l’enregistrement de ma conférence au Symfony Live de Paris ainsi que les slides correspondantes. La conférence traite développement d’API hypermerdia. Les liens vers les différents outils présentés : API Platform PHP Schema (utilisable seul) DunglasJsonLdApiBundle (utilisable avec n’importe quelle application Symfony) Les slides en plein écran.
Symfony Live 2015 : Construire des applications API-centric avec Symfony
Je donnerai une conférence de 40 minutes au Symfony Live 2015 qui se déroulera le 9 avril à la Cité Internationale Universitaire de Paris. J’y parlerai de la conception et du développement d’applications construites autour d’une API REST : Au cours de ce talk, je présenterai une architecture moderne qui permet de construire des applications performantes,…
Introducing PropertyInfo: a PHP component to find types and doc of properties
PHP doesn’t support explicit type definition. This is annoying, especially when doing meta programming. Various libraries including but not limited to Doctrine ORM and the Symfony Validator provide their own type managing system. Another common way to describe type(s) of a property is integrated documentation aka PHPDoc. The PHP Property Info library extracts various information including…
Slides à propos des Linked Data et des API REST Hypermedia avec Symfony
Hier j’ai présenté certains de mes travaux autour des Linked Data et de Symfony au sfPot de Lille. Voici la présentation que j’ai projetée : voir les slides en plein écran.
Generate a Symfony password hash from the command line
There is an easy way to generate a Symfony compliant password hash from the command line. Assuming you’re using the bcrypt algorithm (the preferred choice according to Symfony’s security best practices), the default cost (13) and you have PHP >= 5.5 installed, just run the following command: php -r “echo password_hash(‘ThePassword’, PASSWORD_BCRYPT, [‘cost’ => 13]) . PHP_EOL;” It will…
CoopTilleulsOVHBundle: OVH SDK integration in Symfony
I’ve just released a new tiny open source bundle under the Les-Tilleuls.coop umbrella: CoopTilleulsOvhBundle. That bundle integrates the official PHP SDK provided by OVH and exposes it as a Symfony service. It also provides a convenient way to store API credentials in parameters.yml. The OVH API provides a lot of features including dynamic server management (elasticity)…
“Persistence in PHP with Doctrine ORM” eBook for $5 until January 6th 2015
Thanks to Packt’s eBook Bonanza, my book “Persistence in PHP with Doctrine ORM” is available for only $5 until January 6th. Enjoy it! What you will learn from this book Install Doctrine through the Composer dependency manager Configure Doctrine Command Line Tools Learn to manage relations between entities with different association types Create data fixtures,…
PHP Schema: generate a fully functional PHP / Doctrine / Symfony data model from Schema.org vocabulary in minutes
PHP Schema is a code generator that instantly generates a PHP data model from the Schema.org vocabulary : browse Schema.org, choose the types and properties you need, run our code generator and you’re done! You get a fully featured PHP data model including: A set of PHP entities with properties, constants (enum values), getters, setters, adders and…