
L5-Swagger BookController Get all books URL: /api/books Method: GET Description: Get all books /** * @OA\Get( * path="/api/books", * tags={"Books"}, * summary="Get all books", * @OA\Response( * response=200, * description="Returns all books", * @OA\JsonContent( * type="array", * @OA\Items(ref="#/components/schemas/Book") * ), * ), * ) */ public function index() { return Book::all(); } Create a n..

PHP: array_count_values - Manual PHP: array_count_values - Manual In order to apply array_map with callback checking for localised values like city name, country name, you have to provide some sort of comparison array.Here's an example of array_count_values for Polish city names. Just switch array_keys / array_values in www.php.net /* * 배열에서 유니크한 키값과 갯수 조회하기 */ $array = array(1, "hello", 1, "wor..

PHP 에서 redis 에 연동하기 위한 client library predis: Pure PHP 로 개발 PHPRedis: C 언어로 만든 PHP 모듈 // 성능이 더 우수하다는 벤치마크 결과가 많다. ... 1. 설치하기 //yum으로 설치 yum install php-devel //apt로 설치 sudo apt install php-dev Linux 공통 // pecl install redis // igbinary 지원 여부: yes enable igbinary serializer support? [no] : yes // lzf 압축 지원 여부: yes enable lzf compression support? [no] : yes RHEL/Centos // php 의 모듈 디렉터리에 로딩을 위한 모듈..

https://www.phpliveregex.com/#tab-preg-match PHP Live Regex i case insensitive m treat as multi-line string s dot matches newline x ignore whitespace in regex A matches only at the start of string D matches only at the end of string U non-greedy matching by default www.phpliveregex.com
round(abs(strtotime(date('Y-m-d'))-strtotime(종료일))/86400);
- Total
- Today
- Yesterday
- graphql
- django
- composite-primarykey
- 메일
- php-composer
- composer-self-update
- eloquant
- 자바스크립트
- php
- redis
- 테스트_다중트랜잭션
- Laravel
- Python
- graphql-php
- laravel-test
- 정의
- composer-install
- 라라벨
- exception-test
- 정규식
- php-laravel
- gvm_install
- 나는욕심쟁이
- 둘이상인증한번에사용하기
- session+token authorize
- POP3
- l5-swagger
- vim
- MySQL
- VIM-COMMAND