2017 © Pedro Peláez
 

project webdev

Command-line tool for managing your local web development projects on Windows with Wamp.

image

afflicto/webdev

Command-line tool for managing your local web development projects on Windows with Wamp.

  • Sunday, March 26, 2017
  • by arakash
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

What's this?

webdev is a CLI tool written in PHP that automates much of the ground-work your your web development projects require - so you can get to work asap., (*1)

Imagine typing a single command like and having the following done in milliseconds:, (*2)

  1. Creates a directory like /var/www/new-site or C:\wamp64\www\new-site or D:/websites/new-site
  2. Creates an appropriate configuration for your web server (virtualhost directives for apache etc)
  3. Adds these lines to your hosts file:
    • 127.0.0.1 new-site.dev
    • 127.0.0.1 www.new-site.dev
  4. Creates a database on your MySQL Server
  5. Perhaps creates a folder for your non-code stuff /home/John/Dropbox/Projects/new-site.

Changelog

October 19th, 2017 - Can now use webdev config to list entire config., (*3)

here's how it looks to both set it up and create your first site, (*4)

Requirements

  • Composer
  • Your composer vendor directory in your PATH

Install & Use

Before you use it, remember that this tool is in alpha and isn't TDD'ed or anything. Don't blame me if you accidentally delete your projects!, (*5)

Grab it via packagist.org:, (*6)

composer global require "arakash92/webdev=dev-master"

The first time you run it, it should automatically do the init command, which is interactively sets up webdev in your particular environment., (*7)

Commands

legend: , (*8)

[abc] Argument
[abc?] Optional argument
webdev config [key] [value?]

Configure webdev by getting or setting values., (*9)

Examples: - webdev config web.providers.wamp.web_root C:/wamp/www sets the web root directory where your new projects will be created when using the "apache" web server. - webdev config database.default tells you the current value of the default database provider. - webdev config web prints the value of all the keys and values in that array (If it is an array. In this case, it is). - webdev config mysql.username "root" sets the mysql username, (*10)

webdev create

Create a new website, (*11)

About & Contributing

It's written in PHP, built on Composer and leverages Symfony/Console as well as Illuminate/Config. The configuration is stored as a PHP array in the installation directory (composers's global vendor dir)., (*12)

feel free to send a pull request. It would be nice to clean up the code a bit, add support for more things and make better abstractions and maybe also support a more modular approach., (*13)

Licens

MIT. See LICENSE file., (*14)

The Versions

26/03 2017

dev-master

9999999-dev

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

11/07 2016

0.5.0

0.5.0.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

11/07 2016

0.4.2

0.4.2.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

11/07 2016

0.4.1

0.4.1.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

11/07 2016

0.4.0

0.4.0.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.3.2

0.3.2.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.3.1

0.3.1.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.3.0

0.3.0.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.2.0

0.2.0.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.1.3

0.1.3.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.1.2

0.1.2.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.1.1

0.1.1.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen

10/07 2016

0.1.0

0.1.0.0

Command-line tool for managing your local web development projects on Windows with Wamp.

  Sources   Download

MIT

The Requires

 

by Petter Thowsen