Section en-divers

Use composer and bin/console from your Docker image directly within PHPSTORM

Written by on 19/01/2023
Category:   PHP, symfony, phpstorm, Divers
Tags:  
Okay, you are like me. Your machine has nothing installed locally. Not even composer nor PHP in CLI!While you use PHP and maybe even Symfony (or not), you need to use composer daily. You use PhpStorm every day and think it's a shame not to benefit from all the options of your IDE, especially everything related to composer and the Symfony console. So how do you configure PhpStorm to specify that the composer for your project is located in the docker image?Here is an example of docker-compose.y...

Create a library with composer

Written by on 04/01/2023
Category:   PHP, Divers
Tags:  
What is Composer? Just as NPM is to JavaScript, Composer is the dedicated tool for PHP that allows you to manage library dependencies for your applications. If you've used a framework like Symfony, you've definitely used it. In reality, every PHP developer uses it on a daily basis. If you're on this page, you're probably wondering how to create a library that can be easily redistributed and shared with the community. That's what I'll try to show you. For the sake of our tutorial, I'll take a ...

Gmail: Free up space by automatically deleting all archives.

Written by on 27/03/2021
Category:   Divers
Disclaimer We cannot be held responsible for any damage that may result from downloads, installation, storage, or use of software, scripts, or content from our website. Please be aware, by default, Gmail never deletes messages from your inbox. It archives them.As a result, it’s not uncommon to reach the limit of available space, even when you have just deleted all your messages. Gmail places them, not in an "Archives" section, but in "All mail". This results in a f...