웹마짱구의 블로그

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