Skip to content

Commit c293ce0

Browse files
authored
Merge pull request #414 from wayofdev/develop
2 parents 73bf698 + 7dce7a9 commit c293ce0

9 files changed

+61
-14
lines changed

.github/workflows/coding-standards.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
contents: write
9393
steps:
9494
- name: 🛠️ Setup PHP
95-
uses: shivammathur/[email protected].4
95+
uses: shivammathur/[email protected].5
9696
with:
9797
php-version: ${{ matrix.php-version }}
9898
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql
@@ -162,7 +162,7 @@ jobs:
162162
git config --global core.eol lf
163163
164164
- name: 🛠️ Setup PHP
165-
uses: shivammathur/[email protected].4
165+
uses: shivammathur/[email protected].5
166166
with:
167167
php-version: ${{ matrix.php-version }}
168168
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, decimal

.github/workflows/create-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: 🎉 Create release
19-
uses: googleapis/[email protected].1
19+
uses: googleapis/[email protected].3
2020
id: release
2121
with:
2222
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}

.github/workflows/dependency-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/[email protected]
4343

4444
- name: 🛠️ Setup PHP
45-
uses: shivammathur/[email protected].4
45+
uses: shivammathur/[email protected].5
4646
with:
4747
php-version: ${{ matrix.php-version }}
4848
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql

.github/workflows/deploy-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: 🛠️ Setup PHP
34-
uses: shivammathur/[email protected].4
34+
uses: shivammathur/[email protected].5
3535
with:
3636
php-version: ${{ matrix.php-version }}
3737
extensions: curl, libxml, mbstring, zip, fileinfo, decimal, pdo, pdo_mysql

.github/workflows/deploy-staging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: 🛠️ Setup PHP
34-
uses: shivammathur/[email protected].4
34+
uses: shivammathur/[email protected].5
3535
with:
3636
php-version: ${{ matrix.php-version }}
3737
extensions: curl, libxml, mbstring, zip, fileinfo, decimal, pdo, pdo_mysql

.github/workflows/security-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/[email protected]
3434

3535
- name: 🛠️ Setup PHP
36-
uses: shivammathur/[email protected].4
36+
uses: shivammathur/[email protected].5
3737
with:
3838
php-version: ${{ matrix.php-version }}
3939
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo

.github/workflows/static-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/[email protected]
4545

4646
- name: 🛠️ Setup PHP
47-
uses: shivammathur/[email protected].4
47+
uses: shivammathur/[email protected].5
4848
with:
4949
php-version: ${{ matrix.php-version }}
5050
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, opcache, pcntl, posix
@@ -98,7 +98,7 @@ jobs:
9898
uses: actions/[email protected]
9999

100100
- name: 🛠️ Setup PHP
101-
uses: shivammathur/[email protected].4
101+
uses: shivammathur/[email protected].5
102102
with:
103103
php-version: ${{ matrix.php-version }}
104104
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, pdo_mysql, curl, fileinfo, opcache, pcntl, posix

.github/workflows/testing.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ on: # yamllint disable-line rule:truthy
55
branches:
66
- master
77
- develop
8+
push:
9+
branches:
10+
- master
811

9-
name: 🧪 Testing (SQLite)
12+
name: 🧪 Testing
1013

1114
env:
1215
# Disable docker support in Makefile
@@ -36,7 +39,7 @@ jobs:
3639
uses: actions/[email protected]
3740

3841
- name: 🛠️ Setup PHP
39-
uses: shivammathur/[email protected].4
42+
uses: shivammathur/[email protected].5
4043
with:
4144
php-version: ${{ matrix.php-version }}
4245
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, pdo_mysql, pdo_sqlite, curl, fileinfo, opcache, pcntl, posix

README.md

+47-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<p align="center">
2525
<strong>Quality</strong><br>
2626
<a href="https://app.codecov.io/gh/wayofdev/laravel-starter-tpl" target="_blank"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/wayofdev/laravel-starter-tpl?style=flat-square&logo=codecov"></a>
27-
<a href="https://dashboard.stryker-mutator.io/reports/github.com/wayofdev/laravel-starter-tpl/develop" target="_blank"><img alt="Mutation testing badge" src="https://img.shields.io/endpoint?style=flat-square&label=mutation%20score&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fwayofdev%2Flaravel-starter-tpl%2Fdevelop"></a>
27+
<a href="https://dashboard.stryker-mutator.io/reports/github.com/wayofdev/laravel-starter-tpl/develop" target="_blank"><img alt="Mutation testing badge" src="https://img.shields.io/endpoint?style=flat-square&label=mutation%20score&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fwayofdev%2Flaravel-starter-tpl%2Fmaster"></a>
2828
<a href=""><img src="https://img.shields.io/badge/phpstan%20level-8%20of%209-brightgreen?style=flat-square" alt="PHP Stan Level 8 of 9"></a>
2929
</p>
3030
<p align="center">
@@ -134,17 +134,59 @@ To use this repository, you need to meet the following requirements:
134134
> [!Note]
135135
> You should configure, set up, and run the [docker-shared-services](https://github.com/wayofdev/docker-shared-services) repository to ensure system-wide TLS and DNS support.
136136
137+
### → Docker Shared Services
138+
139+
Check full instructions in [docker-shared-services](https://github.com/wayofdev/docker-shared-services) repository.
140+
141+
1. **Create shared project directory:**
142+
143+
```bash
144+
mkdir -p ~/projects/infra && cd ~/projects/infra
145+
```
146+
147+
2. **Clone `docker-shared-services` repository:**
148+
149+
```bash
150+
git clone \
151+
[email protected]:wayofdev/docker-shared-services.git \
152+
~/projects/infra/docker-shared-services && \
153+
cd ~/projects/infra/docker-shared-services
154+
```
155+
156+
3. **Create `.env` file:**
157+
158+
```bash
159+
make env
160+
```
161+
162+
4. **Install root certificate** and generate default project certs:
163+
164+
```bash
165+
make cert-install
166+
```
167+
168+
5. **Run shared services:**
169+
170+
```bash
171+
make up
172+
```
173+
174+
### → Laravel Starter Template
175+
137176
1. **Clone** repository:
138177

139178
After forking or creating generating repository from template, you can clone it to your local machine. In this example we will use `laravel-starter-tpl` repository as starting point.
140179

141180
```bash
142-
git clone [email protected]:wayofdev/laravel-starter-tpl.git
181+
git clone \
182+
[email protected]:wayofdev/laravel-starter-tpl.git \
183+
~/projects/laravel-starter-tpl && \
184+
cd ~/projects/laravel-starter-tpl
143185
```
144186

145187
2. **Generate** `.env` file
146188

147-
Generate .env file from .env.example file using Makefile command:
189+
Generate `.env` file from `.env.example` file using `Makefile` command:
148190

149191
```bash
150192
$ make env \
@@ -178,6 +220,8 @@ To use this repository, you need to meet the following requirements:
178220
$ make up
179221
```
180222

223+
4. **Open** your browser and navigate to `https://laravel-starter-tpl.docker` to see Laravel welcome page.
224+
181225
<br>
182226

183227
## 🤖 Deployment to Staging and Production

0 commit comments

Comments
 (0)