We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit 43b7b6fCopy full SHA for 43b7b6f
README.md
@@ -0,0 +1,35 @@
1
+# Laravel PHP MariaDB Demo
2
+
3
+## Installation
4
5
+### 1. Install PHP, Composer, and MariaDB
6
+```
7
+bash setup-mac/macsetup.sh
8
9
10
+### 2. Configure `.env` file:
11
12
13
+DB_CONNECTION=mariadb
14
+DB_HOST=127.0.0.1
15
+DB_PORT=3306
16
+DB_DATABASE=laravel_php_mariadb_demo
17
+DB_USERNAME=root
18
+DB_PASSWORD=
19
20
21
22
+### 3. Run database migration:
23
24
+```sh
25
+php artisan migrate
26
27
28
+### 4. Start the Laravel server:
29
30
31
+php artisan serve
32
33
34
+Access Test: http://127.0.0.1:8000/api/words
35
0 commit comments