- Golang SDK
- 下载:
PHPStorm要安裝plugin => Laravel Plugin + Symfony Plugin | |
##step1-在專案下使用composer安裝,此法必須配合PHPStorm使用才可以 | |
composer require barryvdh/laravel-ide-helper | |
##step2-在config/app.php加入服務提供者 | |
'providers' => array( | |
// ... | |
'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider', // Laravel IDE helper | |
), | |
##step3-產生_de_helper.php文件(PHPStorm依此文件做Autocomplete) | |
php artisan ide-helper:generate |
[root@a59c35ad939a /]# yum install epel-release | |
Loaded plugins: fastestmirror | |
Setting up Install Process | |
Loading mirror speeds from cached hostfile | |
* base: ftp.riken.jp | |
* extras: ftp.riken.jp | |
* rpmforge: ftp.riken.jp | |
* updates: ftp.riken.jp | |
Resolving Dependencies | |
--> Running transaction check |
<?php | |
// source version: https://github.com/JetBrains/phpstorm-stubs/blob/master/redis/Redis.phpdis/Redis.php | |
// phpdoc version: https://github.com/nrk/predis/blob/v1.1/src/ClientInterface.php | |
// save this file to your project root | |
namespace { | |
exit("This file should not be included, only analyzed by your IDE"); | |
/** |
#!/bin/sh | |
PATH=/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
#---------------------------------------------------- | |
# a simple mysql database backup script. | |
# version 2, updated March 26, 2011. | |
# copyright 2011 alvin alexander, http://devdaily.com | |
#---------------------------------------------------- | |
# This work is licensed under a Creative Commons | |
# Attribution-ShareAlike 3.0 Unported License; |
#!/bin/bash | |
brew install redis # Install Redis using Homebrew | |
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents # Enable Redis autostart | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist # Start Redis server via launchctl | |
# homebrew.mxcl.redis.plist contains reference to redis.conf file location: /usr/local/etc/redis.conf | |
redis-server /usr/local/etc/redis.conf # Start Redis server using configuration file, Ctrl+C to stop | |
redis-cli ping # Check if the Redis server is running |
<?php | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel Lumen (5.1.1) (Laravel Components 5.1.*) on 2015-08-18. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { |
FROM php:7.0-fpm-alpine | |
RUN set -ex && \ | |
apk add --no-cache --virtual .build-deps \ | |
libxml2-dev \ | |
shadow \ | |
autoconf \ | |
g++ \ | |
make \ | |
&& apk add --no-cache imagemagick-dev imagemagick libjpeg-turbo libgomp freetype-dev \ |
<?php | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.5.13 on 2017-09-28. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { | |
exit("This file should not be included, only analyzed by your IDE"); |