├── app
├── public
│ └── phpinfo.php
├── composer.json
└── composer.lock
├── .gitignore
├── phpapp_cookbook
├── recipes
│ ├── setup_opsworks.rb
│ ├── deploy_opsworks.rb
│ ├── setup_shared.rb
│ ├── setup_vagrant.rb
│ └── setup_php.rb
├── templates
│ └── default
│ │ ├── webapp.conf.erb
│ │ └── webapp.dev.conf.erb
├── attributes
│ └── default.rb
└── metadata.json
├── Berksfile
├── phpmyadmin_cookbook
├── CHANGELOG.md
├── resources
│ ├── pmadb.rb
│ └── db.rb
├── attributes
│ └── default.rb
├── templates
│ └── default
│ │ ├── dbinstance.inc.php.erb
│ │ ├── config.inc.php.erb
│ │ └── phpmyadmin.sql.erb
├── providers
│ ├── db.rb
│ └── pmadb.rb
├── recipes
│ └── default.rb
├── metadata.rb
├── README.md
├── metadata.json
└── LICENSE
├── Vagrantfile
├── Berksfile.lock
└── README.md
/app/public/phpinfo.php:
--------------------------------------------------------------------------------
1 |
6 | ServerName <%= @params[:server_name] %>
7 | ServerAlias <% @params[:server_aliases].each do |a| %><%= "#{a}" %> <% end %>
8 | DocumentRoot <%= @params[:docroot] %>
9 |
10 | >
11 | Options FollowSymLinks
12 | Require all granted
13 |
14 | RewriteEngine On
15 | RewriteCond %{REQUEST_FILENAME} !-f
16 | RewriteCond %{REQUEST_FILENAME} !-d
17 | RewriteRule ^ index.php [QSA,L]
18 |
19 |
--------------------------------------------------------------------------------
/Berksfile:
--------------------------------------------------------------------------------
1 | source "https://supermarket.getchef.com"
2 | source 'https://supermarket.chef.io'
3 |
4 | cookbook 'apt', '7.1.1'
5 | cookbook 'yum'
6 | cookbook 'yum-epel'
7 | cookbook 'bluepill'
8 | cookbook 'ark'
9 | cookbook 'build-essential'
10 | cookbook 'openssl'
11 | cookbook 'apache2', '5.2.1'
12 | cookbook 'windows', '5.1.3'
13 | cookbook 'php', '6.1.1'
14 | cookbook 'composer'
15 | cookbook 'ntp'
16 | cookbook 'mysql'
17 | cookbook 'application_git'
18 | cookbook 'selinux', '2.1.1'
19 | cookbook 'logrotate'
20 | cookbook 'seven_zip', '3.0.0'
21 | cookbook 'phpapp', path: 'phpapp_cookbook'
22 | cookbook 'phpmyadmin', path: 'phpmyadmin_cookbook'
23 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # CHANGELOG for phpmyadmin
2 |
3 | This file is used to list changes made in each version of phpmyadmin.
4 |
5 | ## 1.0.4
6 |
7 | * PMA version bump
8 | * Fix for node save in order to run on chef-solo runs (credit: Ivan Tanev)
9 | * Updated the upload directory permissions with more secure ones
10 | * Othe small fixes here and there
11 |
12 | ## 1.0.2
13 |
14 | * PMA version bump
15 | * Updated some default attributes
16 |
17 | ## 1.0.1
18 |
19 | * Updated blowfish hash creation method
20 | * Added the pmadb LWRP for creating the PMA's databases to each needed node
21 | * Updated LWRP idempotency
22 | * Added new attributes
23 |
24 | ## 1.0.0:
25 |
26 | * Initial release of phpmyadmin
27 |
--------------------------------------------------------------------------------
/phpapp_cookbook/attributes/default.rb:
--------------------------------------------------------------------------------
1 | default['yum']['main']['exclude'] = 'kernel'
2 |
3 | default['phpapp']['env'] = 'production'
4 | default['phpapp']['home'] = '/var/app'
5 | default['phpapp']['rds'] = 'localhost'
6 |
7 | default['composer']['php_recipe'] = 'php::package'
8 |
9 | default['apache']['version'] = '2.4'
10 |
11 | default['php']['directives'] = {
12 | 'date.timezone' => 'UTC',
13 | 'upload_tmp_dir' => '/tmp',
14 | 'display_errors' => 'Off',
15 | 'memory_limit' => '128M',
16 | 'post_max_size' => '16M',
17 | 'output_buffering' => 'On',
18 | 'short_open_tag' => 'On',
19 | 'session.save_path' => '/tmp',
20 | 'error_log' => '/var/log/php_errors.log',
21 | 'max_input_vars' => '10000',
22 | 'opcache.fast_shutdown' => '0',
23 | 'upload_max_filesize' => '12M'
24 | }
25 |
26 | default['ntp']['sync_clock'] = true
27 |
--------------------------------------------------------------------------------
/phpapp_cookbook/templates/default/webapp.dev.conf.erb:
--------------------------------------------------------------------------------
1 | ServerTokens OS
2 | LoadModule php7_module modules/libphp7.so
3 | AddHandler php7-script php
4 |
5 |
6 | ServerName <%= @params[:server_name] %>
7 | ServerAlias <% @params[:server_aliases].each do |a| %><%= "#{a}" %> <% end %>
8 | DocumentRoot <%= @params[:docroot] %>
9 |
10 | >
11 | Options FollowSymLinks
12 | Require all granted
13 | SetEnv APPLICATION_ENV development
14 |
15 | RewriteEngine On
16 | RewriteCond %{REQUEST_FILENAME} !-f
17 | RewriteCond %{REQUEST_FILENAME} !-d
18 | RewriteRule ^ index.php [QSA,L]
19 |
20 |
21 |
22 | Alias /phpmyadmin "/opt/phpmyadmin/"
23 | Alias /phpMyAdmin "/opt/phpmyadmin/"
24 |
25 | Require all granted
26 |
--------------------------------------------------------------------------------
/Vagrantfile:
--------------------------------------------------------------------------------
1 | # -*- mode: ruby -*-
2 | # vi: set ft=ruby :
3 |
4 |
5 | Vagrant.configure("2") do |config|
6 | config.vm.hostname = "webapp.dev"
7 |
8 | config.vm.box = "gbailey/amzn2"
9 |
10 | config.vm.network :private_network, ip: "192.168.50.4"
11 | config.vm.network :forwarded_port, guest: 80, host: 80
12 | config.vm.network :forwarded_port, guest: 443, host: 443
13 |
14 | config.vm.synced_folder "app", "/var/app/", :id => "webapp-root", type: "virtualbox"
15 |
16 | config.vm.provision :chef_solo do |chef|
17 | chef.node_name = "api"
18 | chef.version = "12.18.31"
19 | chef.cookbooks_path = "resolved-cookbooks"
20 |
21 | chef.add_recipe "phpapp::setup_vagrant"
22 |
23 | chef.json = {
24 | :yum => {
25 | :exclude => 'kernel*'
26 | },
27 | :apache => {
28 | :listen => ['*:80', '*:443']
29 | },
30 | :phpapp => {
31 | :domain => 'webapp.dev'
32 | }
33 | }
34 |
35 | end
36 |
37 | end
38 |
39 |
--------------------------------------------------------------------------------
/phpapp_cookbook/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "phpapp",
3 | "description": "Setup & deploys PHP git applications",
4 | "long_description": "",
5 | "maintainer": "Adar Porat",
6 | "maintainer_email": "adar.porat@gmail.com",
7 | "license": "MIT",
8 | "platforms": {
9 | },
10 | "dependencies": {
11 | "build-essential": ">= 0.0.0",
12 | "selinux": ">= 0.0.0",
13 | "apt": ">= 0.0.0",
14 | "ntp": ">= 0.0.0",
15 | "yum": ">= 0.0.0",
16 | "composer": ">= 0.0.0",
17 | "apache2": ">= 0.0.0",
18 | "php": ">= 0.0.0",
19 | "phpmyadmin": ">= 0.0.0",
20 | "application_git": ">= 0.0.0"
21 | },
22 | "recommendations": {
23 | },
24 | "suggestions": {
25 | },
26 | "conflicting": {
27 | },
28 | "providing": {
29 | },
30 | "replacing": {
31 | },
32 | "attributes": {
33 | },
34 | "groupings": {
35 | },
36 | "recipes": {
37 | "phpapp::setup_php": "Setup php 7.1 environment",
38 | "phpapp::setup_shared": "Setup a PHP application environment",
39 | "phpapp::setup_vagrant": "Setup a PHP application vagrant environment",
40 | "phpapp::setup_opsworks": "Setup a PHP application EC2 environment",
41 | "phpapp::deploy_opsworks": "Deploys a PHP application"
42 | },
43 | "version": "0.9.0",
44 | "source_url": "",
45 | "issues_url": ""
46 | }
--------------------------------------------------------------------------------
/phpapp_cookbook/recipes/setup_vagrant.rb:
--------------------------------------------------------------------------------
1 | include_recipe "phpapp::setup_shared"
2 | include_recipe "phpmyadmin::default"
3 | include_recipe "selinux::default"
4 |
5 | phpmyadmin_db 'Dev DB' do
6 | host "#{node['phpapp']['rds']}"
7 | port 3306
8 | username 'root'
9 | password ''
10 | auth_type 'http'
11 | end
12 |
13 | selinux_state 'permissive' do
14 | action :permissive
15 | end
16 |
17 | selinux_state 'disabled' do
18 | action :disabled
19 | end
20 |
21 | bash "disable_firewall" do
22 | only_if "chkconfig --list | grep iptables"
23 | code <<-EOH
24 | service iptables stop
25 | chkconfig iptables off
26 | EOH
27 | end
28 |
29 | directory '/var/lib/php/session' do
30 | owner 'root'
31 | group 'root'
32 | mode 01777
33 | recursive true
34 | action :create
35 | end
36 |
37 | web_app "web_app" do
38 | docroot "#{node['phpapp']['home']}/public"
39 | template "webapp.dev.conf.erb"
40 | server_name "#{node['phpapp']['domain']}"
41 | server_aliases [node[:hostname], "#{node['phpapp']['domain']}"]
42 | notifies :reload, resources(:service => "apache2"), :delayed
43 | end
44 |
45 | composer_project node['phpapp']['home'] do
46 | dev false
47 | quiet true
48 | prefer_dist false
49 | prefer_source true
50 | optimize_autoloader true
51 | action :install
52 | end
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/resources/pmadb.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phpmyadmin
3 | # Resource:: pmadb
4 | #
5 | # Copyright 2012, Panagiotis Papadomitsos
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | default_action :create
21 |
22 | actions :create, :delete
23 |
24 | attribute :name, :kind_of => String, :required => true, :name_attribute => true
25 | attribute :host, :regex => /[a-zA-z0-9\.\-]+/, :required => true
26 | attribute :port, :kind_of => Integer, :default => 3306
27 | attribute :root_username, :kind_of => String, :required => true
28 | attribute :root_password, :kind_of => String, :required => true
29 | attribute :pma_database, :kind_of => String, :required => true
30 | attribute :pma_username, :kind_of => String, :required => true
31 | attribute :pma_password, :kind_of => String, :required => true
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/resources/db.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phpmyadmin
3 | # Resource:: db
4 | #
5 | # Copyright 2012, Panagiotis Papadomitsos
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | default_action :create
21 |
22 | actions :create, :delete
23 |
24 | attribute :name, :kind_of => String, :required => true, :name_attribute => true
25 | attribute :host, :regex => /[a-z0-9\.\-]+/, :required => true
26 | attribute :port, :kind_of => Integer, :default => 3306
27 | attribute :username, :kind_of => String, :required => true
28 | attribute :password, :kind_of => String, :required => true
29 | attribute :hide_dbs, :kind_of => [ Array, String ], :default => []
30 | attribute :pma_username, :kind_of => String, :default => ''
31 | attribute :pma_password, :kind_of => String, :default => ''
32 | attribute :pma_database, :kind_of => String, :default => ''
33 | attribute :auth_type, :kind_of => String, :default => 'config'
34 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/attributes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phpmyadmin
3 | # Attributes:: default
4 | #
5 | # Copyright 2012, Panagiotis Papadomitsos
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | default['phpmyadmin']['version'] = '5.0.2'
21 | default['phpmyadmin']['mirror'] = 'https://files.phpmyadmin.net/phpMyAdmin'
22 |
23 | default['phpmyadmin']['fpm'] = true
24 |
25 | default['phpmyadmin']['home'] = '/opt/phpmyadmin'
26 | default['phpmyadmin']['user'] = 'phpmyadmin'
27 | default['phpmyadmin']['group'] = 'phpmyadmin'
28 | default['phpmyadmin']['socket'] = '/tmp/phpmyadmin.sock'
29 |
30 | default['phpmyadmin']['upload_dir'] = '/var/lib/php/uploads'
31 | default['phpmyadmin']['save_dir'] = '/var/lib/php/uploads'
32 | default['phpmyadmin']['maxrows'] = 100
33 | default['phpmyadmin']['protect_binary'] = 'blob'
34 | default['phpmyadmin']['default_lang'] = 'en'
35 | default['phpmyadmin']['default_display'] = 'horizontal'
36 | default['phpmyadmin']['query_history'] = true
37 | default['phpmyadmin']['query_history_size'] = 100
38 |
--------------------------------------------------------------------------------
/phpapp_cookbook/recipes/setup_php.rb:
--------------------------------------------------------------------------------
1 | include_recipe "yum::default"
2 |
3 | # add the EPEL repo
4 | yum_repository 'epel' do
5 | description 'Extra Packages for Enterprise Linux'
6 | mirrorlist 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64'
7 | gpgkey 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
8 | action :create
9 | end
10 |
11 | case node['platform']
12 | when 'amazon'
13 |
14 | execute "sudo amazon-linux-extras install -y php7.4" do
15 | ignore_failure true
16 | end
17 |
18 | node.override['php']['packages'] = ['php', 'php-devel', 'php-cli', 'php-bcmath', 'php-snmp', 'php-soap', 'php-xml', 'php-xmlrpc', 'php-process', 'php-mysqlnd', 'php-opcache', 'php-pdo', 'php-mbstring', 'php-intl', 'php-gd', 'php-gmp', 'php-zip', 'php-pecl-redis']
19 | else
20 |
21 | # add the REMI repo
22 | yum_repository 'remi' do
23 | description "Remi's RPM repository for Enterprise Linux 7"
24 | mirrorlist 'https://rpms.remirepo.net/enterprise/7/remi/mirror'
25 | enabled true
26 | gpgcheck true
27 | gpgkey 'https://rpms.remirepo.net/RPM-GPG-KEY-remi'
28 | end
29 |
30 | yum_repository 'remi-php74' do
31 | description "Remi's PHP 7.4 RPM repository for Enterprise Linux 7"
32 | mirrorlist 'http://rpms.remirepo.net/enterprise/7/php74/mirror'
33 | gpgkey 'https://rpms.remirepo.net/RPM-GPG-KEY-remi'
34 | enabled true
35 | action :create
36 | end
37 | node.override['php']['packages'] = ['php', 'php-devel', 'php-cli', 'php-bcmath', 'php-snmp', 'php-soap', 'php-xml', 'php-xmlrpc', 'php-process', 'php-mysqlnd', 'php-opcache', 'php-pdo', 'php-mbstring', 'php-intl', 'php-gd', 'php-gmp', 'php-zip', 'php-pecl-redis']
38 | end
39 |
40 | include_recipe "build-essential"
41 | include_recipe "apache2::default"
42 | include_recipe "apache2::mod_rewrite"
43 | include_recipe "php::package"
44 | include_recipe "php::ini"
45 |
--------------------------------------------------------------------------------
/Berksfile.lock:
--------------------------------------------------------------------------------
1 | DEPENDENCIES
2 | apache2 (= 5.2.1)
3 | application_git
4 | apt (= 7.1.1)
5 | ark
6 | bluepill
7 | build-essential
8 | composer
9 | logrotate
10 | mysql
11 | ntp
12 | openssl
13 | php (= 6.1.1)
14 | phpapp
15 | path: phpapp_cookbook
16 | phpmyadmin
17 | path: phpmyadmin_cookbook
18 | selinux (= 2.1.1)
19 | seven_zip (= 3.0.0)
20 | windows (= 5.1.3)
21 | yum
22 | yum-epel
23 |
24 | GRAPH
25 | apache2 (5.2.1)
26 | application (5.2.0)
27 | poise (~> 2.4)
28 | poise-service (~> 1.0)
29 | application_git (1.2.0)
30 | application (~> 5.0)
31 | poise (~> 2.0)
32 | poise-git (~> 1.0)
33 | apt (7.1.1)
34 | ark (5.0.0)
35 | seven_zip (>= 0.0.0)
36 | bluepill (4.1.1)
37 | rsyslog (>= 2.0)
38 | build-essential (8.2.1)
39 | mingw (>= 1.1)
40 | seven_zip (>= 0.0.0)
41 | composer (2.7.0)
42 | apt (>= 0.0.0)
43 | php (>= 0.0.0)
44 | windows (>= 0.0.0)
45 | logrotate (2.2.3)
46 | mingw (2.1.1)
47 | seven_zip (>= 0.0.0)
48 | mysql (8.7.4)
49 | ntp (3.7.0)
50 | openssl (8.5.5)
51 | php (6.1.1)
52 | build-essential (>= 5.0)
53 | yum-epel (>= 0.0.0)
54 | phpapp (0.9.0)
55 | apache2 (>= 0.0.0)
56 | application_git (>= 0.0.0)
57 | apt (>= 0.0.0)
58 | build-essential (>= 0.0.0)
59 | composer (>= 0.0.0)
60 | ntp (>= 0.0.0)
61 | php (>= 0.0.0)
62 | phpmyadmin (>= 0.0.0)
63 | selinux (>= 0.0.0)
64 | yum (>= 0.0.0)
65 | phpmyadmin (1.0.4)
66 | php (>= 0.0.0)
67 | poise (2.8.2)
68 | poise-archive (1.5.0)
69 | poise (~> 2.6)
70 | poise-git (1.0.0)
71 | poise (~> 2.6)
72 | poise-languages (~> 2.1)
73 | poise-languages (2.1.2)
74 | poise (~> 2.5)
75 | poise-archive (~> 1.0)
76 | poise-service (1.5.2)
77 | poise (~> 2.0)
78 | rsyslog (7.1.0)
79 | selinux (2.1.1)
80 | seven_zip (3.0.0)
81 | windows (>= 0.0.0)
82 | windows (5.1.3)
83 | yum (5.1.0)
84 | yum-epel (3.3.0)
85 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/templates/default/dbinstance.inc.php.erb:
--------------------------------------------------------------------------------
1 | ';
7 | /* Server parameters */
8 | $cfg['Servers'][$i]['host'] = '<%= @host %>';
9 | $cfg['Servers'][$i]['port'] = '<%= @port %>';
10 | $cfg['Servers'][$i]['connect_type'] = 'tcp';
11 | $cfg['Servers'][$i]['compress'] = true;
12 | /* Select mysqli if your server has it */
13 | $cfg['Servers'][$i]['extension'] = 'mysqli';
14 | $cfg['Servers'][$i]['AllowNoPassword'] = false;
15 |
16 | $cfg['Servers'][$i]['user'] = '<%= @user %>';
17 | $cfg['Servers'][$i]['password'] = '<%= @pass %>';
18 | <% if @hide_dbs %>
19 | $cfg['Servers'][$i]['hide_db'] = '^<%= @hide_dbs.join('|') %>$';
20 | <% end %>
21 | $cfg['Servers'][$i]['verbose'] = '<%= @name %>';
22 |
23 | /* rajk - for blobstreaming */
24 | $cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
25 | $cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
26 | $cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
27 | $cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
28 |
29 | <% unless @pma_user.empty? || @pma_pass.empty? || @pma_db.empty? %>
30 | /* User for advanced features */
31 | $cfg['Servers'][$i]['controluser'] = '<%= @pma_user %>';
32 | $cfg['Servers'][$i]['controlpass'] = '<%= @pma_pass %>';
33 | /* Advanced phpMyAdmin features */
34 | $cfg['Servers'][$i]['pmadb'] = '<%= @pma_db %>';
35 | $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
36 | $cfg['Servers'][$i]['relation'] = 'pma_relation';
37 | $cfg['Servers'][$i]['recent'] = 'pma_recent';
38 | $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
39 | $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
40 | $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
41 | $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
42 | $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
43 | $cfg['Servers'][$i]['history'] = 'pma_history';
44 | $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
45 | $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
46 | $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
47 | /* Contrib / Swekey authentication */
48 | $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
49 | <% end %>
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/providers/db.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phpmyadmin
3 | # Provider:: db
4 | #
5 | # Copyright 2012, Panagiotis Papadomitsos
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | action :create do
21 | Chef::Log.info("Creating PHPMyAdmin database profile for: #{new_resource.name}")
22 | new_resource.hide_dbs = [ new_resource.hide_dbs ] if new_resource.hide_dbs.instance_of?(String)
23 | new_resource.updated_by_last_action(false)
24 |
25 | a = template "#{node['phpmyadmin']['home']}/conf.d/#{new_resource.name.downcase.gsub(' ','_')}.inc.php" do
26 | cookbook 'phpmyadmin'
27 | source 'dbinstance.inc.php.erb'
28 | owner node['phpmyadmin']['user']
29 | group node['phpmyadmin']['group']
30 | variables({
31 | :name => new_resource.name,
32 | :host => new_resource.host,
33 | :port => new_resource.port,
34 | :user => new_resource.username,
35 | :pass => new_resource.password,
36 | :hide_dbs => new_resource.hide_dbs,
37 | :pma_user => new_resource.pma_username,
38 | :pma_pass => new_resource.pma_password,
39 | :pma_db => new_resource.pma_database,
40 | :auth_type => new_resource.auth_type
41 | })
42 | mode 00640
43 | end
44 |
45 | new_resource.updated_by_last_action(a.updated_by_last_action?)
46 |
47 | end
48 |
49 | action :delete do
50 | Chef::Log.info("Removing PHPMyAdmin database profile for: #{new_resource.name}")
51 | new_resource.updated_by_last_action(false)
52 |
53 | a = file "#{node['phpmyadmin']['home']}/conf.d/#{new_resource.name.downcase.gsub(' ','_')}.inc.php" do
54 | action :delete
55 | end
56 |
57 | new_resource.updated_by_last_action(a.updated_by_last_action?)
58 |
59 | end
60 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | opsworks-php-cookbooks
2 | ==================================
3 |
4 | AWS OpsWorks custom layer with support for PHP 7.4 and php application deployment from a private git repository.
5 | The project also contains an Amazon Linux virtual machine using Vagrant that emulate Amazon Linux AMI environment.
6 |
7 | Please make sure to read opsworks user guide before using these cookbooks http://docs.aws.amazon.com/opsworks/latest/userguide/chef-12-linux.html
8 |
9 | Based on https://www.chef.io/blog/2015/12/07/chef-community-cookbooks-with-aws-opsworks-chef-12/
10 |
11 | Requirements
12 | ============
13 | - Chef Development Kit (chefdk)
14 | - AWS CLI
15 | - S3 bucket for chef cookbooks deployment
16 | - Vagrant
17 |
18 | Bundling up the Cookbook for OpsWorks
19 | =============
20 | 1. Download or clone this repository
21 | 2. Run `berks package cookbooks.tar.gz` to bundle the cookbooks
22 | 3. Upload cookbooks bundle to S3 `aws s3 cp cookbooks.tar.gz s3://YOURBUCKET/cookbooks.tar.gz`
23 |
24 |
25 | Stack Setup
26 | =============
27 |
28 | 1. Add a new stack (Chef 12 Stack)
29 | 2. Use latest Amazon Linux AMI
30 | 2. Under Advanced Settings:
31 | - Pick `Use custom Chef cookbooks`
32 | - Repository type: `S3 Archive`
33 | - Repository URL `s3://YOURBUCKET/cookbooks.tar.gz`
34 | - Enter S3 credentials if your cookbooks are not public
35 | 3. Add a new layer.
36 | 4. Edit the newly created layer, and add the custom chef recipes:
37 | * add phpapp::setup_opsworks to the setup lifetime event
38 | * add phpapp::deploy_opsworks to the deploy lifetime event
39 | 5. If your VPC is public, make sure the Automatically `Assign Public IP Address` in the layer's network settings is turned on
40 | 5. Add an application from the "Applications" section. Make sure to enter your git deploy key
41 |
42 |
43 | Vagrant Setup
44 | =============
45 |
46 | 1. Download Vagrant 2.2+ from http://www.vagrantup.com
47 | 2. Download the latest VirtualBox from https://www.virtualbox.org
48 | 3. Install ChefDK 4+ https://downloads.getchef.com/chef-dk/mac/#/
49 | 4. Create a new project with the supplied `Vagrantfile` and edit `chef.cookbooks_path` to point to the cookbooks folder
50 | 5. Run `sudo berks vendor resolved-cookbooks` to bundle the cookbooks
51 | 6. Run `sudo vagrant up` to start the virtual machine
52 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phpmyadmin
3 | # Recipe:: default
4 | #
5 | # Copyright 2012, Panagiotis Papadomitsos
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the 'License');
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an 'AS IS' BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | require 'digest/sha1'
21 |
22 | home = node['phpmyadmin']['home']
23 | user = node['phpmyadmin']['user']
24 | group = node['phpmyadmin']['group']
25 | conf = "#{home}/config.inc.php"
26 |
27 | group group do
28 | action [ :create, :manage ]
29 | end
30 |
31 | user user do
32 | action [ :create, :manage ]
33 | comment 'PHPMyAdmin User'
34 | gid group
35 | home home
36 | shell '/usr/sbin/nologin'
37 | end
38 |
39 | directory home do
40 | name 'phpmyadmin_dir'
41 | owner user
42 | group group
43 | mode 00755
44 | recursive true
45 | action :create
46 | end
47 |
48 | directory node['phpmyadmin']['upload_dir'] do
49 | name 'phpmyadmin_upload_dir'
50 | owner 'root'
51 | group 'root'
52 | mode 01777
53 | recursive true
54 | action :create
55 | end
56 |
57 | directory node['phpmyadmin']['save_dir'] do
58 | name 'phpmyadmin_save_dir'
59 | owner 'root'
60 | group 'root'
61 | mode 01777
62 | recursive true
63 | action :create
64 | end
65 |
66 | # Download the selected PHPMyAdmin archive
67 | remote_file "#{Chef::Config['file_cache_path']}/phpMyAdmin-#{node['phpmyadmin']['version']}-all-languages.tar.gz" do
68 | owner user
69 | group group
70 | mode 00644
71 | action :create_if_missing
72 | source "#{node['phpmyadmin']['mirror']}/#{node['phpmyadmin']['version']}/phpMyAdmin-#{node['phpmyadmin']['version']}-all-languages.tar.gz"
73 | end
74 |
75 | bash 'extract-php-myadmin' do
76 | user user
77 | group group
78 | cwd home
79 | code <<-EOH
80 | rm -fr *
81 | tar xzf #{Chef::Config['file_cache_path']}/phpMyAdmin-#{node['phpmyadmin']['version']}-all-languages.tar.gz
82 | mv phpMyAdmin-#{node['phpmyadmin']['version']}-all-languages/* #{home}/
83 | rm -fr phpMyAdmin-#{node['phpmyadmin']['version']}-all-languages
84 | EOH
85 | not_if { ::File.exists?("#{home}/RELEASE-DATE-#{node['phpmyadmin']['version']}")}
86 | end
87 |
88 | directory "#{home}/conf.d" do
89 | owner user
90 | group group
91 | mode 00755
92 | recursive true
93 | action :create
94 | end
95 |
96 | template "#{home}/config.inc.php" do
97 | source 'config.inc.php.erb'
98 | owner user
99 | group group
100 | mode 00644
101 | end
102 |
103 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/providers/pmadb.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phpmyadmin
3 | # Provider:: pmadb
4 | #
5 | # Copyright 2012, Panagiotis Papadomitsos
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | action :create do
21 | Chef::Log.info("Creating PHPMyAdmin control database for: #{new_resource.name}")
22 | new_resource.updated_by_last_action(false)
23 |
24 | a = template "#{Chef::Config['file_cache_path']}/phpmyadmin-#{new_resource.host}.sql" do
25 | cookbook 'phpmyadmin'
26 | source 'phpmyadmin.sql.erb'
27 | owner 'root'
28 | group 'root'
29 | mode 00640
30 | variables({
31 | :pma_db => new_resource.pma_database,
32 | :pma_user => new_resource.pma_username,
33 | :pma_pass => new_resource.pma_password
34 | })
35 | action :create
36 | notifies :run, "execute[create-pma-database-for-#{new_resource.name}]"
37 | end
38 |
39 | b = execute "create-pma-database-for-#{new_resource.name}" do
40 | user 'root'
41 | group 'root'
42 | cwd Chef::Config['file_cache_path']
43 | command %Q{ mysql -u '#{new_resource.root_username}' -p'#{new_resource.root_password}' -h '#{new_resource.host}' -P#{new_resource.port} < #{Chef::Config['file_cache_path']}/phpmyadmin-#{new_resource.host}.sql }
44 | action :nothing
45 | end
46 |
47 | new_resource.updated_by_last_action(a.updated_by_last_action? || b.updated_by_last_action?)
48 |
49 | end
50 |
51 | action :delete do
52 | Chef::Log.info("Removing PHPMyAdmin control database for: #{new_resource.name}")
53 | new_resource.updated_by_last_action(false)
54 |
55 | a = execute "drop-pma-user-for-#{new_resource.name}" do
56 | command %Q{ mysql -u'#{new_resource.root_username}' -p'#{new_resource.root_password}' -h '#{new_resource.host}' -P#{new_resource.port} -e 'DELETE FROM `mysql`.`user` WHERE `User` = "#{new_resource.pma_username}"' }
57 | not_if %Q{ mysql -u'#{new_resource.root_username}' -p'#{new_resource.root_password}' -h '#{new_resource.host}' -P#{new_resource.port} -e 'SHOW GRANTS FOR "#{new_resource.pma_username}"@"%"' }
58 | action :run
59 | notifies :run, "execute[drop-pma-database-for-#{new_resource.name}]"
60 | end
61 |
62 | b = execute "drop-pma-database-for-#{new_resource.name}" do
63 | command %Q{ mysql -u'#{new_resource.root_username}' -p'#{new_resource.root_password}' -h '#{new_resource.host}' -P#{new_resource.port} -e 'DROP DATABASE #{new_resource.pma_database}' }
64 | not_if %Q{ mysql -u'#{new_resource.root_username}' -p'#{new_resource.root_password}' -h '#{new_resource.host}' -P#{new_resource.port} -e 'SHOW DATABASES LIKE "#{new_resource.pma_database}"' }
65 | action :nothing
66 | end
67 |
68 | new_resource.updated_by_last_action(a.updated_by_last_action? || b.updated_by_last_action?)
69 |
70 | end
71 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/metadata.rb:
--------------------------------------------------------------------------------
1 | name "phpmyadmin"
2 | maintainer "Panagiotis Papadomitsos"
3 | maintainer_email "pj@ezgr.net"
4 | license "Apache Public License 2.0"
5 | description "Installs/Configures PHPMyAdmin"
6 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7 | version "1.0.4"
8 |
9 | depends "php"
10 |
11 | recommends "nginx"
12 | recommends "apache2"
13 |
14 | suggests "percona"
15 | suggests "mysql"
16 |
17 | %w{ ubuntu debian redhat fedora centos }.each do |os|
18 | supports os
19 | end
20 |
21 | attribute "phpmyadmin/version",
22 | :display_name => "PHPMyAdmin version",
23 | :description => "The desired PMA version"
24 |
25 | attribute "phpmyadmin/mirror",
26 | :display_name => "PHPMyAdmin download mirror",
27 | :description => "The desired PMA download mirror",
28 | :default => "http://netcologne.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin"
29 |
30 | attribute "phpmyadmin/fpm",
31 | :display_name => "PHPMyAdmin FPM instance",
32 | :description => "Enables the PMA FPM instance for serving via NGINX",
33 | :default => "true"
34 |
35 | attribute "phpmyadmin/home",
36 | :display_name => "PHPMyAdmin home",
37 | :description => "The desired PMA installation home",
38 | :default => "/opt/phpmyadmin"
39 |
40 | attribute "phpmyadmin/user",
41 | :display_name => "PHPMyAdmin user",
42 | :description => "The user PMA runs as",
43 | :default => "phpmyadmin"
44 |
45 | attribute "phpmyadmin/group",
46 | :display_name => "PHPMyAdmin group",
47 | :description => "The group PMA runs as",
48 | :default => "phpmyadmin"
49 |
50 | attribute "phpmyadmin/socket",
51 | :display_name => "PHPMyAdmin FPM socket",
52 | :description => "The socket that FPM will be exposing for PMA",
53 | :default => "/tmp/phpmyadmin.sock"
54 |
55 | attribute "phpmyadmin/upload_dir",
56 | :display_name => "PHPMyAdmin upload directory",
57 | :description => "The directory PMA will be using for uploads",
58 | :calculated => true
59 |
60 | attribute "phpmyadmin/save_dir",
61 | :display_name => "PHPMyAdmin save directory",
62 | :description => "The directory PMA will be using for file saves",
63 | :calculated => true
64 |
65 | attribute "phpmyadmin/maxrows",
66 | :display_name => "PHPMyAdmin maximum rows",
67 | :description => "The maximum rows PMA shall display in a table view",
68 | :default => "100"
69 |
70 | attribute "phpmyadmin/protect_binary",
71 | :display_name => "PHPMyAdmin binary field protection",
72 | :description => "Define the binary field protection PMA will be using",
73 | :default => "blob"
74 |
75 | attribute "phpmyadmin/default_lang",
76 | :display_name => "PHPMyAdmin default language",
77 | :description => "The default language PMA will be using",
78 | :default => "en"
79 |
80 | attribute "phpmyadmin/default_display",
81 | :display_name => "PHPMyAdmin default row display",
82 | :description => "The default display of rows inside PMA",
83 | :default => "horizontal"
84 |
85 | attribute "phpmyadmin/query_history",
86 | :display_name => "PHPMyAdmin query history",
87 | :description => "Enable or disable the Javascript query history",
88 | :default => "true"
89 |
90 | attribute "phpmyadmin/query_history_size",
91 | :display_name => "PHPMyAdmin query history size",
92 | :description => "Set the maximum size of the Javascript query history",
93 | :default => "100"
94 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/templates/default/config.inc.php.erb:
--------------------------------------------------------------------------------
1 |
5 | * All directives are explained in Documentation.html and on phpMyAdmin
6 | * wiki .
7 | *
8 | * @package phpMyAdmin
9 | */
10 |
11 | /*
12 | * This is needed for cookie based authentication to encrypt password in
13 | * cookie
14 | */
15 | $cfg['blowfish_secret'] = '<%= node['phpmyadmin']['blowfish_secret'] %>' ; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
16 |
17 | /*
18 | * Servers configuration
19 | */
20 | $i = 0;
21 |
22 | foreach(glob('<%= node['phpmyadmin']['home'] %>/conf.d/*.inc.php', GLOB_NOSORT) as $conf)
23 | @include $conf;
24 |
25 | /*
26 | * Directories for saving/loading files from server
27 | */
28 | $cfg['UploadDir'] = '<%= node['phpmyadmin']['upload_dir'] %>';
29 | $cfg['SaveDir'] = '<%= node['phpmyadmin']['save_dir'] %>';
30 |
31 | $cfg['SuhosinDisableWarning'] = true;
32 |
33 | /**
34 | * Defines whether a user should be displayed a "show all (records)"
35 | * button in browse mode or not.
36 | * default = false
37 | */
38 | $cfg['ShowAll'] = true;
39 |
40 | /**
41 | * Number of rows displayed when browsing a result set. If the result
42 | * set contains more rows, "Previous" and "Next".
43 | * default = 30
44 | */
45 | $cfg['MaxRows'] = <%= node['phpmyadmin']['maxrows'] %>;
46 |
47 | /**
48 | * Use graphically less intense menu tabs
49 | * default = false
50 | */
51 | $cfg['LightTabs'] = false;
52 |
53 | /**
54 | * disallow editing of binary fields
55 | * valid values are:
56 | * false allow editing
57 | * 'blob' allow editing except for BLOB fields
58 | * 'all' disallow editing
59 | * default = blob
60 | */
61 | $cfg['ProtectBinary'] = '<%= node['phpmyadmin']['protect_binary'] %>';
62 |
63 | /**
64 | * Default language to use, if not browser-defined or user-defined
65 | * (you find all languages in the locale folder)
66 | * uncomment the desired line:
67 | * default = 'en'
68 | */
69 | $cfg['DefaultLang'] = '<%= node['phpmyadmin']['default_lang'] %>';
70 |
71 | /**
72 | * default display direction (horizontal|vertical|horizontalflipped)
73 | */
74 | $cfg['DefaultDisplay'] = '<%= node['phpmyadmin']['default_display'] %>';
75 |
76 | /**
77 | * How many columns should be used for table display of a database?
78 | * (a value larger than 1 results in some information being hidden)
79 | * default = 1
80 | */
81 | $cfg['PropertiesNumColumns'] = 1;
82 |
83 | /**
84 | * Set to true if you want DB-based query history.If false, this utilizes
85 | * JS-routines to display query history (lost by window close)
86 | *
87 | * This requires configuration storage enabled, see above.
88 | * default = false
89 | */
90 | $cfg['QueryHistoryDB'] = <%= node['phpmyadmin']['query_history'] %>;
91 |
92 | /**
93 | * When using DB-based query history, how many entries should be kept?
94 | *
95 | * default = 25
96 | */
97 | $cfg['QueryHistoryMax'] = <%= node['phpmyadmin']['query_history_size'] %>;
98 |
99 | /*
100 | * You can find more configuration options in Documentation.html
101 | * or here: http://wiki.phpmyadmin.net/pma/Config
102 | */
103 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/README.md:
--------------------------------------------------------------------------------
1 | chef-phpmyadmin
2 | ===============
3 |
4 | A Chef cookbook for the popular MySQL management application PHPMyAdmin
5 |
6 | You can clone it and import it to Chef as
7 |
8 | cd cookbooks
9 | git clone git://github.com/priestjim/chef-phpmyadmin.git phpmyadmin
10 | knife cookbook upload phpmyadmin
11 |
12 | Requirements
13 | ============
14 |
15 | This cookbook requires the following cookbooks to be present and installed:
16 |
17 | * chef-php from https://github.com/priestjim/chef-php
18 |
19 | It also suggests the following:
20 |
21 | * nginx
22 | * apache2
23 | * percona
24 |
25 | Supported Operating Systems
26 | ===========================
27 |
28 | This cookbook supports the following Linux distributions:
29 |
30 | * Ubuntu
31 | * Debian
32 | * Fedora
33 | * CentOS
34 | * RedHat
35 |
36 | It also supports **Chef 10.14** and higher
37 |
38 | Attributes
39 | ==========
40 |
41 | This cookbook supports the following attributes:
42 |
43 | * `version`: The desired PMA version
44 | * `mirror`: The desired PMA download mirror
45 | * `fpm`: Enables the PMA FPM instance for serving via NGINX
46 | * `home`: The desired PMA installation home
47 | * `user`: The user PMA runs as
48 | * `group`: The group PMA runs as
49 | * `socket`: The socket that FPM will be exposing for PMA
50 | * `upload_dir`: The directory PMA will be using for uploads
51 | * `save_dir`: The directory PMA will be using for file saves
52 | * `maxrows`: The maximum rows PMA shall display in a table view
53 | * `protect_binary`: Define the binary field protection PMA will be using
54 | * `default_lang`: The default language PMA will be using
55 | * `default_display`: The default display of rows inside PMA
56 | * `query_history`: Enable or disable the Javascript query history
57 | * `query_history_size`: Set the maximum size of the Javascript query history
58 |
59 | LWRP Methods
60 | ============
61 |
62 | ## phpmyadmin_db
63 |
64 | This cookbook defines a phpmyadmin_db LWRP for dynamic DB definitions. This LWRP allows the following methods:
65 |
66 | * `name`: This is the description of the defined database. It also gets converted to lowercase and spaces substituted to underscores for the database filename. This is the **name attribute**
67 | * `host`: The database host. It can be either a hostname or an IP.
68 | * `port`: The database port.
69 | * `username`: The database username.
70 | * `password`: The database password
71 | * `hide_dbs`: An array of databases we do not want to be shown. This will be concatenated in a form of '^db1|db2$' etc.
72 | * `pma_database`: If you have configured your database server for PMA, you can define here the PMA database name
73 | * `pma_username`: If you have configured your database server for PMA, you can define here the PMA username
74 | * `pma_password`: If you have configured your database server for PMA, you can define here the PMA password
75 |
76 | ## phpmyadmin_pmadb
77 |
78 | This cookbook defines a phpmyadmin_pmadb LWRP for dynamically defining the control databases of PHPMyAdmin for earch server. This LWRP allows the following methods:
79 |
80 | * `name`: The block name. Define it for uniqueness. This is the **name attribute**
81 | * `host`: The database host. It can be either a hostname or an IP.
82 | * `port`: The database port.
83 | * `root_username`: The root username (root or admin usually) in order to create the database and needed privileges.
84 | * `root_password`: The root password
85 | * `pma_database`: This is the name of the PMA control database.
86 | * `pma_username`: The PMA control database username
87 | * `pma_password`: The PMA control database password
88 | * `auth_type`: The authentication method PMA will use
89 |
90 | Usage
91 | =====
92 |
93 | The cookbook installs the selected PMA version to /opt/phpmyadmin (or anywhere else you may have defined in the 'home' attribute) and optionally defines an FPM pool for NGINX or Apache2/mod_fcgid
94 |
95 | To define a database config you can use the phpmyadmin_db LWRP such as:
96 |
97 | phpmyadmin_db 'Test DB' do
98 | host '127.0.0.1'
99 | port 3306
100 | username 'root'
101 | password 'password'
102 | hide_dbs %w{ information_schema mysql phpmyadmin performance_schema }
103 | end
104 |
105 | This will create a file in /opt/phpmyadmin/conf.d/test_db.inc.php and will be automatically included when you display the PMA page.
106 |
107 | License
108 | =======
109 |
110 | Copyright 2012 Panagiotis Papadomitsos.
111 |
112 | Licensed under the Apache License, Version 2.0 (the "License");
113 | you may not use this file except in compliance with the License.
114 | You may obtain a copy of the License at
115 |
116 | http://www.apache.org/licenses/LICENSE-2.0
117 |
118 | Unless required by applicable law or agreed to in writing, software
119 | distributed under the License is distributed on an "AS IS" BASIS,
120 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
121 | See the License for the specific language governing permissions and
122 | limitations under the License.
123 |
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/templates/default/phpmyadmin.sql.erb:
--------------------------------------------------------------------------------
1 | -- --------------------------------------------------------
2 | -- SQL Commands to set up the pmadb as described in Documentation.html.
3 | --
4 | -- This file is meant for use with MySQL 5 and above!
5 | --
6 | -- This script expects the user pma to already be existing. If we would put a
7 | -- line here to create him too many users might just use this script and end
8 | -- up with having the same password for the controluser.
9 | --
10 | -- This user "pma" must be defined in config.inc.php (controluser/controlpass)
11 | --
12 | -- Please don't forget to set up the tablenames in config.inc.php
13 | --
14 |
15 | -- --------------------------------------------------------
16 |
17 | --
18 | -- Database : `<%= @dbname %>`
19 | --
20 | CREATE DATABASE IF NOT EXISTS `<%= @pma_db %>` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
21 | USE <%= @pma_db %>;
22 |
23 | -- --------------------------------------------------------
24 |
25 | --
26 | -- Privileges
27 | --
28 | -- (activate this statement if necessary)
29 | GRANT SELECT, INSERT, DELETE, UPDATE ON `<%= @pma_db %>`.* TO '<%= @pma_user %>'@'%' IDENTIFIED BY '<%= @pma_pass %>';
30 |
31 | -- --------------------------------------------------------
32 |
33 | --
34 | -- Table structure for table `pma_bookmark`
35 | --
36 |
37 | CREATE TABLE IF NOT EXISTS `pma_bookmark` (
38 | `id` int(11) NOT NULL auto_increment,
39 | `dbase` varchar(255) NOT NULL default '',
40 | `user` varchar(255) NOT NULL default '',
41 | `label` varchar(255) COLLATE utf8_general_ci NOT NULL default '',
42 | `query` text NOT NULL,
43 | PRIMARY KEY (`id`)
44 | )
45 | ENGINE=MyISAM COMMENT='Bookmarks'
46 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
47 |
48 | -- --------------------------------------------------------
49 |
50 | --
51 | -- Table structure for table `pma_column_info`
52 | --
53 |
54 | CREATE TABLE IF NOT EXISTS `pma_column_info` (
55 | `id` int(5) unsigned NOT NULL auto_increment,
56 | `db_name` varchar(64) NOT NULL default '',
57 | `table_name` varchar(64) NOT NULL default '',
58 | `column_name` varchar(64) NOT NULL default '',
59 | `comment` varchar(255) COLLATE utf8_general_ci NOT NULL default '',
60 | `mimetype` varchar(255) COLLATE utf8_general_ci NOT NULL default '',
61 | `transformation` varchar(255) NOT NULL default '',
62 | `transformation_options` varchar(255) NOT NULL default '',
63 | PRIMARY KEY (`id`),
64 | UNIQUE KEY `db_name` (`db_name`,`table_name`,`column_name`)
65 | )
66 | ENGINE=MyISAM COMMENT='Column information for phpMyAdmin'
67 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
68 |
69 | -- --------------------------------------------------------
70 |
71 | --
72 | -- Table structure for table `pma_history`
73 | --
74 |
75 | CREATE TABLE IF NOT EXISTS `pma_history` (
76 | `id` bigint(20) unsigned NOT NULL auto_increment,
77 | `username` varchar(64) NOT NULL default '',
78 | `db` varchar(64) NOT NULL default '',
79 | `table` varchar(64) NOT NULL default '',
80 | `timevalue` timestamp NOT NULL,
81 | `sqlquery` text NOT NULL,
82 | PRIMARY KEY (`id`),
83 | KEY `username` (`username`,`db`,`table`,`timevalue`)
84 | )
85 | ENGINE=MyISAM COMMENT='SQL history for phpMyAdmin'
86 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
87 |
88 | -- --------------------------------------------------------
89 |
90 | --
91 | -- Table structure for table `pma_pdf_pages`
92 | --
93 |
94 | CREATE TABLE IF NOT EXISTS `pma_pdf_pages` (
95 | `db_name` varchar(64) NOT NULL default '',
96 | `page_nr` int(10) unsigned NOT NULL auto_increment,
97 | `page_descr` varchar(50) COLLATE utf8_general_ci NOT NULL default '',
98 | PRIMARY KEY (`page_nr`),
99 | KEY `db_name` (`db_name`)
100 | )
101 | ENGINE=MyISAM COMMENT='PDF relation pages for phpMyAdmin'
102 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
103 |
104 | -- --------------------------------------------------------
105 |
106 | --
107 | -- Table structure for table `pma_recent`
108 | --
109 |
110 | CREATE TABLE IF NOT EXISTS `pma_recent` (
111 | `username` varchar(64) NOT NULL,
112 | `tables` text NOT NULL,
113 | PRIMARY KEY (`username`)
114 | )
115 | ENGINE=MyISAM COMMENT='Recently accessed tables'
116 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
117 |
118 | -- --------------------------------------------------------
119 |
120 | --
121 | -- Table structure for table `pma_table_uiprefs`
122 | --
123 |
124 | CREATE TABLE IF NOT EXISTS `pma_table_uiprefs` (
125 | `username` varchar(64) NOT NULL,
126 | `db_name` varchar(64) NOT NULL,
127 | `table_name` varchar(64) NOT NULL,
128 | `prefs` text NOT NULL,
129 | `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
130 | PRIMARY KEY (`username`,`db_name`,`table_name`)
131 | )
132 | ENGINE=MyISAM COMMENT='Tables'' UI preferences'
133 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
134 |
135 | -- --------------------------------------------------------
136 |
137 | --
138 | -- Table structure for table `pma_relation`
139 | --
140 |
141 | CREATE TABLE IF NOT EXISTS `pma_relation` (
142 | `master_db` varchar(64) NOT NULL default '',
143 | `master_table` varchar(64) NOT NULL default '',
144 | `master_field` varchar(64) NOT NULL default '',
145 | `foreign_db` varchar(64) NOT NULL default '',
146 | `foreign_table` varchar(64) NOT NULL default '',
147 | `foreign_field` varchar(64) NOT NULL default '',
148 | PRIMARY KEY (`master_db`,`master_table`,`master_field`),
149 | KEY `foreign_field` (`foreign_db`,`foreign_table`)
150 | )
151 | ENGINE=MyISAM COMMENT='Relation table'
152 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
153 |
154 | -- --------------------------------------------------------
155 |
156 | --
157 | -- Table structure for table `pma_table_coords`
158 | --
159 |
160 | CREATE TABLE IF NOT EXISTS `pma_table_coords` (
161 | `db_name` varchar(64) NOT NULL default '',
162 | `table_name` varchar(64) NOT NULL default '',
163 | `pdf_page_number` int(11) NOT NULL default '0',
164 | `x` float unsigned NOT NULL default '0',
165 | `y` float unsigned NOT NULL default '0',
166 | PRIMARY KEY (`db_name`,`table_name`,`pdf_page_number`)
167 | )
168 | ENGINE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output'
169 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
170 |
171 | -- --------------------------------------------------------
172 |
173 | --
174 | -- Table structure for table `pma_table_info`
175 | --
176 |
177 | CREATE TABLE IF NOT EXISTS `pma_table_info` (
178 | `db_name` varchar(64) NOT NULL default '',
179 | `table_name` varchar(64) NOT NULL default '',
180 | `display_field` varchar(64) NOT NULL default '',
181 | PRIMARY KEY (`db_name`,`table_name`)
182 | )
183 | ENGINE=MyISAM COMMENT='Table information for phpMyAdmin'
184 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
185 |
186 | -- --------------------------------------------------------
187 |
188 | --
189 | -- Table structure for table `pma_designer_coords`
190 | --
191 |
192 | CREATE TABLE IF NOT EXISTS `pma_designer_coords` (
193 | `db_name` varchar(64) NOT NULL default '',
194 | `table_name` varchar(64) NOT NULL default '',
195 | `x` INT,
196 | `y` INT,
197 | `v` TINYINT,
198 | `h` TINYINT,
199 | PRIMARY KEY (`db_name`,`table_name`)
200 | )
201 | ENGINE=MyISAM COMMENT='Table coordinates for Designer'
202 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
203 |
204 | -- --------------------------------------------------------
205 |
206 | --
207 | -- Table structure for table `pma_tracking`
208 | --
209 |
210 | CREATE TABLE IF NOT EXISTS `pma_tracking` (
211 | `db_name` varchar(64) NOT NULL,
212 | `table_name` varchar(64) NOT NULL,
213 | `version` int(10) unsigned NOT NULL,
214 | `date_created` datetime NOT NULL,
215 | `date_updated` datetime NOT NULL,
216 | `schema_snapshot` text NOT NULL,
217 | `schema_sql` text,
218 | `data_sql` longtext,
219 | `tracking` set('UPDATE','REPLACE','INSERT','DELETE','TRUNCATE','CREATE DATABASE','ALTER DATABASE','DROP DATABASE','CREATE TABLE','ALTER TABLE','RENAME TABLE','DROP TABLE','CREATE INDEX','DROP INDEX','CREATE VIEW','ALTER VIEW','DROP VIEW') default NULL,
220 | `tracking_active` int(1) unsigned NOT NULL default '1',
221 | PRIMARY KEY (`db_name`,`table_name`,`version`)
222 | )
223 | ENGINE=MyISAM ROW_FORMAT=COMPACT COMMENT='Database changes tracking for phpMyAdmin'
224 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
225 |
226 | -- --------------------------------------------------------
227 |
228 | --
229 | -- Table structure for table `pma_userconfig`
230 | --
231 |
232 | CREATE TABLE IF NOT EXISTS `pma_userconfig` (
233 | `username` varchar(64) NOT NULL,
234 | `timevalue` timestamp NOT NULL,
235 | `config_data` text NOT NULL,
236 | PRIMARY KEY (`username`)
237 | )
238 | ENGINE=MyISAM COMMENT='User preferences storage for phpMyAdmin'
239 | DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
240 |
241 | FLUSH PRIVILEGES;
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "phpmyadmin",
3 | "description": "Installs/Configures PHPMyAdmin",
4 | "long_description": "chef-phpmyadmin\n===============\n\nA Chef cookbook for the popular MySQL management application PHPMyAdmin\n\nYou can clone it and import it to Chef as\n\n\tcd cookbooks\n\tgit clone git://github.com/priestjim/chef-phpmyadmin.git phpmyadmin\n\tknife cookbook upload phpmyadmin\n\nRequirements\n============\n\nThis cookbook requires the following cookbooks to be present and installed:\n\n* chef-php from https://github.com/priestjim/chef-php\n\nIt also suggests the following:\n\n* nginx\n* apache2\n* percona\n\nSupported Operating Systems\n===========================\n\nThis cookbook supports the following Linux distributions:\n\n* Ubuntu\n* Debian\n* Fedora\n* CentOS\n* RedHat\n\nIt also supports **Chef 10.14** and higher\n\nAttributes\n==========\n\nThis cookbook supports the following attributes:\n\n* `version`: The desired PMA version\n* `checksum`: The sha256 checksum of the PMA desired version\n* `mirror`: The desired PMA download mirror\n* `fpm`: Enables the PMA FPM instance for serving via NGINX\n* `home`: The desired PMA installation home\n* `user`: The user PMA runs as\n* `group`: The group PMA runs as\n* `socket`: The socket that FPM will be exposing for PMA\n* `upload_dir`: The directory PMA will be using for uploads\n* `save_dir`: The directory PMA will be using for file saves\n* `maxrows`: The maximum rows PMA shall display in a table view\n* `protect_binary`: Define the binary field protection PMA will be using\n* `default_lang`: The default language PMA will be using\n* `default_display`: The default display of rows inside PMA\n* `query_history`: Enable or disable the Javascript query history\n* `query_history_size`: Set the maximum size of the Javascript query history\n\nLWRP Methods\n============\n\n## phpmyadmin_db\n\nThis cookbook defines a phpmyadmin_db LWRP for dynamic DB definitions. This LWRP allows the following methods:\n\n* `name`: This is the description of the defined database. It also gets converted to lowercase and spaces substituted to underscores for the database filename. This is the **name attribute**\n* `host`: The database host. It can be either a hostname or an IP.\n* `port`: The database port.\n* `username`: The database username.\n* `password`: The database password\n* `hide_dbs`: An array of databases we do not want to be shown. This will be concatenated in a form of '^db1|db2$' etc.\n* `pma_database`: If you have configured your database server for PMA, you can define here the PMA database name\n* `pma_username`: If you have configured your database server for PMA, you can define here the PMA username\n* `pma_password`: If you have configured your database server for PMA, you can define here the PMA password\n\n## phpmyadmin_pmadb\n\nThis cookbook defines a phpmyadmin_pmadb LWRP for dynamically defining the control databases of PHPMyAdmin for earch server. This LWRP allows the following methods:\n\n* `name`: The block name. Define it for uniqueness. This is the **name attribute**\n* `host`: The database host. It can be either a hostname or an IP.\n* `port`: The database port.\n* `root_username`: The root username (root or admin usually) in order to create the database and needed privileges.\n* `root_password`: The root password\n* `pma_database`: This is the name of the PMA control database.\n* `pma_username`: The PMA control database username\n* `pma_password`: The PMA control database password\n* `auth_type`: The authentication method PMA will use\n\nUsage\n=====\n\nThe cookbook installs the selected PMA version to /opt/phpmyadmin (or anywhere else you may have defined in the 'home' attribute) and optionally defines an FPM pool for NGINX or Apache2/mod_fcgid\n\nTo define a database config you can use the phpmyadmin_db LWRP such as:\n\n\tphpmyadmin_db 'Test DB' do\n\t\thost '127.0.0.1'\n\t\tport 3306\n\t\tusername 'root'\n\t\tpassword 'password'\n\t\thide_dbs %w{ information_schema mysql phpmyadmin performance_schema }\n\tend\n\nThis will create a file in /opt/phpmyadmin/conf.d/test_db.inc.php and will be automatically included when you display the PMA page.\n\nLicense\n=======\n\nCopyright 2012 Panagiotis Papadomitsos.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
5 | "maintainer": "Panagiotis Papadomitsos",
6 | "maintainer_email": "pj@ezgr.net",
7 | "license": "Apache Public License 2.0",
8 | "platforms": {
9 | "ubuntu": ">= 0.0.0",
10 | "debian": ">= 0.0.0",
11 | "redhat": ">= 0.0.0",
12 | "fedora": ">= 0.0.0",
13 | "centos": ">= 0.0.0"
14 | },
15 | "dependencies": {
16 | "php": ">= 0.0.0"
17 | },
18 | "recommendations": {
19 | "nginx": ">= 0.0.0",
20 | "apache2": ">= 0.0.0"
21 | },
22 | "suggestions": {
23 | "percona": ">= 0.0.0",
24 | "mysql": ">= 0.0.0"
25 | },
26 | "conflicting": {
27 | },
28 | "providing": {
29 | },
30 | "replacing": {
31 | },
32 | "attributes": {
33 | "phpmyadmin/version": {
34 | "display_name": "PHPMyAdmin version",
35 | "description": "The desired PMA version",
36 | "choice": [
37 |
38 | ],
39 | "calculated": false,
40 | "type": "string",
41 | "required": "optional",
42 | "recipes": [
43 |
44 | ]
45 | },
46 | "phpmyadmin/checksum": {
47 | "display_name": "PHPMyAdmin archive checksum",
48 | "description": "The sha256 checksum of the PMA desired version",
49 | "choice": [
50 |
51 | ],
52 | "calculated": false,
53 | "type": "string",
54 | "required": "optional",
55 | "recipes": [
56 |
57 | ]
58 | },
59 | "phpmyadmin/mirror": {
60 | "display_name": "PHPMyAdmin download mirror",
61 | "description": "The desired PMA download mirror",
62 | "default": "http://netcologne.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin",
63 | "choice": [
64 |
65 | ],
66 | "calculated": false,
67 | "type": "string",
68 | "required": "optional",
69 | "recipes": [
70 |
71 | ]
72 | },
73 | "phpmyadmin/fpm": {
74 | "display_name": "PHPMyAdmin FPM instance",
75 | "description": "Enables the PMA FPM instance for serving via NGINX",
76 | "default": "true",
77 | "choice": [
78 |
79 | ],
80 | "calculated": false,
81 | "type": "string",
82 | "required": "optional",
83 | "recipes": [
84 |
85 | ]
86 | },
87 | "phpmyadmin/home": {
88 | "display_name": "PHPMyAdmin home",
89 | "description": "The desired PMA installation home",
90 | "default": "/opt/phpmyadmin",
91 | "choice": [
92 |
93 | ],
94 | "calculated": false,
95 | "type": "string",
96 | "required": "optional",
97 | "recipes": [
98 |
99 | ]
100 | },
101 | "phpmyadmin/user": {
102 | "display_name": "PHPMyAdmin user",
103 | "description": "The user PMA runs as",
104 | "default": "phpmyadmin",
105 | "choice": [
106 |
107 | ],
108 | "calculated": false,
109 | "type": "string",
110 | "required": "optional",
111 | "recipes": [
112 |
113 | ]
114 | },
115 | "phpmyadmin/group": {
116 | "display_name": "PHPMyAdmin group",
117 | "description": "The group PMA runs as",
118 | "default": "phpmyadmin",
119 | "choice": [
120 |
121 | ],
122 | "calculated": false,
123 | "type": "string",
124 | "required": "optional",
125 | "recipes": [
126 |
127 | ]
128 | },
129 | "phpmyadmin/socket": {
130 | "display_name": "PHPMyAdmin FPM socket",
131 | "description": "The socket that FPM will be exposing for PMA",
132 | "default": "/tmp/phpmyadmin.sock",
133 | "choice": [
134 |
135 | ],
136 | "calculated": false,
137 | "type": "string",
138 | "required": "optional",
139 | "recipes": [
140 |
141 | ]
142 | },
143 | "phpmyadmin/upload_dir": {
144 | "display_name": "PHPMyAdmin upload directory",
145 | "description": "The directory PMA will be using for uploads",
146 | "calculated": true,
147 | "choice": [
148 |
149 | ],
150 | "type": "string",
151 | "required": "optional",
152 | "recipes": [
153 |
154 | ]
155 | },
156 | "phpmyadmin/save_dir": {
157 | "display_name": "PHPMyAdmin save directory",
158 | "description": "The directory PMA will be using for file saves",
159 | "calculated": true,
160 | "choice": [
161 |
162 | ],
163 | "type": "string",
164 | "required": "optional",
165 | "recipes": [
166 |
167 | ]
168 | },
169 | "phpmyadmin/maxrows": {
170 | "display_name": "PHPMyAdmin maximum rows",
171 | "description": "The maximum rows PMA shall display in a table view",
172 | "default": "100",
173 | "choice": [
174 |
175 | ],
176 | "calculated": false,
177 | "type": "string",
178 | "required": "optional",
179 | "recipes": [
180 |
181 | ]
182 | },
183 | "phpmyadmin/protect_binary": {
184 | "display_name": "PHPMyAdmin binary field protection",
185 | "description": "Define the binary field protection PMA will be using",
186 | "default": "blob",
187 | "choice": [
188 |
189 | ],
190 | "calculated": false,
191 | "type": "string",
192 | "required": "optional",
193 | "recipes": [
194 |
195 | ]
196 | },
197 | "phpmyadmin/default_lang": {
198 | "display_name": "PHPMyAdmin default language",
199 | "description": "The default language PMA will be using",
200 | "default": "en",
201 | "choice": [
202 |
203 | ],
204 | "calculated": false,
205 | "type": "string",
206 | "required": "optional",
207 | "recipes": [
208 |
209 | ]
210 | },
211 | "phpmyadmin/default_display": {
212 | "display_name": "PHPMyAdmin default row display",
213 | "description": "The default display of rows inside PMA",
214 | "default": "horizontal",
215 | "choice": [
216 |
217 | ],
218 | "calculated": false,
219 | "type": "string",
220 | "required": "optional",
221 | "recipes": [
222 |
223 | ]
224 | },
225 | "phpmyadmin/query_history": {
226 | "display_name": "PHPMyAdmin query history",
227 | "description": "Enable or disable the Javascript query history",
228 | "default": "true",
229 | "choice": [
230 |
231 | ],
232 | "calculated": false,
233 | "type": "string",
234 | "required": "optional",
235 | "recipes": [
236 |
237 | ]
238 | },
239 | "phpmyadmin/query_history_size": {
240 | "display_name": "PHPMyAdmin query history size",
241 | "description": "Set the maximum size of the Javascript query history",
242 | "default": "100",
243 | "choice": [
244 |
245 | ],
246 | "calculated": false,
247 | "type": "string",
248 | "required": "optional",
249 | "recipes": [
250 |
251 | ]
252 | }
253 | },
254 | "groupings": {
255 | },
256 | "recipes": {
257 | },
258 | "version": "1.0.4"
259 | }
--------------------------------------------------------------------------------
/phpmyadmin_cookbook/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/app/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": "1d36b5d96683896edc5323a4d8d5b789",
8 | "packages": [],
9 | "packages-dev": [
10 | {
11 | "name": "doctrine/instantiator",
12 | "version": "1.4.0",
13 | "source": {
14 | "type": "git",
15 | "url": "https://github.com/doctrine/instantiator.git",
16 | "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
17 | },
18 | "dist": {
19 | "type": "zip",
20 | "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
21 | "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
22 | "shasum": ""
23 | },
24 | "require": {
25 | "php": "^7.1 || ^8.0"
26 | },
27 | "require-dev": {
28 | "doctrine/coding-standard": "^8.0",
29 | "ext-pdo": "*",
30 | "ext-phar": "*",
31 | "phpbench/phpbench": "^0.13 || 1.0.0-alpha2",
32 | "phpstan/phpstan": "^0.12",
33 | "phpstan/phpstan-phpunit": "^0.12",
34 | "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
35 | },
36 | "type": "library",
37 | "autoload": {
38 | "psr-4": {
39 | "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
40 | }
41 | },
42 | "notification-url": "https://packagist.org/downloads/",
43 | "license": [
44 | "MIT"
45 | ],
46 | "authors": [
47 | {
48 | "name": "Marco Pivetta",
49 | "email": "ocramius@gmail.com",
50 | "homepage": "https://ocramius.github.io/"
51 | }
52 | ],
53 | "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
54 | "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
55 | "keywords": [
56 | "constructor",
57 | "instantiate"
58 | ],
59 | "support": {
60 | "issues": "https://github.com/doctrine/instantiator/issues",
61 | "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
62 | },
63 | "funding": [
64 | {
65 | "url": "https://www.doctrine-project.org/sponsorship.html",
66 | "type": "custom"
67 | },
68 | {
69 | "url": "https://www.patreon.com/phpdoctrine",
70 | "type": "patreon"
71 | },
72 | {
73 | "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
74 | "type": "tidelift"
75 | }
76 | ],
77 | "time": "2020-11-10T18:47:58+00:00"
78 | },
79 | {
80 | "name": "myclabs/deep-copy",
81 | "version": "1.10.2",
82 | "source": {
83 | "type": "git",
84 | "url": "https://github.com/myclabs/DeepCopy.git",
85 | "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
86 | },
87 | "dist": {
88 | "type": "zip",
89 | "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
90 | "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
91 | "shasum": ""
92 | },
93 | "require": {
94 | "php": "^7.1 || ^8.0"
95 | },
96 | "replace": {
97 | "myclabs/deep-copy": "self.version"
98 | },
99 | "require-dev": {
100 | "doctrine/collections": "^1.0",
101 | "doctrine/common": "^2.6",
102 | "phpunit/phpunit": "^7.1"
103 | },
104 | "type": "library",
105 | "autoload": {
106 | "psr-4": {
107 | "DeepCopy\\": "src/DeepCopy/"
108 | },
109 | "files": [
110 | "src/DeepCopy/deep_copy.php"
111 | ]
112 | },
113 | "notification-url": "https://packagist.org/downloads/",
114 | "license": [
115 | "MIT"
116 | ],
117 | "description": "Create deep copies (clones) of your objects",
118 | "keywords": [
119 | "clone",
120 | "copy",
121 | "duplicate",
122 | "object",
123 | "object graph"
124 | ],
125 | "support": {
126 | "issues": "https://github.com/myclabs/DeepCopy/issues",
127 | "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
128 | },
129 | "funding": [
130 | {
131 | "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
132 | "type": "tidelift"
133 | }
134 | ],
135 | "time": "2020-11-13T09:40:50+00:00"
136 | },
137 | {
138 | "name": "nikic/php-parser",
139 | "version": "v4.10.2",
140 | "source": {
141 | "type": "git",
142 | "url": "https://github.com/nikic/PHP-Parser.git",
143 | "reference": "658f1be311a230e0907f5dfe0213742aff0596de"
144 | },
145 | "dist": {
146 | "type": "zip",
147 | "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/658f1be311a230e0907f5dfe0213742aff0596de",
148 | "reference": "658f1be311a230e0907f5dfe0213742aff0596de",
149 | "shasum": ""
150 | },
151 | "require": {
152 | "ext-tokenizer": "*",
153 | "php": ">=7.0"
154 | },
155 | "require-dev": {
156 | "ircmaxell/php-yacc": "^0.0.7",
157 | "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
158 | },
159 | "bin": [
160 | "bin/php-parse"
161 | ],
162 | "type": "library",
163 | "extra": {
164 | "branch-alias": {
165 | "dev-master": "4.9-dev"
166 | }
167 | },
168 | "autoload": {
169 | "psr-4": {
170 | "PhpParser\\": "lib/PhpParser"
171 | }
172 | },
173 | "notification-url": "https://packagist.org/downloads/",
174 | "license": [
175 | "BSD-3-Clause"
176 | ],
177 | "authors": [
178 | {
179 | "name": "Nikita Popov"
180 | }
181 | ],
182 | "description": "A PHP parser written in PHP",
183 | "keywords": [
184 | "parser",
185 | "php"
186 | ],
187 | "support": {
188 | "issues": "https://github.com/nikic/PHP-Parser/issues",
189 | "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2"
190 | },
191 | "time": "2020-09-26T10:30:38+00:00"
192 | },
193 | {
194 | "name": "phar-io/manifest",
195 | "version": "2.0.1",
196 | "source": {
197 | "type": "git",
198 | "url": "https://github.com/phar-io/manifest.git",
199 | "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133"
200 | },
201 | "dist": {
202 | "type": "zip",
203 | "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133",
204 | "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133",
205 | "shasum": ""
206 | },
207 | "require": {
208 | "ext-dom": "*",
209 | "ext-phar": "*",
210 | "ext-xmlwriter": "*",
211 | "phar-io/version": "^3.0.1",
212 | "php": "^7.2 || ^8.0"
213 | },
214 | "type": "library",
215 | "extra": {
216 | "branch-alias": {
217 | "dev-master": "2.0.x-dev"
218 | }
219 | },
220 | "autoload": {
221 | "classmap": [
222 | "src/"
223 | ]
224 | },
225 | "notification-url": "https://packagist.org/downloads/",
226 | "license": [
227 | "BSD-3-Clause"
228 | ],
229 | "authors": [
230 | {
231 | "name": "Arne Blankerts",
232 | "email": "arne@blankerts.de",
233 | "role": "Developer"
234 | },
235 | {
236 | "name": "Sebastian Heuer",
237 | "email": "sebastian@phpeople.de",
238 | "role": "Developer"
239 | },
240 | {
241 | "name": "Sebastian Bergmann",
242 | "email": "sebastian@phpunit.de",
243 | "role": "Developer"
244 | }
245 | ],
246 | "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
247 | "support": {
248 | "issues": "https://github.com/phar-io/manifest/issues",
249 | "source": "https://github.com/phar-io/manifest/tree/master"
250 | },
251 | "time": "2020-06-27T14:33:11+00:00"
252 | },
253 | {
254 | "name": "phar-io/version",
255 | "version": "3.0.2",
256 | "source": {
257 | "type": "git",
258 | "url": "https://github.com/phar-io/version.git",
259 | "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0"
260 | },
261 | "dist": {
262 | "type": "zip",
263 | "url": "https://api.github.com/repos/phar-io/version/zipball/c6bb6825def89e0a32220f88337f8ceaf1975fa0",
264 | "reference": "c6bb6825def89e0a32220f88337f8ceaf1975fa0",
265 | "shasum": ""
266 | },
267 | "require": {
268 | "php": "^7.2 || ^8.0"
269 | },
270 | "type": "library",
271 | "autoload": {
272 | "classmap": [
273 | "src/"
274 | ]
275 | },
276 | "notification-url": "https://packagist.org/downloads/",
277 | "license": [
278 | "BSD-3-Clause"
279 | ],
280 | "authors": [
281 | {
282 | "name": "Arne Blankerts",
283 | "email": "arne@blankerts.de",
284 | "role": "Developer"
285 | },
286 | {
287 | "name": "Sebastian Heuer",
288 | "email": "sebastian@phpeople.de",
289 | "role": "Developer"
290 | },
291 | {
292 | "name": "Sebastian Bergmann",
293 | "email": "sebastian@phpunit.de",
294 | "role": "Developer"
295 | }
296 | ],
297 | "description": "Library for handling version information and constraints",
298 | "support": {
299 | "issues": "https://github.com/phar-io/version/issues",
300 | "source": "https://github.com/phar-io/version/tree/master"
301 | },
302 | "time": "2020-06-27T14:39:04+00:00"
303 | },
304 | {
305 | "name": "phpdocumentor/reflection-common",
306 | "version": "2.2.0",
307 | "source": {
308 | "type": "git",
309 | "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
310 | "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
311 | },
312 | "dist": {
313 | "type": "zip",
314 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
315 | "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
316 | "shasum": ""
317 | },
318 | "require": {
319 | "php": "^7.2 || ^8.0"
320 | },
321 | "type": "library",
322 | "extra": {
323 | "branch-alias": {
324 | "dev-2.x": "2.x-dev"
325 | }
326 | },
327 | "autoload": {
328 | "psr-4": {
329 | "phpDocumentor\\Reflection\\": "src/"
330 | }
331 | },
332 | "notification-url": "https://packagist.org/downloads/",
333 | "license": [
334 | "MIT"
335 | ],
336 | "authors": [
337 | {
338 | "name": "Jaap van Otterdijk",
339 | "email": "opensource@ijaap.nl"
340 | }
341 | ],
342 | "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
343 | "homepage": "http://www.phpdoc.org",
344 | "keywords": [
345 | "FQSEN",
346 | "phpDocumentor",
347 | "phpdoc",
348 | "reflection",
349 | "static analysis"
350 | ],
351 | "support": {
352 | "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
353 | "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
354 | },
355 | "time": "2020-06-27T09:03:43+00:00"
356 | },
357 | {
358 | "name": "phpdocumentor/reflection-docblock",
359 | "version": "5.2.2",
360 | "source": {
361 | "type": "git",
362 | "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
363 | "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556"
364 | },
365 | "dist": {
366 | "type": "zip",
367 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556",
368 | "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556",
369 | "shasum": ""
370 | },
371 | "require": {
372 | "ext-filter": "*",
373 | "php": "^7.2 || ^8.0",
374 | "phpdocumentor/reflection-common": "^2.2",
375 | "phpdocumentor/type-resolver": "^1.3",
376 | "webmozart/assert": "^1.9.1"
377 | },
378 | "require-dev": {
379 | "mockery/mockery": "~1.3.2"
380 | },
381 | "type": "library",
382 | "extra": {
383 | "branch-alias": {
384 | "dev-master": "5.x-dev"
385 | }
386 | },
387 | "autoload": {
388 | "psr-4": {
389 | "phpDocumentor\\Reflection\\": "src"
390 | }
391 | },
392 | "notification-url": "https://packagist.org/downloads/",
393 | "license": [
394 | "MIT"
395 | ],
396 | "authors": [
397 | {
398 | "name": "Mike van Riel",
399 | "email": "me@mikevanriel.com"
400 | },
401 | {
402 | "name": "Jaap van Otterdijk",
403 | "email": "account@ijaap.nl"
404 | }
405 | ],
406 | "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
407 | "support": {
408 | "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
409 | "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
410 | },
411 | "time": "2020-09-03T19:13:55+00:00"
412 | },
413 | {
414 | "name": "phpdocumentor/type-resolver",
415 | "version": "1.4.0",
416 | "source": {
417 | "type": "git",
418 | "url": "https://github.com/phpDocumentor/TypeResolver.git",
419 | "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
420 | },
421 | "dist": {
422 | "type": "zip",
423 | "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
424 | "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
425 | "shasum": ""
426 | },
427 | "require": {
428 | "php": "^7.2 || ^8.0",
429 | "phpdocumentor/reflection-common": "^2.0"
430 | },
431 | "require-dev": {
432 | "ext-tokenizer": "*"
433 | },
434 | "type": "library",
435 | "extra": {
436 | "branch-alias": {
437 | "dev-1.x": "1.x-dev"
438 | }
439 | },
440 | "autoload": {
441 | "psr-4": {
442 | "phpDocumentor\\Reflection\\": "src"
443 | }
444 | },
445 | "notification-url": "https://packagist.org/downloads/",
446 | "license": [
447 | "MIT"
448 | ],
449 | "authors": [
450 | {
451 | "name": "Mike van Riel",
452 | "email": "me@mikevanriel.com"
453 | }
454 | ],
455 | "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
456 | "support": {
457 | "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
458 | "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
459 | },
460 | "time": "2020-09-17T18:55:26+00:00"
461 | },
462 | {
463 | "name": "phpspec/prophecy",
464 | "version": "1.12.1",
465 | "source": {
466 | "type": "git",
467 | "url": "https://github.com/phpspec/prophecy.git",
468 | "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d"
469 | },
470 | "dist": {
471 | "type": "zip",
472 | "url": "https://api.github.com/repos/phpspec/prophecy/zipball/8ce87516be71aae9b956f81906aaf0338e0d8a2d",
473 | "reference": "8ce87516be71aae9b956f81906aaf0338e0d8a2d",
474 | "shasum": ""
475 | },
476 | "require": {
477 | "doctrine/instantiator": "^1.2",
478 | "php": "^7.2 || ~8.0, <8.1",
479 | "phpdocumentor/reflection-docblock": "^5.2",
480 | "sebastian/comparator": "^3.0 || ^4.0",
481 | "sebastian/recursion-context": "^3.0 || ^4.0"
482 | },
483 | "require-dev": {
484 | "phpspec/phpspec": "^6.0",
485 | "phpunit/phpunit": "^8.0 || ^9.0 <9.3"
486 | },
487 | "type": "library",
488 | "extra": {
489 | "branch-alias": {
490 | "dev-master": "1.11.x-dev"
491 | }
492 | },
493 | "autoload": {
494 | "psr-4": {
495 | "Prophecy\\": "src/Prophecy"
496 | }
497 | },
498 | "notification-url": "https://packagist.org/downloads/",
499 | "license": [
500 | "MIT"
501 | ],
502 | "authors": [
503 | {
504 | "name": "Konstantin Kudryashov",
505 | "email": "ever.zet@gmail.com",
506 | "homepage": "http://everzet.com"
507 | },
508 | {
509 | "name": "Marcello Duarte",
510 | "email": "marcello.duarte@gmail.com"
511 | }
512 | ],
513 | "description": "Highly opinionated mocking framework for PHP 5.3+",
514 | "homepage": "https://github.com/phpspec/prophecy",
515 | "keywords": [
516 | "Double",
517 | "Dummy",
518 | "fake",
519 | "mock",
520 | "spy",
521 | "stub"
522 | ],
523 | "support": {
524 | "issues": "https://github.com/phpspec/prophecy/issues",
525 | "source": "https://github.com/phpspec/prophecy/tree/1.12.1"
526 | },
527 | "time": "2020-09-29T09:10:42+00:00"
528 | },
529 | {
530 | "name": "phpunit/php-code-coverage",
531 | "version": "9.2.3",
532 | "source": {
533 | "type": "git",
534 | "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
535 | "reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41"
536 | },
537 | "dist": {
538 | "type": "zip",
539 | "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6b20e2055f7c29b56cb3870b3de7cc463d7add41",
540 | "reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41",
541 | "shasum": ""
542 | },
543 | "require": {
544 | "ext-dom": "*",
545 | "ext-libxml": "*",
546 | "ext-xmlwriter": "*",
547 | "nikic/php-parser": "^4.10.2",
548 | "php": ">=7.3",
549 | "phpunit/php-file-iterator": "^3.0.3",
550 | "phpunit/php-text-template": "^2.0.2",
551 | "sebastian/code-unit-reverse-lookup": "^2.0.2",
552 | "sebastian/complexity": "^2.0",
553 | "sebastian/environment": "^5.1.2",
554 | "sebastian/lines-of-code": "^1.0",
555 | "sebastian/version": "^3.0.1",
556 | "theseer/tokenizer": "^1.2.0"
557 | },
558 | "require-dev": {
559 | "phpunit/phpunit": "^9.3"
560 | },
561 | "suggest": {
562 | "ext-pcov": "*",
563 | "ext-xdebug": "*"
564 | },
565 | "type": "library",
566 | "extra": {
567 | "branch-alias": {
568 | "dev-master": "9.2-dev"
569 | }
570 | },
571 | "autoload": {
572 | "classmap": [
573 | "src/"
574 | ]
575 | },
576 | "notification-url": "https://packagist.org/downloads/",
577 | "license": [
578 | "BSD-3-Clause"
579 | ],
580 | "authors": [
581 | {
582 | "name": "Sebastian Bergmann",
583 | "email": "sebastian@phpunit.de",
584 | "role": "lead"
585 | }
586 | ],
587 | "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
588 | "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
589 | "keywords": [
590 | "coverage",
591 | "testing",
592 | "xunit"
593 | ],
594 | "support": {
595 | "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
596 | "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.3"
597 | },
598 | "funding": [
599 | {
600 | "url": "https://github.com/sebastianbergmann",
601 | "type": "github"
602 | }
603 | ],
604 | "time": "2020-10-30T10:46:41+00:00"
605 | },
606 | {
607 | "name": "phpunit/php-file-iterator",
608 | "version": "3.0.5",
609 | "source": {
610 | "type": "git",
611 | "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
612 | "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8"
613 | },
614 | "dist": {
615 | "type": "zip",
616 | "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8",
617 | "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8",
618 | "shasum": ""
619 | },
620 | "require": {
621 | "php": ">=7.3"
622 | },
623 | "require-dev": {
624 | "phpunit/phpunit": "^9.3"
625 | },
626 | "type": "library",
627 | "extra": {
628 | "branch-alias": {
629 | "dev-master": "3.0-dev"
630 | }
631 | },
632 | "autoload": {
633 | "classmap": [
634 | "src/"
635 | ]
636 | },
637 | "notification-url": "https://packagist.org/downloads/",
638 | "license": [
639 | "BSD-3-Clause"
640 | ],
641 | "authors": [
642 | {
643 | "name": "Sebastian Bergmann",
644 | "email": "sebastian@phpunit.de",
645 | "role": "lead"
646 | }
647 | ],
648 | "description": "FilterIterator implementation that filters files based on a list of suffixes.",
649 | "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
650 | "keywords": [
651 | "filesystem",
652 | "iterator"
653 | ],
654 | "support": {
655 | "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
656 | "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5"
657 | },
658 | "funding": [
659 | {
660 | "url": "https://github.com/sebastianbergmann",
661 | "type": "github"
662 | }
663 | ],
664 | "time": "2020-09-28T05:57:25+00:00"
665 | },
666 | {
667 | "name": "phpunit/php-invoker",
668 | "version": "3.1.1",
669 | "source": {
670 | "type": "git",
671 | "url": "https://github.com/sebastianbergmann/php-invoker.git",
672 | "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
673 | },
674 | "dist": {
675 | "type": "zip",
676 | "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
677 | "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
678 | "shasum": ""
679 | },
680 | "require": {
681 | "php": ">=7.3"
682 | },
683 | "require-dev": {
684 | "ext-pcntl": "*",
685 | "phpunit/phpunit": "^9.3"
686 | },
687 | "suggest": {
688 | "ext-pcntl": "*"
689 | },
690 | "type": "library",
691 | "extra": {
692 | "branch-alias": {
693 | "dev-master": "3.1-dev"
694 | }
695 | },
696 | "autoload": {
697 | "classmap": [
698 | "src/"
699 | ]
700 | },
701 | "notification-url": "https://packagist.org/downloads/",
702 | "license": [
703 | "BSD-3-Clause"
704 | ],
705 | "authors": [
706 | {
707 | "name": "Sebastian Bergmann",
708 | "email": "sebastian@phpunit.de",
709 | "role": "lead"
710 | }
711 | ],
712 | "description": "Invoke callables with a timeout",
713 | "homepage": "https://github.com/sebastianbergmann/php-invoker/",
714 | "keywords": [
715 | "process"
716 | ],
717 | "support": {
718 | "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
719 | "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
720 | },
721 | "funding": [
722 | {
723 | "url": "https://github.com/sebastianbergmann",
724 | "type": "github"
725 | }
726 | ],
727 | "time": "2020-09-28T05:58:55+00:00"
728 | },
729 | {
730 | "name": "phpunit/php-text-template",
731 | "version": "2.0.4",
732 | "source": {
733 | "type": "git",
734 | "url": "https://github.com/sebastianbergmann/php-text-template.git",
735 | "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
736 | },
737 | "dist": {
738 | "type": "zip",
739 | "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
740 | "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
741 | "shasum": ""
742 | },
743 | "require": {
744 | "php": ">=7.3"
745 | },
746 | "require-dev": {
747 | "phpunit/phpunit": "^9.3"
748 | },
749 | "type": "library",
750 | "extra": {
751 | "branch-alias": {
752 | "dev-master": "2.0-dev"
753 | }
754 | },
755 | "autoload": {
756 | "classmap": [
757 | "src/"
758 | ]
759 | },
760 | "notification-url": "https://packagist.org/downloads/",
761 | "license": [
762 | "BSD-3-Clause"
763 | ],
764 | "authors": [
765 | {
766 | "name": "Sebastian Bergmann",
767 | "email": "sebastian@phpunit.de",
768 | "role": "lead"
769 | }
770 | ],
771 | "description": "Simple template engine.",
772 | "homepage": "https://github.com/sebastianbergmann/php-text-template/",
773 | "keywords": [
774 | "template"
775 | ],
776 | "support": {
777 | "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
778 | "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
779 | },
780 | "funding": [
781 | {
782 | "url": "https://github.com/sebastianbergmann",
783 | "type": "github"
784 | }
785 | ],
786 | "time": "2020-10-26T05:33:50+00:00"
787 | },
788 | {
789 | "name": "phpunit/php-timer",
790 | "version": "5.0.3",
791 | "source": {
792 | "type": "git",
793 | "url": "https://github.com/sebastianbergmann/php-timer.git",
794 | "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
795 | },
796 | "dist": {
797 | "type": "zip",
798 | "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
799 | "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
800 | "shasum": ""
801 | },
802 | "require": {
803 | "php": ">=7.3"
804 | },
805 | "require-dev": {
806 | "phpunit/phpunit": "^9.3"
807 | },
808 | "type": "library",
809 | "extra": {
810 | "branch-alias": {
811 | "dev-master": "5.0-dev"
812 | }
813 | },
814 | "autoload": {
815 | "classmap": [
816 | "src/"
817 | ]
818 | },
819 | "notification-url": "https://packagist.org/downloads/",
820 | "license": [
821 | "BSD-3-Clause"
822 | ],
823 | "authors": [
824 | {
825 | "name": "Sebastian Bergmann",
826 | "email": "sebastian@phpunit.de",
827 | "role": "lead"
828 | }
829 | ],
830 | "description": "Utility class for timing",
831 | "homepage": "https://github.com/sebastianbergmann/php-timer/",
832 | "keywords": [
833 | "timer"
834 | ],
835 | "support": {
836 | "issues": "https://github.com/sebastianbergmann/php-timer/issues",
837 | "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
838 | },
839 | "funding": [
840 | {
841 | "url": "https://github.com/sebastianbergmann",
842 | "type": "github"
843 | }
844 | ],
845 | "time": "2020-10-26T13:16:10+00:00"
846 | },
847 | {
848 | "name": "phpunit/phpunit",
849 | "version": "9.4.3",
850 | "source": {
851 | "type": "git",
852 | "url": "https://github.com/sebastianbergmann/phpunit.git",
853 | "reference": "9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab"
854 | },
855 | "dist": {
856 | "type": "zip",
857 | "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab",
858 | "reference": "9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab",
859 | "shasum": ""
860 | },
861 | "require": {
862 | "doctrine/instantiator": "^1.3.1",
863 | "ext-dom": "*",
864 | "ext-json": "*",
865 | "ext-libxml": "*",
866 | "ext-mbstring": "*",
867 | "ext-xml": "*",
868 | "ext-xmlwriter": "*",
869 | "myclabs/deep-copy": "^1.10.1",
870 | "phar-io/manifest": "^2.0.1",
871 | "phar-io/version": "^3.0.2",
872 | "php": ">=7.3",
873 | "phpspec/prophecy": "^1.12.1",
874 | "phpunit/php-code-coverage": "^9.2",
875 | "phpunit/php-file-iterator": "^3.0.5",
876 | "phpunit/php-invoker": "^3.1.1",
877 | "phpunit/php-text-template": "^2.0.3",
878 | "phpunit/php-timer": "^5.0.2",
879 | "sebastian/cli-parser": "^1.0.1",
880 | "sebastian/code-unit": "^1.0.6",
881 | "sebastian/comparator": "^4.0.5",
882 | "sebastian/diff": "^4.0.3",
883 | "sebastian/environment": "^5.1.3",
884 | "sebastian/exporter": "^4.0.3",
885 | "sebastian/global-state": "^5.0.1",
886 | "sebastian/object-enumerator": "^4.0.3",
887 | "sebastian/resource-operations": "^3.0.3",
888 | "sebastian/type": "^2.3",
889 | "sebastian/version": "^3.0.2"
890 | },
891 | "require-dev": {
892 | "ext-pdo": "*",
893 | "phpspec/prophecy-phpunit": "^2.0.1"
894 | },
895 | "suggest": {
896 | "ext-soap": "*",
897 | "ext-xdebug": "*"
898 | },
899 | "bin": [
900 | "phpunit"
901 | ],
902 | "type": "library",
903 | "extra": {
904 | "branch-alias": {
905 | "dev-master": "9.4-dev"
906 | }
907 | },
908 | "autoload": {
909 | "classmap": [
910 | "src/"
911 | ],
912 | "files": [
913 | "src/Framework/Assert/Functions.php"
914 | ]
915 | },
916 | "notification-url": "https://packagist.org/downloads/",
917 | "license": [
918 | "BSD-3-Clause"
919 | ],
920 | "authors": [
921 | {
922 | "name": "Sebastian Bergmann",
923 | "email": "sebastian@phpunit.de",
924 | "role": "lead"
925 | }
926 | ],
927 | "description": "The PHP Unit Testing framework.",
928 | "homepage": "https://phpunit.de/",
929 | "keywords": [
930 | "phpunit",
931 | "testing",
932 | "xunit"
933 | ],
934 | "support": {
935 | "issues": "https://github.com/sebastianbergmann/phpunit/issues",
936 | "source": "https://github.com/sebastianbergmann/phpunit/tree/9.4.3"
937 | },
938 | "funding": [
939 | {
940 | "url": "https://phpunit.de/donate.html",
941 | "type": "custom"
942 | },
943 | {
944 | "url": "https://github.com/sebastianbergmann",
945 | "type": "github"
946 | }
947 | ],
948 | "time": "2020-11-10T12:53:30+00:00"
949 | },
950 | {
951 | "name": "sebastian/cli-parser",
952 | "version": "1.0.1",
953 | "source": {
954 | "type": "git",
955 | "url": "https://github.com/sebastianbergmann/cli-parser.git",
956 | "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2"
957 | },
958 | "dist": {
959 | "type": "zip",
960 | "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2",
961 | "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2",
962 | "shasum": ""
963 | },
964 | "require": {
965 | "php": ">=7.3"
966 | },
967 | "require-dev": {
968 | "phpunit/phpunit": "^9.3"
969 | },
970 | "type": "library",
971 | "extra": {
972 | "branch-alias": {
973 | "dev-master": "1.0-dev"
974 | }
975 | },
976 | "autoload": {
977 | "classmap": [
978 | "src/"
979 | ]
980 | },
981 | "notification-url": "https://packagist.org/downloads/",
982 | "license": [
983 | "BSD-3-Clause"
984 | ],
985 | "authors": [
986 | {
987 | "name": "Sebastian Bergmann",
988 | "email": "sebastian@phpunit.de",
989 | "role": "lead"
990 | }
991 | ],
992 | "description": "Library for parsing CLI options",
993 | "homepage": "https://github.com/sebastianbergmann/cli-parser",
994 | "support": {
995 | "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
996 | "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"
997 | },
998 | "funding": [
999 | {
1000 | "url": "https://github.com/sebastianbergmann",
1001 | "type": "github"
1002 | }
1003 | ],
1004 | "time": "2020-09-28T06:08:49+00:00"
1005 | },
1006 | {
1007 | "name": "sebastian/code-unit",
1008 | "version": "1.0.8",
1009 | "source": {
1010 | "type": "git",
1011 | "url": "https://github.com/sebastianbergmann/code-unit.git",
1012 | "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
1013 | },
1014 | "dist": {
1015 | "type": "zip",
1016 | "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
1017 | "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
1018 | "shasum": ""
1019 | },
1020 | "require": {
1021 | "php": ">=7.3"
1022 | },
1023 | "require-dev": {
1024 | "phpunit/phpunit": "^9.3"
1025 | },
1026 | "type": "library",
1027 | "extra": {
1028 | "branch-alias": {
1029 | "dev-master": "1.0-dev"
1030 | }
1031 | },
1032 | "autoload": {
1033 | "classmap": [
1034 | "src/"
1035 | ]
1036 | },
1037 | "notification-url": "https://packagist.org/downloads/",
1038 | "license": [
1039 | "BSD-3-Clause"
1040 | ],
1041 | "authors": [
1042 | {
1043 | "name": "Sebastian Bergmann",
1044 | "email": "sebastian@phpunit.de",
1045 | "role": "lead"
1046 | }
1047 | ],
1048 | "description": "Collection of value objects that represent the PHP code units",
1049 | "homepage": "https://github.com/sebastianbergmann/code-unit",
1050 | "support": {
1051 | "issues": "https://github.com/sebastianbergmann/code-unit/issues",
1052 | "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
1053 | },
1054 | "funding": [
1055 | {
1056 | "url": "https://github.com/sebastianbergmann",
1057 | "type": "github"
1058 | }
1059 | ],
1060 | "time": "2020-10-26T13:08:54+00:00"
1061 | },
1062 | {
1063 | "name": "sebastian/code-unit-reverse-lookup",
1064 | "version": "2.0.3",
1065 | "source": {
1066 | "type": "git",
1067 | "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
1068 | "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
1069 | },
1070 | "dist": {
1071 | "type": "zip",
1072 | "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
1073 | "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
1074 | "shasum": ""
1075 | },
1076 | "require": {
1077 | "php": ">=7.3"
1078 | },
1079 | "require-dev": {
1080 | "phpunit/phpunit": "^9.3"
1081 | },
1082 | "type": "library",
1083 | "extra": {
1084 | "branch-alias": {
1085 | "dev-master": "2.0-dev"
1086 | }
1087 | },
1088 | "autoload": {
1089 | "classmap": [
1090 | "src/"
1091 | ]
1092 | },
1093 | "notification-url": "https://packagist.org/downloads/",
1094 | "license": [
1095 | "BSD-3-Clause"
1096 | ],
1097 | "authors": [
1098 | {
1099 | "name": "Sebastian Bergmann",
1100 | "email": "sebastian@phpunit.de"
1101 | }
1102 | ],
1103 | "description": "Looks up which function or method a line of code belongs to",
1104 | "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
1105 | "support": {
1106 | "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
1107 | "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
1108 | },
1109 | "funding": [
1110 | {
1111 | "url": "https://github.com/sebastianbergmann",
1112 | "type": "github"
1113 | }
1114 | ],
1115 | "time": "2020-09-28T05:30:19+00:00"
1116 | },
1117 | {
1118 | "name": "sebastian/comparator",
1119 | "version": "4.0.6",
1120 | "source": {
1121 | "type": "git",
1122 | "url": "https://github.com/sebastianbergmann/comparator.git",
1123 | "reference": "55f4261989e546dc112258c7a75935a81a7ce382"
1124 | },
1125 | "dist": {
1126 | "type": "zip",
1127 | "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382",
1128 | "reference": "55f4261989e546dc112258c7a75935a81a7ce382",
1129 | "shasum": ""
1130 | },
1131 | "require": {
1132 | "php": ">=7.3",
1133 | "sebastian/diff": "^4.0",
1134 | "sebastian/exporter": "^4.0"
1135 | },
1136 | "require-dev": {
1137 | "phpunit/phpunit": "^9.3"
1138 | },
1139 | "type": "library",
1140 | "extra": {
1141 | "branch-alias": {
1142 | "dev-master": "4.0-dev"
1143 | }
1144 | },
1145 | "autoload": {
1146 | "classmap": [
1147 | "src/"
1148 | ]
1149 | },
1150 | "notification-url": "https://packagist.org/downloads/",
1151 | "license": [
1152 | "BSD-3-Clause"
1153 | ],
1154 | "authors": [
1155 | {
1156 | "name": "Sebastian Bergmann",
1157 | "email": "sebastian@phpunit.de"
1158 | },
1159 | {
1160 | "name": "Jeff Welch",
1161 | "email": "whatthejeff@gmail.com"
1162 | },
1163 | {
1164 | "name": "Volker Dusch",
1165 | "email": "github@wallbash.com"
1166 | },
1167 | {
1168 | "name": "Bernhard Schussek",
1169 | "email": "bschussek@2bepublished.at"
1170 | }
1171 | ],
1172 | "description": "Provides the functionality to compare PHP values for equality",
1173 | "homepage": "https://github.com/sebastianbergmann/comparator",
1174 | "keywords": [
1175 | "comparator",
1176 | "compare",
1177 | "equality"
1178 | ],
1179 | "support": {
1180 | "issues": "https://github.com/sebastianbergmann/comparator/issues",
1181 | "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6"
1182 | },
1183 | "funding": [
1184 | {
1185 | "url": "https://github.com/sebastianbergmann",
1186 | "type": "github"
1187 | }
1188 | ],
1189 | "time": "2020-10-26T15:49:45+00:00"
1190 | },
1191 | {
1192 | "name": "sebastian/complexity",
1193 | "version": "2.0.2",
1194 | "source": {
1195 | "type": "git",
1196 | "url": "https://github.com/sebastianbergmann/complexity.git",
1197 | "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
1198 | },
1199 | "dist": {
1200 | "type": "zip",
1201 | "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
1202 | "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
1203 | "shasum": ""
1204 | },
1205 | "require": {
1206 | "nikic/php-parser": "^4.7",
1207 | "php": ">=7.3"
1208 | },
1209 | "require-dev": {
1210 | "phpunit/phpunit": "^9.3"
1211 | },
1212 | "type": "library",
1213 | "extra": {
1214 | "branch-alias": {
1215 | "dev-master": "2.0-dev"
1216 | }
1217 | },
1218 | "autoload": {
1219 | "classmap": [
1220 | "src/"
1221 | ]
1222 | },
1223 | "notification-url": "https://packagist.org/downloads/",
1224 | "license": [
1225 | "BSD-3-Clause"
1226 | ],
1227 | "authors": [
1228 | {
1229 | "name": "Sebastian Bergmann",
1230 | "email": "sebastian@phpunit.de",
1231 | "role": "lead"
1232 | }
1233 | ],
1234 | "description": "Library for calculating the complexity of PHP code units",
1235 | "homepage": "https://github.com/sebastianbergmann/complexity",
1236 | "support": {
1237 | "issues": "https://github.com/sebastianbergmann/complexity/issues",
1238 | "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
1239 | },
1240 | "funding": [
1241 | {
1242 | "url": "https://github.com/sebastianbergmann",
1243 | "type": "github"
1244 | }
1245 | ],
1246 | "time": "2020-10-26T15:52:27+00:00"
1247 | },
1248 | {
1249 | "name": "sebastian/diff",
1250 | "version": "4.0.4",
1251 | "source": {
1252 | "type": "git",
1253 | "url": "https://github.com/sebastianbergmann/diff.git",
1254 | "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
1255 | },
1256 | "dist": {
1257 | "type": "zip",
1258 | "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
1259 | "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
1260 | "shasum": ""
1261 | },
1262 | "require": {
1263 | "php": ">=7.3"
1264 | },
1265 | "require-dev": {
1266 | "phpunit/phpunit": "^9.3",
1267 | "symfony/process": "^4.2 || ^5"
1268 | },
1269 | "type": "library",
1270 | "extra": {
1271 | "branch-alias": {
1272 | "dev-master": "4.0-dev"
1273 | }
1274 | },
1275 | "autoload": {
1276 | "classmap": [
1277 | "src/"
1278 | ]
1279 | },
1280 | "notification-url": "https://packagist.org/downloads/",
1281 | "license": [
1282 | "BSD-3-Clause"
1283 | ],
1284 | "authors": [
1285 | {
1286 | "name": "Sebastian Bergmann",
1287 | "email": "sebastian@phpunit.de"
1288 | },
1289 | {
1290 | "name": "Kore Nordmann",
1291 | "email": "mail@kore-nordmann.de"
1292 | }
1293 | ],
1294 | "description": "Diff implementation",
1295 | "homepage": "https://github.com/sebastianbergmann/diff",
1296 | "keywords": [
1297 | "diff",
1298 | "udiff",
1299 | "unidiff",
1300 | "unified diff"
1301 | ],
1302 | "support": {
1303 | "issues": "https://github.com/sebastianbergmann/diff/issues",
1304 | "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
1305 | },
1306 | "funding": [
1307 | {
1308 | "url": "https://github.com/sebastianbergmann",
1309 | "type": "github"
1310 | }
1311 | ],
1312 | "time": "2020-10-26T13:10:38+00:00"
1313 | },
1314 | {
1315 | "name": "sebastian/environment",
1316 | "version": "5.1.3",
1317 | "source": {
1318 | "type": "git",
1319 | "url": "https://github.com/sebastianbergmann/environment.git",
1320 | "reference": "388b6ced16caa751030f6a69e588299fa09200ac"
1321 | },
1322 | "dist": {
1323 | "type": "zip",
1324 | "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac",
1325 | "reference": "388b6ced16caa751030f6a69e588299fa09200ac",
1326 | "shasum": ""
1327 | },
1328 | "require": {
1329 | "php": ">=7.3"
1330 | },
1331 | "require-dev": {
1332 | "phpunit/phpunit": "^9.3"
1333 | },
1334 | "suggest": {
1335 | "ext-posix": "*"
1336 | },
1337 | "type": "library",
1338 | "extra": {
1339 | "branch-alias": {
1340 | "dev-master": "5.1-dev"
1341 | }
1342 | },
1343 | "autoload": {
1344 | "classmap": [
1345 | "src/"
1346 | ]
1347 | },
1348 | "notification-url": "https://packagist.org/downloads/",
1349 | "license": [
1350 | "BSD-3-Clause"
1351 | ],
1352 | "authors": [
1353 | {
1354 | "name": "Sebastian Bergmann",
1355 | "email": "sebastian@phpunit.de"
1356 | }
1357 | ],
1358 | "description": "Provides functionality to handle HHVM/PHP environments",
1359 | "homepage": "http://www.github.com/sebastianbergmann/environment",
1360 | "keywords": [
1361 | "Xdebug",
1362 | "environment",
1363 | "hhvm"
1364 | ],
1365 | "support": {
1366 | "issues": "https://github.com/sebastianbergmann/environment/issues",
1367 | "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3"
1368 | },
1369 | "funding": [
1370 | {
1371 | "url": "https://github.com/sebastianbergmann",
1372 | "type": "github"
1373 | }
1374 | ],
1375 | "time": "2020-09-28T05:52:38+00:00"
1376 | },
1377 | {
1378 | "name": "sebastian/exporter",
1379 | "version": "4.0.3",
1380 | "source": {
1381 | "type": "git",
1382 | "url": "https://github.com/sebastianbergmann/exporter.git",
1383 | "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65"
1384 | },
1385 | "dist": {
1386 | "type": "zip",
1387 | "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65",
1388 | "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65",
1389 | "shasum": ""
1390 | },
1391 | "require": {
1392 | "php": ">=7.3",
1393 | "sebastian/recursion-context": "^4.0"
1394 | },
1395 | "require-dev": {
1396 | "ext-mbstring": "*",
1397 | "phpunit/phpunit": "^9.3"
1398 | },
1399 | "type": "library",
1400 | "extra": {
1401 | "branch-alias": {
1402 | "dev-master": "4.0-dev"
1403 | }
1404 | },
1405 | "autoload": {
1406 | "classmap": [
1407 | "src/"
1408 | ]
1409 | },
1410 | "notification-url": "https://packagist.org/downloads/",
1411 | "license": [
1412 | "BSD-3-Clause"
1413 | ],
1414 | "authors": [
1415 | {
1416 | "name": "Sebastian Bergmann",
1417 | "email": "sebastian@phpunit.de"
1418 | },
1419 | {
1420 | "name": "Jeff Welch",
1421 | "email": "whatthejeff@gmail.com"
1422 | },
1423 | {
1424 | "name": "Volker Dusch",
1425 | "email": "github@wallbash.com"
1426 | },
1427 | {
1428 | "name": "Adam Harvey",
1429 | "email": "aharvey@php.net"
1430 | },
1431 | {
1432 | "name": "Bernhard Schussek",
1433 | "email": "bschussek@gmail.com"
1434 | }
1435 | ],
1436 | "description": "Provides the functionality to export PHP variables for visualization",
1437 | "homepage": "http://www.github.com/sebastianbergmann/exporter",
1438 | "keywords": [
1439 | "export",
1440 | "exporter"
1441 | ],
1442 | "support": {
1443 | "issues": "https://github.com/sebastianbergmann/exporter/issues",
1444 | "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3"
1445 | },
1446 | "funding": [
1447 | {
1448 | "url": "https://github.com/sebastianbergmann",
1449 | "type": "github"
1450 | }
1451 | ],
1452 | "time": "2020-09-28T05:24:23+00:00"
1453 | },
1454 | {
1455 | "name": "sebastian/global-state",
1456 | "version": "5.0.2",
1457 | "source": {
1458 | "type": "git",
1459 | "url": "https://github.com/sebastianbergmann/global-state.git",
1460 | "reference": "a90ccbddffa067b51f574dea6eb25d5680839455"
1461 | },
1462 | "dist": {
1463 | "type": "zip",
1464 | "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/a90ccbddffa067b51f574dea6eb25d5680839455",
1465 | "reference": "a90ccbddffa067b51f574dea6eb25d5680839455",
1466 | "shasum": ""
1467 | },
1468 | "require": {
1469 | "php": ">=7.3",
1470 | "sebastian/object-reflector": "^2.0",
1471 | "sebastian/recursion-context": "^4.0"
1472 | },
1473 | "require-dev": {
1474 | "ext-dom": "*",
1475 | "phpunit/phpunit": "^9.3"
1476 | },
1477 | "suggest": {
1478 | "ext-uopz": "*"
1479 | },
1480 | "type": "library",
1481 | "extra": {
1482 | "branch-alias": {
1483 | "dev-master": "5.0-dev"
1484 | }
1485 | },
1486 | "autoload": {
1487 | "classmap": [
1488 | "src/"
1489 | ]
1490 | },
1491 | "notification-url": "https://packagist.org/downloads/",
1492 | "license": [
1493 | "BSD-3-Clause"
1494 | ],
1495 | "authors": [
1496 | {
1497 | "name": "Sebastian Bergmann",
1498 | "email": "sebastian@phpunit.de"
1499 | }
1500 | ],
1501 | "description": "Snapshotting of global state",
1502 | "homepage": "http://www.github.com/sebastianbergmann/global-state",
1503 | "keywords": [
1504 | "global state"
1505 | ],
1506 | "support": {
1507 | "issues": "https://github.com/sebastianbergmann/global-state/issues",
1508 | "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.2"
1509 | },
1510 | "funding": [
1511 | {
1512 | "url": "https://github.com/sebastianbergmann",
1513 | "type": "github"
1514 | }
1515 | ],
1516 | "time": "2020-10-26T15:55:19+00:00"
1517 | },
1518 | {
1519 | "name": "sebastian/lines-of-code",
1520 | "version": "1.0.2",
1521 | "source": {
1522 | "type": "git",
1523 | "url": "https://github.com/sebastianbergmann/lines-of-code.git",
1524 | "reference": "acf76492a65401babcf5283296fa510782783a7a"
1525 | },
1526 | "dist": {
1527 | "type": "zip",
1528 | "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/acf76492a65401babcf5283296fa510782783a7a",
1529 | "reference": "acf76492a65401babcf5283296fa510782783a7a",
1530 | "shasum": ""
1531 | },
1532 | "require": {
1533 | "nikic/php-parser": "^4.6",
1534 | "php": ">=7.3"
1535 | },
1536 | "require-dev": {
1537 | "phpunit/phpunit": "^9.3"
1538 | },
1539 | "type": "library",
1540 | "extra": {
1541 | "branch-alias": {
1542 | "dev-master": "1.0-dev"
1543 | }
1544 | },
1545 | "autoload": {
1546 | "classmap": [
1547 | "src/"
1548 | ]
1549 | },
1550 | "notification-url": "https://packagist.org/downloads/",
1551 | "license": [
1552 | "BSD-3-Clause"
1553 | ],
1554 | "authors": [
1555 | {
1556 | "name": "Sebastian Bergmann",
1557 | "email": "sebastian@phpunit.de",
1558 | "role": "lead"
1559 | }
1560 | ],
1561 | "description": "Library for counting the lines of code in PHP source code",
1562 | "homepage": "https://github.com/sebastianbergmann/lines-of-code",
1563 | "support": {
1564 | "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
1565 | "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.2"
1566 | },
1567 | "funding": [
1568 | {
1569 | "url": "https://github.com/sebastianbergmann",
1570 | "type": "github"
1571 | }
1572 | ],
1573 | "time": "2020-10-26T17:03:56+00:00"
1574 | },
1575 | {
1576 | "name": "sebastian/object-enumerator",
1577 | "version": "4.0.4",
1578 | "source": {
1579 | "type": "git",
1580 | "url": "https://github.com/sebastianbergmann/object-enumerator.git",
1581 | "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
1582 | },
1583 | "dist": {
1584 | "type": "zip",
1585 | "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
1586 | "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
1587 | "shasum": ""
1588 | },
1589 | "require": {
1590 | "php": ">=7.3",
1591 | "sebastian/object-reflector": "^2.0",
1592 | "sebastian/recursion-context": "^4.0"
1593 | },
1594 | "require-dev": {
1595 | "phpunit/phpunit": "^9.3"
1596 | },
1597 | "type": "library",
1598 | "extra": {
1599 | "branch-alias": {
1600 | "dev-master": "4.0-dev"
1601 | }
1602 | },
1603 | "autoload": {
1604 | "classmap": [
1605 | "src/"
1606 | ]
1607 | },
1608 | "notification-url": "https://packagist.org/downloads/",
1609 | "license": [
1610 | "BSD-3-Clause"
1611 | ],
1612 | "authors": [
1613 | {
1614 | "name": "Sebastian Bergmann",
1615 | "email": "sebastian@phpunit.de"
1616 | }
1617 | ],
1618 | "description": "Traverses array structures and object graphs to enumerate all referenced objects",
1619 | "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
1620 | "support": {
1621 | "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
1622 | "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
1623 | },
1624 | "funding": [
1625 | {
1626 | "url": "https://github.com/sebastianbergmann",
1627 | "type": "github"
1628 | }
1629 | ],
1630 | "time": "2020-10-26T13:12:34+00:00"
1631 | },
1632 | {
1633 | "name": "sebastian/object-reflector",
1634 | "version": "2.0.4",
1635 | "source": {
1636 | "type": "git",
1637 | "url": "https://github.com/sebastianbergmann/object-reflector.git",
1638 | "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
1639 | },
1640 | "dist": {
1641 | "type": "zip",
1642 | "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
1643 | "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
1644 | "shasum": ""
1645 | },
1646 | "require": {
1647 | "php": ">=7.3"
1648 | },
1649 | "require-dev": {
1650 | "phpunit/phpunit": "^9.3"
1651 | },
1652 | "type": "library",
1653 | "extra": {
1654 | "branch-alias": {
1655 | "dev-master": "2.0-dev"
1656 | }
1657 | },
1658 | "autoload": {
1659 | "classmap": [
1660 | "src/"
1661 | ]
1662 | },
1663 | "notification-url": "https://packagist.org/downloads/",
1664 | "license": [
1665 | "BSD-3-Clause"
1666 | ],
1667 | "authors": [
1668 | {
1669 | "name": "Sebastian Bergmann",
1670 | "email": "sebastian@phpunit.de"
1671 | }
1672 | ],
1673 | "description": "Allows reflection of object attributes, including inherited and non-public ones",
1674 | "homepage": "https://github.com/sebastianbergmann/object-reflector/",
1675 | "support": {
1676 | "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
1677 | "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
1678 | },
1679 | "funding": [
1680 | {
1681 | "url": "https://github.com/sebastianbergmann",
1682 | "type": "github"
1683 | }
1684 | ],
1685 | "time": "2020-10-26T13:14:26+00:00"
1686 | },
1687 | {
1688 | "name": "sebastian/recursion-context",
1689 | "version": "4.0.4",
1690 | "source": {
1691 | "type": "git",
1692 | "url": "https://github.com/sebastianbergmann/recursion-context.git",
1693 | "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
1694 | },
1695 | "dist": {
1696 | "type": "zip",
1697 | "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
1698 | "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
1699 | "shasum": ""
1700 | },
1701 | "require": {
1702 | "php": ">=7.3"
1703 | },
1704 | "require-dev": {
1705 | "phpunit/phpunit": "^9.3"
1706 | },
1707 | "type": "library",
1708 | "extra": {
1709 | "branch-alias": {
1710 | "dev-master": "4.0-dev"
1711 | }
1712 | },
1713 | "autoload": {
1714 | "classmap": [
1715 | "src/"
1716 | ]
1717 | },
1718 | "notification-url": "https://packagist.org/downloads/",
1719 | "license": [
1720 | "BSD-3-Clause"
1721 | ],
1722 | "authors": [
1723 | {
1724 | "name": "Sebastian Bergmann",
1725 | "email": "sebastian@phpunit.de"
1726 | },
1727 | {
1728 | "name": "Jeff Welch",
1729 | "email": "whatthejeff@gmail.com"
1730 | },
1731 | {
1732 | "name": "Adam Harvey",
1733 | "email": "aharvey@php.net"
1734 | }
1735 | ],
1736 | "description": "Provides functionality to recursively process PHP variables",
1737 | "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
1738 | "support": {
1739 | "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
1740 | "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
1741 | },
1742 | "funding": [
1743 | {
1744 | "url": "https://github.com/sebastianbergmann",
1745 | "type": "github"
1746 | }
1747 | ],
1748 | "time": "2020-10-26T13:17:30+00:00"
1749 | },
1750 | {
1751 | "name": "sebastian/resource-operations",
1752 | "version": "3.0.3",
1753 | "source": {
1754 | "type": "git",
1755 | "url": "https://github.com/sebastianbergmann/resource-operations.git",
1756 | "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8"
1757 | },
1758 | "dist": {
1759 | "type": "zip",
1760 | "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
1761 | "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
1762 | "shasum": ""
1763 | },
1764 | "require": {
1765 | "php": ">=7.3"
1766 | },
1767 | "require-dev": {
1768 | "phpunit/phpunit": "^9.0"
1769 | },
1770 | "type": "library",
1771 | "extra": {
1772 | "branch-alias": {
1773 | "dev-master": "3.0-dev"
1774 | }
1775 | },
1776 | "autoload": {
1777 | "classmap": [
1778 | "src/"
1779 | ]
1780 | },
1781 | "notification-url": "https://packagist.org/downloads/",
1782 | "license": [
1783 | "BSD-3-Clause"
1784 | ],
1785 | "authors": [
1786 | {
1787 | "name": "Sebastian Bergmann",
1788 | "email": "sebastian@phpunit.de"
1789 | }
1790 | ],
1791 | "description": "Provides a list of PHP built-in functions that operate on resources",
1792 | "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
1793 | "support": {
1794 | "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
1795 | "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"
1796 | },
1797 | "funding": [
1798 | {
1799 | "url": "https://github.com/sebastianbergmann",
1800 | "type": "github"
1801 | }
1802 | ],
1803 | "time": "2020-09-28T06:45:17+00:00"
1804 | },
1805 | {
1806 | "name": "sebastian/type",
1807 | "version": "2.3.1",
1808 | "source": {
1809 | "type": "git",
1810 | "url": "https://github.com/sebastianbergmann/type.git",
1811 | "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2"
1812 | },
1813 | "dist": {
1814 | "type": "zip",
1815 | "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/81cd61ab7bbf2de744aba0ea61fae32f721df3d2",
1816 | "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2",
1817 | "shasum": ""
1818 | },
1819 | "require": {
1820 | "php": ">=7.3"
1821 | },
1822 | "require-dev": {
1823 | "phpunit/phpunit": "^9.3"
1824 | },
1825 | "type": "library",
1826 | "extra": {
1827 | "branch-alias": {
1828 | "dev-master": "2.3-dev"
1829 | }
1830 | },
1831 | "autoload": {
1832 | "classmap": [
1833 | "src/"
1834 | ]
1835 | },
1836 | "notification-url": "https://packagist.org/downloads/",
1837 | "license": [
1838 | "BSD-3-Clause"
1839 | ],
1840 | "authors": [
1841 | {
1842 | "name": "Sebastian Bergmann",
1843 | "email": "sebastian@phpunit.de",
1844 | "role": "lead"
1845 | }
1846 | ],
1847 | "description": "Collection of value objects that represent the types of the PHP type system",
1848 | "homepage": "https://github.com/sebastianbergmann/type",
1849 | "support": {
1850 | "issues": "https://github.com/sebastianbergmann/type/issues",
1851 | "source": "https://github.com/sebastianbergmann/type/tree/2.3.1"
1852 | },
1853 | "funding": [
1854 | {
1855 | "url": "https://github.com/sebastianbergmann",
1856 | "type": "github"
1857 | }
1858 | ],
1859 | "time": "2020-10-26T13:18:59+00:00"
1860 | },
1861 | {
1862 | "name": "sebastian/version",
1863 | "version": "3.0.2",
1864 | "source": {
1865 | "type": "git",
1866 | "url": "https://github.com/sebastianbergmann/version.git",
1867 | "reference": "c6c1022351a901512170118436c764e473f6de8c"
1868 | },
1869 | "dist": {
1870 | "type": "zip",
1871 | "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
1872 | "reference": "c6c1022351a901512170118436c764e473f6de8c",
1873 | "shasum": ""
1874 | },
1875 | "require": {
1876 | "php": ">=7.3"
1877 | },
1878 | "type": "library",
1879 | "extra": {
1880 | "branch-alias": {
1881 | "dev-master": "3.0-dev"
1882 | }
1883 | },
1884 | "autoload": {
1885 | "classmap": [
1886 | "src/"
1887 | ]
1888 | },
1889 | "notification-url": "https://packagist.org/downloads/",
1890 | "license": [
1891 | "BSD-3-Clause"
1892 | ],
1893 | "authors": [
1894 | {
1895 | "name": "Sebastian Bergmann",
1896 | "email": "sebastian@phpunit.de",
1897 | "role": "lead"
1898 | }
1899 | ],
1900 | "description": "Library that helps with managing the version number of Git-hosted PHP projects",
1901 | "homepage": "https://github.com/sebastianbergmann/version",
1902 | "support": {
1903 | "issues": "https://github.com/sebastianbergmann/version/issues",
1904 | "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
1905 | },
1906 | "funding": [
1907 | {
1908 | "url": "https://github.com/sebastianbergmann",
1909 | "type": "github"
1910 | }
1911 | ],
1912 | "time": "2020-09-28T06:39:44+00:00"
1913 | },
1914 | {
1915 | "name": "symfony/polyfill-ctype",
1916 | "version": "v1.20.0",
1917 | "source": {
1918 | "type": "git",
1919 | "url": "https://github.com/symfony/polyfill-ctype.git",
1920 | "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41"
1921 | },
1922 | "dist": {
1923 | "type": "zip",
1924 | "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41",
1925 | "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41",
1926 | "shasum": ""
1927 | },
1928 | "require": {
1929 | "php": ">=7.1"
1930 | },
1931 | "suggest": {
1932 | "ext-ctype": "For best performance"
1933 | },
1934 | "type": "library",
1935 | "extra": {
1936 | "branch-alias": {
1937 | "dev-main": "1.20-dev"
1938 | },
1939 | "thanks": {
1940 | "name": "symfony/polyfill",
1941 | "url": "https://github.com/symfony/polyfill"
1942 | }
1943 | },
1944 | "autoload": {
1945 | "psr-4": {
1946 | "Symfony\\Polyfill\\Ctype\\": ""
1947 | },
1948 | "files": [
1949 | "bootstrap.php"
1950 | ]
1951 | },
1952 | "notification-url": "https://packagist.org/downloads/",
1953 | "license": [
1954 | "MIT"
1955 | ],
1956 | "authors": [
1957 | {
1958 | "name": "Gert de Pagter",
1959 | "email": "BackEndTea@gmail.com"
1960 | },
1961 | {
1962 | "name": "Symfony Community",
1963 | "homepage": "https://symfony.com/contributors"
1964 | }
1965 | ],
1966 | "description": "Symfony polyfill for ctype functions",
1967 | "homepage": "https://symfony.com",
1968 | "keywords": [
1969 | "compatibility",
1970 | "ctype",
1971 | "polyfill",
1972 | "portable"
1973 | ],
1974 | "support": {
1975 | "source": "https://github.com/symfony/polyfill-ctype/tree/v1.20.0"
1976 | },
1977 | "funding": [
1978 | {
1979 | "url": "https://symfony.com/sponsor",
1980 | "type": "custom"
1981 | },
1982 | {
1983 | "url": "https://github.com/fabpot",
1984 | "type": "github"
1985 | },
1986 | {
1987 | "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
1988 | "type": "tidelift"
1989 | }
1990 | ],
1991 | "time": "2020-10-23T14:02:19+00:00"
1992 | },
1993 | {
1994 | "name": "theseer/tokenizer",
1995 | "version": "1.2.0",
1996 | "source": {
1997 | "type": "git",
1998 | "url": "https://github.com/theseer/tokenizer.git",
1999 | "reference": "75a63c33a8577608444246075ea0af0d052e452a"
2000 | },
2001 | "dist": {
2002 | "type": "zip",
2003 | "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a",
2004 | "reference": "75a63c33a8577608444246075ea0af0d052e452a",
2005 | "shasum": ""
2006 | },
2007 | "require": {
2008 | "ext-dom": "*",
2009 | "ext-tokenizer": "*",
2010 | "ext-xmlwriter": "*",
2011 | "php": "^7.2 || ^8.0"
2012 | },
2013 | "type": "library",
2014 | "autoload": {
2015 | "classmap": [
2016 | "src/"
2017 | ]
2018 | },
2019 | "notification-url": "https://packagist.org/downloads/",
2020 | "license": [
2021 | "BSD-3-Clause"
2022 | ],
2023 | "authors": [
2024 | {
2025 | "name": "Arne Blankerts",
2026 | "email": "arne@blankerts.de",
2027 | "role": "Developer"
2028 | }
2029 | ],
2030 | "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
2031 | "support": {
2032 | "issues": "https://github.com/theseer/tokenizer/issues",
2033 | "source": "https://github.com/theseer/tokenizer/tree/master"
2034 | },
2035 | "funding": [
2036 | {
2037 | "url": "https://github.com/theseer",
2038 | "type": "github"
2039 | }
2040 | ],
2041 | "time": "2020-07-12T23:59:07+00:00"
2042 | },
2043 | {
2044 | "name": "webmozart/assert",
2045 | "version": "1.9.1",
2046 | "source": {
2047 | "type": "git",
2048 | "url": "https://github.com/webmozart/assert.git",
2049 | "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
2050 | },
2051 | "dist": {
2052 | "type": "zip",
2053 | "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
2054 | "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
2055 | "shasum": ""
2056 | },
2057 | "require": {
2058 | "php": "^5.3.3 || ^7.0 || ^8.0",
2059 | "symfony/polyfill-ctype": "^1.8"
2060 | },
2061 | "conflict": {
2062 | "phpstan/phpstan": "<0.12.20",
2063 | "vimeo/psalm": "<3.9.1"
2064 | },
2065 | "require-dev": {
2066 | "phpunit/phpunit": "^4.8.36 || ^7.5.13"
2067 | },
2068 | "type": "library",
2069 | "autoload": {
2070 | "psr-4": {
2071 | "Webmozart\\Assert\\": "src/"
2072 | }
2073 | },
2074 | "notification-url": "https://packagist.org/downloads/",
2075 | "license": [
2076 | "MIT"
2077 | ],
2078 | "authors": [
2079 | {
2080 | "name": "Bernhard Schussek",
2081 | "email": "bschussek@gmail.com"
2082 | }
2083 | ],
2084 | "description": "Assertions to validate method input/output with nice error messages.",
2085 | "keywords": [
2086 | "assert",
2087 | "check",
2088 | "validate"
2089 | ],
2090 | "support": {
2091 | "issues": "https://github.com/webmozart/assert/issues",
2092 | "source": "https://github.com/webmozart/assert/tree/master"
2093 | },
2094 | "time": "2020-07-08T17:02:28+00:00"
2095 | }
2096 | ],
2097 | "aliases": [],
2098 | "minimum-stability": "stable",
2099 | "stability-flags": [],
2100 | "prefer-stable": false,
2101 | "prefer-lowest": false,
2102 | "platform": {
2103 | "php": "~7.4",
2104 | "ext-pdo": "*",
2105 | "ext-curl": "*",
2106 | "ext-json": "*"
2107 | },
2108 | "platform-dev": [],
2109 | "plugin-api-version": "2.0.0"
2110 | }
2111 |
--------------------------------------------------------------------------------