This windows batch script creates the files and folders needed to start a PHP project. This batch script also creates a PHP server file that listens on port 1234 and serves the content from public_html inside the project. More info you can contact me erikthiart.com
The script creates the project on the desktop by default (that is normally where I save quick projects). This script was just an automated tool for me as I suddenly found myself creating the same base project stucture for new projects on a daily basis.
I hope this script is usefull to others and if you want to make modifications please do so and submit the changes back - I'd like to create a repo of automated batch scripts for small projects.
Step 1: Save the create_project.bat
file to your computer (It doesn't matter where, I generally keep mine on my desktop)
Step 2: Open CMD (windows command line) navigate to the location where you saved the script
Step 3: Run the script (optionally you can add a name for your project)
Run the script in CMD <script>.bat project_name
+---project_name
\-----app
\---init.php
\-----public_html
\---img
\---header.php
\---index.php
\---footer.php
\-----server.bat