Open moHaHa opened 1 year ago
I guess you are trying to run the package in a "non-laravel" environment. You need to go through these steps to have the package working successfully.
1- Install a web server on your machine I would highly recommend using XAMMP as it includes PHP, MySql, Apache, and all other extensions that are required to run Laravel. You can install it from the official website. https://www.apachefriends.org/download.html
after the download is finished, open the XAMMP admin panel then run apache and mysql.
2- Install composer. Composer is the package manager for Laravel (like npm for Vue.js). https://getcomposer.org/
3- Install Bash CLI. Bash is a command line interface that is required to run composer commands effectively https://git-scm.com/downloads
4- Install a fresh Laravel project. Open Bash terminal and run the following command:
composer create-project laravel/laravel example-app
Now you have Laravel installed on your machine and can use Grace easily through it.
I run this command
bash composer require hani221b/grace
then I got this errorI'm not familiar with composer, Laravel, or even PHP, so IDK if this error or not
versions Composer: version 2.5.1 PHP: version 8.2.0