Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
6cabd55
deploy
malisharfer Dec 1, 2024
72669c2
deploy
malisharfer Dec 1, 2024
48677bf
deploy
malisharfer Dec 1, 2024
d2d2dc9
deploy
malisharfer Dec 1, 2024
8dc9a58
deploy
malisharfer Dec 1, 2024
cf8aef2
deploy
malisharfer Dec 1, 2024
fd08ce2
deploy
malisharfer Dec 1, 2024
9e26ba7
deploy
malisharfer Dec 1, 2024
838d02a
deploy
malisharfer Dec 1, 2024
d2d612d
deploy
malisharfer Dec 1, 2024
f82b554
deploy
malisharfer Dec 1, 2024
5fbe804
deploy
malisharfer Dec 2, 2024
91df7a4
deploy
malisharfer Dec 2, 2024
eeee42f
deploy
malisharfer Dec 3, 2024
8ec0623
deploy
malisharfer Dec 3, 2024
a584004
deploy
malisharfer Dec 3, 2024
dea3489
deploy
malisharfer Dec 4, 2024
998e857
deploy
malisharfer Dec 4, 2024
c857b25
deploy
malisharfer Dec 4, 2024
d547391
deploy
malisharfer Dec 4, 2024
be5e236
deploy
malisharfer Dec 4, 2024
4e9e425
deploy
malisharfer Dec 5, 2024
763f760
deploy
malisharfer Dec 5, 2024
f30b3a6
deploy
malisharfer Dec 5, 2024
f9c944a
version2
malisharfer Dec 24, 2024
2e1819c
version2
malisharfer Dec 24, 2024
a6f4313
version2
malisharfer Dec 24, 2024
adc26b8
version2
malisharfer Dec 24, 2024
ac4fb07
version2
malisharfer Dec 24, 2024
236b670
version2
malisharfer Dec 24, 2024
0f8002a
version2
malisharfer Dec 24, 2024
b8fbec2
version2
malisharfer Dec 24, 2024
174fd9b
version2
malisharfer Dec 25, 2024
6788ad7
version2
malisharfer Dec 25, 2024
9c53857
version2
malisharfer Dec 25, 2024
cd26f40
version2
malisharfer Dec 26, 2024
5d6a21c
version2
malisharfer Dec 26, 2024
9c7d592
version2
malisharfer Dec 26, 2024
a248f80
version2
malisharfer Dec 26, 2024
ccbc9b8
version2
malisharfer Dec 26, 2024
649f7be
version2
malisharfer Dec 29, 2024
9b0b172
version2
malisharfer Dec 29, 2024
ab8430c
version2
malisharfer Dec 29, 2024
bf77227
version2
malisharfer Dec 31, 2024
e9648d9
version2
malisharfer Dec 31, 2024
6a2abb5
version2
malisharfer Jan 6, 2025
0233ad2
version2
malisharfer Jan 6, 2025
3f10c72
version2
malisharfer Jan 7, 2025
4e01516
push and deploy
malisharfer Jan 7, 2025
6a0e07b
push and deploy
malisharfer Jan 7, 2025
b90fca8
push and deploy
malisharfer Jan 7, 2025
2837807
push and deploy
malisharfer Jan 12, 2025
7b9bcde
push and deploy
malisharfer Jan 12, 2025
087c830
push and deploy
malisharfer Jan 12, 2025
f0ea6c5
push and deploy
malisharfer Jan 12, 2025
7689927
push and deploy
malisharfer Jan 13, 2025
6f99ed5
push and deploy
malisharfer Jan 15, 2025
a603704
push and deploy
malisharfer Jan 16, 2025
46fb203
push and deploy
malisharfer Jan 23, 2025
3944117
push and deploy
malisharfer Jan 27, 2025
2f87abc
push and deploy
malisharfer Jan 27, 2025
6d5adf1
push and deploy
malisharfer Jan 27, 2025
56f5d7e
push and deploy
malisharfer Jan 27, 2025
e752fe7
push and deploy
malisharfer Jan 27, 2025
6cd313c
push and deploy
malisharfer Jan 28, 2025
65b6f54
push and deploy
malisharfer Jan 28, 2025
595658b
push and deploy
malisharfer Jan 28, 2025
4bd6ced
push and deploy
malisharfer Jan 28, 2025
a6cffa0
push and deploy
malisharfer Jan 28, 2025
20efbb1
push and deploy
malisharfer Jan 29, 2025
a0353bb
push and deploy
malisharfer Jan 29, 2025
8346112
push and deploy
malisharfer Jan 29, 2025
485f9f5
deploy version
malisharfer Jan 30, 2025
35a3a4d
deploy version
malisharfer Feb 2, 2025
0bd76fc
deploy version
malisharfer Feb 3, 2025
aa587d3
deploy version
malisharfer Feb 3, 2025
b7fa49e
deploy version
malisharfer Feb 4, 2025
dc80686
deploy version
malisharfer Feb 5, 2025
470fb35
deploy version
malisharfer Feb 6, 2025
2a981f8
deploy version
malisharfer Feb 6, 2025
48b6bc5
deploy version
malisharfer Feb 6, 2025
f09237e
deploy version
malisharfer Feb 6, 2025
0fc42ec
deploy version
malisharfer Feb 6, 2025
e40d7fc
deploy version
malisharfer Feb 9, 2025
db366fc
deploy version
malisharfer Feb 9, 2025
b1ec39d
try version 3
malisharfer Feb 17, 2025
0ee6c6c
sart
malisharfer Mar 9, 2025
ea5d0d1
deploy
malisharfer Mar 17, 2025
f456f98
deploy
malisharfer Mar 17, 2025
0b08041
deploy
malisharfer Mar 17, 2025
cc1b61a
deploy
malisharfer Mar 17, 2025
b0acabd
deploy
malisharfer Mar 17, 2025
2153f43
deploy
malisharfer Mar 17, 2025
6be5d1d
deploy
malisharfer Mar 17, 2025
4ef956c
deploy
malisharfer Mar 30, 2025
2dc3313
deploy
malisharfer Mar 30, 2025
21d2b1f
deploy
malisharfer Mar 30, 2025
97975f9
pusdh and deploy
malisharfer Apr 6, 2025
6cb8a35
pusdh and deploy
malisharfer Apr 6, 2025
e871af4
pusdh and deploy
malisharfer Apr 7, 2025
4145740
pusdh and deploy
malisharfer Apr 7, 2025
97b1eef
pusdh and deploy
malisharfer Apr 8, 2025
8571694
holshift_version_1
malisharfer May 11, 2025
68e893f
holshift_version_1
malisharfer May 12, 2025
bd110e3
holshift_version_1
malisharfer May 12, 2025
a4f9a62
holshift_version_1
malisharfer May 12, 2025
1fa92c3
push
malisharfer May 20, 2025
4b90894
push
malisharfer May 20, 2025
95442c4
push
malisharfer May 20, 2025
0a381f7
push
malisharfer May 20, 2025
c0fd262
push
malisharfer May 21, 2025
13e989f
push
malisharfer May 21, 2025
4235f73
push
malisharfer May 21, 2025
f5caea4
push
malisharfer May 21, 2025
e4ab4f4
push
malisharfer May 21, 2025
9dd13a3
push
malisharfer May 21, 2025
4f782aa
push
malisharfer May 21, 2025
173d1c4
push
malisharfer May 21, 2025
cc2529f
push
malisharfer May 21, 2025
cefc3a1
push
malisharfer May 21, 2025
2a33433
push
malisharfer May 21, 2025
ec7327a
push
malisharfer May 21, 2025
c3badfa
push
malisharfer May 21, 2025
73c1df2
push
malisharfer May 21, 2025
913376b
push
malisharfer May 21, 2025
c55b4d4
push
malisharfer May 21, 2025
dcd38da
push
malisharfer May 21, 2025
0e035fe
push
malisharfer May 21, 2025
7a52e72
push
malisharfer May 21, 2025
425c4aa
push
malisharfer May 21, 2025
c4d0a3c
push
malisharfer May 21, 2025
ad09721
push
malisharfer May 29, 2025
9f50299
push
malisharfer Jun 4, 2025
8c15802
push
malisharfer Jun 4, 2025
2ac23bc
push
malisharfer Jun 5, 2025
f4fea44
push
malisharfer Jun 5, 2025
fa0a3e4
push
malisharfer Jun 8, 2025
0dd712a
push
malisharfer Jun 8, 2025
1714ff3
push
malisharfer Jun 9, 2025
6852988
push
malisharfer Jun 9, 2025
8142495
push
malisharfer Jun 9, 2025
f077d87
push
malisharfer Jun 9, 2025
54f2b01
push
malisharfer Jun 9, 2025
6b55cff
push
malisharfer Jun 10, 2025
6b637ed
push
malisharfer Jun 10, 2025
c02ce43
push
malisharfer Jun 10, 2025
1d9732a
push
malisharfer Jun 11, 2025
cc0254b
push
malisharfer Jun 11, 2025
4c35536
push
malisharfer Jun 11, 2025
c2a3dd2
push
malisharfer Jun 11, 2025
6c9568c
push
malisharfer Jun 11, 2025
f748225
push
malisharfer Jun 11, 2025
dd00518
push
malisharfer Jun 11, 2025
55f3d64
push
malisharfer Jun 11, 2025
52f6514
push
malisharfer Jun 12, 2025
776b77e
push
malisharfer Jun 12, 2025
e3ffe5f
push
malisharfer Jun 12, 2025
cbdd105
push
malisharfer Jun 12, 2025
a203b71
push
malisharfer Jun 12, 2025
479a4e6
push
malisharfer Jun 12, 2025
829d6f0
push
malisharfer Jun 22, 2025
e484d96
push
malisharfer Jun 22, 2025
ad4fe60
push
malisharfer Jun 22, 2025
9ad65a9
push
malisharfer Jun 22, 2025
39f94fd
versin 2 algorithm
malisharfer Jun 25, 2025
ecde19b
versin 2 algorithm
malisharfer Jun 25, 2025
8ce161b
versin 2 algorithm
malisharfer Jun 25, 2025
a4d6f8f
versin 2 algorithm
malisharfer Jun 26, 2025
799c1d5
versin 2 algorithm
malisharfer Jun 26, 2025
27d0c8c
versin 2 algorithm
malisharfer Jun 26, 2025
d83e518
versin 2 algorithm
malisharfer Jun 26, 2025
74bf574
versin 2 algorithm
malisharfer Jun 26, 2025
41ac780
versin 2 algorithm
malisharfer Jun 26, 2025
0e7fac5
versin 2 algorithm
malisharfer Jun 26, 2025
0dd3437
versin 2 algorithm
malisharfer Jun 26, 2025
6167a66
versin 2 algorithm
malisharfer Jul 1, 2025
8e5b553
versin 2 algorithm
malisharfer Jul 1, 2025
2476adf
versin 2 algorithm
malisharfer Jul 2, 2025
af603e6
versin 2 algorithm
malisharfer Jul 2, 2025
db0f1fd
versin 2 algorithm
malisharfer Jul 2, 2025
bac1767
versin 2 algorithm
malisharfer Jul 2, 2025
e4d6291
versin 2 algorithm
malisharfer Jul 3, 2025
4b770d8
versin 2 algorithm
malisharfer Jul 6, 2025
b987d73
versin 2 algorithm
malisharfer Jul 7, 2025
634c3fe
versin 2 algorithm
malisharfer Jul 8, 2025
dfcac45
versin 2 algorithm
malisharfer Jul 8, 2025
932fff7
versin 2 algorithm
malisharfer Jul 8, 2025
cce87b0
versin 2 algorithm
malisharfer Jul 8, 2025
677b3e4
versin 2 algorithm
malisharfer Jul 8, 2025
3555f21
versin 2 algorithm
malisharfer Jul 9, 2025
b8bf5ea
versin 2 algorithm
malisharfer Jul 9, 2025
c95dfe4
versin 2 algorithm
malisharfer Jul 10, 2025
fd440a0
versin 2 algorithm
malisharfer Jul 10, 2025
fbcf623
versin 2 algorithm
malisharfer Jul 10, 2025
93c6da9
versin 2 algorithm
malisharfer Jul 10, 2025
5575a2b
versin 2 algorithm
malisharfer Jul 10, 2025
35ac6df
versin 2 algorithm
malisharfer Jul 10, 2025
c9fcddc
versin 2 algorithm
malisharfer Jul 10, 2025
17a932f
go one commit
malisharfer Jul 10, 2025
ed74c65
go one commit
malisharfer Jul 10, 2025
78548a2
go one commit
malisharfer Jul 10, 2025
9cb0c23
Merge branch 'feature/deploy-to-web-app' of https://github.com/malish…
malisharfer Jul 10, 2025
8d7568f
commit befor
malisharfer Jul 10, 2025
f7fb357
Merge branch 'feature/deploy-to-web-app' of https://github.com/malish…
malisharfer Jul 10, 2025
a980f52
commit befor
malisharfer Jul 10, 2025
c0bf569
commit befor
malisharfer Jul 10, 2025
9d91b10
commit befor
malisharfer Jul 10, 2025
6d6269c
commit befor
malisharfer Jul 10, 2025
b74872a
commit befor
malisharfer Jul 10, 2025
361b01d
commit befor
malisharfer Jul 13, 2025
4a002f8
commit befor
malisharfer Jul 13, 2025
99ce500
commit befor
malisharfer Jul 13, 2025
3aaf242
commit befor
malisharfer Jul 13, 2025
fb318af
commit befor
malisharfer Jul 13, 2025
3abfdfc
commit befor
malisharfer Jul 13, 2025
4292565
commit befor
malisharfer Jul 14, 2025
35496db
commit befor
malisharfer Jul 17, 2025
949176a
commit befor
malisharfer Jul 17, 2025
0195094
last change
malisharfer Jul 20, 2025
7cb4e3d
last change
malisharfer Jul 23, 2025
0919ffe
last change
malisharfer Jul 23, 2025
2e11a7a
last change
malisharfer Jul 23, 2025
fa28487
last change
malisharfer Jul 23, 2025
15301a0
last change
malisharfer Jul 23, 2025
c91a73f
last change
malisharfer Jul 24, 2025
5f4829f
last change
malisharfer Jul 29, 2025
1e63f9f
version efrat
malisharfer Aug 4, 2025
f8f67d7
version efrat
malisharfer Aug 6, 2025
fb1efa8
version efrat
malisharfer Aug 6, 2025
118867e
version efrat
malisharfer Aug 6, 2025
04ad6db
version efrat
malisharfer Aug 7, 2025
c348e9c
version efrat
malisharfer Aug 14, 2025
d728086
push and deploy
malisharfer Aug 14, 2025
2b29f6e
push and deploy
malisharfer Sep 4, 2025
2fc742c
push and deploy
malisharfer Sep 4, 2025
8d340b7
push and deploy
malisharfer Sep 10, 2025
fb7f6a9
pushhhhhh
malisharfer Sep 16, 2025
c365343
pushhhhhh
malisharfer Sep 17, 2025
bd648fd
pushhhhhh
malisharfer Sep 17, 2025
11e2389
pushhhhhh
malisharfer Sep 17, 2025
2c45477
pushhhhhh
malisharfer Sep 21, 2025
b472395
pushhhhhh
malisharfer Sep 21, 2025
877c8e4
pushhhhhh
malisharfer Sep 25, 2025
d53677c
Fix bug
malisharfer Oct 19, 2025
18ea933
Fix bug
malisharfer Oct 20, 2025
f6eeaad
Fix bug
malisharfer Oct 20, 2025
973cd15
Fix bug
malisharfer Oct 28, 2025
3e89677
Fix bug
malisharfer Oct 29, 2025
286fca3
Fix bug
malisharfer Oct 29, 2025
d09338b
Fix bug
malisharfer Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .bashrc

This file was deleted.

18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[docker-compose.yml]
indent_size = 4
65 changes: 65 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
APP_NAME=HolyShift
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=https://wa-newspace3.azurewebsites.net/
APP_TIMEZONE=Asia/Jerusalem

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database

BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

# DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=

SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database

CACHE_STORE=database
CACHE_PREFIX=

MEMCACHED_HOST=127.0.0.1

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

VITE_APP_NAME="${APP_NAME}"
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* text=auto eol=lf

*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php

/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore
57 changes: 57 additions & 0 deletions .github/workflows/php-build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: ⚙️ Build and deploy to ACR

on:
push:
branches:
- feature/deploy-to-web-app

permissions:
contents: read
packages: write

jobs:
build:
name: Docker Build
runs-on: ubuntu-latest

steps:
- name: 📁 Checkout repository
uses: actions/checkout@v4

- name: 🔧 Docker QEMU Setup
uses: docker/setup-qemu-action@v3

- name: 🛠️ Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: 🗝️ Login to Container Registry
uses: azure/docker-login@v1
with:
login-server: ${{ secrets.REGISTRY_LOGIN_SERVER }}
username: ${{ secrets.AZ_USERNAME }}
password: ${{ secrets.AZ_PASSWORD }}

- name: 📃 Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.REGISTRY_LOGIN_SERVER }}/new_image_2
flavor: |
latest=false
tags: |
type=raw,value=latest
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}


- name: 🐳 Docker Build & Push
uses: docker/build-push-action@v5
id: docker_build
with:
context: ./
push: true
provenance: false
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
file: ./Dockerfile

38 changes: 0 additions & 38 deletions .github/workflows/terraform.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/.phpunit.cache
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode

**/caddy
frankenphp
frankenphp-worker.php
6 changes: 6 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^$ public/ [L]
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md

- repo: https://github.com/digitalpulp/pre-commit-php.git
rev: 1.4.0
hooks:
- id: php-lint
name: php lint
70 changes: 70 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
ARG php_version=8.3

# FROM dunglas/frankenphp:1.1-php${php_version} AS base
FROM dunglas/frankenphp:1.8-php8.3-bookworm AS base

WORKDIR /laravel
SHELL ["/bin/bash", "-eou", "pipefail", "-c"]

ENV SERVER_NAME=:80
ARG user=laravel

COPY ./ /laravel
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY --chmod=755 /entrypoint.sh entrypoint.sh
COPY --chmod=755 /common common
COPY --chown=${user}:${user} /artisan artisan
COPY .env.example .env
COPY /php.ini "${PHP_INI_DIR}/php.ini"
RUN php --ini \
&& php -r "echo 'max_execution_time: ' . ini_get('max_execution_time') . PHP_EOL;"


RUN apt-get update \
&& apt-get satisfy -y --no-install-recommends \
"curl (>=7.88)" \
"supervisor (>=4.2)" \
"unzip (>=6.0)" \
"vim-tiny (>=2)" \
&& apt-get install -y nodejs npm \
&& npm install -g npm@7 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN useradd \
--uid 1000 \
--shell /bin/bash \
"${user}" \
&& setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/frankenphp \
&& chown -R "${user}:${user}" \
/laravel \
/data/caddy \
/config/caddy \
/var/{log,run} \
&& chmod -R a+rw \
/var/{log,run}

RUN install-php-extensions \
bcmath \
bz2 \
curl \
exif \
gd \
intl \
pcntl \
pdo_pgsql \
mbstring \
opcache \
redis \
sockets \
calendar\
zip

RUN composer install
RUN npm install

USER ${user}

RUN chmod -R a+rw storage

ENTRYPOINT ["/laravel/entrypoint.sh"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# newspace-scheduler
29 changes: 29 additions & 0 deletions app/Casts/Integer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

namespace App\Casts;

use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
use Illuminate\Database\Eloquent\Model;

class Integer implements CastsAttributes
{
/**
* Cast the given value.
*
* @param array<string, mixed> $attributes
*/
public function get(Model $model, string $key, mixed $value, array $attributes): mixed
{
return $value !== null ? (float) $value / 100 : null;
}

/**
* Prepare the given value for storage.
*
* @param array<string, mixed> $attributes
*/
public function set(Model $model, string $key, mixed $value, array $attributes): mixed
{
return $value !== null ? (int) ($value * 100) : null;
}
}
10 changes: 10 additions & 0 deletions app/Enums/Availability.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace App\Enums;

enum Availability: int
{
case YES = 1;
case NO = 2;
case BETTER_NOT = 3;
}
Loading