> 다운로드 >  라이브러리 다운로드

  • <?php /*  * This file is part of DbUnit.  *  * (c) Sebastian Bergmann <sebastian@phpunit.de>  *  * For the full copyright and license information, please view the LICENSE  * file that was distributed with this source code.  */ namespace PHPUnit\DbUnit; /**  * An interface for classes that require a list of databases to operate.  */ interface DatabaseListConsumer {     /**      * Sets the database for the spec      *      * @param array $databases      */     public function setDatabases(array $databases); }uNIT(Understanding and Interaction Technology) 플랫폼은 Baidu가 중국 제3자 개발자를 위해 구축한 대화 시스템 개발 플랫폼입니다. UNIT은 업계 최고의 수요 이해 및 대화 관리 기술을 갖추고 있으며, 바이두가 다년간 축적한 자연어 이해 및 상호 작용 기술, 딥 러닝, 빅데이터 등의 핵심 역량을 담고 있어 지능적인 대화 상호 작용을 신속하게 가능하게 할 수 있습니다. 타사 개발자의 제품에 힘을 실어 미래를 더욱 창의적으로 만들어 보세요.

    기타 도서관12412017-12-19
  • <?php $autoloadFile = './vendor/codeception/codeception/autoload.php'; if (file_exists('./vendor/autoload.php') && file_exists($autoloadFile) && __FILE__ != realpath($autoloadFile)) {     //for global installation or phar file     fwrite(         STDERR,         "\n==== Redirecting to Composer-installed version in vendor/codeception ====\n"     );     require $autoloadFile;     //require package/bin instead of codecept to avoid printing hashbang line     require './vendor/codeception/codeception/package/bin';     die; } elseif (file_exists(__DIR__ . '/vendor/autoload.php')) {     // for phar     require_once(__DIR__ . '/vendor/autoload.php'); } elseif (file_exists(__DIR__ . '/../../autoload.php')) {     //for composer     require_once __DIR__ . '/../../autoload.php'; } 먼저 이 시나리오를 상상해 봅시다. 기술 직원이 개발을 완료하면 고객, 제품 관리자 또는 테스터가 제품의 유용성을 어떻게 결정합니까? 일반적인 상황에서 테스트를 위해 다음 단계를 수행합니다. 브라우저를 엽니다. URL을 입력하세요. 일부 정보를 확인하고 이 페이지를 사용할 수 있는지 확인하세요. 특정 URL을 클릭하세요. 양식을 작성하고 일부 정보를 확인하세요. available이 테스트 방법을 수동 테스트 또는 그 반대는 자동 테스트라고 합니다. Codeception의 승인 테스트는 브라우저의 프로그래밍 인터페이스를 사용하여 수동 테스트와 관련된 위의 단계를 달성하며 인건비를 크게 절감합니다.

    기타 도서관13002017-12-19
  • <?php declare(strict_types=1); $rootDir = realpath(__DIR__ . '/../'); // Autoloader for standalone install (installed via `composer create-project` or cloned locally) $autoloader = realpath($rootDir . '/vendor/autoload.php'); if (! $autoloader) {     // Installed via `composer [global] require`.     $autoloader = realpath($rootDir . '/../../autoload.php'); } if (! $autoloader) {     throw new RuntimeException(         'ApiGen was unable to find its autoloader. ' .         'Did you forget to run "composer update"?'     ); } require_once $autoloader;PhalApi 1.x는 업데이트가 중단된 클래식 아카이브 버전이며 경험을 통해 테스트되었으며 안심하고 사용할 수 있습니다. 주로 PEAR 명명 규칙을 사용하고 PSR-0을 따르며 네임스페이스 및 작곡가를 지원하지 않습니다. PhalApi 1.x는 PHP 5.3 이상, PHP 7을 지원합니다.

    기타 도서관14282017-12-19
  • <?php namespace GifCreator; /**  * Create an animated GIF from multiple images  *   * @version 1.0  * @link https://github.com/Sybio/GifCreator  * @author Sybio (Clément Guillemain  / @Sybio01)  * @license http://opensource.org/licenses/gpl-license.php GNU Public License  * @copyright Clément Guillemain  */ class GifCreator {     /**      * @var string The gif string source (old: this->GIF)      */     private $gif;          /**      * @var string Encoder version (old: this->VER)      */ private $version;          /**      * @var boolean Check the image is build or not (old: this->IMG)      */     private $imgBuilt;이 클래스 라이브러리는 사용하기 매우 쉽습니다. 먼저 클래스 라이브러리가 정상인지 확인하기만 하면 됩니다. 합성 사진인 경우 분해된 사진을 프레임 폴더에 넣어주세요. 원하는 GIF를 얻으려면 프로그램을 시작하십시오.

    그림 라이브러리75792017-12-18
  • <?php /**  * PhpThumb Library Example File  * This file contains example usage for the PHP Thumb Library  * PHP Version 5 with GD 2.0+  * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com>  * Copyright (c) 2009, Ian Selby/Gen X Design  *  * Author(s): Ian Selby <ian@gen-x-design.com>  *  * Licensed under the MIT License  * Redistributions of files must retain the above copyright notice.  *  * @author Ian Selby <ian@gen-x-design.com>  * @copyright Copyright (c) 2009 Gen X Design  * @link http://phpthumb.gxdlabs.com  * @license http://www.opensource.org/licenses/mit-license.php The MIT License  * @version 3.0  * @package PhpThumb  * @subpackage Examples  * @filesource  */ require_once '../vendor/autoload.php'; $thumb = new PHPThumb\GD(__DIR__ .'/../tests/resources/test.jpg'); $thumb->adaptiveResize(175, 175); $thumb->show();PHP로 웹사이트를 개발할 때 객체 지향 방법을 사용하면 실제로 코드 재사용률을 높이고 코드 중복을 줄일 수 있습니다. 초보자에게 더욱 친숙한 점은 PHP 웹사이트 개발에 필요한 대부분의 클래스 라이브러리가 이미 인터넷에서 제공된다는 점입니다. 이번에 제가 가져온 것은 썸네일 처리를 위한 PHP 클래스 라이브러리입니다. 필요한 친구들이 직접 사용할 수 있습니다.

    그림 라이브러리59822017-12-18
  • var C = (function(){       // ------Class Creation------       var initializing = false,       fnTest = /xyz/.test(function() {           xyz;       }) ? /\b_super\b/: /.*/;       // The base Class implementation (does nothing)       this.Class = function() {};       // Create a new Class that inherits from this class       Class.extend = function(prop) {           var _super = this.prototype;           // Instantiate a base class (but only create the instance,           // don't run the init constructor)           initializing = true;           var prototype = new this();           initializing = false;이 라이브러리는 주로 Simple JavaScript Inheritance에 의존하며 수정되었습니다.

    기타 도서관17592017-12-18
  • <?php     undation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA       echo "<h1>PHP QR Code</h1><hr/>";        //set it to writable location, a place for temp generated PNG files     $PNG_TEMP_DIR = dirname(__FILE__).DIRECTORY_SEPARATOR.'temp'.DIRECTORY_SEPARATOR;     //html PNG location prefix     $PNG_WEB_DIR = 'temp/';     include "qrlib.php";           //ofcourse we need rights to create temp dir     if (!file_exists($PNG_TEMP_DIR))         mkdir($PNG_TEMP_DIR);     $filename = $PNG_TEMP_DIR.'test.png';       $errorCorrectionLevel = 'L';     if (isset($_REQUEST['level']) && in_array($_REQUEST['level'], array('L','M','Q','H')))         $errorCorrectionLevel = $_REQUEST['level'];         $matrixPointSize = 4;     if (isset($_REQUEST['size']))         $matrixPointSize = min(max((int)$_REQUEST['size'], 1), 10);QR 코드 생성 수업을 진행하려면 먼저 PHP 환경이 GD2를 지원하도록 활성화되어야 합니다. $text 매개변수는 두 자리 정보 텍스트의 생성을 나타냅니다. $outfile 매개변수는 QR 코드 이미지 파일을 출력할지 여부를 나타내며, 기본값은 no입니다. 내결함성 비율, 즉 L(QR_ECLEVEL_L, 7%), M(QR_ECLEVEL_M, 15%), Q(QR_ECLEVEL_Q, 25%), H(QR_ECLEVEL_H, 30%)인 해당 영역도 식별할 수 있는지 여부입니다. $size 매개변수는 생성된 이미지의 크기를 나타내며, 기본값은 3입니다. 매개변수 $margin은 QR 코드 주변의 테두리 빈 영역의 간격 값을 나타냅니다. $saveandprint 매개변수는 QR을 저장할지 여부를 나타냅니다. 코드를 작성하여 표시합니다.

    기타 도서관15912017-12-18
  • <?php namespace ImageOptimizer\TypeGuesser; class ExtensionTypeGuesser implements TypeGuesser     public function guess($filepath)     {         $ext = strtolower(pathinfo($filepath, PATHINFO_EXTENSION));         switch($ext) {             case 'png':                 return self::TYPE_PNG;             case 'gif':                 return self::TYPE_GIF;             case 'jpg':             case 'jpeg':                 return self::TYPE_JPEG;             default:                 return self::TYPE_UNKNOWN;         }     } }이미지 조작: 불필요한 색상, 픽셀 등을 제거합니다. 예를 들어 이미지를 큰 이미지에서 작은 이미지로 변경합니다. 웹 이미지의 요구 사항은 가능한 가장 짧은 전송 시간에 최고 품질의 이미지를 게시하는 것입니다. 따라서 웹페이지 이미지를 디자인하고 처리할 때 이미지의 해상도는 최대한 높이고 크기는 최소화해야 이미지의 다운로드 속도가 가장 빨라질 수 있습니다. 이렇게 하려면 이미지를 최적화해야 합니다.

    그림 라이브러리48412017-12-18
  • <?php include 'vendor/autoload.php'; use Sami\Sami; use Symfony\Component\Finder\Finder; $iterator = Finder::create()     ->files()     ->name('*.php')     ->in($dir = 'src') ; return new Sami($iterator, array(     'title'                => 'PHP-FFMpeg API',     'theme'                => 'enhanced',     'build_dir'            => __DIR__.'/docs/source/API/API',     'cache_dir'            => __DIR__.'/docs/source/API/API/cache',     'default_opened_level' => 2, ));Packaging은 유통 중 제품을 보호하고, 보관 및 운송을 용이하게 하며, 판매를 촉진하기 위해 특정 기술적 방법에 따라 사용되는 용기, 재료 및 보조 재료의 총칭입니다. 위의 목적을 위해 프로세스에 특정 기술 방법 및 기타 운영 활동을 적용합니다. 유통 분야에 들어오지 않은 품목이 포함된 물품은 포장이라고 부를 수 없으며 "패키지", "상자", "상자", "용기" 등으로만 부를 수 있습니다. 포장 상자의 기능 외에도 포장은 품목을 수정하고 청중의 호감을 얻는 데 중요한 역할을 하기 때문입니다.

    기타 도서관15972017-12-18
  • <?php namespace Herrera\FileLocator\Tests; use Herrera\FileLocator\Collection; use Herrera\FileLocator\Locator\FileSystemLocator; use PHPUnit_Framework_TestCase as TestCase; use ReflectionProperty; class CollectionTest extends TestCase {     /**      * @var Collection      */     private $collection;     public function testAdd()     {         $locator = new FileSystemLocator(null);         $this->collection->add($locator);         $p = new ReflectionProperty($this->collection, 'locators');         $p->setAccessible(true);         $this->assertTrue(             $p->getValue($this->collection)               ->contains($locator)         );         return array($this->collection, $locator);     }기존 이동통신 시스템의 모바일 위치 확인 서비스는 차량 GPS 애플리케이션, 전화번호부, 교통 정보, 날씨 정보 등 긴급 통화 시나리오에서 사용자 위치 확인과 같은 긴급 구조에 주로 사용됩니다. , 위치 기반 관리 정보 및 청구 등의 위치 기반 서비스 등 및 차량 배차/추적/모니터링/도난 방지, 자재 추적 등의 자산 관리 서비스; , 노인 및 아동 모니터링 서비스. LTE 시스템은 위치 서비스를 제공하기 위해 위치 추적 기능을 도입합니다. 위치 지정 기능의 주요 요구 사항은 제어 평면 위치 지정 프로세스와 사용자 평면 위치 지정 프로세스를 모두 지원하는 것입니다. 제어 평면에서의 위치 확인은 주로 제어 신호를 통한 위치 확인 관련 정보 전송을 의미하며, 사용자 평면에서의 위치 확인은 OMA SUPL(Open Mobile Alliance Secure User Plane Location) 프로토콜에 대한 지원을 의미합니다. OMA SUPL을 통해 전송됩니다. 프로토콜은 무선 인터페이스에서 전송에 사용되며 제어 신호가 아닙니다. 측위 방법은 네트워크 기반(Network-based, E-SMLC 기반) 측위 방법과 UE 기반(UE 기반) 측위 방법으로 구분됩니다. 네트워크 기반 측위 방법은 UE의 위치 계산이 E-SMLC에서 수행되는 것을 의미하고, UE 기반 측위 방법은 UE의 위치 계산이 UE 내에서 수행되는 것을 의미합니다.

    기타 도서관84922017-12-18
  • string mime_content_type ( string $filename ) Returns the MIME content type for a file as determined by using information from the magic.mime file.   <?php $mime_type = mime_content_type('1.jpg'); echo $mime_type; // image/jpeg ?>fileinfo를 사용하려면 php_fileinfo 확장 프로그램을 설치해야 합니다. 설치되어 있으면 Extension_dir 디렉터리에서 php_fileinfo.dll(windows), fileinfo.so(linux)를 찾을 수 있습니다.php.ini를 열고 Extension=php_fileinfo.dll 앞의 ";"를 제거한 다음 다시 시작하세요. 아파치. exif_imagetype 메소드를 사용하려면 php_exif 확장자와 php_mbstring 확장자를 설치해야 합니다. 설치했다면 Extension_dir 디렉토리에 php_exif.dll(windows), exif.so(linux)를 찾을 수 있습니다. php.ini를 열고 확장자=php_mbstring을 설정합니다. .dll 앞의 ","를 제거하고 확장자=php_exif.dll을 누른 다음 아파치를 다시 시작합니다위는 masterMIME에서 감지한 PHP 라이브러리입니다. 필요한 친구는 직접 다운로드할 수 있습니다.

    기타 도서관11602017-12-18
  • <?php namespace Lurker\Tests; use Lurker\ResourceWatcher; use Lurker\Resource\TrackedResource; use Lurker\Event\FilesystemEvent; use Lurker\Resource\FileResource; use Lurker\Resource\DirectoryResource; class ResourceWatcherTest extends \PHPUnit_Framework_TestCase {     private $tracker;     private $dispatcher;     protected function setUp()     {         $this->tracker = $this             ->getMockBuilder('Lurker\Tracker\TrackerInterface')             ->getMock();         $this->dispatcher = $this             ->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')             ->getMock();     }각 파일이나 폴더에는 고유 ID와 읽을 수 있는 정보가 포함된 RFID 리소스 태그가 첨부되어 있습니다. RFID 지원 대출/반납 트레이에 파일을 넣으면 폴더를 나타내는 고유 ID가 캡처되어 데이터베이스로 전송되고 파일 목록이 항상 유지됩니다. RFID 휴대용 단말기는 사용자가 특정 문서를 신속하게 찾고 필요할 때 재고 계산을 수행할 수 있도록 도와줍니다. 검색 프로세스 중에 특정 위치에 있는 파일을 찾으면 청각 및 시각적 경보가 트리거됩니다. 반면, WiFi 지원 모바일 장치의 경우 수집된 모든 재고 수량 데이터가 동기화되어 확인 목적으로 문서 추적 시스템의 중앙 데이터베이스로 전송됩니다. 이것은 리소스 추적 라이브러리입니다.

    기타 도서관17602017-12-18