Laravel

Articles categorized in: Laravel

Git remove directory

Sometimes you want to remove a directory but keep it locally on your box. So you want to exclude it from the repository, but keep it locally. Need We wanted

To increate PHP memory usage edit the following file: nano /usr/local/etc/php/7.4/conf.d/php-memory-limits.ini You can get the details on your PHP ini using php –ini and then do a valet restart to

Laravel 6 PHP Redis

On upgrading to Laravel 6 we ran into issues locally running predis. This as no client was set in .env and now config was going for native PHP Redis or

Upgrade Laravel

If you want to upgrade Laravel to the latest you can use Laravelshift which is really cool. But you can do this manually with git as well. In this example

Laravel & Sendgrid

If you want to send Laravel form data using Sendgrid use this for .env (using your own details of course): MAIL_DRIVER=smtp MAIL_HOST=smtp.sendgrid.net MAIL_PORT=587 MAIL_USERNAME=apikey MAIL_PASSWORD=very_long_key MAIL_ENCRYPTION=tls MAIL_FROM_NAME=”Company Name” MAIL_FROM_ADDRESS=info@domain.com The

Just spent several hours yesterday understanding why we hit a CORS No “Access Control Allow Origin” header present issue again. Read loads about common Cross Origin Resource Sharing (CORS) again.

Sometimes you spend so much time tweaking Redis and queues run in Redis, you forget there are great tools out there to help you out. Let's talk Horizon Run Redis Queues and an issue you could run into as well.