https://github.com/engsahaly/laravel_testing_series_phpunit
Laravel Testing Series: PHPUnit & Xdebug Essentials Course Files on Udemy
https://github.com/engsahaly/laravel_testing_series_phpunit
feature-testing laravel laravel-framework phpunit phpunit-tests testing unit-testing xdebug
Last synced: about 2 months ago
JSON representation
Laravel Testing Series: PHPUnit & Xdebug Essentials Course Files on Udemy
- Host: GitHub
- URL: https://github.com/engsahaly/laravel_testing_series_phpunit
- Owner: engsahaly
- Created: 2025-01-20T18:50:15.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-01-29T07:23:19.000Z (3 months ago)
- Last Synced: 2025-01-29T08:25:55.539Z (3 months ago)
- Topics: feature-testing, laravel, laravel-framework, phpunit, phpunit-tests, testing, unit-testing, xdebug
- Language: PHP
- Homepage: https://www.udemy.com/course/laravel-testing-phpunit/?referralCode=247893C01B1C98A4750C
- Size: 144 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Laravel Testing: PHPUnit Course Files on Udemy
![]()
**Created By :** Mahmoud Anwar
**Email :** [email protected]This is the main readme file for the code used in laravel testing using PHPUnit course on Udemy
## Installation
To get started, clone this repository.
```
git clone https://github.com/engsahaly/Laravel_testing_series_phpunit.git
```Next, copy your `.env.example` file as `.env` and configure your Database connection.
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=YOUR-DATABASE-NAME
DB_USERNAME=YOUR-DATABASE-USERNAME
DB_PASSWORD=YOUR-DATABASE-PASSWROD
```## Run Packages and helpers
You have to all used packages and load helpers as below.
```
composer install
npm install
npm run build
```## Generate new application key
You have to generate new application key as below.
```
php artisan key:generate
```## Run Migrations and Seeders
You have to run all the migration files included with the project and also run seeders as below.
```
php artisan migrate
php artisan db:seed
```