Retiring Laravel Mail View Package
There are better alternatives now. Use xammie/mailbook instead.
Read this article21 posts
There are better alternatives now. Use xammie/mailbook instead.
Read this articleIf you keep adding the same values in your `.env` you may want to set them directly in Valet.
Laravel Valet has a feature to inject Environment Variables in your project, like a global .env.
Read this articleHashids are string encrypting the primary key, perfect for customer-facing ids! Forget about UUIDs.
Use simple Stripe-like hashids with Laravel. The database only knows about auto-incrementing integer IDs but the application will expose random string attributes. Simple!
Read this articleSpatie is about to release a new product named MailCoach. It's a self-hosted app to send newsletter: it takes your email template, and sends it to all your subscribers via Amazon SES or Mailgun. In this category, Sendy is probably the oldest and most known software out there. The...
Read this articleNever use var_dump() again, even when you work outside Laravel or Symfony
It happens that I work with PHP outside of Laravel or Symfony, typically when working on a lib, and I always miss the dump and dd function. Do you remember var_dump or print_r? I don't want to have to use that! I found a simple way to always preload PHP library. I shouldn't say p...
Read this articleIn 2006, my friend Jonathan started a MySpace profile to keep an agenda with all the interesting shows happening in our town. This started over a decade ago, which is about a century in Internet-years. At the time, Facebook didn't exist and MySpace was ruling the social media spa...
Read this articleAll my life I have never been interested in books. I couldn't find the motivation to sit and read something for so long. When everybody was into Harry Potter, I think I was about 13 years old, so I tried to read it. I read all the way to the page twenty-something and gave up. I c...
Read this articleFew weeks ago, I started working at Algolia. When I arrived I was provided with a new MacBook Pro 15" which replaced my personal MacBook Air from 2011. After nearly 2 months using it, I want to share my opinion on it. I used to be a proper Apple fan boy but I think Apple is...
Read this articleAfter years of mainly writing PHP, I started working with Ruby and Rails. I always loved the ruby philosophy and especially DHH but I never got to really get into it. I’m also very aware of what Rails brought to frameworks of any languages. Many of the feature I love in PHP are...
Read this articleHandle automatic on-demand SSL certificate for as many domain as you need
Caddy is a new webserver with very interesting features, like automatic HTTPS or serving markdown files and turning them into HTML on the fly. It's written in Go, so you get a complete binary without any other system dependencies. It will replace Nginx or Apache in your stack. I...
Read this articleIn 2018, I quit drinking after over a decade of alcohol. I considered it a lot for the past few years but I always thought it was impossible. I quit from April to December, 2018, and I decided to carry on for 2019. I'm going to be a dad in the next few months, so I'm drinking aga...
Read this articleLast year I took some strong new year resolutions and I want to stop and think to review them. I've come a long way and changed a lot in the past year, even if all goals aren't achieved. Eat better & go to the gym: Success This one is definitely my biggest achievement this year....
Read this articleIn 2015, my life has changed a lot and I got into thinking about what I want get done. I feel like days are flying and I still didn't even start some project I had in mind for years. I won't describe the projects here, I just want to write about the changes I expect in my "w...
Read this articleLast year I wrote down what my goals were for the coming year and it turns out to be a fantastic way to describe precisely what I really wanted. After reviewing my successes and failures, I think this year I'm going to do a better job of setting new year resolutions. If you want...
Read this articleSetup Discourse with SSL on a server managed with Laravel Forge
My server is manager with Laravel Forge, mostly because I found that setting up new project with SSL takes a lot of time. Plus, I never know if I "did it right". Forge is great if you use PHP, typically Laravel, WordPress or Symfony, but with something else, it can be t...
Read this articleUsing Spark Kiosk to authenticate to Horizon and setting up Supervisor with Laravel Forge
I have recently started working on a new project that I expect to show in a couple of days. When I started, the technical stack was a no brainer for me: Laravel, Spark, Forge and Algolia. Unfortunately, I found that it was not clear how to combine them all. I will share with you...
Read this articleA simple way to get autocomplete in PHPStrom by extending all *Core classes, outside of your project
If you use PhpStorm and PrestaShop you probably noticed that you can't get your IDE to autocomplete everything. PrestaShop is designed to be overridden, and every class from the core is suffixed with 'Core'. For example, Address class is actually declared this way: <?php clas...
Read this articleHybrid is by far my favorite wp framework
I haven't developed any Wordpress themes for a while, for most websites I now try to find something on ThemeForest. The last theme I created, I made this one that you are looking at. It's based on _s (Underscores) and Bootstrap 2. This theme is also available on github. Making it...
Read this articleI should definitely know this one but I keep coming back to this quick post
Question When you are setting up your MySQL you need to create new users. Using the command line you can do it easily. Answer First create your database if it's not done yet. Then create your mysql user. create database mynewdb; What you need to replace: mynewdb : the name of...
Read this articleInstall the best FTP software on your server with multiple users
I wanted to install an FTP server on my servers, I checked online and it turned out that VSFTPD is the most secure one, so I began to installing it. I've been through many tutorials but couldn't find any in full detail, so decided to write my own. I set up VSFTPD on my personal s...
Read this article