Taken from: https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Cell/Coordinate.php
public static function stringFromColumnIndex($columnIndex)
{
static $indexCache = [];
Taken from: https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Cell/Coordinate.php
public static function stringFromColumnIndex($columnIndex)
{
static $indexCache = [];
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
<?php | |
// Put this file in app/Commands directory | |
namespace App\Commands; | |
use LaravelZero\Framework\Commands\App\Builder; | |
class CustomBuilder extends Builder | |
{ |
# All files excluded | |
/** | |
# except gitignore | |
!.gitignore | |
# except default folder | |
!/_default/ | |
# except default sub folders | |
!/_default/** |
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
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.
<?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; |