I hereby claim:
- I am michael-brooks on github.
- I am michaelbrooks (https://keybase.io/michaelbrooks) on keybase.
- I have a public key ASC0pUdFLdzQByyxFmsFFkEoJMOhR76PGFB3bv7Mi_lEIgo
To claim this, I am signing this object:
<?php | |
/* | |
* Place this with the rest of your rules. | |
* Doesn't need to be in an array as there are no pipes. | |
* Password is required with a minimum of 6 characters | |
* Should have at least 1 lowercase AND 1 uppercase AND 1 number | |
*/ | |
$rules = [ | |
'password' => 'required|min:6|regex:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).+$/' | |
]; |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "bento/centos-6.7" |
server { | |
listen 80; | |
server_name DEFAULT_SERVER_NAME; | |
return 301 https://DOMAINNAME$request_uri$is_args$args; | |
} | |
server { | |
listen 80; | |
server_name *.DOMAINNAME; |
I hereby claim:
To claim this, I am signing this object:
cd ~/homestead && vagrant halt |
FROM php:7.4-apache | |
COPY . /var/www/html | |
WORKDIR /var/www/html | |
RUN docker-php-ext-install mysqli pdo pdo_mysql | |
EXPOSE 80 443 |