웹마짱구의 블로그

원문 : tutsforweb.com/how-to-set-up-task-scheduling-cron-job-in-laravel/

 

How to set up Task Scheduling with Cron job in Laravel - TutsForWeb

Implementing Cron Job in Laravel. Set up and demonstrate the use of Task Scheduler using Cron Job in Laravel. Version control Cron jobs and Artisan command.

tutsforweb.com

 

커맨드 생성

php artisan make : command WordOfTheDay

 

스케쥴링 등록

app / Console / Kernel.php

 

crontab 등록 
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

Comment +0

https://stackoverflow.com/questions/18024237/increment-row-number-with-laravel-pagination

 

increment row number with laravel pagination

How to make increment row number with laravel pagination ? When i use pagination and i go to page 2 and above it will back to beginning. for example i will paginate(3) <tr...< p=""> </tr...<>

stackoverflow.com

 

 

@foreach ($telephone as $key=> $whatever)

<td>{{ $key+ $telephone->firstItem() }}</td>

@endforeach

Comment +0

https://code-examples.net/ko/q/16a7614


composer create-project laravel/laravel=4.1.27 your-project-name --prefer-dist


또는


composer create-project laravel/laravel your-project-name --prefer-dist  4.1.27


버전은 패키지스트 https://packagist.org/packages/laravel/laravel 에 존재하는 버전이어야 한다.



5.8 버전 설치시

composer create-project laravel/laravel="5.8.*" [프로젝트 이름] 예: composer create-project laravel/laravel="5.8.*" blog

Comment +0

원문 : https://code.i-harness.com/ko-kr/q/196bb1c



win7에서이 명령을 실행할 수 있습니다.

box add homestead file:///c:/homestead.box

또한이 중 하나가 작동합니다 :

box add homestead file:///c:\homestead.box


Comment +0

https://github.com/caouecs/Laravel-lang



run composer require caouecs/laravel-lang:~2.0


$ cp -a vendor/caouecs/laravel4-lang/ko/ resources/lang/

Comment +0



rm -rf node_modules

yarn install --no-bin-links

Comment +0