Skip to content

This Laravel application allows users to generate a `.bat` file to customize Artisan commands.

Notifications You must be signed in to change notification settings

hashaam-zahid/laravel-php-artisan-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Laravel Artisan Command Changer

This Laravel application allows users to generate a `.bat` file to customize Artisan commands.

## Description

This project demonstrates how to create a Laravel controller method that generates a `.bat` file based on user input and allows users to download it. The `.bat` file includes doskey commands to modify Artisan commands within a Laravel project.

## Features

- Create a `.bat` file to change Artisan commands
- Customize the commands as per user input
- Download the generated `.bat` file

## Installation

1. Clone the repository:

```bash
git clone [Repository Link](https://github.com/hashaam-zahid/laravel-php-artisan-changer.git)
  1. Start the development server:
php artisan serve
  1. Access the application in your browser at http://localhost:8000.

4- Open The Form and Enter The Desireable command PHP Artisan to e.x Pa

5- It will Generate Doskey.bat file In Storage/App/dosket.Bat

6- Copy the location of Doskey.bat Using Copy button

7- Past in CMD Property Target Field

8- Open the CMD Laravel Directory and Use Pa ( Desireable Command) Instead PHP ARTISAN

Folder Structure

│
├── Laravel/
│   ├── Controllers/
│   │   ├──         CommandController.php
│   ├── Resources/views/
│   │   │              └── form.blade.php
                      └── result.blade.php
│   ├──── Routes/
│   │              └── web.php ( copy and past to web.php )
│   ├─── Storage/app/
│   │                 └── guide.gif
│
└── 

Usage

  1. Access the application in your browser.

  2. Enter the desired command in the input field and click "Generate File".

  3. Click the "Download Generated File" link to download the .bat file.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License.

Acknowledgements

  • This project was created as a demonstration for learning purposes.

Contact

For any questions or feedback, feel free to contact Hashaam Zahid.


Make sure to include a `LICENSE` file in the root directory of your project containing the text of the MIT License. The license text can be obtained from [opensource.org/licenses/MIT](https://opensource.org/licenses/MIT). You can create a file named `LICENSE` and paste the license text inside it.

This README template provides a basic structure along with instructions for installation, usage, contributing, and contact information while referencing the MIT License for open-source usage. Adjust the placeholders (`Hashaam Zahid`, `laravel-php-artisan-changer`, `Hashaam Zahid`, `mailto:hashaamzahid3@gmail.com`) with your actual details and customize it further based on your project's needs.

About

This Laravel application allows users to generate a `.bat` file to customize Artisan commands.

Topics

Resources

Stars

Watchers

Forks

Packages