Laravel Community Tools by Tighten

All Recipes

140 recipes available

Install Image Optimizers used by the Spatie Media LIbrary Package

Install Image Optimizers used by the Spatie Media LIbrary Package (see https://docs.spatie.be/laravel-medialibrary/v7)

sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install pngquant
sudo npm install -g svgo
5 years ago
RobAllport

Install SOAP on PHP 7 enabled servers

By default, forge doesn't install the Soap client with its PHP setup.

sudo apt-get install php7.0-soap
6 years ago
saimemre

Install PHP Redis extension for PHP 7.3

sudo pecl install redis
sudo echo "extension=redis.so" > /etc/php/7.3/mods-available/redis.ini
sudo ln -sf /etc/php/7.3/mods-available/redis.ini /etc/php/7.3/fpm/conf.d/20-redis.ini
sudo ln -sf /etc/php/7.3/mods-available/redis.ini /etc/php/7.3/cli/conf.d/20-redis.ini
6 years ago
chimit

Install ImageMagick for PHP 7.3

apt-get install -y php-imagick
6 years ago
chimit

Reset MySQL 8 default authentication plugin

Reset MySQL 8 default authentication plugin to `mysql_native_password` so everything just works

# Default to mysql_native_password
echo "default-authentication-plugin = mysql_native_password" >> /etc/mysql/mysql.conf.d/mysqld.cnf

# Restart MySQL
6 years ago
bakerkretzmar

Install wkhtmltopdf (v 0.12.5-1 on Ubuntu 18.04)

Install the latest version (July 2019) of wkhtmltopdf on Ubuntu 18.04

# Author: Rob Allport for f9web.co.uk

echo "Install dependencies"
apt-get install -y wget fontconfig libxrender1 xfonts-base xfonts-75dpi libjpeg-turbo8 libxext6
6 years ago
RobAllport

Craft CMS 3

See https://github.com/engram-design/craft-forge-recipe for description

#!/bin/bash

# Exit immediately if a simple command exits with a non-zero status (https://ss64.com/bash/set.html) 
set -e
6 years ago
web@sgroup.com.au

Install ElasticSearch 7.x

Updated Elasticsearch version to 7.x and fix Java dependency

echo ">> Installing Elastic GPG Key"
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

echo ">> Install apt-transport-https"
6 years ago
pelmered

fail2ban config

Create a fail2ban Configfile and restart the fail2ban-service. You should run the script as root.

cd /etc/fail2ban

printf '%s\n' \
		'[INCLUDES]' \
6 years ago
Ralf

Elasticsearch 5x

install elasticsearch 5x versions

echo ">> Installing Elastic GPG Key"
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

sudo apt-get install apt-transport-https
6 years ago
saimemre

Install imagick ext for PHP 7.2

This script will install imagick 3.4.3 and add the extension to your php.ini file, for servers running PHP 7.2

#!/bin/bash
if [ "$EUID" -ne 0 ]
  then echo "Please run as root"
  exit
7 years ago
slashequip

Install imagick ext for PHP 7.1

This script will install imagick 3.4.3 and add the extension to your php.ini file, for servers running PHP 7.1

#!/bin/bash
if [ "$EUID" -ne 0 ]
  then echo "Please run as root"
  exit
7 years ago
slashequip