Git Product home page Git Product logo

create-php-app's Introduction

create-php-app

these scripts can make PHP MVC backend template with react/Vanila JS/Vue frontend template with tailwindcss easily

Screenshot from 2024-02-29 14-27-52

Screenshot from 2024-02-29 14-30-06

Screenshot from 2024-02-29 14-30-41

For Windows (create-php-app.ps1)

Open PowerShell:

Press Win + X and select "Windows PowerShell" or "PowerShell" from the menu. You can also open PowerShell from the Start Menu or by searching for it. Navigate to the Script's Directory:

Use the cd (Change Directory) command to navigate to the directory where your PowerShell script is located.

cd path\to\your\script\directory
Execution Policy:

By default, PowerShell may have restrictions on running scripts for security reasons. You might need to change the execution policy.

Set-ExecutionPolicy RemoteSigned

Choose a suitable execution policy. For development or testing, you can use RemoteSigned or Unrestricted. However, for security reasons, it's recommended to revert to a more restrictive policy after running your script.

Run the Script:

Use the .\ (dot-slash) notation to run the script.

.\your_script.ps1

Replace your_script.ps1 with the actual name of your PowerShell script.

If you encounter an error regarding script execution, you might need to use the -File parameter:

powershell -File .\your_script.ps1

Check for Errors:

Pay attention to any error messages that appear in the console. They can help you identify issues with your script. Remember to revert the execution policy to a more secure setting after running your script. You can set it back to the default with:

Set-ExecutionPolicy Restricted

Please note that running scripts from untrusted sources can pose security risks. Make sure you understand the content of the script before executing it, especially if it comes from an unknown or untrusted source.

for Linux (create-php-app.bash)

  • navigate to the folder you want to create the project
  • bash create-php-app.bash

create-php-app's People

Watchers

R.Krishanthan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.