├── .editorconfig ├── .gitignore ├── Dockerfile ├── docker-compose.yml ├── docker ├── nginx.conf ├── php.ini └── www.conf ├── now.json ├── readme-banner.png ├── readme.md └── src ├── .env.example ├── composer.json ├── composer.lock ├── config ├── app.php ├── db.php ├── general.php ├── redactor │ ├── Simple.json │ └── Standard.json └── routes.php ├── craft ├── modules └── Module.php ├── storage └── .gitignore ├── templates └── index.html ├── translations └── .gitkeep └── web ├── cpresources ├── .gitignore └── .gitkeep └── index.php /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Default style for all files 7 | [*] 8 | indent_size = 2 9 | indent_style = space 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | /vendor 3 | .DS_Store 4 | license.key 5 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM zeit/wait-for:0.2 as wait 2 | 3 | # Build dependencies 4 | FROM composer:latest as vendor 5 | 6 | COPY src/composer.json composer.json 7 | COPY src/composer.lock composer.lock 8 | 9 | RUN composer install --ignore-platform-reqs \ 10 | --no-interaction --no-plugins --no-scripts \ 11 | --prefer-dist --no-dev 12 | 13 | FROM alpine:3.8 14 | 15 | LABEL maintainer="Eivind Mikael Lindbråten " 16 | LABEL description="Minimal Craft CMS Container using nginx." 17 | 18 | # Copy over Craft files 19 | COPY src/ /www/ 20 | 21 | # Copy over vendor files 22 | COPY --from=vendor /app/vendor /www/vendor 23 | 24 | # install nginx, php, and php extensions for Craft 25 | RUN apk add --no-cache \ 26 | bash \ 27 | nginx \ 28 | php7 \ 29 | php7-fpm \ 30 | php7-opcache \ 31 | php7-phar \ 32 | php7-zlib \ 33 | php7-ctype \ 34 | php7-session \ 35 | php7-fileinfo \ 36 | # Required php extensions for Craft 37 | php7-pdo \ 38 | php7-pdo_mysql \ 39 | php7-gd \ 40 | php7-openssl \ 41 | php7-mbstring \ 42 | php7-json \ 43 | php7-curl \ 44 | php7-zip \ 45 | # Optional extensions for Craft 46 | php7-iconv \ 47 | php7-intl \ 48 | php7-dom \ 49 | # Extra Optional extensions for Craft 50 | imagemagick \ 51 | php7-imagick 52 | 53 | COPY docker/php.ini /etc/php7/ 54 | COPY docker/nginx.conf /etc/nginx/ 55 | COPY docker/www.conf /etc/php7/php-fpm.d/ 56 | 57 | RUN chmod 777 -R /www/* 58 | 59 | # Expose default port 60 | EXPOSE 80 61 | 62 | SHELL ["/bin/bash", "-c"] 63 | COPY --from=wait /bin/wait-for /bin/wait-for 64 | 65 | CMD php-fpm7 -F & (wait-for /tmp/php7-fpm.sock && nginx) & wait -n 66 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | 3 | services: 4 | craft: 5 | build: . 6 | container_name: docker-craft-nginx 7 | image: eivindml/docker-craft-nginx 8 | restart: always 9 | ports: 10 | - 80:80 11 | volumes: 12 | - ./src/composer.json:/www/composer.json 13 | - ./src/composer.lock:/www/composer.lock 14 | - ./src/config/:/www/config/ 15 | - ./src/storage/:/www/storage/ 16 | - ./src/templates/:/www/templates/ 17 | - ./src/translations/:/www/translations/ 18 | - ./src/web/:/www/html/ 19 | -------------------------------------------------------------------------------- /docker/nginx.conf: -------------------------------------------------------------------------------- 1 | worker_processes 1; 2 | daemon off; 3 | user nobody nobody; 4 | 5 | error_log /dev/stderr warn; 6 | pid /var/run/nginx.pid; 7 | 8 | events { 9 | worker_connections 256; 10 | } 11 | 12 | http { 13 | include /etc/nginx/mime.types; 14 | default_type application/octet-stream; 15 | sendfile on; 16 | access_log /dev/stdout; 17 | 18 | server { 19 | listen 80; 20 | root /www/web; 21 | index index.html index.htm index.php; 22 | server_name localhost; 23 | error_page 500 502 503 504 /50x.html; 24 | 25 | location = /50x.html { 26 | root /var/lib/nginx/html; 27 | } 28 | 29 | location / { 30 | try_files $uri $uri/ @rewrites; 31 | } 32 | 33 | location @rewrites { 34 | rewrite ^(.*) /index.php?p=$1 last; 35 | } 36 | 37 | location ~ \.php$ { 38 | fastcgi_pass unix:/tmp/php7-fpm.sock; 39 | fastcgi_index index.php; 40 | include fastcgi.conf; 41 | } 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /docker/php.ini: -------------------------------------------------------------------------------- 1 | [PHP] 2 | 3 | ;;;;;;;;;;;;;;;;;;; 4 | ; About php.ini ; 5 | ;;;;;;;;;;;;;;;;;;; 6 | ; PHP's initialization file, generally called php.ini, is responsible for 7 | ; configuring many of the aspects of PHP's behavior. 8 | 9 | ; PHP attempts to find and load this configuration from a number of locations. 10 | ; The following is a summary of its search order: 11 | ; 1. SAPI module specific location. 12 | ; 2. The PHPRC environment variable. (As of PHP 5.2.0) 13 | ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0) 14 | ; 4. Current working directory (except CLI) 15 | ; 5. The web server's directory (for SAPI modules), or directory of PHP 16 | ; (otherwise in Windows) 17 | ; 6. The directory from the --with-config-file-path compile time option, or the 18 | ; Windows directory (C:\windows or C:\winnt) 19 | ; See the PHP docs for more specific information. 20 | ; http://php.net/configuration.file 21 | 22 | ; The syntax of the file is extremely simple. Whitespace and lines 23 | ; beginning with a semicolon are silently ignored (as you probably guessed). 24 | ; Section headers (e.g. [Foo]) are also silently ignored, even though 25 | ; they might mean something in the future. 26 | 27 | ; Directives following the section heading [PATH=/www/mysite] only 28 | ; apply to PHP files in the /www/mysite directory. Directives 29 | ; following the section heading [HOST=www.example.com] only apply to 30 | ; PHP files served from www.example.com. Directives set in these 31 | ; special sections cannot be overridden by user-defined INI files or 32 | ; at runtime. Currently, [PATH=] and [HOST=] sections only work under 33 | ; CGI/FastCGI. 34 | ; http://php.net/ini.sections 35 | 36 | ; Directives are specified using the following syntax: 37 | ; directive = value 38 | ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. 39 | ; Directives are variables used to configure PHP or PHP extensions. 40 | ; There is no name validation. If PHP can't find an expected 41 | ; directive because it is not set or is mistyped, a default value will be used. 42 | 43 | ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one 44 | ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression 45 | ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a 46 | ; previously set variable or directive (e.g. ${foo}) 47 | 48 | ; Expressions in the INI file are limited to bitwise operators and parentheses: 49 | ; | bitwise OR 50 | ; ^ bitwise XOR 51 | ; & bitwise AND 52 | ; ~ bitwise NOT 53 | ; ! boolean NOT 54 | 55 | ; Boolean flags can be turned on using the values 1, On, True or Yes. 56 | ; They can be turned off using the values 0, Off, False or No. 57 | 58 | ; An empty string can be denoted by simply not writing anything after the equal 59 | ; sign, or by using the None keyword: 60 | 61 | ; foo = ; sets foo to an empty string 62 | ; foo = None ; sets foo to an empty string 63 | ; foo = "None" ; sets foo to the string 'None' 64 | 65 | ; If you use constants in your value, and these constants belong to a 66 | ; dynamically loaded extension (either a PHP extension or a Zend extension), 67 | ; you may only use these constants *after* the line that loads the extension. 68 | 69 | ;;;;;;;;;;;;;;;;;;; 70 | ; About this file ; 71 | ;;;;;;;;;;;;;;;;;;; 72 | ; PHP comes packaged with two INI files. One that is recommended to be used 73 | ; in production environments and one that is recommended to be used in 74 | ; development environments. 75 | 76 | ; php.ini-production contains settings which hold security, performance and 77 | ; best practices at its core. But please be aware, these settings may break 78 | ; compatibility with older or less security conscience applications. We 79 | ; recommending using the production ini in production and testing environments. 80 | 81 | ; php.ini-development is very similar to its production variant, except it is 82 | ; much more verbose when it comes to errors. We recommend using the 83 | ; development version only in development environments, as errors shown to 84 | ; application users can inadvertently leak otherwise secure information. 85 | 86 | ; This is php.ini-production INI file. 87 | 88 | ;;;;;;;;;;;;;;;;;;; 89 | ; Quick Reference ; 90 | ;;;;;;;;;;;;;;;;;;; 91 | ; The following are all the settings which are different in either the production 92 | ; or development versions of the INIs with respect to PHP's default behavior. 93 | ; Please see the actual settings later in the document for more details as to why 94 | ; we recommend these changes in PHP's behavior. 95 | 96 | ; display_errors 97 | ; Default Value: On 98 | ; Development Value: On 99 | ; Production Value: Off 100 | 101 | ; display_startup_errors 102 | ; Default Value: Off 103 | ; Development Value: On 104 | ; Production Value: Off 105 | 106 | ; error_reporting 107 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 108 | ; Development Value: E_ALL 109 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 110 | 111 | ; html_errors 112 | ; Default Value: On 113 | ; Development Value: On 114 | ; Production value: On 115 | 116 | ; log_errors 117 | ; Default Value: Off 118 | ; Development Value: On 119 | ; Production Value: On 120 | 121 | ; max_input_time 122 | ; Default Value: -1 (Unlimited) 123 | ; Development Value: 60 (60 seconds) 124 | ; Production Value: 60 (60 seconds) 125 | 126 | ; output_buffering 127 | ; Default Value: Off 128 | ; Development Value: 4096 129 | ; Production Value: 4096 130 | 131 | ; register_argc_argv 132 | ; Default Value: On 133 | ; Development Value: Off 134 | ; Production Value: Off 135 | 136 | ; request_order 137 | ; Default Value: None 138 | ; Development Value: "GP" 139 | ; Production Value: "GP" 140 | 141 | ; session.gc_divisor 142 | ; Default Value: 100 143 | ; Development Value: 1000 144 | ; Production Value: 1000 145 | 146 | ; session.sid_bits_per_character 147 | ; Default Value: 4 148 | ; Development Value: 5 149 | ; Production Value: 5 150 | 151 | ; short_open_tag 152 | ; Default Value: On 153 | ; Development Value: Off 154 | ; Production Value: Off 155 | 156 | ; track_errors 157 | ; Default Value: Off 158 | ; Development Value: On 159 | ; Production Value: Off 160 | 161 | ; variables_order 162 | ; Default Value: "EGPCS" 163 | ; Development Value: "GPCS" 164 | ; Production Value: "GPCS" 165 | 166 | ;;;;;;;;;;;;;;;;;;;; 167 | ; php.ini Options ; 168 | ;;;;;;;;;;;;;;;;;;;; 169 | ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini" 170 | ;user_ini.filename = ".user.ini" 171 | 172 | ; To disable this feature set this option to empty value 173 | ;user_ini.filename = 174 | 175 | ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) 176 | ;user_ini.cache_ttl = 300 177 | 178 | ;;;;;;;;;;;;;;;;;;;; 179 | ; Language Options ; 180 | ;;;;;;;;;;;;;;;;;;;; 181 | 182 | ; Enable the PHP scripting language engine under Apache. 183 | ; http://php.net/engine 184 | engine = On 185 | 186 | ; This directive determines whether or not PHP will recognize code between 187 | ; tags as PHP source which should be processed as such. It is 188 | ; generally recommended that should be used and that this feature 189 | ; should be disabled, as enabling it may result in issues when generating XML 190 | ; documents, however this remains supported for backward compatibility reasons. 191 | ; Note that this directive does not control the would work. 323 | ; http://php.net/syntax-highlighting 324 | ;highlight.string = #DD0000 325 | ;highlight.comment = #FF9900 326 | ;highlight.keyword = #007700 327 | ;highlight.default = #0000BB 328 | ;highlight.html = #000000 329 | 330 | ; If enabled, the request will be allowed to complete even if the user aborts 331 | ; the request. Consider enabling it if executing long requests, which may end up 332 | ; being interrupted by the user or a browser timing out. PHP's default behavior 333 | ; is to disable this feature. 334 | ; http://php.net/ignore-user-abort 335 | ;ignore_user_abort = On 336 | 337 | ; Determines the size of the realpath cache to be used by PHP. This value should 338 | ; be increased on systems where PHP opens many files to reflect the quantity of 339 | ; the file operations performed. 340 | ; http://php.net/realpath-cache-size 341 | ;realpath_cache_size = 4096k 342 | 343 | ; Duration of time, in seconds for which to cache realpath information for a given 344 | ; file or directory. For systems with rarely changing files, consider increasing this 345 | ; value. 346 | ; http://php.net/realpath-cache-ttl 347 | ;realpath_cache_ttl = 120 348 | 349 | ; Enables or disables the circular reference collector. 350 | ; http://php.net/zend.enable-gc 351 | zend.enable_gc = On 352 | 353 | ; If enabled, scripts may be written in encodings that are incompatible with 354 | ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such 355 | ; encodings. To use this feature, mbstring extension must be enabled. 356 | ; Default: Off 357 | ;zend.multibyte = Off 358 | 359 | ; Allows to set the default encoding for the scripts. This value will be used 360 | ; unless "declare(encoding=...)" directive appears at the top of the script. 361 | ; Only affects if zend.multibyte is set. 362 | ; Default: "" 363 | ;zend.script_encoding = 364 | 365 | ;;;;;;;;;;;;;;;;; 366 | ; Miscellaneous ; 367 | ;;;;;;;;;;;;;;;;; 368 | 369 | ; Decides whether PHP may expose the fact that it is installed on the server 370 | ; (e.g. by adding its signature to the Web server header). It is no security 371 | ; threat in any way, but it makes it possible to determine whether you use PHP 372 | ; on your server or not. 373 | ; http://php.net/expose-php 374 | expose_php = On 375 | 376 | ;;;;;;;;;;;;;;;;;;; 377 | ; Resource Limits ; 378 | ;;;;;;;;;;;;;;;;;;; 379 | 380 | ; Maximum execution time of each script, in seconds 381 | ; http://php.net/max-execution-time 382 | ; Note: This directive is hardcoded to 0 for the CLI SAPI 383 | max_execution_time = 30 384 | 385 | ; Maximum amount of time each script may spend parsing request data. It's a good 386 | ; idea to limit this time on productions servers in order to eliminate unexpectedly 387 | ; long running scripts. 388 | ; Note: This directive is hardcoded to -1 for the CLI SAPI 389 | ; Default Value: -1 (Unlimited) 390 | ; Development Value: 60 (60 seconds) 391 | ; Production Value: 60 (60 seconds) 392 | ; http://php.net/max-input-time 393 | max_input_time = 60 394 | 395 | ; Maximum input variable nesting level 396 | ; http://php.net/max-input-nesting-level 397 | ;max_input_nesting_level = 64 398 | 399 | ; How many GET/POST/COOKIE input variables may be accepted 400 | ; max_input_vars = 1000 401 | 402 | ; Maximum amount of memory a script may consume (128MB) 403 | ; http://php.net/memory-limit 404 | memory_limit = 512M 405 | 406 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 407 | ; Error handling and logging ; 408 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 409 | 410 | ; This directive informs PHP of which errors, warnings and notices you would like 411 | ; it to take action for. The recommended way of setting values for this 412 | ; directive is through the use of the error level constants and bitwise 413 | ; operators. The error level constants are below here for convenience as well as 414 | ; some common settings and their meanings. 415 | ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT 416 | ; those related to E_NOTICE and E_STRICT, which together cover best practices and 417 | ; recommended coding standards in PHP. For performance reasons, this is the 418 | ; recommend error reporting setting. Your production server shouldn't be wasting 419 | ; resources complaining about best practices and coding standards. That's what 420 | ; development servers and development settings are for. 421 | ; Note: The php.ini-development file has this setting as E_ALL. This 422 | ; means it pretty much reports everything which is exactly what you want during 423 | ; development and early testing. 424 | ; 425 | ; Error Level Constants: 426 | ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0) 427 | ; E_ERROR - fatal run-time errors 428 | ; E_RECOVERABLE_ERROR - almost fatal run-time errors 429 | ; E_WARNING - run-time warnings (non-fatal errors) 430 | ; E_PARSE - compile-time parse errors 431 | ; E_NOTICE - run-time notices (these are warnings which often result 432 | ; from a bug in your code, but it's possible that it was 433 | ; intentional (e.g., using an uninitialized variable and 434 | ; relying on the fact it is automatically initialized to an 435 | ; empty string) 436 | ; E_STRICT - run-time notices, enable to have PHP suggest changes 437 | ; to your code which will ensure the best interoperability 438 | ; and forward compatibility of your code 439 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup 440 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's 441 | ; initial startup 442 | ; E_COMPILE_ERROR - fatal compile-time errors 443 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) 444 | ; E_USER_ERROR - user-generated error message 445 | ; E_USER_WARNING - user-generated warning message 446 | ; E_USER_NOTICE - user-generated notice message 447 | ; E_DEPRECATED - warn about code that will not work in future versions 448 | ; of PHP 449 | ; E_USER_DEPRECATED - user-generated deprecation warnings 450 | ; 451 | ; Common Values: 452 | ; E_ALL (Show all errors, warnings and notices including coding standards.) 453 | ; E_ALL & ~E_NOTICE (Show all errors, except for notices) 454 | ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.) 455 | ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors) 456 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 457 | ; Development Value: E_ALL 458 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 459 | ; http://php.net/error-reporting 460 | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT 461 | 462 | ; This directive controls whether or not and where PHP will output errors, 463 | ; notices and warnings too. Error output is very useful during development, but 464 | ; it could be very dangerous in production environments. Depending on the code 465 | ; which is triggering the error, sensitive information could potentially leak 466 | ; out of your application such as database usernames and passwords or worse. 467 | ; For production environments, we recommend logging errors rather than 468 | ; sending them to STDOUT. 469 | ; Possible Values: 470 | ; Off = Do not display any errors 471 | ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!) 472 | ; On or stdout = Display errors to STDOUT 473 | ; Default Value: On 474 | ; Development Value: On 475 | ; Production Value: Off 476 | ; http://php.net/display-errors 477 | display_errors = Off 478 | 479 | ; The display of errors which occur during PHP's startup sequence are handled 480 | ; separately from display_errors. PHP's default behavior is to suppress those 481 | ; errors from clients. Turning the display of startup errors on can be useful in 482 | ; debugging configuration problems. We strongly recommend you 483 | ; set this to 'off' for production servers. 484 | ; Default Value: Off 485 | ; Development Value: On 486 | ; Production Value: Off 487 | ; http://php.net/display-startup-errors 488 | display_startup_errors = Off 489 | 490 | ; Besides displaying errors, PHP can also log errors to locations such as a 491 | ; server-specific log, STDERR, or a location specified by the error_log 492 | ; directive found below. While errors should not be displayed on productions 493 | ; servers they should still be monitored and logging is a great way to do that. 494 | ; Default Value: Off 495 | ; Development Value: On 496 | ; Production Value: On 497 | ; http://php.net/log-errors 498 | log_errors = On 499 | 500 | ; Set maximum length of log_errors. In error_log information about the source is 501 | ; added. The default is 1024 and 0 allows to not apply any maximum length at all. 502 | ; http://php.net/log-errors-max-len 503 | log_errors_max_len = 1024 504 | 505 | ; Do not log repeated messages. Repeated errors must occur in same file on same 506 | ; line unless ignore_repeated_source is set true. 507 | ; http://php.net/ignore-repeated-errors 508 | ignore_repeated_errors = Off 509 | 510 | ; Ignore source of message when ignoring repeated messages. When this setting 511 | ; is On you will not log errors with repeated messages from different files or 512 | ; source lines. 513 | ; http://php.net/ignore-repeated-source 514 | ignore_repeated_source = Off 515 | 516 | ; If this parameter is set to Off, then memory leaks will not be shown (on 517 | ; stdout or in the log). This has only effect in a debug compile, and if 518 | ; error reporting includes E_WARNING in the allowed list 519 | ; http://php.net/report-memleaks 520 | report_memleaks = On 521 | 522 | ; This setting is on by default. 523 | ;report_zend_debug = 0 524 | 525 | ; Store the last error/warning message in $php_errormsg (boolean). Setting this value 526 | ; to On can assist in debugging and is appropriate for development servers. It should 527 | ; however be disabled on production servers. 528 | ; This directive is DEPRECATED. 529 | ; Default Value: Off 530 | ; Development Value: Off 531 | ; Production Value: Off 532 | ; http://php.net/track-errors 533 | ;track_errors = Off 534 | 535 | ; Turn off normal error reporting and emit XML-RPC error XML 536 | ; http://php.net/xmlrpc-errors 537 | ;xmlrpc_errors = 0 538 | 539 | ; An XML-RPC faultCode 540 | ;xmlrpc_error_number = 0 541 | 542 | ; When PHP displays or logs an error, it has the capability of formatting the 543 | ; error message as HTML for easier reading. This directive controls whether 544 | ; the error message is formatted as HTML or not. 545 | ; Note: This directive is hardcoded to Off for the CLI SAPI 546 | ; Default Value: On 547 | ; Development Value: On 548 | ; Production value: On 549 | ; http://php.net/html-errors 550 | html_errors = On 551 | 552 | ; If html_errors is set to On *and* docref_root is not empty, then PHP 553 | ; produces clickable error messages that direct to a page describing the error 554 | ; or function causing the error in detail. 555 | ; You can download a copy of the PHP manual from http://php.net/docs 556 | ; and change docref_root to the base URL of your local copy including the 557 | ; leading '/'. You must also specify the file extension being used including 558 | ; the dot. PHP's default behavior is to leave these settings empty, in which 559 | ; case no links to documentation are generated. 560 | ; Note: Never use this feature for production boxes. 561 | ; http://php.net/docref-root 562 | ; Examples 563 | ;docref_root = "/phpmanual/" 564 | 565 | ; http://php.net/docref-ext 566 | ;docref_ext = .html 567 | 568 | ; String to output before an error message. PHP's default behavior is to leave 569 | ; this setting blank. 570 | ; http://php.net/error-prepend-string 571 | ; Example: 572 | ;error_prepend_string = "" 573 | 574 | ; String to output after an error message. PHP's default behavior is to leave 575 | ; this setting blank. 576 | ; http://php.net/error-append-string 577 | ; Example: 578 | ;error_append_string = "" 579 | 580 | ; Log errors to specified file. PHP's default behavior is to leave this value 581 | ; empty. 582 | ; http://php.net/error-log 583 | ; Example: 584 | ;error_log = php_errors.log 585 | ; Log errors to syslog (Event Log on Windows). 586 | ;error_log = syslog 587 | 588 | ;windows.show_crt_warning 589 | ; Default value: 0 590 | ; Development value: 0 591 | ; Production value: 0 592 | 593 | ;;;;;;;;;;;;;;;;; 594 | ; Data Handling ; 595 | ;;;;;;;;;;;;;;;;; 596 | 597 | ; The separator used in PHP generated URLs to separate arguments. 598 | ; PHP's default setting is "&". 599 | ; http://php.net/arg-separator.output 600 | ; Example: 601 | ;arg_separator.output = "&" 602 | 603 | ; List of separator(s) used by PHP to parse input URLs into variables. 604 | ; PHP's default setting is "&". 605 | ; NOTE: Every character in this directive is considered as separator! 606 | ; http://php.net/arg-separator.input 607 | ; Example: 608 | ;arg_separator.input = ";&" 609 | 610 | ; This directive determines which super global arrays are registered when PHP 611 | ; starts up. G,P,C,E & S are abbreviations for the following respective super 612 | ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty 613 | ; paid for the registration of these arrays and because ENV is not as commonly 614 | ; used as the others, ENV is not recommended on productions servers. You 615 | ; can still get access to the environment variables through getenv() should you 616 | ; need to. 617 | ; Default Value: "EGPCS" 618 | ; Development Value: "GPCS" 619 | ; Production Value: "GPCS"; 620 | ; http://php.net/variables-order 621 | variables_order = "GPCS" 622 | 623 | ; This directive determines which super global data (G,P & C) should be 624 | ; registered into the super global array REQUEST. If so, it also determines 625 | ; the order in which that data is registered. The values for this directive 626 | ; are specified in the same manner as the variables_order directive, 627 | ; EXCEPT one. Leaving this value empty will cause PHP to use the value set 628 | ; in the variables_order directive. It does not mean it will leave the super 629 | ; globals array REQUEST empty. 630 | ; Default Value: None 631 | ; Development Value: "GP" 632 | ; Production Value: "GP" 633 | ; http://php.net/request-order 634 | request_order = "GP" 635 | 636 | ; This directive determines whether PHP registers $argv & $argc each time it 637 | ; runs. $argv contains an array of all the arguments passed to PHP when a script 638 | ; is invoked. $argc contains an integer representing the number of arguments 639 | ; that were passed when the script was invoked. These arrays are extremely 640 | ; useful when running scripts from the command line. When this directive is 641 | ; enabled, registering these variables consumes CPU cycles and memory each time 642 | ; a script is executed. For performance reasons, this feature should be disabled 643 | ; on production servers. 644 | ; Note: This directive is hardcoded to On for the CLI SAPI 645 | ; Default Value: On 646 | ; Development Value: Off 647 | ; Production Value: Off 648 | ; http://php.net/register-argc-argv 649 | register_argc_argv = Off 650 | 651 | ; When enabled, the ENV, REQUEST and SERVER variables are created when they're 652 | ; first used (Just In Time) instead of when the script starts. If these 653 | ; variables are not used within a script, having this directive on will result 654 | ; in a performance gain. The PHP directive register_argc_argv must be disabled 655 | ; for this directive to have any affect. 656 | ; http://php.net/auto-globals-jit 657 | auto_globals_jit = On 658 | 659 | ; Whether PHP will read the POST data. 660 | ; This option is enabled by default. 661 | ; Most likely, you won't want to disable this option globally. It causes $_POST 662 | ; and $_FILES to always be empty; the only way you will be able to read the 663 | ; POST data will be through the php://input stream wrapper. This can be useful 664 | ; to proxy requests or to process the POST data in a memory efficient fashion. 665 | ; http://php.net/enable-post-data-reading 666 | ;enable_post_data_reading = Off 667 | 668 | ; Maximum size of POST data that PHP will accept. 669 | ; Its value may be 0 to disable the limit. It is ignored if POST data reading 670 | ; is disabled through enable_post_data_reading. 671 | ; http://php.net/post-max-size 672 | post_max_size = 8M 673 | 674 | ; Automatically add files before PHP document. 675 | ; http://php.net/auto-prepend-file 676 | auto_prepend_file = 677 | 678 | ; Automatically add files after PHP document. 679 | ; http://php.net/auto-append-file 680 | auto_append_file = 681 | 682 | ; By default, PHP will output a media type using the Content-Type header. To 683 | ; disable this, simply set it to be empty. 684 | ; 685 | ; PHP's built-in default media type is set to text/html. 686 | ; http://php.net/default-mimetype 687 | default_mimetype = "text/html" 688 | 689 | ; PHP's default character set is set to UTF-8. 690 | ; http://php.net/default-charset 691 | default_charset = "UTF-8" 692 | 693 | ; PHP internal character encoding is set to empty. 694 | ; If empty, default_charset is used. 695 | ; http://php.net/internal-encoding 696 | ;internal_encoding = 697 | 698 | ; PHP input character encoding is set to empty. 699 | ; If empty, default_charset is used. 700 | ; http://php.net/input-encoding 701 | ;input_encoding = 702 | 703 | ; PHP output character encoding is set to empty. 704 | ; If empty, default_charset is used. 705 | ; See also output_buffer. 706 | ; http://php.net/output-encoding 707 | ;output_encoding = 708 | 709 | ;;;;;;;;;;;;;;;;;;;;;;;;; 710 | ; Paths and Directories ; 711 | ;;;;;;;;;;;;;;;;;;;;;;;;; 712 | 713 | ; UNIX: "/path1:/path2" 714 | include_path = ".:/usr/share/php7" 715 | ; 716 | ; Windows: "\path1;\path2" 717 | ;include_path = ".;c:\php\includes" 718 | ; 719 | ; PHP's default setting for include_path is ".;/path/to/php/pear" 720 | ; http://php.net/include-path 721 | 722 | ; The root of the PHP pages, used only if nonempty. 723 | ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 724 | ; if you are running php as a CGI under any web server (other than IIS) 725 | ; see documentation for security issues. The alternate is to use the 726 | ; cgi.force_redirect configuration below 727 | ; http://php.net/doc-root 728 | doc_root = 729 | 730 | ; The directory under which PHP opens the script using /~username used only 731 | ; if nonempty. 732 | ; http://php.net/user-dir 733 | user_dir = 734 | 735 | ; Directory in which the loadable extensions (modules) reside. 736 | ; http://php.net/extension-dir 737 | ; extension_dir = "./" 738 | ; On windows: 739 | ; extension_dir = "ext" 740 | 741 | ; Directory where the temporary files should be placed. 742 | ; Defaults to the system default (see sys_get_temp_dir) 743 | ; sys_temp_dir = "/tmp" 744 | 745 | ; Whether or not to enable the dl() function. The dl() function does NOT work 746 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically 747 | ; disabled on them. 748 | ; http://php.net/enable-dl 749 | enable_dl = Off 750 | 751 | ; cgi.force_redirect is necessary to provide security running PHP as a CGI under 752 | ; most web servers. Left undefined, PHP turns this on by default. You can 753 | ; turn it off here AT YOUR OWN RISK 754 | ; **You CAN safely turn this off for IIS, in fact, you MUST.** 755 | ; http://php.net/cgi.force-redirect 756 | ;cgi.force_redirect = 1 757 | 758 | ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with 759 | ; every request. PHP's default behavior is to disable this feature. 760 | ;cgi.nph = 1 761 | 762 | ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 763 | ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP 764 | ; will look for to know it is OK to continue execution. Setting this variable MAY 765 | ; cause security issues, KNOW WHAT YOU ARE DOING FIRST. 766 | ; http://php.net/cgi.redirect-status-env 767 | ;cgi.redirect_status_env = 768 | 769 | ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's 770 | ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok 771 | ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting 772 | ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting 773 | ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts 774 | ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. 775 | ; http://php.net/cgi.fix-pathinfo 776 | ;cgi.fix_pathinfo=1 777 | 778 | ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside 779 | ; of the web tree and people will not be able to circumvent .htaccess security. 780 | ; http://php.net/cgi.dicard-path 781 | ;cgi.discard_path=1 782 | 783 | ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate 784 | ; security tokens of the calling client. This allows IIS to define the 785 | ; security context that the request runs under. mod_fastcgi under Apache 786 | ; does not currently support this feature (03/17/2002) 787 | ; Set to 1 if running under IIS. Default is zero. 788 | ; http://php.net/fastcgi.impersonate 789 | ;fastcgi.impersonate = 1 790 | 791 | ; Disable logging through FastCGI connection. PHP's default behavior is to enable 792 | ; this feature. 793 | ;fastcgi.logging = 0 794 | 795 | ; cgi.rfc2616_headers configuration option tells PHP what type of headers to 796 | ; use when sending HTTP response code. If set to 0, PHP sends Status: header that 797 | ; is supported by Apache. When this option is set to 1, PHP will send 798 | ; RFC2616 compliant header. 799 | ; Default is zero. 800 | ; http://php.net/cgi.rfc2616-headers 801 | ;cgi.rfc2616_headers = 0 802 | 803 | ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #! 804 | ; (shebang) at the top of the running script. This line might be needed if the 805 | ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI 806 | ; mode skips this line and ignores its content if this directive is turned on. 807 | ; http://php.net/cgi.check-shebang-line 808 | ;cgi.check_shebang_line=1 809 | 810 | ;;;;;;;;;;;;;;;; 811 | ; File Uploads ; 812 | ;;;;;;;;;;;;;;;; 813 | 814 | ; Whether to allow HTTP file uploads. 815 | ; http://php.net/file-uploads 816 | file_uploads = On 817 | 818 | ; Temporary directory for HTTP uploaded files (will use system default if not 819 | ; specified). 820 | ; http://php.net/upload-tmp-dir 821 | ;upload_tmp_dir = 822 | 823 | ; Maximum allowed size for uploaded files. 824 | ; http://php.net/upload-max-filesize 825 | upload_max_filesize = 2M 826 | 827 | ; Maximum number of files that can be uploaded via a single request 828 | max_file_uploads = 20 829 | 830 | ;;;;;;;;;;;;;;;;;; 831 | ; Fopen wrappers ; 832 | ;;;;;;;;;;;;;;;;;; 833 | 834 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. 835 | ; http://php.net/allow-url-fopen 836 | allow_url_fopen = On 837 | 838 | ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. 839 | ; http://php.net/allow-url-include 840 | allow_url_include = Off 841 | 842 | ; Define the anonymous ftp password (your email address). PHP's default setting 843 | ; for this is empty. 844 | ; http://php.net/from 845 | ;from="john@doe.com" 846 | 847 | ; Define the User-Agent string. PHP's default setting for this is empty. 848 | ; http://php.net/user-agent 849 | ;user_agent="PHP" 850 | 851 | ; Default timeout for socket based streams (seconds) 852 | ; http://php.net/default-socket-timeout 853 | default_socket_timeout = 60 854 | 855 | ; If your scripts have to deal with files from Macintosh systems, 856 | ; or you are running on a Mac and need to deal with files from 857 | ; unix or win32 systems, setting this flag will cause PHP to 858 | ; automatically detect the EOL character in those files so that 859 | ; fgets() and file() will work regardless of the source of the file. 860 | ; http://php.net/auto-detect-line-endings 861 | ;auto_detect_line_endings = Off 862 | 863 | ;;;;;;;;;;;;;;;;;;;;;; 864 | ; Dynamic Extensions ; 865 | ;;;;;;;;;;;;;;;;;;;;;; 866 | 867 | ; If you wish to have an extension loaded automatically, use the following 868 | ; syntax: 869 | ; 870 | ; extension=modulename 871 | ; 872 | ; For example: 873 | ; 874 | ; extension=mysqli 875 | ; 876 | ; When the extension library to load is not located in the default extension 877 | ; directory, You may specify an absolute path to the library file: 878 | ; 879 | ; extension=/path/to/extension/mysqli.so 880 | ; 881 | ; Note : The syntax used in previous PHP versions ('extension=.so' and 882 | ; 'extension='php_.dll') is supported for legacy reasons and may be 883 | ; deprecated in a future PHP major version. So, when it is possible, please 884 | ; move to the new ('extension=) syntax. 885 | ; 886 | ; Notes for Windows environments : 887 | ; 888 | ; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+) 889 | ; extension folders as well as the separate PECL DLL download (PHP 5+). 890 | ; Be sure to appropriately set the extension_dir directive. 891 | ; 892 | ;extension=bz2 893 | ;extension=curl 894 | ;extension=fileinfo 895 | ;extension=gd2 896 | ;extension=gettext 897 | ;extension=gmp 898 | ;extension=intl 899 | ;extension=imap 900 | ;extension=interbase 901 | ;extension=ldap 902 | ;extension=mbstring 903 | ;extension=exif ; Must be after mbstring as it depends on it 904 | ;extension=mysqli 905 | ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client 906 | ;extension=odbc 907 | ;extension=openssl 908 | ;extension=pdo_firebird 909 | ;extension=pdo_mysql 910 | ;extension=pdo_oci 911 | ;extension=pdo_odbc 912 | ;extension=pdo_pgsql 913 | ;extension=pdo_sqlite 914 | ;extension=pgsql 915 | ;extension=shmop 916 | 917 | ; The MIBS data available in the PHP distribution must be installed. 918 | ; See http://www.php.net/manual/en/snmp.installation.php 919 | ;extension=snmp 920 | 921 | ;extension=soap 922 | ;extension=sockets 923 | ;extension=sqlite3 924 | ;extension=tidy 925 | ;extension=xmlrpc 926 | ;extension=xsl 927 | 928 | ;;;;;;;;;;;;;;;;;;; 929 | ; Module Settings ; 930 | ;;;;;;;;;;;;;;;;;;; 931 | 932 | [CLI Server] 933 | ; Whether the CLI web server uses ANSI color coding in its terminal output. 934 | cli_server.color = On 935 | 936 | [Date] 937 | ; Defines the default timezone used by the date functions 938 | ; http://php.net/date.timezone 939 | ;date.timezone = 940 | 941 | ; http://php.net/date.default-latitude 942 | ;date.default_latitude = 31.7667 943 | 944 | ; http://php.net/date.default-longitude 945 | ;date.default_longitude = 35.2333 946 | 947 | ; http://php.net/date.sunrise-zenith 948 | ;date.sunrise_zenith = 90.583333 949 | 950 | ; http://php.net/date.sunset-zenith 951 | ;date.sunset_zenith = 90.583333 952 | 953 | [filter] 954 | ; http://php.net/filter.default 955 | ;filter.default = unsafe_raw 956 | 957 | ; http://php.net/filter.default-flags 958 | ;filter.default_flags = 959 | 960 | [iconv] 961 | ; Use of this INI entry is deprecated, use global input_encoding instead. 962 | ; If empty, default_charset or input_encoding or iconv.input_encoding is used. 963 | ; The precedence is: default_charset < intput_encoding < iconv.input_encoding 964 | ;iconv.input_encoding = 965 | 966 | ; Use of this INI entry is deprecated, use global internal_encoding instead. 967 | ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. 968 | ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding 969 | ;iconv.internal_encoding = 970 | 971 | ; Use of this INI entry is deprecated, use global output_encoding instead. 972 | ; If empty, default_charset or output_encoding or iconv.output_encoding is used. 973 | ; The precedence is: default_charset < output_encoding < iconv.output_encoding 974 | ; To use an output encoding conversion, iconv's output handler must be set 975 | ; otherwise output encoding conversion cannot be performed. 976 | ;iconv.output_encoding = 977 | 978 | [intl] 979 | ;intl.default_locale = 980 | ; This directive allows you to produce PHP errors when some error 981 | ; happens within intl functions. The value is the level of the error produced. 982 | ; Default is 0, which does not produce any errors. 983 | ;intl.error_level = E_WARNING 984 | ;intl.use_exceptions = 0 985 | 986 | [sqlite3] 987 | ;sqlite3.extension_dir = 988 | 989 | [Pcre] 990 | ;PCRE library backtracking limit. 991 | ; http://php.net/pcre.backtrack-limit 992 | ;pcre.backtrack_limit=100000 993 | 994 | ;PCRE library recursion limit. 995 | ;Please note that if you set this value to a high number you may consume all 996 | ;the available process stack and eventually crash PHP (due to reaching the 997 | ;stack size limit imposed by the Operating System). 998 | ; http://php.net/pcre.recursion-limit 999 | ;pcre.recursion_limit=100000 1000 | 1001 | ;Enables or disables JIT compilation of patterns. This requires the PCRE 1002 | ;library to be compiled with JIT support. 1003 | ;pcre.jit=1 1004 | 1005 | [Pdo] 1006 | ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" 1007 | ; http://php.net/pdo-odbc.connection-pooling 1008 | ;pdo_odbc.connection_pooling=strict 1009 | 1010 | ;pdo_odbc.db2_instance_name 1011 | 1012 | [Pdo_mysql] 1013 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 1014 | ; http://php.net/pdo_mysql.cache_size 1015 | pdo_mysql.cache_size = 2000 1016 | 1017 | ; Default socket name for local MySQL connects. If empty, uses the built-in 1018 | ; MySQL defaults. 1019 | ; http://php.net/pdo_mysql.default-socket 1020 | pdo_mysql.default_socket= 1021 | 1022 | [Phar] 1023 | ; http://php.net/phar.readonly 1024 | ;phar.readonly = On 1025 | 1026 | ; http://php.net/phar.require-hash 1027 | ;phar.require_hash = On 1028 | 1029 | ;phar.cache_list = 1030 | 1031 | [mail function] 1032 | ; For Win32 only. 1033 | ; http://php.net/smtp 1034 | SMTP = localhost 1035 | ; http://php.net/smtp-port 1036 | smtp_port = 25 1037 | 1038 | ; For Win32 only. 1039 | ; http://php.net/sendmail-from 1040 | ;sendmail_from = me@example.com 1041 | 1042 | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). 1043 | ; http://php.net/sendmail-path 1044 | ;sendmail_path = 1045 | 1046 | ; Force the addition of the specified parameters to be passed as extra parameters 1047 | ; to the sendmail binary. These parameters will always replace the value of 1048 | ; the 5th parameter to mail(). 1049 | ;mail.force_extra_parameters = 1050 | 1051 | ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename 1052 | mail.add_x_header = Off 1053 | 1054 | ; The path to a log file that will log all mail() calls. Log entries include 1055 | ; the full path of the script, line number, To address and headers. 1056 | ;mail.log = 1057 | ; Log mail to syslog (Event Log on Windows). 1058 | ;mail.log = syslog 1059 | 1060 | [ODBC] 1061 | ; http://php.net/odbc.default-db 1062 | ;odbc.default_db = Not yet implemented 1063 | 1064 | ; http://php.net/odbc.default-user 1065 | ;odbc.default_user = Not yet implemented 1066 | 1067 | ; http://php.net/odbc.default-pw 1068 | ;odbc.default_pw = Not yet implemented 1069 | 1070 | ; Controls the ODBC cursor model. 1071 | ; Default: SQL_CURSOR_STATIC (default). 1072 | ;odbc.default_cursortype 1073 | 1074 | ; Allow or prevent persistent links. 1075 | ; http://php.net/odbc.allow-persistent 1076 | odbc.allow_persistent = On 1077 | 1078 | ; Check that a connection is still valid before reuse. 1079 | ; http://php.net/odbc.check-persistent 1080 | odbc.check_persistent = On 1081 | 1082 | ; Maximum number of persistent links. -1 means no limit. 1083 | ; http://php.net/odbc.max-persistent 1084 | odbc.max_persistent = -1 1085 | 1086 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1087 | ; http://php.net/odbc.max-links 1088 | odbc.max_links = -1 1089 | 1090 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means 1091 | ; passthru. 1092 | ; http://php.net/odbc.defaultlrl 1093 | odbc.defaultlrl = 4096 1094 | 1095 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. 1096 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation 1097 | ; of odbc.defaultlrl and odbc.defaultbinmode 1098 | ; http://php.net/odbc.defaultbinmode 1099 | odbc.defaultbinmode = 1 1100 | 1101 | ;birdstep.max_links = -1 1102 | 1103 | [Interbase] 1104 | ; Allow or prevent persistent links. 1105 | ibase.allow_persistent = 1 1106 | 1107 | ; Maximum number of persistent links. -1 means no limit. 1108 | ibase.max_persistent = -1 1109 | 1110 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1111 | ibase.max_links = -1 1112 | 1113 | ; Default database name for ibase_connect(). 1114 | ;ibase.default_db = 1115 | 1116 | ; Default username for ibase_connect(). 1117 | ;ibase.default_user = 1118 | 1119 | ; Default password for ibase_connect(). 1120 | ;ibase.default_password = 1121 | 1122 | ; Default charset for ibase_connect(). 1123 | ;ibase.default_charset = 1124 | 1125 | ; Default timestamp format. 1126 | ibase.timestampformat = "%Y-%m-%d %H:%M:%S" 1127 | 1128 | ; Default date format. 1129 | ibase.dateformat = "%Y-%m-%d" 1130 | 1131 | ; Default time format. 1132 | ibase.timeformat = "%H:%M:%S" 1133 | 1134 | [MySQLi] 1135 | 1136 | ; Maximum number of persistent links. -1 means no limit. 1137 | ; http://php.net/mysqli.max-persistent 1138 | mysqli.max_persistent = -1 1139 | 1140 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements 1141 | ; http://php.net/mysqli.allow_local_infile 1142 | ;mysqli.allow_local_infile = On 1143 | 1144 | ; Allow or prevent persistent links. 1145 | ; http://php.net/mysqli.allow-persistent 1146 | mysqli.allow_persistent = On 1147 | 1148 | ; Maximum number of links. -1 means no limit. 1149 | ; http://php.net/mysqli.max-links 1150 | mysqli.max_links = -1 1151 | 1152 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 1153 | ; http://php.net/mysqli.cache_size 1154 | mysqli.cache_size = 2000 1155 | 1156 | ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use 1157 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 1158 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 1159 | ; at MYSQL_PORT. 1160 | ; http://php.net/mysqli.default-port 1161 | mysqli.default_port = 3306 1162 | 1163 | ; Default socket name for local MySQL connects. If empty, uses the built-in 1164 | ; MySQL defaults. 1165 | ; http://php.net/mysqli.default-socket 1166 | mysqli.default_socket = 1167 | 1168 | ; Default host for mysql_connect() (doesn't apply in safe mode). 1169 | ; http://php.net/mysqli.default-host 1170 | mysqli.default_host = 1171 | 1172 | ; Default user for mysql_connect() (doesn't apply in safe mode). 1173 | ; http://php.net/mysqli.default-user 1174 | mysqli.default_user = 1175 | 1176 | ; Default password for mysqli_connect() (doesn't apply in safe mode). 1177 | ; Note that this is generally a *bad* idea to store passwords in this file. 1178 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") 1179 | ; and reveal this password! And of course, any users with read access to this 1180 | ; file will be able to reveal the password as well. 1181 | ; http://php.net/mysqli.default-pw 1182 | mysqli.default_pw = 1183 | 1184 | ; Allow or prevent reconnect 1185 | mysqli.reconnect = Off 1186 | 1187 | [mysqlnd] 1188 | ; Enable / Disable collection of general statistics by mysqlnd which can be 1189 | ; used to tune and monitor MySQL operations. 1190 | ; http://php.net/mysqlnd.collect_statistics 1191 | mysqlnd.collect_statistics = On 1192 | 1193 | ; Enable / Disable collection of memory usage statistics by mysqlnd which can be 1194 | ; used to tune and monitor MySQL operations. 1195 | ; http://php.net/mysqlnd.collect_memory_statistics 1196 | mysqlnd.collect_memory_statistics = Off 1197 | 1198 | ; Records communication from all extensions using mysqlnd to the specified log 1199 | ; file. 1200 | ; http://php.net/mysqlnd.debug 1201 | ;mysqlnd.debug = 1202 | 1203 | ; Defines which queries will be logged. 1204 | ; http://php.net/mysqlnd.log_mask 1205 | ;mysqlnd.log_mask = 0 1206 | 1207 | ; Default size of the mysqlnd memory pool, which is used by result sets. 1208 | ; http://php.net/mysqlnd.mempool_default_size 1209 | ;mysqlnd.mempool_default_size = 16000 1210 | 1211 | ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. 1212 | ; http://php.net/mysqlnd.net_cmd_buffer_size 1213 | ;mysqlnd.net_cmd_buffer_size = 2048 1214 | 1215 | ; Size of a pre-allocated buffer used for reading data sent by the server in 1216 | ; bytes. 1217 | ; http://php.net/mysqlnd.net_read_buffer_size 1218 | ;mysqlnd.net_read_buffer_size = 32768 1219 | 1220 | ; Timeout for network requests in seconds. 1221 | ; http://php.net/mysqlnd.net_read_timeout 1222 | ;mysqlnd.net_read_timeout = 31536000 1223 | 1224 | ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA 1225 | ; key. 1226 | ; http://php.net/mysqlnd.sha256_server_public_key 1227 | ;mysqlnd.sha256_server_public_key = 1228 | 1229 | [OCI8] 1230 | 1231 | ; Connection: Enables privileged connections using external 1232 | ; credentials (OCI_SYSOPER, OCI_SYSDBA) 1233 | ; http://php.net/oci8.privileged-connect 1234 | ;oci8.privileged_connect = Off 1235 | 1236 | ; Connection: The maximum number of persistent OCI8 connections per 1237 | ; process. Using -1 means no limit. 1238 | ; http://php.net/oci8.max-persistent 1239 | ;oci8.max_persistent = -1 1240 | 1241 | ; Connection: The maximum number of seconds a process is allowed to 1242 | ; maintain an idle persistent connection. Using -1 means idle 1243 | ; persistent connections will be maintained forever. 1244 | ; http://php.net/oci8.persistent-timeout 1245 | ;oci8.persistent_timeout = -1 1246 | 1247 | ; Connection: The number of seconds that must pass before issuing a 1248 | ; ping during oci_pconnect() to check the connection validity. When 1249 | ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables 1250 | ; pings completely. 1251 | ; http://php.net/oci8.ping-interval 1252 | ;oci8.ping_interval = 60 1253 | 1254 | ; Connection: Set this to a user chosen connection class to be used 1255 | ; for all pooled server requests with Oracle 11g Database Resident 1256 | ; Connection Pooling (DRCP). To use DRCP, this value should be set to 1257 | ; the same string for all web servers running the same application, 1258 | ; the database pool must be configured, and the connection string must 1259 | ; specify to use a pooled server. 1260 | ;oci8.connection_class = 1261 | 1262 | ; High Availability: Using On lets PHP receive Fast Application 1263 | ; Notification (FAN) events generated when a database node fails. The 1264 | ; database must also be configured to post FAN events. 1265 | ;oci8.events = Off 1266 | 1267 | ; Tuning: This option enables statement caching, and specifies how 1268 | ; many statements to cache. Using 0 disables statement caching. 1269 | ; http://php.net/oci8.statement-cache-size 1270 | ;oci8.statement_cache_size = 20 1271 | 1272 | ; Tuning: Enables statement prefetching and sets the default number of 1273 | ; rows that will be fetched automatically after statement execution. 1274 | ; http://php.net/oci8.default-prefetch 1275 | ;oci8.default_prefetch = 100 1276 | 1277 | ; Compatibility. Using On means oci_close() will not close 1278 | ; oci_connect() and oci_new_connect() connections. 1279 | ; http://php.net/oci8.old-oci-close-semantics 1280 | ;oci8.old_oci_close_semantics = Off 1281 | 1282 | [PostgreSQL] 1283 | ; Allow or prevent persistent links. 1284 | ; http://php.net/pgsql.allow-persistent 1285 | pgsql.allow_persistent = On 1286 | 1287 | ; Detect broken persistent links always with pg_pconnect(). 1288 | ; Auto reset feature requires a little overheads. 1289 | ; http://php.net/pgsql.auto-reset-persistent 1290 | pgsql.auto_reset_persistent = Off 1291 | 1292 | ; Maximum number of persistent links. -1 means no limit. 1293 | ; http://php.net/pgsql.max-persistent 1294 | pgsql.max_persistent = -1 1295 | 1296 | ; Maximum number of links (persistent+non persistent). -1 means no limit. 1297 | ; http://php.net/pgsql.max-links 1298 | pgsql.max_links = -1 1299 | 1300 | ; Ignore PostgreSQL backends Notice message or not. 1301 | ; Notice message logging require a little overheads. 1302 | ; http://php.net/pgsql.ignore-notice 1303 | pgsql.ignore_notice = 0 1304 | 1305 | ; Log PostgreSQL backends Notice message or not. 1306 | ; Unless pgsql.ignore_notice=0, module cannot log notice message. 1307 | ; http://php.net/pgsql.log-notice 1308 | pgsql.log_notice = 0 1309 | 1310 | [bcmath] 1311 | ; Number of decimal digits for all bcmath functions. 1312 | ; http://php.net/bcmath.scale 1313 | bcmath.scale = 0 1314 | 1315 | [browscap] 1316 | ; http://php.net/browscap 1317 | ;browscap = extra/browscap.ini 1318 | 1319 | [Session] 1320 | ; Handler used to store/retrieve data. 1321 | ; http://php.net/session.save-handler 1322 | session.save_handler = files 1323 | 1324 | ; Argument passed to save_handler. In the case of files, this is the path 1325 | ; where data files are stored. Note: Windows users have to change this 1326 | ; variable in order to use PHP's session functions. 1327 | ; 1328 | ; The path can be defined as: 1329 | ; 1330 | ; session.save_path = "N;/path" 1331 | ; 1332 | ; where N is an integer. Instead of storing all the session files in 1333 | ; /path, what this will do is use subdirectories N-levels deep, and 1334 | ; store the session data in those directories. This is useful if 1335 | ; your OS has problems with many files in one directory, and is 1336 | ; a more efficient layout for servers that handle many sessions. 1337 | ; 1338 | ; NOTE 1: PHP will not create this directory structure automatically. 1339 | ; You can use the script in the ext/session dir for that purpose. 1340 | ; NOTE 2: See the section on garbage collection below if you choose to 1341 | ; use subdirectories for session storage 1342 | ; 1343 | ; The file storage module creates files using mode 600 by default. 1344 | ; You can change that by using 1345 | ; 1346 | ; session.save_path = "N;MODE;/path" 1347 | ; 1348 | ; where MODE is the octal representation of the mode. Note that this 1349 | ; does not overwrite the process's umask. 1350 | ; http://php.net/session.save-path 1351 | ;session.save_path = "/tmp" 1352 | 1353 | ; Whether to use strict session mode. 1354 | ; Strict session mode does not accept uninitialized session ID and regenerate 1355 | ; session ID if browser sends uninitialized session ID. Strict mode protects 1356 | ; applications from session fixation via session adoption vulnerability. It is 1357 | ; disabled by default for maximum compatibility, but enabling it is encouraged. 1358 | ; https://wiki.php.net/rfc/strict_sessions 1359 | session.use_strict_mode = 0 1360 | 1361 | ; Whether to use cookies. 1362 | ; http://php.net/session.use-cookies 1363 | session.use_cookies = 1 1364 | 1365 | ; http://php.net/session.cookie-secure 1366 | ;session.cookie_secure = 1367 | 1368 | ; This option forces PHP to fetch and use a cookie for storing and maintaining 1369 | ; the session id. We encourage this operation as it's very helpful in combating 1370 | ; session hijacking when not specifying and managing your own session id. It is 1371 | ; not the be-all and end-all of session hijacking defense, but it's a good start. 1372 | ; http://php.net/session.use-only-cookies 1373 | session.use_only_cookies = 1 1374 | 1375 | ; Name of the session (used as cookie name). 1376 | ; http://php.net/session.name 1377 | session.name = PHPSESSID 1378 | 1379 | ; Initialize session on request startup. 1380 | ; http://php.net/session.auto-start 1381 | session.auto_start = 0 1382 | 1383 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted. 1384 | ; http://php.net/session.cookie-lifetime 1385 | session.cookie_lifetime = 0 1386 | 1387 | ; The path for which the cookie is valid. 1388 | ; http://php.net/session.cookie-path 1389 | session.cookie_path = / 1390 | 1391 | ; The domain for which the cookie is valid. 1392 | ; http://php.net/session.cookie-domain 1393 | session.cookie_domain = 1394 | 1395 | ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. 1396 | ; http://php.net/session.cookie-httponly 1397 | session.cookie_httponly = 1398 | 1399 | ; Handler used to serialize data. php is the standard serializer of PHP. 1400 | ; http://php.net/session.serialize-handler 1401 | session.serialize_handler = php 1402 | 1403 | ; Defines the probability that the 'garbage collection' process is started 1404 | ; on every session initialization. The probability is calculated by using 1405 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator 1406 | ; and gc_divisor is the denominator in the equation. Setting this value to 1 1407 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1408 | ; the gc will run on any give request. 1409 | ; Default Value: 1 1410 | ; Development Value: 1 1411 | ; Production Value: 1 1412 | ; http://php.net/session.gc-probability 1413 | session.gc_probability = 1 1414 | 1415 | ; Defines the probability that the 'garbage collection' process is started on every 1416 | ; session initialization. The probability is calculated by using the following equation: 1417 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and 1418 | ; session.gc_divisor is the denominator in the equation. Setting this value to 1 1419 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1420 | ; the gc will run on any give request. Increasing this value to 1000 will give you 1421 | ; a 0.1% chance the gc will run on any give request. For high volume production servers, 1422 | ; this is a more efficient approach. 1423 | ; Default Value: 100 1424 | ; Development Value: 1000 1425 | ; Production Value: 1000 1426 | ; http://php.net/session.gc-divisor 1427 | session.gc_divisor = 1000 1428 | 1429 | ; After this number of seconds, stored data will be seen as 'garbage' and 1430 | ; cleaned up by the garbage collection process. 1431 | ; http://php.net/session.gc-maxlifetime 1432 | session.gc_maxlifetime = 1440 1433 | 1434 | ; NOTE: If you are using the subdirectory option for storing session files 1435 | ; (see session.save_path above), then garbage collection does *not* 1436 | ; happen automatically. You will need to do your own garbage 1437 | ; collection through a shell script, cron entry, or some other method. 1438 | ; For example, the following script would is the equivalent of 1439 | ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): 1440 | ; find /path/to/sessions -cmin +24 -type f | xargs rm 1441 | 1442 | ; Check HTTP Referer to invalidate externally stored URLs containing ids. 1443 | ; HTTP_REFERER has to contain this substring for the session to be 1444 | ; considered as valid. 1445 | ; http://php.net/session.referer-check 1446 | session.referer_check = 1447 | 1448 | ; Set to {nocache,private,public,} to determine HTTP caching aspects 1449 | ; or leave this empty to avoid sending anti-caching headers. 1450 | ; http://php.net/session.cache-limiter 1451 | session.cache_limiter = nocache 1452 | 1453 | ; Document expires after n minutes. 1454 | ; http://php.net/session.cache-expire 1455 | session.cache_expire = 180 1456 | 1457 | ; trans sid support is disabled by default. 1458 | ; Use of trans sid may risk your users' security. 1459 | ; Use this option with caution. 1460 | ; - User may send URL contains active session ID 1461 | ; to other person via. email/irc/etc. 1462 | ; - URL that contains active session ID may be stored 1463 | ; in publicly accessible computer. 1464 | ; - User may access your site with the same session ID 1465 | ; always using URL stored in browser's history or bookmarks. 1466 | ; http://php.net/session.use-trans-sid 1467 | session.use_trans_sid = 0 1468 | 1469 | ; Set session ID character length. This value could be between 22 to 256. 1470 | ; Shorter length than default is supported only for compatibility reason. 1471 | ; Users should use 32 or more chars. 1472 | ; http://php.net/session.sid-length 1473 | ; Default Value: 32 1474 | ; Development Value: 26 1475 | ; Production Value: 26 1476 | session.sid_length = 26 1477 | 1478 | ; The URL rewriter will look for URLs in a defined set of HTML tags. 1479 | ;
is special; if you include them here, the rewriter will 1480 | ; add a hidden field with the info which is otherwise appended 1481 | ; to URLs. tag's action attribute URL will not be modified 1482 | ; unless it is specified. 1483 | ; Note that all valid entries require a "=", even if no value follows. 1484 | ; Default Value: "a=href,area=href,frame=src,form=" 1485 | ; Development Value: "a=href,area=href,frame=src,form=" 1486 | ; Production Value: "a=href,area=href,frame=src,form=" 1487 | ; http://php.net/url-rewriter.tags 1488 | session.trans_sid_tags = "a=href,area=href,frame=src,form=" 1489 | 1490 | ; URL rewriter does not rewrite absolute URLs by default. 1491 | ; To enable rewrites for absolute pathes, target hosts must be specified 1492 | ; at RUNTIME. i.e. use ini_set() 1493 | ; tags is special. PHP will check action attribute's URL regardless 1494 | ; of session.trans_sid_tags setting. 1495 | ; If no host is defined, HTTP_HOST will be used for allowed host. 1496 | ; Example value: php.net,www.php.net,wiki.php.net 1497 | ; Use "," for multiple hosts. No spaces are allowed. 1498 | ; Default Value: "" 1499 | ; Development Value: "" 1500 | ; Production Value: "" 1501 | ;session.trans_sid_hosts="" 1502 | 1503 | ; Define how many bits are stored in each character when converting 1504 | ; the binary hash data to something readable. 1505 | ; Possible values: 1506 | ; 4 (4 bits: 0-9, a-f) 1507 | ; 5 (5 bits: 0-9, a-v) 1508 | ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",") 1509 | ; Default Value: 4 1510 | ; Development Value: 5 1511 | ; Production Value: 5 1512 | ; http://php.net/session.hash-bits-per-character 1513 | session.sid_bits_per_character = 5 1514 | 1515 | ; Enable upload progress tracking in $_SESSION 1516 | ; Default Value: On 1517 | ; Development Value: On 1518 | ; Production Value: On 1519 | ; http://php.net/session.upload-progress.enabled 1520 | ;session.upload_progress.enabled = On 1521 | 1522 | ; Cleanup the progress information as soon as all POST data has been read 1523 | ; (i.e. upload completed). 1524 | ; Default Value: On 1525 | ; Development Value: On 1526 | ; Production Value: On 1527 | ; http://php.net/session.upload-progress.cleanup 1528 | ;session.upload_progress.cleanup = On 1529 | 1530 | ; A prefix used for the upload progress key in $_SESSION 1531 | ; Default Value: "upload_progress_" 1532 | ; Development Value: "upload_progress_" 1533 | ; Production Value: "upload_progress_" 1534 | ; http://php.net/session.upload-progress.prefix 1535 | ;session.upload_progress.prefix = "upload_progress_" 1536 | 1537 | ; The index name (concatenated with the prefix) in $_SESSION 1538 | ; containing the upload progress information 1539 | ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS" 1540 | ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS" 1541 | ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS" 1542 | ; http://php.net/session.upload-progress.name 1543 | ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS" 1544 | 1545 | ; How frequently the upload progress should be updated. 1546 | ; Given either in percentages (per-file), or in bytes 1547 | ; Default Value: "1%" 1548 | ; Development Value: "1%" 1549 | ; Production Value: "1%" 1550 | ; http://php.net/session.upload-progress.freq 1551 | ;session.upload_progress.freq = "1%" 1552 | 1553 | ; The minimum delay between updates, in seconds 1554 | ; Default Value: 1 1555 | ; Development Value: 1 1556 | ; Production Value: 1 1557 | ; http://php.net/session.upload-progress.min-freq 1558 | ;session.upload_progress.min_freq = "1" 1559 | 1560 | ; Only write session data when session data is changed. Enabled by default. 1561 | ; http://php.net/session.lazy-write 1562 | ;session.lazy_write = On 1563 | 1564 | [Assertion] 1565 | ; Switch whether to compile assertions at all (to have no overhead at run-time) 1566 | ; -1: Do not compile at all 1567 | ; 0: Jump over assertion at run-time 1568 | ; 1: Execute assertions 1569 | ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1) 1570 | ; Default Value: 1 1571 | ; Development Value: 1 1572 | ; Production Value: -1 1573 | ; http://php.net/zend.assertions 1574 | zend.assertions = -1 1575 | 1576 | ; Assert(expr); active by default. 1577 | ; http://php.net/assert.active 1578 | ;assert.active = On 1579 | 1580 | ; Throw an AssertationException on failed assertions 1581 | ; http://php.net/assert.exception 1582 | ;assert.exception = On 1583 | 1584 | ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active) 1585 | ; http://php.net/assert.warning 1586 | ;assert.warning = On 1587 | 1588 | ; Don't bail out by default. 1589 | ; http://php.net/assert.bail 1590 | ;assert.bail = Off 1591 | 1592 | ; User-function to be called if an assertion fails. 1593 | ; http://php.net/assert.callback 1594 | ;assert.callback = 0 1595 | 1596 | ; Eval the expression with current error_reporting(). Set to true if you want 1597 | ; error_reporting(0) around the eval(). 1598 | ; http://php.net/assert.quiet-eval 1599 | ;assert.quiet_eval = 0 1600 | 1601 | [COM] 1602 | ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs 1603 | ; http://php.net/com.typelib-file 1604 | ;com.typelib_file = 1605 | 1606 | ; allow Distributed-COM calls 1607 | ; http://php.net/com.allow-dcom 1608 | ;com.allow_dcom = true 1609 | 1610 | ; autoregister constants of a components typlib on com_load() 1611 | ; http://php.net/com.autoregister-typelib 1612 | ;com.autoregister_typelib = true 1613 | 1614 | ; register constants casesensitive 1615 | ; http://php.net/com.autoregister-casesensitive 1616 | ;com.autoregister_casesensitive = false 1617 | 1618 | ; show warnings on duplicate constant registrations 1619 | ; http://php.net/com.autoregister-verbose 1620 | ;com.autoregister_verbose = true 1621 | 1622 | ; The default character set code-page to use when passing strings to and from COM objects. 1623 | ; Default: system ANSI code page 1624 | ;com.code_page= 1625 | 1626 | [mbstring] 1627 | ; language for internal character representation. 1628 | ; This affects mb_send_mail() and mbstring.detect_order. 1629 | ; http://php.net/mbstring.language 1630 | ;mbstring.language = Japanese 1631 | 1632 | ; Use of this INI entry is deprecated, use global internal_encoding instead. 1633 | ; internal/script encoding. 1634 | ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*) 1635 | ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. 1636 | ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding 1637 | ;mbstring.internal_encoding = 1638 | 1639 | ; Use of this INI entry is deprecated, use global input_encoding instead. 1640 | ; http input encoding. 1641 | ; mbstring.encoding_traslation = On is needed to use this setting. 1642 | ; If empty, default_charset or input_encoding or mbstring.input is used. 1643 | ; The precedence is: default_charset < intput_encoding < mbsting.http_input 1644 | ; http://php.net/mbstring.http-input 1645 | ;mbstring.http_input = 1646 | 1647 | ; Use of this INI entry is deprecated, use global output_encoding instead. 1648 | ; http output encoding. 1649 | ; mb_output_handler must be registered as output buffer to function. 1650 | ; If empty, default_charset or output_encoding or mbstring.http_output is used. 1651 | ; The precedence is: default_charset < output_encoding < mbstring.http_output 1652 | ; To use an output encoding conversion, mbstring's output handler must be set 1653 | ; otherwise output encoding conversion cannot be performed. 1654 | ; http://php.net/mbstring.http-output 1655 | ;mbstring.http_output = 1656 | 1657 | ; enable automatic encoding translation according to 1658 | ; mbstring.internal_encoding setting. Input chars are 1659 | ; converted to internal encoding by setting this to On. 1660 | ; Note: Do _not_ use automatic encoding translation for 1661 | ; portable libs/applications. 1662 | ; http://php.net/mbstring.encoding-translation 1663 | ;mbstring.encoding_translation = Off 1664 | 1665 | ; automatic encoding detection order. 1666 | ; "auto" detect order is changed according to mbstring.language 1667 | ; http://php.net/mbstring.detect-order 1668 | ;mbstring.detect_order = auto 1669 | 1670 | ; substitute_character used when character cannot be converted 1671 | ; one from another 1672 | ; http://php.net/mbstring.substitute-character 1673 | ;mbstring.substitute_character = none 1674 | 1675 | ; overload(replace) single byte functions by mbstring functions. 1676 | ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(), 1677 | ; etc. Possible values are 0,1,2,4 or combination of them. 1678 | ; For example, 7 for overload everything. 1679 | ; 0: No overload 1680 | ; 1: Overload mail() function 1681 | ; 2: Overload str*() functions 1682 | ; 4: Overload ereg*() functions 1683 | ; http://php.net/mbstring.func-overload 1684 | ;mbstring.func_overload = 0 1685 | 1686 | ; enable strict encoding detection. 1687 | ; Default: Off 1688 | ;mbstring.strict_detection = On 1689 | 1690 | ; This directive specifies the regex pattern of content types for which mb_output_handler() 1691 | ; is activated. 1692 | ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml) 1693 | ;mbstring.http_output_conv_mimetype= 1694 | 1695 | [gd] 1696 | ; Tell the jpeg decode to ignore warnings and try to create 1697 | ; a gd image. The warning will then be displayed as notices 1698 | ; disabled by default 1699 | ; http://php.net/gd.jpeg-ignore-warning 1700 | ;gd.jpeg_ignore_warning = 1 1701 | 1702 | [exif] 1703 | ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 1704 | ; With mbstring support this will automatically be converted into the encoding 1705 | ; given by corresponding encode setting. When empty mbstring.internal_encoding 1706 | ; is used. For the decode settings you can distinguish between motorola and 1707 | ; intel byte order. A decode setting cannot be empty. 1708 | ; http://php.net/exif.encode-unicode 1709 | ;exif.encode_unicode = ISO-8859-15 1710 | 1711 | ; http://php.net/exif.decode-unicode-motorola 1712 | ;exif.decode_unicode_motorola = UCS-2BE 1713 | 1714 | ; http://php.net/exif.decode-unicode-intel 1715 | ;exif.decode_unicode_intel = UCS-2LE 1716 | 1717 | ; http://php.net/exif.encode-jis 1718 | ;exif.encode_jis = 1719 | 1720 | ; http://php.net/exif.decode-jis-motorola 1721 | ;exif.decode_jis_motorola = JIS 1722 | 1723 | ; http://php.net/exif.decode-jis-intel 1724 | ;exif.decode_jis_intel = JIS 1725 | 1726 | [Tidy] 1727 | ; The path to a default tidy configuration file to use when using tidy 1728 | ; http://php.net/tidy.default-config 1729 | ;tidy.default_config = /usr/local/lib/php/default.tcfg 1730 | 1731 | ; Should tidy clean and repair output automatically? 1732 | ; WARNING: Do not use this option if you are generating non-html content 1733 | ; such as dynamic images 1734 | ; http://php.net/tidy.clean-output 1735 | tidy.clean_output = Off 1736 | 1737 | [soap] 1738 | ; Enables or disables WSDL caching feature. 1739 | ; http://php.net/soap.wsdl-cache-enabled 1740 | soap.wsdl_cache_enabled=1 1741 | 1742 | ; Sets the directory name where SOAP extension will put cache files. 1743 | ; http://php.net/soap.wsdl-cache-dir 1744 | soap.wsdl_cache_dir="/tmp" 1745 | 1746 | ; (time to live) Sets the number of second while cached file will be used 1747 | ; instead of original one. 1748 | ; http://php.net/soap.wsdl-cache-ttl 1749 | soap.wsdl_cache_ttl=86400 1750 | 1751 | ; Sets the size of the cache limit. (Max. number of WSDL files to cache) 1752 | soap.wsdl_cache_limit = 5 1753 | 1754 | [sysvshm] 1755 | ; A default size of the shared memory segment 1756 | ;sysvshm.init_mem = 10000 1757 | 1758 | [ldap] 1759 | ; Sets the maximum number of open links or -1 for unlimited. 1760 | ldap.max_links = -1 1761 | 1762 | [dba] 1763 | ;dba.default_handler= 1764 | 1765 | [opcache] 1766 | ; Determines if Zend OPCache is enabled 1767 | opcache.enable=1 1768 | 1769 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 1770 | opcache.enable_cli=0 1771 | 1772 | ; The OPcache shared memory storage size. 1773 | opcache.memory_consumption=256 1774 | 1775 | ; The amount of memory for interned strings in Mbytes. 1776 | opcache.interned_strings_buffer=8 1777 | 1778 | ; The maximum number of keys (scripts) in the OPcache hash table. 1779 | ; Only numbers between 200 and 1000000 are allowed. 1780 | opcache.max_accelerated_files=10000 1781 | 1782 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 1783 | ;opcache.max_wasted_percentage=5 1784 | 1785 | ; When this directive is enabled, the OPcache appends the current working 1786 | ; directory to the script key, thus eliminating possible collisions between 1787 | ; files with the same name (basename). Disabling the directive improves 1788 | ; performance, but may break existing applications. 1789 | ;opcache.use_cwd=1 1790 | 1791 | ; When disabled, you must reset the OPcache manually or restart the 1792 | ; webserver for changes to the filesystem to take effect. 1793 | ;opcache.validate_timestamps=1 1794 | 1795 | ; How often (in seconds) to check file timestamps for changes to the shared 1796 | ; memory storage allocation. ("1" means validate once per second, but only 1797 | ; once per request. "0" means always validate) 1798 | ;opcache.revalidate_freq=2 1799 | 1800 | ; Enables or disables file search in include_path optimization 1801 | ;opcache.revalidate_path=0 1802 | 1803 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 1804 | ; size of the optimized code. 1805 | opcache.save_comments=0 1806 | 1807 | ; Allow file existence override (file_exists, etc.) performance feature. 1808 | ;opcache.enable_file_override=0 1809 | 1810 | ; A bitmask, where each bit enables or disables the appropriate OPcache 1811 | ; passes 1812 | ;opcache.optimization_level=0xffffffff 1813 | 1814 | ;opcache.inherited_hack=1 1815 | ;opcache.dups_fix=0 1816 | 1817 | ; The location of the OPcache blacklist file (wildcards allowed). 1818 | ; Each OPcache blacklist file is a text file that holds the names of files 1819 | ; that should not be accelerated. The file format is to add each filename 1820 | ; to a new line. The filename may be a full path or just a file prefix 1821 | ; (i.e., /var/www/x blacklists all the files and directories in /var/www 1822 | ; that start with 'x'). Line starting with a ; are ignored (comments). 1823 | ;opcache.blacklist_filename= 1824 | 1825 | ; Allows exclusion of large files from being cached. By default all files 1826 | ; are cached. 1827 | ;opcache.max_file_size=0 1828 | 1829 | ; Check the cache checksum each N requests. 1830 | ; The default value of "0" means that the checks are disabled. 1831 | ;opcache.consistency_checks=0 1832 | 1833 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 1834 | ; is not being accessed. 1835 | ;opcache.force_restart_timeout=180 1836 | 1837 | ; OPcache error_log file name. Empty string assumes "stderr". 1838 | ;opcache.error_log= 1839 | 1840 | ; All OPcache errors go to the Web server log. 1841 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 1842 | ; You can also enable warnings (level 2), info messages (level 3) or 1843 | ; debug messages (level 4). 1844 | ;opcache.log_verbosity_level=1 1845 | 1846 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 1847 | ;opcache.preferred_memory_model= 1848 | 1849 | ; Protect the shared memory from unexpected writing during script execution. 1850 | ; Useful for internal debugging only. 1851 | ;opcache.protect_memory=0 1852 | 1853 | ; Allows calling OPcache API functions only from PHP scripts which path is 1854 | ; started from specified string. The default "" means no restriction 1855 | ;opcache.restrict_api= 1856 | 1857 | ; Mapping base of shared memory segments (for Windows only). All the PHP 1858 | ; processes have to map shared memory into the same address space. This 1859 | ; directive allows to manually fix the "Unable to reattach to base address" 1860 | ; errors. 1861 | ;opcache.mmap_base= 1862 | 1863 | ; Enables and sets the second level cache directory. 1864 | ; It should improve performance when SHM memory is full, at server restart or 1865 | ; SHM reset. The default "" disables file based caching. 1866 | ;opcache.file_cache= 1867 | 1868 | ; Enables or disables opcode caching in shared memory. 1869 | ;opcache.file_cache_only=0 1870 | 1871 | ; Enables or disables checksum validation when script loaded from file cache. 1872 | ;opcache.file_cache_consistency_checks=1 1873 | 1874 | ; Implies opcache.file_cache_only=1 for a certain process that failed to 1875 | ; reattach to the shared memory (for Windows only). Explicitly enabled file 1876 | ; cache is required. 1877 | ;opcache.file_cache_fallback=1 1878 | 1879 | ; Enables or disables copying of PHP code (text segment) into HUGE PAGES. 1880 | ; This should improve performance, but requires appropriate OS configuration. 1881 | ;opcache.huge_code_pages=1 1882 | 1883 | ; Validate cached file permissions. 1884 | ;opcache.validate_permission=0 1885 | 1886 | ; Prevent name collisions in chroot'ed environment. 1887 | ;opcache.validate_root=0 1888 | 1889 | ; If specified, it produces opcode dumps for debugging different stages of 1890 | ; optimizations. 1891 | ;opcache.opt_debug_level=0 1892 | 1893 | [curl] 1894 | ; A default value for the CURLOPT_CAINFO option. This is required to be an 1895 | ; absolute path. 1896 | ;curl.cainfo = 1897 | 1898 | [openssl] 1899 | ; The location of a Certificate Authority (CA) file on the local filesystem 1900 | ; to use when verifying the identity of SSL/TLS peers. Most users should 1901 | ; not specify a value for this directive as PHP will attempt to use the 1902 | ; OS-managed cert stores in its absence. If specified, this value may still 1903 | ; be overridden on a per-stream basis via the "cafile" SSL stream context 1904 | ; option. 1905 | ;openssl.cafile= 1906 | 1907 | ; If openssl.cafile is not specified or if the CA file is not found, the 1908 | ; directory pointed to by openssl.capath is searched for a suitable 1909 | ; certificate. This value must be a correctly hashed certificate directory. 1910 | ; Most users should not specify a value for this directive as PHP will 1911 | ; attempt to use the OS-managed cert stores in its absence. If specified, 1912 | ; this value may still be overridden on a per-stream basis via the "capath" 1913 | ; SSL stream context option. 1914 | ;openssl.capath= 1915 | 1916 | ; Local Variables: 1917 | ; tab-width: 4 1918 | ; End: 1919 | -------------------------------------------------------------------------------- /docker/www.conf: -------------------------------------------------------------------------------- 1 | [www] 2 | user = nobody 3 | group = nobody 4 | listen = /tmp/php7-fpm.sock 5 | listen.owner = nobody 6 | listen.group = nobody 7 | pm = static 8 | pm.max_children = 2 9 | -------------------------------------------------------------------------------- /now.json: -------------------------------------------------------------------------------- 1 | { 2 | "public": true, 3 | "features": { 4 | "cloud": "v2" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /readme-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eivindml/docker-craft-nginx/9bd64f4bcbfd6373ec74832bdf1d9c10dfa7cbd7/readme-banner.png -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | ![](readme-banner.png) 2 | 3 |

4 | Minmal working example of a Docker container for Craft CMS using nginx and alpine. 5 |

6 | 7 | [![](https://images.microbadger.com/badges/image/eivindml/docker-craft-nginx.svg)](https://microbadger.com/images/eivindml/docker-craft-nginx "Get your own image badge on microbadger.com") 8 | [![](https://images.microbadger.com/badges/version/eivindml/docker-craft-nginx.svg)](https://microbadger.com/images/eivindml/docker-craft-nginx "Get your own version badge on microbadger.com") 9 | 10 | 11 | ## Goal 12 | 13 | Current image size is `176MB`. The goal is `100MB` to deploy it using `zeit/now`. 14 | 15 | ## Usage 16 | 17 | Rename `.env.example` to `.env` and edit the configurations. 18 | 19 | ``` 20 | docker-compose build 21 | docker-compose up 22 | ``` 23 | -------------------------------------------------------------------------------- /src/.env.example: -------------------------------------------------------------------------------- 1 | # The environment Craft is currently running in ('dev', 'staging', 'production', etc.) 2 | ENVIRONMENT="dev" 3 | 4 | # The secure key Craft will use for hashing and encrypting data 5 | SECURITY_KEY="" 6 | 7 | # The database driver that will be used ('mysql' or 'pgsql') 8 | DB_DRIVER="mysql" 9 | 10 | # The database server name or IP address (usually this is 'localhost' or '127.0.0.1') 11 | DB_SERVER="localhost" 12 | 13 | # The database username to connect with 14 | DB_USER="root" 15 | 16 | # The database password to connect with 17 | DB_PASSWORD="" 18 | 19 | # The name of the database to select 20 | DB_DATABASE="" 21 | 22 | # The database schema that will be used (PostgreSQL only) 23 | DB_SCHEMA="public" 24 | 25 | # The prefix that should be added to generated table names (only necessary if multiple things are sharing the same database) 26 | DB_TABLE_PREFIX="" 27 | 28 | # The port to connect to the database with. Will default to 5432 for PostgreSQL and 3306 for MySQL. 29 | DB_PORT="" 30 | -------------------------------------------------------------------------------- /src/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "craftcms/cms": "^3.0.0", 4 | "vlucas/phpdotenv": "^2.4.0" 5 | }, 6 | "autoload": { 7 | "psr-4": { 8 | "modules\\": "modules/" 9 | } 10 | }, 11 | "config": { 12 | "optimize-autoloader": true, 13 | "platform": { 14 | "php": "7.0" 15 | } 16 | }, 17 | "scripts": { 18 | "post-root-package-install": [ 19 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 20 | ] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", 5 | "This file is @generated automatically" 6 | ], 7 | "content-hash": "ed6e40d5680ef0b3d326fdb21b79a664", 8 | "packages": [ 9 | { 10 | "name": "cebe/markdown", 11 | "version": "1.1.2", 12 | "source": { 13 | "type": "git", 14 | "url": "https://github.com/cebe/markdown.git", 15 | "reference": "25b28bae8a6f185b5030673af77b32e1163d5c6e" 16 | }, 17 | "dist": { 18 | "type": "zip", 19 | "url": "https://api.github.com/repos/cebe/markdown/zipball/25b28bae8a6f185b5030673af77b32e1163d5c6e", 20 | "reference": "25b28bae8a6f185b5030673af77b32e1163d5c6e", 21 | "shasum": "" 22 | }, 23 | "require": { 24 | "lib-pcre": "*", 25 | "php": ">=5.4.0" 26 | }, 27 | "require-dev": { 28 | "cebe/indent": "*", 29 | "facebook/xhprof": "*@dev", 30 | "phpunit/phpunit": "4.1.*" 31 | }, 32 | "bin": [ 33 | "bin/markdown" 34 | ], 35 | "type": "library", 36 | "extra": { 37 | "branch-alias": { 38 | "dev-master": "1.1.x-dev" 39 | } 40 | }, 41 | "autoload": { 42 | "psr-4": { 43 | "cebe\\markdown\\": "" 44 | } 45 | }, 46 | "notification-url": "https://packagist.org/downloads/", 47 | "license": [ 48 | "MIT" 49 | ], 50 | "authors": [ 51 | { 52 | "name": "Carsten Brandt", 53 | "email": "mail@cebe.cc", 54 | "homepage": "http://cebe.cc/", 55 | "role": "Creator" 56 | } 57 | ], 58 | "description": "A super fast, highly extensible markdown parser for PHP", 59 | "homepage": "https://github.com/cebe/markdown#readme", 60 | "keywords": [ 61 | "extensible", 62 | "fast", 63 | "gfm", 64 | "markdown", 65 | "markdown-extra" 66 | ], 67 | "time": "2017-07-16T21:13:23+00:00" 68 | }, 69 | { 70 | "name": "composer/ca-bundle", 71 | "version": "1.1.2", 72 | "source": { 73 | "type": "git", 74 | "url": "https://github.com/composer/ca-bundle.git", 75 | "reference": "46afded9720f40b9dc63542af4e3e43a1177acb0" 76 | }, 77 | "dist": { 78 | "type": "zip", 79 | "url": "https://api.github.com/repos/composer/ca-bundle/zipball/46afded9720f40b9dc63542af4e3e43a1177acb0", 80 | "reference": "46afded9720f40b9dc63542af4e3e43a1177acb0", 81 | "shasum": "" 82 | }, 83 | "require": { 84 | "ext-openssl": "*", 85 | "ext-pcre": "*", 86 | "php": "^5.3.2 || ^7.0" 87 | }, 88 | "require-dev": { 89 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5", 90 | "psr/log": "^1.0", 91 | "symfony/process": "^2.5 || ^3.0 || ^4.0" 92 | }, 93 | "type": "library", 94 | "extra": { 95 | "branch-alias": { 96 | "dev-master": "1.x-dev" 97 | } 98 | }, 99 | "autoload": { 100 | "psr-4": { 101 | "Composer\\CaBundle\\": "src" 102 | } 103 | }, 104 | "notification-url": "https://packagist.org/downloads/", 105 | "license": [ 106 | "MIT" 107 | ], 108 | "authors": [ 109 | { 110 | "name": "Jordi Boggiano", 111 | "email": "j.boggiano@seld.be", 112 | "homepage": "http://seld.be" 113 | } 114 | ], 115 | "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", 116 | "keywords": [ 117 | "cabundle", 118 | "cacert", 119 | "certificate", 120 | "ssl", 121 | "tls" 122 | ], 123 | "time": "2018-08-08T08:57:40+00:00" 124 | }, 125 | { 126 | "name": "composer/composer", 127 | "version": "1.6.3", 128 | "source": { 129 | "type": "git", 130 | "url": "https://github.com/composer/composer.git", 131 | "reference": "88a69fda0f2187ad8714cedffd7a8872dceaa4c2" 132 | }, 133 | "dist": { 134 | "type": "zip", 135 | "url": "https://api.github.com/repos/composer/composer/zipball/88a69fda0f2187ad8714cedffd7a8872dceaa4c2", 136 | "reference": "88a69fda0f2187ad8714cedffd7a8872dceaa4c2", 137 | "shasum": "" 138 | }, 139 | "require": { 140 | "composer/ca-bundle": "^1.0", 141 | "composer/semver": "^1.0", 142 | "composer/spdx-licenses": "^1.2", 143 | "justinrainbow/json-schema": "^3.0 || ^4.0 || ^5.0", 144 | "php": "^5.3.2 || ^7.0", 145 | "psr/log": "^1.0", 146 | "seld/cli-prompt": "^1.0", 147 | "seld/jsonlint": "^1.4", 148 | "seld/phar-utils": "^1.0", 149 | "symfony/console": "^2.7 || ^3.0 || ^4.0", 150 | "symfony/filesystem": "^2.7 || ^3.0 || ^4.0", 151 | "symfony/finder": "^2.7 || ^3.0 || ^4.0", 152 | "symfony/process": "^2.7 || ^3.0 || ^4.0" 153 | }, 154 | "require-dev": { 155 | "phpunit/phpunit": "^4.8.35 || ^5.7", 156 | "phpunit/phpunit-mock-objects": "^2.3 || ^3.0" 157 | }, 158 | "suggest": { 159 | "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", 160 | "ext-zip": "Enabling the zip extension allows you to unzip archives", 161 | "ext-zlib": "Allow gzip compression of HTTP requests" 162 | }, 163 | "bin": [ 164 | "bin/composer" 165 | ], 166 | "type": "library", 167 | "extra": { 168 | "branch-alias": { 169 | "dev-master": "1.6-dev" 170 | } 171 | }, 172 | "autoload": { 173 | "psr-4": { 174 | "Composer\\": "src/Composer" 175 | } 176 | }, 177 | "notification-url": "https://packagist.org/downloads/", 178 | "license": [ 179 | "MIT" 180 | ], 181 | "authors": [ 182 | { 183 | "name": "Nils Adermann", 184 | "email": "naderman@naderman.de", 185 | "homepage": "http://www.naderman.de" 186 | }, 187 | { 188 | "name": "Jordi Boggiano", 189 | "email": "j.boggiano@seld.be", 190 | "homepage": "http://seld.be" 191 | } 192 | ], 193 | "description": "Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere.", 194 | "homepage": "https://getcomposer.org/", 195 | "keywords": [ 196 | "autoload", 197 | "dependency", 198 | "package" 199 | ], 200 | "time": "2018-01-31T15:28:18+00:00" 201 | }, 202 | { 203 | "name": "composer/semver", 204 | "version": "1.4.2", 205 | "source": { 206 | "type": "git", 207 | "url": "https://github.com/composer/semver.git", 208 | "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573" 209 | }, 210 | "dist": { 211 | "type": "zip", 212 | "url": "https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573", 213 | "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573", 214 | "shasum": "" 215 | }, 216 | "require": { 217 | "php": "^5.3.2 || ^7.0" 218 | }, 219 | "require-dev": { 220 | "phpunit/phpunit": "^4.5 || ^5.0.5", 221 | "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" 222 | }, 223 | "type": "library", 224 | "extra": { 225 | "branch-alias": { 226 | "dev-master": "1.x-dev" 227 | } 228 | }, 229 | "autoload": { 230 | "psr-4": { 231 | "Composer\\Semver\\": "src" 232 | } 233 | }, 234 | "notification-url": "https://packagist.org/downloads/", 235 | "license": [ 236 | "MIT" 237 | ], 238 | "authors": [ 239 | { 240 | "name": "Nils Adermann", 241 | "email": "naderman@naderman.de", 242 | "homepage": "http://www.naderman.de" 243 | }, 244 | { 245 | "name": "Jordi Boggiano", 246 | "email": "j.boggiano@seld.be", 247 | "homepage": "http://seld.be" 248 | }, 249 | { 250 | "name": "Rob Bast", 251 | "email": "rob.bast@gmail.com", 252 | "homepage": "http://robbast.nl" 253 | } 254 | ], 255 | "description": "Semver library that offers utilities, version constraint parsing and validation.", 256 | "keywords": [ 257 | "semantic", 258 | "semver", 259 | "validation", 260 | "versioning" 261 | ], 262 | "time": "2016-08-30T16:08:34+00:00" 263 | }, 264 | { 265 | "name": "composer/spdx-licenses", 266 | "version": "1.4.0", 267 | "source": { 268 | "type": "git", 269 | "url": "https://github.com/composer/spdx-licenses.git", 270 | "reference": "cb17687e9f936acd7e7245ad3890f953770dec1b" 271 | }, 272 | "dist": { 273 | "type": "zip", 274 | "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/cb17687e9f936acd7e7245ad3890f953770dec1b", 275 | "reference": "cb17687e9f936acd7e7245ad3890f953770dec1b", 276 | "shasum": "" 277 | }, 278 | "require": { 279 | "php": "^5.3.2 || ^7.0" 280 | }, 281 | "require-dev": { 282 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5", 283 | "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" 284 | }, 285 | "type": "library", 286 | "extra": { 287 | "branch-alias": { 288 | "dev-master": "1.x-dev" 289 | } 290 | }, 291 | "autoload": { 292 | "psr-4": { 293 | "Composer\\Spdx\\": "src" 294 | } 295 | }, 296 | "notification-url": "https://packagist.org/downloads/", 297 | "license": [ 298 | "MIT" 299 | ], 300 | "authors": [ 301 | { 302 | "name": "Nils Adermann", 303 | "email": "naderman@naderman.de", 304 | "homepage": "http://www.naderman.de" 305 | }, 306 | { 307 | "name": "Jordi Boggiano", 308 | "email": "j.boggiano@seld.be", 309 | "homepage": "http://seld.be" 310 | }, 311 | { 312 | "name": "Rob Bast", 313 | "email": "rob.bast@gmail.com", 314 | "homepage": "http://robbast.nl" 315 | } 316 | ], 317 | "description": "SPDX licenses list and validation library.", 318 | "keywords": [ 319 | "license", 320 | "spdx", 321 | "validator" 322 | ], 323 | "time": "2018-04-30T10:33:04+00:00" 324 | }, 325 | { 326 | "name": "craftcms/cms", 327 | "version": "3.0.25", 328 | "source": { 329 | "type": "git", 330 | "url": "https://github.com/craftcms/cms.git", 331 | "reference": "30b95277d526af7aeff4a10c23b583fde0adb383" 332 | }, 333 | "dist": { 334 | "type": "zip", 335 | "url": "https://api.github.com/repos/craftcms/cms/zipball/30b95277d526af7aeff4a10c23b583fde0adb383", 336 | "reference": "30b95277d526af7aeff4a10c23b583fde0adb383", 337 | "shasum": "" 338 | }, 339 | "require": { 340 | "composer/composer": "1.6.3", 341 | "craftcms/oauth2-craftid": "~1.0.0", 342 | "craftcms/plugin-installer": "~1.5.0", 343 | "craftcms/server-check": "~1.1.0", 344 | "creocoder/yii2-nested-sets": "~0.9.0", 345 | "danielstjules/stringy": "^3.1.0", 346 | "elvanto/litemoji": "^1.3.1", 347 | "enshrined/svg-sanitize": "~0.9.0", 348 | "ext-curl": "*", 349 | "ext-dom": "*", 350 | "ext-json": "*", 351 | "ext-mbstring": "*", 352 | "ext-openssl": "*", 353 | "ext-pcre": "*", 354 | "ext-pdo": "*", 355 | "ext-zip": "*", 356 | "guzzlehttp/guzzle": "^6.3.0", 357 | "league/flysystem": "^1.0.35", 358 | "league/oauth2-client": "^2.2.1", 359 | "mikehaertl/php-shellcommand": "^1.2.5", 360 | "php": ">=7.0.0", 361 | "pixelandtonic/imagine": "~0.7.1.2", 362 | "seld/cli-prompt": "^1.0.3", 363 | "true/punycode": "^2.1.0", 364 | "twig/twig": "^2.5.0", 365 | "yiisoft/yii2": "~2.0.15.1", 366 | "yiisoft/yii2-debug": "^2.0.10", 367 | "yiisoft/yii2-queue": "^2.0.1", 368 | "yiisoft/yii2-swiftmailer": "^2.1.0", 369 | "zendframework/zend-feed": "^2.8.0" 370 | }, 371 | "provide": { 372 | "bower-asset/bootstrap": "3.3.* | 3.2.* | 3.1.*", 373 | "bower-asset/inputmask": "~3.2.2 | ~3.3.5", 374 | "bower-asset/jquery": "3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable", 375 | "bower-asset/punycode": "1.3.*", 376 | "bower-asset/yii2-pjax": "~2.0.1" 377 | }, 378 | "require-dev": { 379 | "codeception/codeception": "^2.4", 380 | "codeception/mockery-module": "~0.2.2", 381 | "codeception/specify": "~0.4.6", 382 | "codeception/verify": "~0.3.3" 383 | }, 384 | "suggest": { 385 | "ext-iconv": "Adds support for more character encodings than PHP’s built-in mb_convert_encoding() function, which Craft will take advantage of when converting strings to UTF-8.", 386 | "ext-imagick": "Adds support for more image processing formats and options.", 387 | "ext-intl": "Adds rich internationalization support." 388 | }, 389 | "type": "library", 390 | "autoload": { 391 | "psr-4": { 392 | "craft\\": "src/" 393 | } 394 | }, 395 | "notification-url": "https://packagist.org/downloads/", 396 | "license": [ 397 | "proprietary" 398 | ], 399 | "description": "Craft CMS", 400 | "homepage": "https://craftcms.com", 401 | "keywords": [ 402 | "cms", 403 | "craftcms", 404 | "yii2" 405 | ], 406 | "time": "2018-09-18T16:57:29+00:00" 407 | }, 408 | { 409 | "name": "craftcms/oauth2-craftid", 410 | "version": "1.0.0.1", 411 | "source": { 412 | "type": "git", 413 | "url": "https://github.com/craftcms/oauth2-craftid.git", 414 | "reference": "3f18364139d72d83fb50546d85130beaaa868836" 415 | }, 416 | "dist": { 417 | "type": "zip", 418 | "url": "https://api.github.com/repos/craftcms/oauth2-craftid/zipball/3f18364139d72d83fb50546d85130beaaa868836", 419 | "reference": "3f18364139d72d83fb50546d85130beaaa868836", 420 | "shasum": "" 421 | }, 422 | "require": { 423 | "league/oauth2-client": "^2.2.1" 424 | }, 425 | "require-dev": { 426 | "phpunit/phpunit": "^5.0", 427 | "satooshi/php-coveralls": "^1.0", 428 | "squizlabs/php_codesniffer": "^2.0" 429 | }, 430 | "type": "library", 431 | "autoload": { 432 | "psr-4": { 433 | "craftcms\\oauth2\\client\\": "src/" 434 | } 435 | }, 436 | "notification-url": "https://packagist.org/downloads/", 437 | "license": [ 438 | "MIT" 439 | ], 440 | "authors": [ 441 | { 442 | "name": "Pixel & Tonic", 443 | "homepage": "https://pixelandtonic.com/" 444 | } 445 | ], 446 | "description": "Craft OAuth 2.0 Client Provider for The PHP League OAuth2-Client", 447 | "keywords": [ 448 | "Authentication", 449 | "authorization", 450 | "client", 451 | "cms", 452 | "craftcms", 453 | "craftid", 454 | "oauth", 455 | "oauth2" 456 | ], 457 | "time": "2017-11-22T19:46:18+00:00" 458 | }, 459 | { 460 | "name": "craftcms/plugin-installer", 461 | "version": "1.5.2", 462 | "source": { 463 | "type": "git", 464 | "url": "https://github.com/craftcms/plugin-installer.git", 465 | "reference": "2b75646ce7091d24ef053e8d0b45f89cab04b16f" 466 | }, 467 | "dist": { 468 | "type": "zip", 469 | "url": "https://api.github.com/repos/craftcms/plugin-installer/zipball/2b75646ce7091d24ef053e8d0b45f89cab04b16f", 470 | "reference": "2b75646ce7091d24ef053e8d0b45f89cab04b16f", 471 | "shasum": "" 472 | }, 473 | "require": { 474 | "composer-plugin-api": "^1.0" 475 | }, 476 | "type": "composer-plugin", 477 | "extra": { 478 | "class": "craft\\composer\\Plugin" 479 | }, 480 | "autoload": { 481 | "psr-4": { 482 | "craft\\composer\\": "src/" 483 | } 484 | }, 485 | "notification-url": "https://packagist.org/downloads/", 486 | "license": [ 487 | "MIT" 488 | ], 489 | "description": "Craft CMS Plugin Installer", 490 | "homepage": "https://craftcms.com/", 491 | "keywords": [ 492 | "cms", 493 | "composer", 494 | "craftcms", 495 | "installer", 496 | "plugin" 497 | ], 498 | "time": "2017-07-25T13:26:24+00:00" 499 | }, 500 | { 501 | "name": "craftcms/server-check", 502 | "version": "1.1.6", 503 | "source": { 504 | "type": "git", 505 | "url": "https://github.com/craftcms/server-check.git", 506 | "reference": "309d2952842c7f96b36dea00c0944a606624feaf" 507 | }, 508 | "dist": { 509 | "type": "zip", 510 | "url": "https://api.github.com/repos/craftcms/server-check/zipball/309d2952842c7f96b36dea00c0944a606624feaf", 511 | "reference": "309d2952842c7f96b36dea00c0944a606624feaf", 512 | "shasum": "" 513 | }, 514 | "type": "library", 515 | "autoload": { 516 | "classmap": [ 517 | "server/requirements" 518 | ] 519 | }, 520 | "notification-url": "https://packagist.org/downloads/", 521 | "license": [ 522 | "MIT" 523 | ], 524 | "description": "Craft CMS Server Check", 525 | "homepage": "https://craftcms.com/", 526 | "keywords": [ 527 | "cms", 528 | "craftcms", 529 | "requirements", 530 | "yii2" 531 | ], 532 | "time": "2018-08-17T23:47:59+00:00" 533 | }, 534 | { 535 | "name": "creocoder/yii2-nested-sets", 536 | "version": "0.9.0", 537 | "source": { 538 | "type": "git", 539 | "url": "https://github.com/creocoder/yii2-nested-sets.git", 540 | "reference": "cb8635a459b6246e5a144f096b992dcc30cf9954" 541 | }, 542 | "dist": { 543 | "type": "zip", 544 | "url": "https://api.github.com/repos/creocoder/yii2-nested-sets/zipball/cb8635a459b6246e5a144f096b992dcc30cf9954", 545 | "reference": "cb8635a459b6246e5a144f096b992dcc30cf9954", 546 | "shasum": "" 547 | }, 548 | "require": { 549 | "yiisoft/yii2": "*" 550 | }, 551 | "type": "yii2-extension", 552 | "autoload": { 553 | "psr-4": { 554 | "creocoder\\nestedsets\\": "src" 555 | } 556 | }, 557 | "notification-url": "https://packagist.org/downloads/", 558 | "license": [ 559 | "BSD-3-Clause" 560 | ], 561 | "authors": [ 562 | { 563 | "name": "Alexander Kochetov", 564 | "email": "creocoder@gmail.com" 565 | } 566 | ], 567 | "description": "The nested sets behavior for the Yii framework", 568 | "keywords": [ 569 | "nested sets", 570 | "yii2" 571 | ], 572 | "time": "2015-01-27T10:53:51+00:00" 573 | }, 574 | { 575 | "name": "danielstjules/stringy", 576 | "version": "3.1.0", 577 | "source": { 578 | "type": "git", 579 | "url": "https://github.com/danielstjules/Stringy.git", 580 | "reference": "df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e" 581 | }, 582 | "dist": { 583 | "type": "zip", 584 | "url": "https://api.github.com/repos/danielstjules/Stringy/zipball/df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e", 585 | "reference": "df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e", 586 | "shasum": "" 587 | }, 588 | "require": { 589 | "php": ">=5.4.0", 590 | "symfony/polyfill-mbstring": "~1.1" 591 | }, 592 | "require-dev": { 593 | "phpunit/phpunit": "~4.0" 594 | }, 595 | "type": "library", 596 | "autoload": { 597 | "psr-4": { 598 | "Stringy\\": "src/" 599 | }, 600 | "files": [ 601 | "src/Create.php" 602 | ] 603 | }, 604 | "notification-url": "https://packagist.org/downloads/", 605 | "license": [ 606 | "MIT" 607 | ], 608 | "authors": [ 609 | { 610 | "name": "Daniel St. Jules", 611 | "email": "danielst.jules@gmail.com", 612 | "homepage": "http://www.danielstjules.com" 613 | } 614 | ], 615 | "description": "A string manipulation library with multibyte support", 616 | "homepage": "https://github.com/danielstjules/Stringy", 617 | "keywords": [ 618 | "UTF", 619 | "helpers", 620 | "manipulation", 621 | "methods", 622 | "multibyte", 623 | "string", 624 | "utf-8", 625 | "utility", 626 | "utils" 627 | ], 628 | "time": "2017-06-12T01:10:27+00:00" 629 | }, 630 | { 631 | "name": "doctrine/lexer", 632 | "version": "v1.0.1", 633 | "source": { 634 | "type": "git", 635 | "url": "https://github.com/doctrine/lexer.git", 636 | "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" 637 | }, 638 | "dist": { 639 | "type": "zip", 640 | "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", 641 | "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", 642 | "shasum": "" 643 | }, 644 | "require": { 645 | "php": ">=5.3.2" 646 | }, 647 | "type": "library", 648 | "extra": { 649 | "branch-alias": { 650 | "dev-master": "1.0.x-dev" 651 | } 652 | }, 653 | "autoload": { 654 | "psr-0": { 655 | "Doctrine\\Common\\Lexer\\": "lib/" 656 | } 657 | }, 658 | "notification-url": "https://packagist.org/downloads/", 659 | "license": [ 660 | "MIT" 661 | ], 662 | "authors": [ 663 | { 664 | "name": "Roman Borschel", 665 | "email": "roman@code-factory.org" 666 | }, 667 | { 668 | "name": "Guilherme Blanco", 669 | "email": "guilhermeblanco@gmail.com" 670 | }, 671 | { 672 | "name": "Johannes Schmitt", 673 | "email": "schmittjoh@gmail.com" 674 | } 675 | ], 676 | "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", 677 | "homepage": "http://www.doctrine-project.org", 678 | "keywords": [ 679 | "lexer", 680 | "parser" 681 | ], 682 | "time": "2014-09-09T13:34:57+00:00" 683 | }, 684 | { 685 | "name": "egulias/email-validator", 686 | "version": "2.1.5", 687 | "source": { 688 | "type": "git", 689 | "url": "https://github.com/egulias/EmailValidator.git", 690 | "reference": "54859fabea8b3beecbb1a282888d5c990036b9e3" 691 | }, 692 | "dist": { 693 | "type": "zip", 694 | "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/54859fabea8b3beecbb1a282888d5c990036b9e3", 695 | "reference": "54859fabea8b3beecbb1a282888d5c990036b9e3", 696 | "shasum": "" 697 | }, 698 | "require": { 699 | "doctrine/lexer": "^1.0.1", 700 | "php": ">= 5.5" 701 | }, 702 | "require-dev": { 703 | "dominicsayers/isemail": "dev-master", 704 | "phpunit/phpunit": "^4.8.35||^5.7||^6.0", 705 | "satooshi/php-coveralls": "^1.0.1" 706 | }, 707 | "suggest": { 708 | "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" 709 | }, 710 | "type": "library", 711 | "extra": { 712 | "branch-alias": { 713 | "dev-master": "2.0.x-dev" 714 | } 715 | }, 716 | "autoload": { 717 | "psr-4": { 718 | "Egulias\\EmailValidator\\": "EmailValidator" 719 | } 720 | }, 721 | "notification-url": "https://packagist.org/downloads/", 722 | "license": [ 723 | "MIT" 724 | ], 725 | "authors": [ 726 | { 727 | "name": "Eduardo Gulias Davis" 728 | } 729 | ], 730 | "description": "A library for validating emails against several RFCs", 731 | "homepage": "https://github.com/egulias/EmailValidator", 732 | "keywords": [ 733 | "email", 734 | "emailvalidation", 735 | "emailvalidator", 736 | "validation", 737 | "validator" 738 | ], 739 | "time": "2018-08-16T20:49:45+00:00" 740 | }, 741 | { 742 | "name": "elvanto/litemoji", 743 | "version": "1.4.2", 744 | "source": { 745 | "type": "git", 746 | "url": "https://github.com/elvanto/litemoji.git", 747 | "reference": "af94de6becfbc2f4d9c52e1142183146fd087f36" 748 | }, 749 | "dist": { 750 | "type": "zip", 751 | "url": "https://api.github.com/repos/elvanto/litemoji/zipball/af94de6becfbc2f4d9c52e1142183146fd087f36", 752 | "reference": "af94de6becfbc2f4d9c52e1142183146fd087f36", 753 | "shasum": "" 754 | }, 755 | "require": { 756 | "php": ">=5.4" 757 | }, 758 | "require-dev": { 759 | "milesj/emojibase": "2.0.0", 760 | "phpunit/phpunit": "^5.0" 761 | }, 762 | "type": "library", 763 | "autoload": { 764 | "psr-4": { 765 | "LitEmoji\\": "src/" 766 | } 767 | }, 768 | "notification-url": "https://packagist.org/downloads/", 769 | "license": [ 770 | "MIT" 771 | ], 772 | "description": "A PHP library simplifying the conversion of unicode, HTML and shortcode emoji.", 773 | "keywords": [ 774 | "emoji", 775 | "php-emoji" 776 | ], 777 | "time": "2018-08-02T03:48:08+00:00" 778 | }, 779 | { 780 | "name": "enshrined/svg-sanitize", 781 | "version": "0.9.0", 782 | "source": { 783 | "type": "git", 784 | "url": "https://github.com/darylldoyle/svg-sanitizer.git", 785 | "reference": "509455b32ddfcb6db993ed3564f0670166c6c4c7" 786 | }, 787 | "dist": { 788 | "type": "zip", 789 | "url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/509455b32ddfcb6db993ed3564f0670166c6c4c7", 790 | "reference": "509455b32ddfcb6db993ed3564f0670166c6c4c7", 791 | "shasum": "" 792 | }, 793 | "require-dev": { 794 | "codeclimate/php-test-reporter": "^0.1.2", 795 | "phpunit/phpunit": "^4.7" 796 | }, 797 | "type": "library", 798 | "autoload": { 799 | "psr-4": { 800 | "enshrined\\svgSanitize\\": "src" 801 | } 802 | }, 803 | "notification-url": "https://packagist.org/downloads/", 804 | "license": [ 805 | "GPL-2.0+" 806 | ], 807 | "authors": [ 808 | { 809 | "name": "Daryll Doyle", 810 | "email": "daryll@enshrined.co.uk" 811 | } 812 | ], 813 | "description": "An SVG sanitizer for PHP", 814 | "time": "2018-07-19T17:21:27+00:00" 815 | }, 816 | { 817 | "name": "ezyang/htmlpurifier", 818 | "version": "v4.10.0", 819 | "source": { 820 | "type": "git", 821 | "url": "https://github.com/ezyang/htmlpurifier.git", 822 | "reference": "d85d39da4576a6934b72480be6978fb10c860021" 823 | }, 824 | "dist": { 825 | "type": "zip", 826 | "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/d85d39da4576a6934b72480be6978fb10c860021", 827 | "reference": "d85d39da4576a6934b72480be6978fb10c860021", 828 | "shasum": "" 829 | }, 830 | "require": { 831 | "php": ">=5.2" 832 | }, 833 | "require-dev": { 834 | "simpletest/simpletest": "^1.1" 835 | }, 836 | "type": "library", 837 | "autoload": { 838 | "psr-0": { 839 | "HTMLPurifier": "library/" 840 | }, 841 | "files": [ 842 | "library/HTMLPurifier.composer.php" 843 | ] 844 | }, 845 | "notification-url": "https://packagist.org/downloads/", 846 | "license": [ 847 | "LGPL" 848 | ], 849 | "authors": [ 850 | { 851 | "name": "Edward Z. Yang", 852 | "email": "admin@htmlpurifier.org", 853 | "homepage": "http://ezyang.com" 854 | } 855 | ], 856 | "description": "Standards compliant HTML filter written in PHP", 857 | "homepage": "http://htmlpurifier.org/", 858 | "keywords": [ 859 | "html" 860 | ], 861 | "time": "2018-02-23T01:58:20+00:00" 862 | }, 863 | { 864 | "name": "guzzlehttp/guzzle", 865 | "version": "6.3.3", 866 | "source": { 867 | "type": "git", 868 | "url": "https://github.com/guzzle/guzzle.git", 869 | "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba" 870 | }, 871 | "dist": { 872 | "type": "zip", 873 | "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba", 874 | "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba", 875 | "shasum": "" 876 | }, 877 | "require": { 878 | "guzzlehttp/promises": "^1.0", 879 | "guzzlehttp/psr7": "^1.4", 880 | "php": ">=5.5" 881 | }, 882 | "require-dev": { 883 | "ext-curl": "*", 884 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", 885 | "psr/log": "^1.0" 886 | }, 887 | "suggest": { 888 | "psr/log": "Required for using the Log middleware" 889 | }, 890 | "type": "library", 891 | "extra": { 892 | "branch-alias": { 893 | "dev-master": "6.3-dev" 894 | } 895 | }, 896 | "autoload": { 897 | "files": [ 898 | "src/functions_include.php" 899 | ], 900 | "psr-4": { 901 | "GuzzleHttp\\": "src/" 902 | } 903 | }, 904 | "notification-url": "https://packagist.org/downloads/", 905 | "license": [ 906 | "MIT" 907 | ], 908 | "authors": [ 909 | { 910 | "name": "Michael Dowling", 911 | "email": "mtdowling@gmail.com", 912 | "homepage": "https://github.com/mtdowling" 913 | } 914 | ], 915 | "description": "Guzzle is a PHP HTTP client library", 916 | "homepage": "http://guzzlephp.org/", 917 | "keywords": [ 918 | "client", 919 | "curl", 920 | "framework", 921 | "http", 922 | "http client", 923 | "rest", 924 | "web service" 925 | ], 926 | "time": "2018-04-22T15:46:56+00:00" 927 | }, 928 | { 929 | "name": "guzzlehttp/promises", 930 | "version": "v1.3.1", 931 | "source": { 932 | "type": "git", 933 | "url": "https://github.com/guzzle/promises.git", 934 | "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" 935 | }, 936 | "dist": { 937 | "type": "zip", 938 | "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", 939 | "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", 940 | "shasum": "" 941 | }, 942 | "require": { 943 | "php": ">=5.5.0" 944 | }, 945 | "require-dev": { 946 | "phpunit/phpunit": "^4.0" 947 | }, 948 | "type": "library", 949 | "extra": { 950 | "branch-alias": { 951 | "dev-master": "1.4-dev" 952 | } 953 | }, 954 | "autoload": { 955 | "psr-4": { 956 | "GuzzleHttp\\Promise\\": "src/" 957 | }, 958 | "files": [ 959 | "src/functions_include.php" 960 | ] 961 | }, 962 | "notification-url": "https://packagist.org/downloads/", 963 | "license": [ 964 | "MIT" 965 | ], 966 | "authors": [ 967 | { 968 | "name": "Michael Dowling", 969 | "email": "mtdowling@gmail.com", 970 | "homepage": "https://github.com/mtdowling" 971 | } 972 | ], 973 | "description": "Guzzle promises library", 974 | "keywords": [ 975 | "promise" 976 | ], 977 | "time": "2016-12-20T10:07:11+00:00" 978 | }, 979 | { 980 | "name": "guzzlehttp/psr7", 981 | "version": "1.4.2", 982 | "source": { 983 | "type": "git", 984 | "url": "https://github.com/guzzle/psr7.git", 985 | "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" 986 | }, 987 | "dist": { 988 | "type": "zip", 989 | "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", 990 | "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", 991 | "shasum": "" 992 | }, 993 | "require": { 994 | "php": ">=5.4.0", 995 | "psr/http-message": "~1.0" 996 | }, 997 | "provide": { 998 | "psr/http-message-implementation": "1.0" 999 | }, 1000 | "require-dev": { 1001 | "phpunit/phpunit": "~4.0" 1002 | }, 1003 | "type": "library", 1004 | "extra": { 1005 | "branch-alias": { 1006 | "dev-master": "1.4-dev" 1007 | } 1008 | }, 1009 | "autoload": { 1010 | "psr-4": { 1011 | "GuzzleHttp\\Psr7\\": "src/" 1012 | }, 1013 | "files": [ 1014 | "src/functions_include.php" 1015 | ] 1016 | }, 1017 | "notification-url": "https://packagist.org/downloads/", 1018 | "license": [ 1019 | "MIT" 1020 | ], 1021 | "authors": [ 1022 | { 1023 | "name": "Michael Dowling", 1024 | "email": "mtdowling@gmail.com", 1025 | "homepage": "https://github.com/mtdowling" 1026 | }, 1027 | { 1028 | "name": "Tobias Schultze", 1029 | "homepage": "https://github.com/Tobion" 1030 | } 1031 | ], 1032 | "description": "PSR-7 message implementation that also provides common utility methods", 1033 | "keywords": [ 1034 | "http", 1035 | "message", 1036 | "request", 1037 | "response", 1038 | "stream", 1039 | "uri", 1040 | "url" 1041 | ], 1042 | "time": "2017-03-20T17:10:46+00:00" 1043 | }, 1044 | { 1045 | "name": "justinrainbow/json-schema", 1046 | "version": "5.2.7", 1047 | "source": { 1048 | "type": "git", 1049 | "url": "https://github.com/justinrainbow/json-schema.git", 1050 | "reference": "8560d4314577199ba51bf2032f02cd1315587c23" 1051 | }, 1052 | "dist": { 1053 | "type": "zip", 1054 | "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/8560d4314577199ba51bf2032f02cd1315587c23", 1055 | "reference": "8560d4314577199ba51bf2032f02cd1315587c23", 1056 | "shasum": "" 1057 | }, 1058 | "require": { 1059 | "php": ">=5.3.3" 1060 | }, 1061 | "require-dev": { 1062 | "friendsofphp/php-cs-fixer": "^2.1", 1063 | "json-schema/json-schema-test-suite": "1.2.0", 1064 | "phpunit/phpunit": "^4.8.35" 1065 | }, 1066 | "bin": [ 1067 | "bin/validate-json" 1068 | ], 1069 | "type": "library", 1070 | "extra": { 1071 | "branch-alias": { 1072 | "dev-master": "5.0.x-dev" 1073 | } 1074 | }, 1075 | "autoload": { 1076 | "psr-4": { 1077 | "JsonSchema\\": "src/JsonSchema/" 1078 | } 1079 | }, 1080 | "notification-url": "https://packagist.org/downloads/", 1081 | "license": [ 1082 | "MIT" 1083 | ], 1084 | "authors": [ 1085 | { 1086 | "name": "Bruno Prieto Reis", 1087 | "email": "bruno.p.reis@gmail.com" 1088 | }, 1089 | { 1090 | "name": "Justin Rainbow", 1091 | "email": "justin.rainbow@gmail.com" 1092 | }, 1093 | { 1094 | "name": "Igor Wiedler", 1095 | "email": "igor@wiedler.ch" 1096 | }, 1097 | { 1098 | "name": "Robert Schönthal", 1099 | "email": "seroscho@googlemail.com" 1100 | } 1101 | ], 1102 | "description": "A library to validate a json schema.", 1103 | "homepage": "https://github.com/justinrainbow/json-schema", 1104 | "keywords": [ 1105 | "json", 1106 | "schema" 1107 | ], 1108 | "time": "2018-02-14T22:26:30+00:00" 1109 | }, 1110 | { 1111 | "name": "league/flysystem", 1112 | "version": "1.0.47", 1113 | "source": { 1114 | "type": "git", 1115 | "url": "https://github.com/thephpleague/flysystem.git", 1116 | "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c" 1117 | }, 1118 | "dist": { 1119 | "type": "zip", 1120 | "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a11e4a75f256bdacf99d20780ce42d3b8272975c", 1121 | "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c", 1122 | "shasum": "" 1123 | }, 1124 | "require": { 1125 | "ext-fileinfo": "*", 1126 | "php": ">=5.5.9" 1127 | }, 1128 | "conflict": { 1129 | "league/flysystem-sftp": "<1.0.6" 1130 | }, 1131 | "require-dev": { 1132 | "phpspec/phpspec": "^3.4", 1133 | "phpunit/phpunit": "^5.7.10" 1134 | }, 1135 | "suggest": { 1136 | "ext-fileinfo": "Required for MimeType", 1137 | "ext-ftp": "Allows you to use FTP server storage", 1138 | "ext-openssl": "Allows you to use FTPS server storage", 1139 | "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", 1140 | "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", 1141 | "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", 1142 | "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", 1143 | "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", 1144 | "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", 1145 | "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", 1146 | "league/flysystem-webdav": "Allows you to use WebDAV storage", 1147 | "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", 1148 | "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", 1149 | "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" 1150 | }, 1151 | "type": "library", 1152 | "extra": { 1153 | "branch-alias": { 1154 | "dev-master": "1.1-dev" 1155 | } 1156 | }, 1157 | "autoload": { 1158 | "psr-4": { 1159 | "League\\Flysystem\\": "src/" 1160 | } 1161 | }, 1162 | "notification-url": "https://packagist.org/downloads/", 1163 | "license": [ 1164 | "MIT" 1165 | ], 1166 | "authors": [ 1167 | { 1168 | "name": "Frank de Jonge", 1169 | "email": "info@frenky.net" 1170 | } 1171 | ], 1172 | "description": "Filesystem abstraction: Many filesystems, one API.", 1173 | "keywords": [ 1174 | "Cloud Files", 1175 | "WebDAV", 1176 | "abstraction", 1177 | "aws", 1178 | "cloud", 1179 | "copy.com", 1180 | "dropbox", 1181 | "file systems", 1182 | "files", 1183 | "filesystem", 1184 | "filesystems", 1185 | "ftp", 1186 | "rackspace", 1187 | "remote", 1188 | "s3", 1189 | "sftp", 1190 | "storage" 1191 | ], 1192 | "time": "2018-09-14T15:30:29+00:00" 1193 | }, 1194 | { 1195 | "name": "league/oauth2-client", 1196 | "version": "2.3.0", 1197 | "source": { 1198 | "type": "git", 1199 | "url": "https://github.com/thephpleague/oauth2-client.git", 1200 | "reference": "aa2e3df188f0bfd87f7880cc880e906e99923580" 1201 | }, 1202 | "dist": { 1203 | "type": "zip", 1204 | "url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/aa2e3df188f0bfd87f7880cc880e906e99923580", 1205 | "reference": "aa2e3df188f0bfd87f7880cc880e906e99923580", 1206 | "shasum": "" 1207 | }, 1208 | "require": { 1209 | "guzzlehttp/guzzle": "^6.0", 1210 | "paragonie/random_compat": "^1|^2", 1211 | "php": "^5.6|^7.0" 1212 | }, 1213 | "require-dev": { 1214 | "eloquent/liberator": "^2.0", 1215 | "eloquent/phony-phpunit": "^1.0|^3.0", 1216 | "jakub-onderka/php-parallel-lint": "^0.9.2", 1217 | "phpunit/phpunit": "^5.7|^6.0", 1218 | "squizlabs/php_codesniffer": "^2.3|^3.0" 1219 | }, 1220 | "type": "library", 1221 | "extra": { 1222 | "branch-alias": { 1223 | "dev-2.x": "2.0.x-dev" 1224 | } 1225 | }, 1226 | "autoload": { 1227 | "psr-4": { 1228 | "League\\OAuth2\\Client\\": "src/" 1229 | } 1230 | }, 1231 | "notification-url": "https://packagist.org/downloads/", 1232 | "license": [ 1233 | "MIT" 1234 | ], 1235 | "authors": [ 1236 | { 1237 | "name": "Alex Bilbie", 1238 | "email": "hello@alexbilbie.com", 1239 | "homepage": "http://www.alexbilbie.com", 1240 | "role": "Developer" 1241 | }, 1242 | { 1243 | "name": "Woody Gilk", 1244 | "homepage": "https://github.com/shadowhand", 1245 | "role": "Contributor" 1246 | } 1247 | ], 1248 | "description": "OAuth 2.0 Client Library", 1249 | "keywords": [ 1250 | "Authentication", 1251 | "SSO", 1252 | "authorization", 1253 | "identity", 1254 | "idp", 1255 | "oauth", 1256 | "oauth2", 1257 | "single sign on" 1258 | ], 1259 | "time": "2018-01-13T05:27:58+00:00" 1260 | }, 1261 | { 1262 | "name": "mikehaertl/php-shellcommand", 1263 | "version": "1.4.1", 1264 | "source": { 1265 | "type": "git", 1266 | "url": "https://github.com/mikehaertl/php-shellcommand.git", 1267 | "reference": "903ee95d3ee8f65ebbe4c6e17705d1d91760521a" 1268 | }, 1269 | "dist": { 1270 | "type": "zip", 1271 | "url": "https://api.github.com/repos/mikehaertl/php-shellcommand/zipball/903ee95d3ee8f65ebbe4c6e17705d1d91760521a", 1272 | "reference": "903ee95d3ee8f65ebbe4c6e17705d1d91760521a", 1273 | "shasum": "" 1274 | }, 1275 | "require": { 1276 | "php": ">= 5.4.0" 1277 | }, 1278 | "type": "library", 1279 | "autoload": { 1280 | "psr-4": { 1281 | "mikehaertl\\shellcommand\\": "src/" 1282 | } 1283 | }, 1284 | "notification-url": "https://packagist.org/downloads/", 1285 | "license": [ 1286 | "MIT" 1287 | ], 1288 | "authors": [ 1289 | { 1290 | "name": "Michael Härtl", 1291 | "email": "haertl.mike@gmail.com" 1292 | } 1293 | ], 1294 | "description": "An object oriented interface to shell commands", 1295 | "keywords": [ 1296 | "shell" 1297 | ], 1298 | "time": "2018-07-07T07:35:36+00:00" 1299 | }, 1300 | { 1301 | "name": "paragonie/random_compat", 1302 | "version": "v2.0.17", 1303 | "source": { 1304 | "type": "git", 1305 | "url": "https://github.com/paragonie/random_compat.git", 1306 | "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d" 1307 | }, 1308 | "dist": { 1309 | "type": "zip", 1310 | "url": "https://api.github.com/repos/paragonie/random_compat/zipball/29af24f25bab834fcbb38ad2a69fa93b867e070d", 1311 | "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d", 1312 | "shasum": "" 1313 | }, 1314 | "require": { 1315 | "php": ">=5.2.0" 1316 | }, 1317 | "require-dev": { 1318 | "phpunit/phpunit": "4.*|5.*" 1319 | }, 1320 | "suggest": { 1321 | "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." 1322 | }, 1323 | "type": "library", 1324 | "autoload": { 1325 | "files": [ 1326 | "lib/random.php" 1327 | ] 1328 | }, 1329 | "notification-url": "https://packagist.org/downloads/", 1330 | "license": [ 1331 | "MIT" 1332 | ], 1333 | "authors": [ 1334 | { 1335 | "name": "Paragon Initiative Enterprises", 1336 | "email": "security@paragonie.com", 1337 | "homepage": "https://paragonie.com" 1338 | } 1339 | ], 1340 | "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", 1341 | "keywords": [ 1342 | "csprng", 1343 | "polyfill", 1344 | "pseudorandom", 1345 | "random" 1346 | ], 1347 | "time": "2018-07-04T16:31:37+00:00" 1348 | }, 1349 | { 1350 | "name": "pixelandtonic/imagine", 1351 | "version": "v0.7.1.3", 1352 | "source": { 1353 | "type": "git", 1354 | "url": "https://github.com/pixelandtonic/Imagine.git", 1355 | "reference": "989656b05410446fde623540bbf83af15087e4ea" 1356 | }, 1357 | "dist": { 1358 | "type": "zip", 1359 | "url": "https://api.github.com/repos/pixelandtonic/Imagine/zipball/989656b05410446fde623540bbf83af15087e4ea", 1360 | "reference": "989656b05410446fde623540bbf83af15087e4ea", 1361 | "shasum": "" 1362 | }, 1363 | "require": { 1364 | "php": ">=5.3.2" 1365 | }, 1366 | "require-dev": { 1367 | "sami/sami": "^3.3", 1368 | "symfony/phpunit-bridge": "^3.2" 1369 | }, 1370 | "suggest": { 1371 | "ext-gd": "to use the GD implementation", 1372 | "ext-gmagick": "to use the Gmagick implementation", 1373 | "ext-imagick": "to use the Imagick implementation" 1374 | }, 1375 | "type": "library", 1376 | "extra": { 1377 | "branch-alias": { 1378 | "dev-develop": "0.7-dev" 1379 | } 1380 | }, 1381 | "autoload": { 1382 | "psr-0": { 1383 | "Imagine": "lib/" 1384 | } 1385 | }, 1386 | "notification-url": "https://packagist.org/downloads/", 1387 | "license": [ 1388 | "MIT" 1389 | ], 1390 | "authors": [ 1391 | { 1392 | "name": "Bulat Shakirzyanov", 1393 | "email": "mallluhuct@gmail.com", 1394 | "homepage": "http://avalanche123.com" 1395 | } 1396 | ], 1397 | "description": "Image processing for PHP 5.3", 1398 | "homepage": "http://imagine.readthedocs.org/", 1399 | "keywords": [ 1400 | "drawing", 1401 | "graphics", 1402 | "image manipulation", 1403 | "image processing" 1404 | ], 1405 | "time": "2017-10-26T13:18:33+00:00" 1406 | }, 1407 | { 1408 | "name": "psr/http-message", 1409 | "version": "1.0.1", 1410 | "source": { 1411 | "type": "git", 1412 | "url": "https://github.com/php-fig/http-message.git", 1413 | "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" 1414 | }, 1415 | "dist": { 1416 | "type": "zip", 1417 | "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", 1418 | "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", 1419 | "shasum": "" 1420 | }, 1421 | "require": { 1422 | "php": ">=5.3.0" 1423 | }, 1424 | "type": "library", 1425 | "extra": { 1426 | "branch-alias": { 1427 | "dev-master": "1.0.x-dev" 1428 | } 1429 | }, 1430 | "autoload": { 1431 | "psr-4": { 1432 | "Psr\\Http\\Message\\": "src/" 1433 | } 1434 | }, 1435 | "notification-url": "https://packagist.org/downloads/", 1436 | "license": [ 1437 | "MIT" 1438 | ], 1439 | "authors": [ 1440 | { 1441 | "name": "PHP-FIG", 1442 | "homepage": "http://www.php-fig.org/" 1443 | } 1444 | ], 1445 | "description": "Common interface for HTTP messages", 1446 | "homepage": "https://github.com/php-fig/http-message", 1447 | "keywords": [ 1448 | "http", 1449 | "http-message", 1450 | "psr", 1451 | "psr-7", 1452 | "request", 1453 | "response" 1454 | ], 1455 | "time": "2016-08-06T14:39:51+00:00" 1456 | }, 1457 | { 1458 | "name": "psr/log", 1459 | "version": "1.0.2", 1460 | "source": { 1461 | "type": "git", 1462 | "url": "https://github.com/php-fig/log.git", 1463 | "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" 1464 | }, 1465 | "dist": { 1466 | "type": "zip", 1467 | "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", 1468 | "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", 1469 | "shasum": "" 1470 | }, 1471 | "require": { 1472 | "php": ">=5.3.0" 1473 | }, 1474 | "type": "library", 1475 | "extra": { 1476 | "branch-alias": { 1477 | "dev-master": "1.0.x-dev" 1478 | } 1479 | }, 1480 | "autoload": { 1481 | "psr-4": { 1482 | "Psr\\Log\\": "Psr/Log/" 1483 | } 1484 | }, 1485 | "notification-url": "https://packagist.org/downloads/", 1486 | "license": [ 1487 | "MIT" 1488 | ], 1489 | "authors": [ 1490 | { 1491 | "name": "PHP-FIG", 1492 | "homepage": "http://www.php-fig.org/" 1493 | } 1494 | ], 1495 | "description": "Common interface for logging libraries", 1496 | "homepage": "https://github.com/php-fig/log", 1497 | "keywords": [ 1498 | "log", 1499 | "psr", 1500 | "psr-3" 1501 | ], 1502 | "time": "2016-10-10T12:19:37+00:00" 1503 | }, 1504 | { 1505 | "name": "seld/cli-prompt", 1506 | "version": "1.0.3", 1507 | "source": { 1508 | "type": "git", 1509 | "url": "https://github.com/Seldaek/cli-prompt.git", 1510 | "reference": "a19a7376a4689d4d94cab66ab4f3c816019ba8dd" 1511 | }, 1512 | "dist": { 1513 | "type": "zip", 1514 | "url": "https://api.github.com/repos/Seldaek/cli-prompt/zipball/a19a7376a4689d4d94cab66ab4f3c816019ba8dd", 1515 | "reference": "a19a7376a4689d4d94cab66ab4f3c816019ba8dd", 1516 | "shasum": "" 1517 | }, 1518 | "require": { 1519 | "php": ">=5.3" 1520 | }, 1521 | "type": "library", 1522 | "extra": { 1523 | "branch-alias": { 1524 | "dev-master": "1.x-dev" 1525 | } 1526 | }, 1527 | "autoload": { 1528 | "psr-4": { 1529 | "Seld\\CliPrompt\\": "src/" 1530 | } 1531 | }, 1532 | "notification-url": "https://packagist.org/downloads/", 1533 | "license": [ 1534 | "MIT" 1535 | ], 1536 | "authors": [ 1537 | { 1538 | "name": "Jordi Boggiano", 1539 | "email": "j.boggiano@seld.be" 1540 | } 1541 | ], 1542 | "description": "Allows you to prompt for user input on the command line, and optionally hide the characters they type", 1543 | "keywords": [ 1544 | "cli", 1545 | "console", 1546 | "hidden", 1547 | "input", 1548 | "prompt" 1549 | ], 1550 | "time": "2017-03-18T11:32:45+00:00" 1551 | }, 1552 | { 1553 | "name": "seld/jsonlint", 1554 | "version": "1.7.1", 1555 | "source": { 1556 | "type": "git", 1557 | "url": "https://github.com/Seldaek/jsonlint.git", 1558 | "reference": "d15f59a67ff805a44c50ea0516d2341740f81a38" 1559 | }, 1560 | "dist": { 1561 | "type": "zip", 1562 | "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/d15f59a67ff805a44c50ea0516d2341740f81a38", 1563 | "reference": "d15f59a67ff805a44c50ea0516d2341740f81a38", 1564 | "shasum": "" 1565 | }, 1566 | "require": { 1567 | "php": "^5.3 || ^7.0" 1568 | }, 1569 | "require-dev": { 1570 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" 1571 | }, 1572 | "bin": [ 1573 | "bin/jsonlint" 1574 | ], 1575 | "type": "library", 1576 | "autoload": { 1577 | "psr-4": { 1578 | "Seld\\JsonLint\\": "src/Seld/JsonLint/" 1579 | } 1580 | }, 1581 | "notification-url": "https://packagist.org/downloads/", 1582 | "license": [ 1583 | "MIT" 1584 | ], 1585 | "authors": [ 1586 | { 1587 | "name": "Jordi Boggiano", 1588 | "email": "j.boggiano@seld.be", 1589 | "homepage": "http://seld.be" 1590 | } 1591 | ], 1592 | "description": "JSON Linter", 1593 | "keywords": [ 1594 | "json", 1595 | "linter", 1596 | "parser", 1597 | "validator" 1598 | ], 1599 | "time": "2018-01-24T12:46:19+00:00" 1600 | }, 1601 | { 1602 | "name": "seld/phar-utils", 1603 | "version": "1.0.1", 1604 | "source": { 1605 | "type": "git", 1606 | "url": "https://github.com/Seldaek/phar-utils.git", 1607 | "reference": "7009b5139491975ef6486545a39f3e6dad5ac30a" 1608 | }, 1609 | "dist": { 1610 | "type": "zip", 1611 | "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/7009b5139491975ef6486545a39f3e6dad5ac30a", 1612 | "reference": "7009b5139491975ef6486545a39f3e6dad5ac30a", 1613 | "shasum": "" 1614 | }, 1615 | "require": { 1616 | "php": ">=5.3" 1617 | }, 1618 | "type": "library", 1619 | "extra": { 1620 | "branch-alias": { 1621 | "dev-master": "1.x-dev" 1622 | } 1623 | }, 1624 | "autoload": { 1625 | "psr-4": { 1626 | "Seld\\PharUtils\\": "src/" 1627 | } 1628 | }, 1629 | "notification-url": "https://packagist.org/downloads/", 1630 | "license": [ 1631 | "MIT" 1632 | ], 1633 | "authors": [ 1634 | { 1635 | "name": "Jordi Boggiano", 1636 | "email": "j.boggiano@seld.be" 1637 | } 1638 | ], 1639 | "description": "PHAR file format utilities, for when PHP phars you up", 1640 | "keywords": [ 1641 | "phra" 1642 | ], 1643 | "time": "2015-10-13T18:44:15+00:00" 1644 | }, 1645 | { 1646 | "name": "swiftmailer/swiftmailer", 1647 | "version": "v6.1.3", 1648 | "source": { 1649 | "type": "git", 1650 | "url": "https://github.com/swiftmailer/swiftmailer.git", 1651 | "reference": "8ddcb66ac10c392d3beb54829eef8ac1438595f4" 1652 | }, 1653 | "dist": { 1654 | "type": "zip", 1655 | "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8ddcb66ac10c392d3beb54829eef8ac1438595f4", 1656 | "reference": "8ddcb66ac10c392d3beb54829eef8ac1438595f4", 1657 | "shasum": "" 1658 | }, 1659 | "require": { 1660 | "egulias/email-validator": "~2.0", 1661 | "php": ">=7.0.0" 1662 | }, 1663 | "require-dev": { 1664 | "mockery/mockery": "~0.9.1", 1665 | "symfony/phpunit-bridge": "~3.3@dev" 1666 | }, 1667 | "suggest": { 1668 | "ext-intl": "Needed to support internationalized email addresses", 1669 | "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed" 1670 | }, 1671 | "type": "library", 1672 | "extra": { 1673 | "branch-alias": { 1674 | "dev-master": "6.1-dev" 1675 | } 1676 | }, 1677 | "autoload": { 1678 | "files": [ 1679 | "lib/swift_required.php" 1680 | ] 1681 | }, 1682 | "notification-url": "https://packagist.org/downloads/", 1683 | "license": [ 1684 | "MIT" 1685 | ], 1686 | "authors": [ 1687 | { 1688 | "name": "Chris Corbyn" 1689 | }, 1690 | { 1691 | "name": "Fabien Potencier", 1692 | "email": "fabien@symfony.com" 1693 | } 1694 | ], 1695 | "description": "Swiftmailer, free feature-rich PHP mailer", 1696 | "homepage": "https://swiftmailer.symfony.com", 1697 | "keywords": [ 1698 | "email", 1699 | "mail", 1700 | "mailer" 1701 | ], 1702 | "time": "2018-09-11T07:12:52+00:00" 1703 | }, 1704 | { 1705 | "name": "symfony/console", 1706 | "version": "v3.3.6", 1707 | "source": { 1708 | "type": "git", 1709 | "url": "https://github.com/symfony/console.git", 1710 | "reference": "b0878233cb5c4391347e5495089c7af11b8e6201" 1711 | }, 1712 | "dist": { 1713 | "type": "zip", 1714 | "url": "https://api.github.com/repos/symfony/console/zipball/b0878233cb5c4391347e5495089c7af11b8e6201", 1715 | "reference": "b0878233cb5c4391347e5495089c7af11b8e6201", 1716 | "shasum": "" 1717 | }, 1718 | "require": { 1719 | "php": ">=5.5.9", 1720 | "symfony/debug": "~2.8|~3.0", 1721 | "symfony/polyfill-mbstring": "~1.0" 1722 | }, 1723 | "conflict": { 1724 | "symfony/dependency-injection": "<3.3" 1725 | }, 1726 | "require-dev": { 1727 | "psr/log": "~1.0", 1728 | "symfony/config": "~3.3", 1729 | "symfony/dependency-injection": "~3.3", 1730 | "symfony/event-dispatcher": "~2.8|~3.0", 1731 | "symfony/filesystem": "~2.8|~3.0", 1732 | "symfony/http-kernel": "~2.8|~3.0", 1733 | "symfony/process": "~2.8|~3.0" 1734 | }, 1735 | "suggest": { 1736 | "psr/log": "For using the console logger", 1737 | "symfony/event-dispatcher": "", 1738 | "symfony/filesystem": "", 1739 | "symfony/process": "" 1740 | }, 1741 | "type": "library", 1742 | "extra": { 1743 | "branch-alias": { 1744 | "dev-master": "3.3-dev" 1745 | } 1746 | }, 1747 | "autoload": { 1748 | "psr-4": { 1749 | "Symfony\\Component\\Console\\": "" 1750 | }, 1751 | "exclude-from-classmap": [ 1752 | "/Tests/" 1753 | ] 1754 | }, 1755 | "notification-url": "https://packagist.org/downloads/", 1756 | "license": [ 1757 | "MIT" 1758 | ], 1759 | "authors": [ 1760 | { 1761 | "name": "Fabien Potencier", 1762 | "email": "fabien@symfony.com" 1763 | }, 1764 | { 1765 | "name": "Symfony Community", 1766 | "homepage": "https://symfony.com/contributors" 1767 | } 1768 | ], 1769 | "description": "Symfony Console Component", 1770 | "homepage": "https://symfony.com", 1771 | "time": "2017-07-29T21:27:59+00:00" 1772 | }, 1773 | { 1774 | "name": "symfony/debug", 1775 | "version": "v3.3.6", 1776 | "source": { 1777 | "type": "git", 1778 | "url": "https://github.com/symfony/debug.git", 1779 | "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13" 1780 | }, 1781 | "dist": { 1782 | "type": "zip", 1783 | "url": "https://api.github.com/repos/symfony/debug/zipball/7c13ae8ce1e2adbbd574fc39de7be498e1284e13", 1784 | "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13", 1785 | "shasum": "" 1786 | }, 1787 | "require": { 1788 | "php": ">=5.5.9", 1789 | "psr/log": "~1.0" 1790 | }, 1791 | "conflict": { 1792 | "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" 1793 | }, 1794 | "require-dev": { 1795 | "symfony/http-kernel": "~2.8|~3.0" 1796 | }, 1797 | "type": "library", 1798 | "extra": { 1799 | "branch-alias": { 1800 | "dev-master": "3.3-dev" 1801 | } 1802 | }, 1803 | "autoload": { 1804 | "psr-4": { 1805 | "Symfony\\Component\\Debug\\": "" 1806 | }, 1807 | "exclude-from-classmap": [ 1808 | "/Tests/" 1809 | ] 1810 | }, 1811 | "notification-url": "https://packagist.org/downloads/", 1812 | "license": [ 1813 | "MIT" 1814 | ], 1815 | "authors": [ 1816 | { 1817 | "name": "Fabien Potencier", 1818 | "email": "fabien@symfony.com" 1819 | }, 1820 | { 1821 | "name": "Symfony Community", 1822 | "homepage": "https://symfony.com/contributors" 1823 | } 1824 | ], 1825 | "description": "Symfony Debug Component", 1826 | "homepage": "https://symfony.com", 1827 | "time": "2017-07-28T15:27:31+00:00" 1828 | }, 1829 | { 1830 | "name": "symfony/filesystem", 1831 | "version": "v3.3.6", 1832 | "source": { 1833 | "type": "git", 1834 | "url": "https://github.com/symfony/filesystem.git", 1835 | "reference": "427987eb4eed764c3b6e38d52a0f87989e010676" 1836 | }, 1837 | "dist": { 1838 | "type": "zip", 1839 | "url": "https://api.github.com/repos/symfony/filesystem/zipball/427987eb4eed764c3b6e38d52a0f87989e010676", 1840 | "reference": "427987eb4eed764c3b6e38d52a0f87989e010676", 1841 | "shasum": "" 1842 | }, 1843 | "require": { 1844 | "php": ">=5.5.9" 1845 | }, 1846 | "type": "library", 1847 | "extra": { 1848 | "branch-alias": { 1849 | "dev-master": "3.3-dev" 1850 | } 1851 | }, 1852 | "autoload": { 1853 | "psr-4": { 1854 | "Symfony\\Component\\Filesystem\\": "" 1855 | }, 1856 | "exclude-from-classmap": [ 1857 | "/Tests/" 1858 | ] 1859 | }, 1860 | "notification-url": "https://packagist.org/downloads/", 1861 | "license": [ 1862 | "MIT" 1863 | ], 1864 | "authors": [ 1865 | { 1866 | "name": "Fabien Potencier", 1867 | "email": "fabien@symfony.com" 1868 | }, 1869 | { 1870 | "name": "Symfony Community", 1871 | "homepage": "https://symfony.com/contributors" 1872 | } 1873 | ], 1874 | "description": "Symfony Filesystem Component", 1875 | "homepage": "https://symfony.com", 1876 | "time": "2017-07-11T07:17:58+00:00" 1877 | }, 1878 | { 1879 | "name": "symfony/finder", 1880 | "version": "v3.3.6", 1881 | "source": { 1882 | "type": "git", 1883 | "url": "https://github.com/symfony/finder.git", 1884 | "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4" 1885 | }, 1886 | "dist": { 1887 | "type": "zip", 1888 | "url": "https://api.github.com/repos/symfony/finder/zipball/baea7f66d30854ad32988c11a09d7ffd485810c4", 1889 | "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4", 1890 | "shasum": "" 1891 | }, 1892 | "require": { 1893 | "php": ">=5.5.9" 1894 | }, 1895 | "type": "library", 1896 | "extra": { 1897 | "branch-alias": { 1898 | "dev-master": "3.3-dev" 1899 | } 1900 | }, 1901 | "autoload": { 1902 | "psr-4": { 1903 | "Symfony\\Component\\Finder\\": "" 1904 | }, 1905 | "exclude-from-classmap": [ 1906 | "/Tests/" 1907 | ] 1908 | }, 1909 | "notification-url": "https://packagist.org/downloads/", 1910 | "license": [ 1911 | "MIT" 1912 | ], 1913 | "authors": [ 1914 | { 1915 | "name": "Fabien Potencier", 1916 | "email": "fabien@symfony.com" 1917 | }, 1918 | { 1919 | "name": "Symfony Community", 1920 | "homepage": "https://symfony.com/contributors" 1921 | } 1922 | ], 1923 | "description": "Symfony Finder Component", 1924 | "homepage": "https://symfony.com", 1925 | "time": "2017-06-01T21:01:25+00:00" 1926 | }, 1927 | { 1928 | "name": "symfony/polyfill-ctype", 1929 | "version": "v1.9.0", 1930 | "source": { 1931 | "type": "git", 1932 | "url": "https://github.com/symfony/polyfill-ctype.git", 1933 | "reference": "e3d826245268269cd66f8326bd8bc066687b4a19" 1934 | }, 1935 | "dist": { 1936 | "type": "zip", 1937 | "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19", 1938 | "reference": "e3d826245268269cd66f8326bd8bc066687b4a19", 1939 | "shasum": "" 1940 | }, 1941 | "require": { 1942 | "php": ">=5.3.3" 1943 | }, 1944 | "suggest": { 1945 | "ext-ctype": "For best performance" 1946 | }, 1947 | "type": "library", 1948 | "extra": { 1949 | "branch-alias": { 1950 | "dev-master": "1.9-dev" 1951 | } 1952 | }, 1953 | "autoload": { 1954 | "psr-4": { 1955 | "Symfony\\Polyfill\\Ctype\\": "" 1956 | }, 1957 | "files": [ 1958 | "bootstrap.php" 1959 | ] 1960 | }, 1961 | "notification-url": "https://packagist.org/downloads/", 1962 | "license": [ 1963 | "MIT" 1964 | ], 1965 | "authors": [ 1966 | { 1967 | "name": "Symfony Community", 1968 | "homepage": "https://symfony.com/contributors" 1969 | }, 1970 | { 1971 | "name": "Gert de Pagter", 1972 | "email": "BackEndTea@gmail.com" 1973 | } 1974 | ], 1975 | "description": "Symfony polyfill for ctype functions", 1976 | "homepage": "https://symfony.com", 1977 | "keywords": [ 1978 | "compatibility", 1979 | "ctype", 1980 | "polyfill", 1981 | "portable" 1982 | ], 1983 | "time": "2018-08-06T14:22:27+00:00" 1984 | }, 1985 | { 1986 | "name": "symfony/polyfill-mbstring", 1987 | "version": "v1.9.0", 1988 | "source": { 1989 | "type": "git", 1990 | "url": "https://github.com/symfony/polyfill-mbstring.git", 1991 | "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8" 1992 | }, 1993 | "dist": { 1994 | "type": "zip", 1995 | "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8", 1996 | "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8", 1997 | "shasum": "" 1998 | }, 1999 | "require": { 2000 | "php": ">=5.3.3" 2001 | }, 2002 | "suggest": { 2003 | "ext-mbstring": "For best performance" 2004 | }, 2005 | "type": "library", 2006 | "extra": { 2007 | "branch-alias": { 2008 | "dev-master": "1.9-dev" 2009 | } 2010 | }, 2011 | "autoload": { 2012 | "psr-4": { 2013 | "Symfony\\Polyfill\\Mbstring\\": "" 2014 | }, 2015 | "files": [ 2016 | "bootstrap.php" 2017 | ] 2018 | }, 2019 | "notification-url": "https://packagist.org/downloads/", 2020 | "license": [ 2021 | "MIT" 2022 | ], 2023 | "authors": [ 2024 | { 2025 | "name": "Nicolas Grekas", 2026 | "email": "p@tchwork.com" 2027 | }, 2028 | { 2029 | "name": "Symfony Community", 2030 | "homepage": "https://symfony.com/contributors" 2031 | } 2032 | ], 2033 | "description": "Symfony polyfill for the Mbstring extension", 2034 | "homepage": "https://symfony.com", 2035 | "keywords": [ 2036 | "compatibility", 2037 | "mbstring", 2038 | "polyfill", 2039 | "portable", 2040 | "shim" 2041 | ], 2042 | "time": "2018-08-06T14:22:27+00:00" 2043 | }, 2044 | { 2045 | "name": "symfony/process", 2046 | "version": "v3.3.6", 2047 | "source": { 2048 | "type": "git", 2049 | "url": "https://github.com/symfony/process.git", 2050 | "reference": "07432804942b9f6dd7b7377faf9920af5f95d70a" 2051 | }, 2052 | "dist": { 2053 | "type": "zip", 2054 | "url": "https://api.github.com/repos/symfony/process/zipball/07432804942b9f6dd7b7377faf9920af5f95d70a", 2055 | "reference": "07432804942b9f6dd7b7377faf9920af5f95d70a", 2056 | "shasum": "" 2057 | }, 2058 | "require": { 2059 | "php": ">=5.5.9" 2060 | }, 2061 | "type": "library", 2062 | "extra": { 2063 | "branch-alias": { 2064 | "dev-master": "3.3-dev" 2065 | } 2066 | }, 2067 | "autoload": { 2068 | "psr-4": { 2069 | "Symfony\\Component\\Process\\": "" 2070 | }, 2071 | "exclude-from-classmap": [ 2072 | "/Tests/" 2073 | ] 2074 | }, 2075 | "notification-url": "https://packagist.org/downloads/", 2076 | "license": [ 2077 | "MIT" 2078 | ], 2079 | "authors": [ 2080 | { 2081 | "name": "Fabien Potencier", 2082 | "email": "fabien@symfony.com" 2083 | }, 2084 | { 2085 | "name": "Symfony Community", 2086 | "homepage": "https://symfony.com/contributors" 2087 | } 2088 | ], 2089 | "description": "Symfony Process Component", 2090 | "homepage": "https://symfony.com", 2091 | "time": "2017-07-13T13:05:09+00:00" 2092 | }, 2093 | { 2094 | "name": "true/punycode", 2095 | "version": "v2.1.1", 2096 | "source": { 2097 | "type": "git", 2098 | "url": "https://github.com/true/php-punycode.git", 2099 | "reference": "a4d0c11a36dd7f4e7cd7096076cab6d3378a071e" 2100 | }, 2101 | "dist": { 2102 | "type": "zip", 2103 | "url": "https://api.github.com/repos/true/php-punycode/zipball/a4d0c11a36dd7f4e7cd7096076cab6d3378a071e", 2104 | "reference": "a4d0c11a36dd7f4e7cd7096076cab6d3378a071e", 2105 | "shasum": "" 2106 | }, 2107 | "require": { 2108 | "php": ">=5.3.0", 2109 | "symfony/polyfill-mbstring": "^1.3" 2110 | }, 2111 | "require-dev": { 2112 | "phpunit/phpunit": "~4.7", 2113 | "squizlabs/php_codesniffer": "~2.0" 2114 | }, 2115 | "type": "library", 2116 | "autoload": { 2117 | "psr-4": { 2118 | "TrueBV\\": "src/" 2119 | } 2120 | }, 2121 | "notification-url": "https://packagist.org/downloads/", 2122 | "license": [ 2123 | "MIT" 2124 | ], 2125 | "authors": [ 2126 | { 2127 | "name": "Renan Gonçalves", 2128 | "email": "renan.saddam@gmail.com" 2129 | } 2130 | ], 2131 | "description": "A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)", 2132 | "homepage": "https://github.com/true/php-punycode", 2133 | "keywords": [ 2134 | "idna", 2135 | "punycode" 2136 | ], 2137 | "time": "2016-11-16T10:37:54+00:00" 2138 | }, 2139 | { 2140 | "name": "twig/twig", 2141 | "version": "v2.5.0", 2142 | "source": { 2143 | "type": "git", 2144 | "url": "https://github.com/twigphp/Twig.git", 2145 | "reference": "6a5f676b77a90823c2d4eaf76137b771adf31323" 2146 | }, 2147 | "dist": { 2148 | "type": "zip", 2149 | "url": "https://api.github.com/repos/twigphp/Twig/zipball/6a5f676b77a90823c2d4eaf76137b771adf31323", 2150 | "reference": "6a5f676b77a90823c2d4eaf76137b771adf31323", 2151 | "shasum": "" 2152 | }, 2153 | "require": { 2154 | "php": "^7.0", 2155 | "symfony/polyfill-ctype": "^1.8", 2156 | "symfony/polyfill-mbstring": "~1.0" 2157 | }, 2158 | "require-dev": { 2159 | "psr/container": "^1.0", 2160 | "symfony/debug": "^2.7", 2161 | "symfony/phpunit-bridge": "^3.3" 2162 | }, 2163 | "type": "library", 2164 | "extra": { 2165 | "branch-alias": { 2166 | "dev-master": "2.5-dev" 2167 | } 2168 | }, 2169 | "autoload": { 2170 | "psr-0": { 2171 | "Twig_": "lib/" 2172 | }, 2173 | "psr-4": { 2174 | "Twig\\": "src/" 2175 | } 2176 | }, 2177 | "notification-url": "https://packagist.org/downloads/", 2178 | "license": [ 2179 | "BSD-3-Clause" 2180 | ], 2181 | "authors": [ 2182 | { 2183 | "name": "Fabien Potencier", 2184 | "email": "fabien@symfony.com", 2185 | "homepage": "http://fabien.potencier.org", 2186 | "role": "Lead Developer" 2187 | }, 2188 | { 2189 | "name": "Armin Ronacher", 2190 | "email": "armin.ronacher@active-4.com", 2191 | "role": "Project Founder" 2192 | }, 2193 | { 2194 | "name": "Twig Team", 2195 | "homepage": "https://twig.symfony.com/contributors", 2196 | "role": "Contributors" 2197 | } 2198 | ], 2199 | "description": "Twig, the flexible, fast, and secure template language for PHP", 2200 | "homepage": "https://twig.symfony.com", 2201 | "keywords": [ 2202 | "templating" 2203 | ], 2204 | "time": "2018-07-13T07:18:09+00:00" 2205 | }, 2206 | { 2207 | "name": "vlucas/phpdotenv", 2208 | "version": "v2.5.1", 2209 | "source": { 2210 | "type": "git", 2211 | "url": "https://github.com/vlucas/phpdotenv.git", 2212 | "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e" 2213 | }, 2214 | "dist": { 2215 | "type": "zip", 2216 | "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", 2217 | "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", 2218 | "shasum": "" 2219 | }, 2220 | "require": { 2221 | "php": ">=5.3.9" 2222 | }, 2223 | "require-dev": { 2224 | "phpunit/phpunit": "^4.8.35 || ^5.0" 2225 | }, 2226 | "type": "library", 2227 | "extra": { 2228 | "branch-alias": { 2229 | "dev-master": "2.5-dev" 2230 | } 2231 | }, 2232 | "autoload": { 2233 | "psr-4": { 2234 | "Dotenv\\": "src/" 2235 | } 2236 | }, 2237 | "notification-url": "https://packagist.org/downloads/", 2238 | "license": [ 2239 | "BSD-3-Clause" 2240 | ], 2241 | "authors": [ 2242 | { 2243 | "name": "Vance Lucas", 2244 | "email": "vance@vancelucas.com", 2245 | "homepage": "http://www.vancelucas.com" 2246 | } 2247 | ], 2248 | "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", 2249 | "keywords": [ 2250 | "dotenv", 2251 | "env", 2252 | "environment" 2253 | ], 2254 | "time": "2018-07-29T20:33:41+00:00" 2255 | }, 2256 | { 2257 | "name": "yiisoft/yii2", 2258 | "version": "2.0.15.1", 2259 | "source": { 2260 | "type": "git", 2261 | "url": "https://github.com/yiisoft/yii2-framework.git", 2262 | "reference": "ed3a9e1c4abe206e1c3ce48a6b3624119b79850d" 2263 | }, 2264 | "dist": { 2265 | "type": "zip", 2266 | "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/ed3a9e1c4abe206e1c3ce48a6b3624119b79850d", 2267 | "reference": "ed3a9e1c4abe206e1c3ce48a6b3624119b79850d", 2268 | "shasum": "" 2269 | }, 2270 | "require": { 2271 | "bower-asset/inputmask": "~3.2.2 | ~3.3.5", 2272 | "bower-asset/jquery": "3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable", 2273 | "bower-asset/punycode": "1.3.*", 2274 | "bower-asset/yii2-pjax": "~2.0.1", 2275 | "cebe/markdown": "~1.0.0 | ~1.1.0", 2276 | "ext-ctype": "*", 2277 | "ext-mbstring": "*", 2278 | "ezyang/htmlpurifier": "~4.6", 2279 | "lib-pcre": "*", 2280 | "php": ">=5.4.0", 2281 | "yiisoft/yii2-composer": "~2.0.4" 2282 | }, 2283 | "bin": [ 2284 | "yii" 2285 | ], 2286 | "type": "library", 2287 | "extra": { 2288 | "branch-alias": { 2289 | "dev-master": "2.0.x-dev" 2290 | } 2291 | }, 2292 | "autoload": { 2293 | "psr-4": { 2294 | "yii\\": "" 2295 | } 2296 | }, 2297 | "notification-url": "https://packagist.org/downloads/", 2298 | "license": [ 2299 | "BSD-3-Clause" 2300 | ], 2301 | "authors": [ 2302 | { 2303 | "name": "Qiang Xue", 2304 | "email": "qiang.xue@gmail.com", 2305 | "homepage": "http://www.yiiframework.com/", 2306 | "role": "Founder and project lead" 2307 | }, 2308 | { 2309 | "name": "Alexander Makarov", 2310 | "email": "sam@rmcreative.ru", 2311 | "homepage": "http://rmcreative.ru/", 2312 | "role": "Core framework development" 2313 | }, 2314 | { 2315 | "name": "Maurizio Domba", 2316 | "homepage": "http://mdomba.info/", 2317 | "role": "Core framework development" 2318 | }, 2319 | { 2320 | "name": "Carsten Brandt", 2321 | "email": "mail@cebe.cc", 2322 | "homepage": "http://cebe.cc/", 2323 | "role": "Core framework development" 2324 | }, 2325 | { 2326 | "name": "Timur Ruziev", 2327 | "email": "resurtm@gmail.com", 2328 | "homepage": "http://resurtm.com/", 2329 | "role": "Core framework development" 2330 | }, 2331 | { 2332 | "name": "Paul Klimov", 2333 | "email": "klimov.paul@gmail.com", 2334 | "role": "Core framework development" 2335 | }, 2336 | { 2337 | "name": "Dmitry Naumenko", 2338 | "email": "d.naumenko.a@gmail.com", 2339 | "role": "Core framework development" 2340 | }, 2341 | { 2342 | "name": "Boudewijn Vahrmeijer", 2343 | "email": "info@dynasource.eu", 2344 | "homepage": "http://dynasource.eu", 2345 | "role": "Core framework development" 2346 | } 2347 | ], 2348 | "description": "Yii PHP Framework Version 2", 2349 | "homepage": "http://www.yiiframework.com/", 2350 | "keywords": [ 2351 | "framework", 2352 | "yii2" 2353 | ], 2354 | "time": "2018-03-21T18:36:53+00:00" 2355 | }, 2356 | { 2357 | "name": "yiisoft/yii2-bootstrap", 2358 | "version": "2.0.8", 2359 | "source": { 2360 | "type": "git", 2361 | "url": "https://github.com/yiisoft/yii2-bootstrap.git", 2362 | "reference": "3f49c47924bb9fa5363c3fc7b073d954168cf438" 2363 | }, 2364 | "dist": { 2365 | "type": "zip", 2366 | "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/3f49c47924bb9fa5363c3fc7b073d954168cf438", 2367 | "reference": "3f49c47924bb9fa5363c3fc7b073d954168cf438", 2368 | "shasum": "" 2369 | }, 2370 | "require": { 2371 | "bower-asset/bootstrap": "3.3.* | 3.2.* | 3.1.*", 2372 | "yiisoft/yii2": "~2.0.6" 2373 | }, 2374 | "type": "yii2-extension", 2375 | "extra": { 2376 | "branch-alias": { 2377 | "dev-master": "2.0.x-dev" 2378 | } 2379 | }, 2380 | "autoload": { 2381 | "psr-4": { 2382 | "yii\\bootstrap\\": "src" 2383 | } 2384 | }, 2385 | "notification-url": "https://packagist.org/downloads/", 2386 | "license": [ 2387 | "BSD-3-Clause" 2388 | ], 2389 | "authors": [ 2390 | { 2391 | "name": "Paul Klimov", 2392 | "email": "klimov.paul@gmail.com" 2393 | }, 2394 | { 2395 | "name": "Alexander Makarov", 2396 | "email": "sam@rmcreative.ru", 2397 | "homepage": "http://rmcreative.ru/" 2398 | }, 2399 | { 2400 | "name": "Antonio Ramirez", 2401 | "email": "amigo.cobos@gmail.com" 2402 | }, 2403 | { 2404 | "name": "Qiang Xue", 2405 | "email": "qiang.xue@gmail.com", 2406 | "homepage": "http://www.yiiframework.com/" 2407 | } 2408 | ], 2409 | "description": "The Twitter Bootstrap extension for the Yii framework", 2410 | "keywords": [ 2411 | "bootstrap", 2412 | "yii2" 2413 | ], 2414 | "time": "2018-02-16T10:41:52+00:00" 2415 | }, 2416 | { 2417 | "name": "yiisoft/yii2-composer", 2418 | "version": "2.0.7", 2419 | "source": { 2420 | "type": "git", 2421 | "url": "https://github.com/yiisoft/yii2-composer.git", 2422 | "reference": "1439e78be1218c492e6cde251ed87d3f128b9534" 2423 | }, 2424 | "dist": { 2425 | "type": "zip", 2426 | "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/1439e78be1218c492e6cde251ed87d3f128b9534", 2427 | "reference": "1439e78be1218c492e6cde251ed87d3f128b9534", 2428 | "shasum": "" 2429 | }, 2430 | "require": { 2431 | "composer-plugin-api": "^1.0" 2432 | }, 2433 | "require-dev": { 2434 | "composer/composer": "^1.0" 2435 | }, 2436 | "type": "composer-plugin", 2437 | "extra": { 2438 | "class": "yii\\composer\\Plugin", 2439 | "branch-alias": { 2440 | "dev-master": "2.0.x-dev" 2441 | } 2442 | }, 2443 | "autoload": { 2444 | "psr-4": { 2445 | "yii\\composer\\": "" 2446 | } 2447 | }, 2448 | "notification-url": "https://packagist.org/downloads/", 2449 | "license": [ 2450 | "BSD-3-Clause" 2451 | ], 2452 | "authors": [ 2453 | { 2454 | "name": "Qiang Xue", 2455 | "email": "qiang.xue@gmail.com" 2456 | }, 2457 | { 2458 | "name": "Carsten Brandt", 2459 | "email": "mail@cebe.cc" 2460 | } 2461 | ], 2462 | "description": "The composer plugin for Yii extension installer", 2463 | "keywords": [ 2464 | "composer", 2465 | "extension installer", 2466 | "yii2" 2467 | ], 2468 | "time": "2018-07-05T15:44:47+00:00" 2469 | }, 2470 | { 2471 | "name": "yiisoft/yii2-debug", 2472 | "version": "2.0.13", 2473 | "source": { 2474 | "type": "git", 2475 | "url": "https://github.com/yiisoft/yii2-debug.git", 2476 | "reference": "b37f414959c2fafefb332020b42037cd17c1cb7f" 2477 | }, 2478 | "dist": { 2479 | "type": "zip", 2480 | "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/b37f414959c2fafefb332020b42037cd17c1cb7f", 2481 | "reference": "b37f414959c2fafefb332020b42037cd17c1cb7f", 2482 | "shasum": "" 2483 | }, 2484 | "require": { 2485 | "yiisoft/yii2": "~2.0.13", 2486 | "yiisoft/yii2-bootstrap": "~2.0.0" 2487 | }, 2488 | "type": "yii2-extension", 2489 | "extra": { 2490 | "branch-alias": { 2491 | "dev-master": "2.0.x-dev" 2492 | } 2493 | }, 2494 | "autoload": { 2495 | "psr-4": { 2496 | "yii\\debug\\": "" 2497 | } 2498 | }, 2499 | "notification-url": "https://packagist.org/downloads/", 2500 | "license": [ 2501 | "BSD-3-Clause" 2502 | ], 2503 | "authors": [ 2504 | { 2505 | "name": "Qiang Xue", 2506 | "email": "qiang.xue@gmail.com" 2507 | } 2508 | ], 2509 | "description": "The debugger extension for the Yii framework", 2510 | "keywords": [ 2511 | "debug", 2512 | "debugger", 2513 | "yii2" 2514 | ], 2515 | "time": "2017-12-05T07:36:23+00:00" 2516 | }, 2517 | { 2518 | "name": "yiisoft/yii2-queue", 2519 | "version": "2.1.0", 2520 | "source": { 2521 | "type": "git", 2522 | "url": "https://github.com/yiisoft/yii2-queue.git", 2523 | "reference": "d04b4b3c932081200876a351cc6c3502e89e11b8" 2524 | }, 2525 | "dist": { 2526 | "type": "zip", 2527 | "url": "https://api.github.com/repos/yiisoft/yii2-queue/zipball/d04b4b3c932081200876a351cc6c3502e89e11b8", 2528 | "reference": "d04b4b3c932081200876a351cc6c3502e89e11b8", 2529 | "shasum": "" 2530 | }, 2531 | "require": { 2532 | "php": ">=5.5.0", 2533 | "symfony/process": "*", 2534 | "yiisoft/yii2": "~2.0.14" 2535 | }, 2536 | "require-dev": { 2537 | "aws/aws-sdk-php": ">=2.4", 2538 | "enqueue/amqp-lib": "^0.8", 2539 | "jeremeamia/superclosure": "*", 2540 | "pda/pheanstalk": "*", 2541 | "php-amqplib/php-amqplib": "*", 2542 | "phpunit/phpunit": "~4.4", 2543 | "yiisoft/yii2-debug": "*", 2544 | "yiisoft/yii2-gii": "*", 2545 | "yiisoft/yii2-redis": "*" 2546 | }, 2547 | "suggest": { 2548 | "aws/aws-sdk-php": "Need for aws SQS.", 2549 | "enqueue/amqp-lib": "Need for AMQP interop queue.", 2550 | "ext-gearman": "Need for Gearman queue.", 2551 | "ext-pcntl": "Need for process signals.", 2552 | "pda/pheanstalk": "Need for Beanstalk queue.", 2553 | "php-amqplib/php-amqplib": "Need for AMQP queue.", 2554 | "yiisoft/yii2-redis": "Need for Redis queue." 2555 | }, 2556 | "type": "yii2-extension", 2557 | "extra": { 2558 | "branch-alias": { 2559 | "dev-master": "2.0.x-dev" 2560 | } 2561 | }, 2562 | "autoload": { 2563 | "psr-4": { 2564 | "yii\\queue\\": "src", 2565 | "yii\\queue\\amqp\\": "src/drivers/amqp", 2566 | "yii\\queue\\amqp_interop\\": "src/drivers/amqp_interop", 2567 | "yii\\queue\\beanstalk\\": "src/drivers/beanstalk", 2568 | "yii\\queue\\db\\": "src/drivers/db", 2569 | "yii\\queue\\file\\": "src/drivers/file", 2570 | "yii\\queue\\gearman\\": "src/drivers/gearman", 2571 | "yii\\queue\\redis\\": "src/drivers/redis", 2572 | "yii\\queue\\sync\\": "src/drivers/sync", 2573 | "yii\\queue\\sqs\\": "src/drivers/sqs" 2574 | } 2575 | }, 2576 | "notification-url": "https://packagist.org/downloads/", 2577 | "license": [ 2578 | "BSD-3-Clause" 2579 | ], 2580 | "authors": [ 2581 | { 2582 | "name": "Roman Zhuravlev", 2583 | "email": "zhuravljov@gmail.com" 2584 | } 2585 | ], 2586 | "description": "Yii2 Queue Extension which supported DB, Redis, RabbitMQ, Beanstalk, SQS and Gearman", 2587 | "keywords": [ 2588 | "async", 2589 | "beanstalk", 2590 | "db", 2591 | "gearman", 2592 | "gii", 2593 | "queue", 2594 | "rabbitmq", 2595 | "redis", 2596 | "sqs", 2597 | "yii" 2598 | ], 2599 | "time": "2018-05-23T21:04:57+00:00" 2600 | }, 2601 | { 2602 | "name": "yiisoft/yii2-swiftmailer", 2603 | "version": "2.1.1", 2604 | "source": { 2605 | "type": "git", 2606 | "url": "https://github.com/yiisoft/yii2-swiftmailer.git", 2607 | "reference": "fd917fbe63b7ea796c52902143b83b98e65bfb73" 2608 | }, 2609 | "dist": { 2610 | "type": "zip", 2611 | "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/fd917fbe63b7ea796c52902143b83b98e65bfb73", 2612 | "reference": "fd917fbe63b7ea796c52902143b83b98e65bfb73", 2613 | "shasum": "" 2614 | }, 2615 | "require": { 2616 | "swiftmailer/swiftmailer": "~6.0", 2617 | "yiisoft/yii2": "~2.0.4" 2618 | }, 2619 | "type": "yii2-extension", 2620 | "extra": { 2621 | "branch-alias": { 2622 | "dev-master": "2.1.x-dev" 2623 | } 2624 | }, 2625 | "autoload": { 2626 | "psr-4": { 2627 | "yii\\swiftmailer\\": "src" 2628 | } 2629 | }, 2630 | "notification-url": "https://packagist.org/downloads/", 2631 | "license": [ 2632 | "BSD-3-Clause" 2633 | ], 2634 | "authors": [ 2635 | { 2636 | "name": "Paul Klimov", 2637 | "email": "klimov.paul@gmail.com" 2638 | } 2639 | ], 2640 | "description": "The SwiftMailer integration for the Yii framework", 2641 | "keywords": [ 2642 | "email", 2643 | "mail", 2644 | "mailer", 2645 | "swift", 2646 | "swiftmailer", 2647 | "yii2" 2648 | ], 2649 | "time": "2018-04-24T23:17:42+00:00" 2650 | }, 2651 | { 2652 | "name": "zendframework/zend-escaper", 2653 | "version": "2.6.0", 2654 | "source": { 2655 | "type": "git", 2656 | "url": "https://github.com/zendframework/zend-escaper.git", 2657 | "reference": "31d8aafae982f9568287cb4dce987e6aff8fd074" 2658 | }, 2659 | "dist": { 2660 | "type": "zip", 2661 | "url": "https://api.github.com/repos/zendframework/zend-escaper/zipball/31d8aafae982f9568287cb4dce987e6aff8fd074", 2662 | "reference": "31d8aafae982f9568287cb4dce987e6aff8fd074", 2663 | "shasum": "" 2664 | }, 2665 | "require": { 2666 | "php": "^5.6 || ^7.0" 2667 | }, 2668 | "require-dev": { 2669 | "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2", 2670 | "zendframework/zend-coding-standard": "~1.0.0" 2671 | }, 2672 | "type": "library", 2673 | "extra": { 2674 | "branch-alias": { 2675 | "dev-master": "2.6.x-dev", 2676 | "dev-develop": "2.7.x-dev" 2677 | } 2678 | }, 2679 | "autoload": { 2680 | "psr-4": { 2681 | "Zend\\Escaper\\": "src/" 2682 | } 2683 | }, 2684 | "notification-url": "https://packagist.org/downloads/", 2685 | "license": [ 2686 | "BSD-3-Clause" 2687 | ], 2688 | "description": "Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs", 2689 | "keywords": [ 2690 | "ZendFramework", 2691 | "escaper", 2692 | "zf" 2693 | ], 2694 | "time": "2018-04-25T15:48:53+00:00" 2695 | }, 2696 | { 2697 | "name": "zendframework/zend-feed", 2698 | "version": "2.10.3", 2699 | "source": { 2700 | "type": "git", 2701 | "url": "https://github.com/zendframework/zend-feed.git", 2702 | "reference": "6641f4cf3f4586c63f83fd70b6d19966025c8888" 2703 | }, 2704 | "dist": { 2705 | "type": "zip", 2706 | "url": "https://api.github.com/repos/zendframework/zend-feed/zipball/6641f4cf3f4586c63f83fd70b6d19966025c8888", 2707 | "reference": "6641f4cf3f4586c63f83fd70b6d19966025c8888", 2708 | "shasum": "" 2709 | }, 2710 | "require": { 2711 | "php": "^5.6 || ^7.0", 2712 | "zendframework/zend-escaper": "^2.5.2", 2713 | "zendframework/zend-stdlib": "^2.7.7 || ^3.1" 2714 | }, 2715 | "require-dev": { 2716 | "phpunit/phpunit": "^5.7.23 || ^6.4.3", 2717 | "psr/http-message": "^1.0.1", 2718 | "zendframework/zend-cache": "^2.7.2", 2719 | "zendframework/zend-coding-standard": "~1.0.0", 2720 | "zendframework/zend-db": "^2.8.2", 2721 | "zendframework/zend-http": "^2.7", 2722 | "zendframework/zend-servicemanager": "^2.7.8 || ^3.3", 2723 | "zendframework/zend-validator": "^2.10.1" 2724 | }, 2725 | "suggest": { 2726 | "psr/http-message": "PSR-7 ^1.0.1, if you wish to use Zend\\Feed\\Reader\\Http\\Psr7ResponseDecorator", 2727 | "zendframework/zend-cache": "Zend\\Cache component, for optionally caching feeds between requests", 2728 | "zendframework/zend-db": "Zend\\Db component, for use with PubSubHubbub", 2729 | "zendframework/zend-http": "Zend\\Http for PubSubHubbub, and optionally for use with Zend\\Feed\\Reader", 2730 | "zendframework/zend-servicemanager": "Zend\\ServiceManager component, for easily extending ExtensionManager implementations", 2731 | "zendframework/zend-validator": "Zend\\Validator component, for validating email addresses used in Atom feeds and entries when using the Writer subcomponent" 2732 | }, 2733 | "type": "library", 2734 | "extra": { 2735 | "branch-alias": { 2736 | "dev-master": "2.10.x-dev", 2737 | "dev-develop": "2.11.x-dev" 2738 | } 2739 | }, 2740 | "autoload": { 2741 | "psr-4": { 2742 | "Zend\\Feed\\": "src/" 2743 | } 2744 | }, 2745 | "notification-url": "https://packagist.org/downloads/", 2746 | "license": [ 2747 | "BSD-3-Clause" 2748 | ], 2749 | "description": "provides functionality for consuming RSS and Atom feeds", 2750 | "keywords": [ 2751 | "ZendFramework", 2752 | "feed", 2753 | "zf" 2754 | ], 2755 | "time": "2018-08-01T13:53:20+00:00" 2756 | }, 2757 | { 2758 | "name": "zendframework/zend-stdlib", 2759 | "version": "3.2.1", 2760 | "source": { 2761 | "type": "git", 2762 | "url": "https://github.com/zendframework/zend-stdlib.git", 2763 | "reference": "66536006722aff9e62d1b331025089b7ec71c065" 2764 | }, 2765 | "dist": { 2766 | "type": "zip", 2767 | "url": "https://api.github.com/repos/zendframework/zend-stdlib/zipball/66536006722aff9e62d1b331025089b7ec71c065", 2768 | "reference": "66536006722aff9e62d1b331025089b7ec71c065", 2769 | "shasum": "" 2770 | }, 2771 | "require": { 2772 | "php": "^5.6 || ^7.0" 2773 | }, 2774 | "require-dev": { 2775 | "phpbench/phpbench": "^0.13", 2776 | "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2", 2777 | "zendframework/zend-coding-standard": "~1.0.0" 2778 | }, 2779 | "type": "library", 2780 | "extra": { 2781 | "branch-alias": { 2782 | "dev-master": "3.2.x-dev", 2783 | "dev-develop": "3.3.x-dev" 2784 | } 2785 | }, 2786 | "autoload": { 2787 | "psr-4": { 2788 | "Zend\\Stdlib\\": "src/" 2789 | } 2790 | }, 2791 | "notification-url": "https://packagist.org/downloads/", 2792 | "license": [ 2793 | "BSD-3-Clause" 2794 | ], 2795 | "description": "SPL extensions, array utilities, error handlers, and more", 2796 | "keywords": [ 2797 | "ZendFramework", 2798 | "stdlib", 2799 | "zf" 2800 | ], 2801 | "time": "2018-08-28T21:34:05+00:00" 2802 | } 2803 | ], 2804 | "packages-dev": [], 2805 | "aliases": [], 2806 | "minimum-stability": "stable", 2807 | "stability-flags": [], 2808 | "prefer-stable": false, 2809 | "prefer-lowest": false, 2810 | "platform": [], 2811 | "platform-dev": [], 2812 | "platform-overrides": { 2813 | "php": "7.0" 2814 | } 2815 | } 2816 | -------------------------------------------------------------------------------- /src/config/app.php: -------------------------------------------------------------------------------- 1 | [ 22 | 'my-module' => \modules\Module::class, 23 | ], 24 | //'bootstrap' => ['my-module'], 25 | ]; 26 | -------------------------------------------------------------------------------- /src/config/db.php: -------------------------------------------------------------------------------- 1 | getenv('DB_DRIVER'), 13 | 'server' => getenv('DB_SERVER'), 14 | 'user' => getenv('DB_USER'), 15 | 'password' => getenv('DB_PASSWORD'), 16 | 'database' => getenv('DB_DATABASE'), 17 | 'schema' => getenv('DB_SCHEMA'), 18 | 'tablePrefix' => getenv('DB_TABLE_PREFIX'), 19 | 'port' => getenv('DB_PORT') 20 | ]; 21 | -------------------------------------------------------------------------------- /src/config/general.php: -------------------------------------------------------------------------------- 1 | [ 14 | // Default Week Start Day (0 = Sunday, 1 = Monday...) 15 | 'defaultWeekStartDay' => 0, 16 | 17 | // Enable CSRF Protection (recommended) 18 | 'enableCsrfProtection' => true, 19 | 20 | // Whether generated URLs should omit "index.php" 21 | 'omitScriptNameInUrls' => true, 22 | 23 | // Control Panel trigger word 24 | 'cpTrigger' => 'admin', 25 | 26 | // The secure key Craft will use for hashing and encrypting data 27 | 'securityKey' => getenv('SECURITY_KEY'), 28 | ], 29 | 30 | // Dev environment settings 31 | 'dev' => [ 32 | // Base site URL 33 | 'siteUrl' => null, 34 | 35 | // Dev Mode (see https://craftcms.com/support/dev-mode) 36 | 'devMode' => true, 37 | ], 38 | 39 | // Staging environment settings 40 | 'staging' => [ 41 | // Base site URL 42 | 'siteUrl' => null, 43 | ], 44 | 45 | // Production environment settings 46 | 'production' => [ 47 | // Base site URL 48 | 'siteUrl' => null, 49 | ], 50 | ]; 51 | -------------------------------------------------------------------------------- /src/config/redactor/Simple.json: -------------------------------------------------------------------------------- 1 | { 2 | "buttons": ["bold", "italic"], 3 | "toolbarFixed": true 4 | } 5 | -------------------------------------------------------------------------------- /src/config/redactor/Standard.json: -------------------------------------------------------------------------------- 1 | { 2 | "buttons": ["formatting", "bold", "italic", "unorderedlist", "orderedlist", "link", "image", "video"], 3 | "plugins": ["fullscreen", "video"], 4 | "linkNewTab": true, 5 | "toolbarFixed": true 6 | } 7 | -------------------------------------------------------------------------------- /src/config/routes.php: -------------------------------------------------------------------------------- 1 | ' => ['template' => 'blog/_archive'], 15 | * 16 | * That example would match URIs such as `/blog/archive/2012`, and pass the 17 | * request along to the `blog/_archive` template, providing it a `year` variable 18 | * set to the value `2012`. 19 | */ 20 | 21 | return [ 22 | 23 | ]; 24 | -------------------------------------------------------------------------------- /src/craft: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | load(); 17 | } 18 | 19 | // Load and run Craft 20 | define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production'); 21 | $app = require CRAFT_VENDOR_PATH.'/craftcms/cms/bootstrap/console.php'; 22 | $exitCode = $app->run(); 23 | exit($exitCode); 24 | -------------------------------------------------------------------------------- /src/modules/Module.php: -------------------------------------------------------------------------------- 1 | getModule('my-module')`. 11 | * 12 | * You can change its module ID ("my-module") to something else from 13 | * config/app.php. 14 | * 15 | * If you want the module to get loaded on every request, uncomment this line 16 | * in config/app.php: 17 | * 18 | * 'bootstrap' => ['my-module'] 19 | * 20 | * Learn more about Yii module development in Yii's documentation: 21 | * http://www.yiiframework.com/doc-2.0/guide-structure-modules.html 22 | */ 23 | class Module extends \yii\base\Module 24 | { 25 | /** 26 | * Initializes the module. 27 | */ 28 | public function init() 29 | { 30 | // Set a @modules alias pointed to the modules/ directory 31 | Craft::setAlias('@modules', __DIR__); 32 | 33 | // Set the controllerNamespace based on whether this is a console or web request 34 | if (Craft::$app->getRequest()->getIsConsoleRequest()) { 35 | $this->controllerNamespace = 'modules\\console\\controllers'; 36 | } else { 37 | $this->controllerNamespace = 'modules\\controllers'; 38 | } 39 | 40 | parent::init(); 41 | 42 | // Custom initialization code goes here... 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/storage/.gitignore: -------------------------------------------------------------------------------- 1 | backups 2 | logs 3 | runtime 4 | -------------------------------------------------------------------------------- /src/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Welcome to Craft CMS 7 | 8 | 9 | 175 | 176 | 177 |
178 | 216 |
217 | 218 | 219 | -------------------------------------------------------------------------------- /src/translations/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eivindml/docker-craft-nginx/9bd64f4bcbfd6373ec74832bdf1d9c10dfa7cbd7/src/translations/.gitkeep -------------------------------------------------------------------------------- /src/web/cpresources/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | !.gitkeep 4 | -------------------------------------------------------------------------------- /src/web/cpresources/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eivindml/docker-craft-nginx/9bd64f4bcbfd6373ec74832bdf1d9c10dfa7cbd7/src/web/cpresources/.gitkeep -------------------------------------------------------------------------------- /src/web/index.php: -------------------------------------------------------------------------------- 1 | load(); 16 | } 17 | 18 | // Load and run Craft 19 | define('CRAFT_ENVIRONMENT', getenv('ENVIRONMENT') ?: 'production'); 20 | $app = require CRAFT_VENDOR_PATH.'/craftcms/cms/bootstrap/web.php'; 21 | $app->run(); 22 | --------------------------------------------------------------------------------