Skip to content

This php script helps to generate the config files for SSH, Sequel Pro, FileZilla & PhpStorm from a yaml file

Notifications You must be signed in to change notification settings

biplobice/macosx-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macosx-config

  • Add your sites informations on sites.yaml file as follows.
example1.com:
  name: example1.com
  host: 127.0.0.1
  user: ex-user
  sshKey: ~/.ssh/ex-user.pem
  env: prod
  database:
    host: 127.0.0.1
    user: root
    password: root
    port: 3306

example2.com:
  name: example2.com
  host: 127.0.0.1
  user: ex-user
  sshKey: ~/.ssh/ex-user.pem
  env: prod
  database: { host: 127.0.0.1, user: root, password: root, port: 3306 }
  
  • Run php index.php from your CLI or access the index.php from your browser. It'll generates the config files for you.

[Note: I use this script to generate the config files for my Mac. You might need to change the output path to the classes.]

About

This php script helps to generate the config files for SSH, Sequel Pro, FileZilla & PhpStorm from a yaml file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages