- Installation of XAMPP
To get your local development started and use url's in your browser to point to
locally installed webprojects you need to first add a line to your hosts
file
On Windows this should be located at the following path.
<?php | |
/******* | |
* Class based on the OTF class made by @lukevers | |
* https://lukevers.com/2015/03/25/on-the-fly-database-connections-with-laravel-5 | |
* https://gist.github.com/lukevers/2e40dc2dc0cf4818b1ba#file-otf-php | |
*/ | |
namespace App\Database; |
To enable the Storage
facade in Lumen 5.2 you need to modify a few things.
First of all you need to create a filesystems.php
in a config
folder.
The config
folder needs to be at the same level as your app
and bootstrap
folder. If it's not there yet just create it.
When using the command apt-get update
sometimes your file just won't build. Most of the time this is due to the sources used by apt-get not being up-to-date.
The following RUN
command can be added if your image is based on debian/jessie
# UPDATE SOURCES
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
# All files excluded | |
/** | |
# except gitignore | |
!.gitignore | |
# except default folder | |
!/_default/ | |
# except default sub folders | |
!/_default/** |
<?php | |
// Put this file in app/Commands directory | |
namespace App\Commands; | |
use LaravelZero\Framework\Commands\App\Builder; | |
class CustomBuilder extends Builder | |
{ |
First of all try running your command with the -o -vvv
flags. This would show each step in the composer process and you will notice where it slows down.
composer update -o -vvv
If it's showing slowness for http://repo.packagist.org you can try forcing the switch to https
composer config --global repos.packagist composer https://repo.packagist.org
Taken from: https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Cell/Coordinate.php
public static function stringFromColumnIndex($columnIndex)
{
static $indexCache = [];