I hereby claim:
- I am jalallinux on github.
- I am jalal_linux (https://keybase.io/jalal_linux) on keybase.
- I have a public key ASDRExI2P8_-cR9w_IPe9_s0y9GxhNiI_FC900bytqRLFwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace App\Models\Traits; | |
| use Illuminate\Database\Eloquent\Model; | |
| trait UseUuidPrimary | |
| { | |
| protected static function bootUseUuidPrimary() | |
| { |
| <?php | |
| namespace App\Repositories\Eloquent; | |
| use App\Repositories\BaseRepository; | |
| use Illuminate\Database\Eloquent\Builder; | |
| use Illuminate\Database\Eloquent\Collection; | |
| use Illuminate\Database\Eloquent\Model; | |
| pm.test("Successful request", function () { | |
| pm.expect(pm.response.code).to.be.oneOf([200, 201, 202]); | |
| }); | |
| pm.test("Response time is less than 217ms.", function () { | |
| pm.expect(pm.response.responseTime).to.be.below(217); | |
| }); | |
| pm.test("Response time is less than 317ms", function () { | |
| pm.expect(pm.response.responseTime).to.be.below(317); |
| <?php | |
| namespace App\Models\Traits; | |
| use Illuminate\Database\Eloquent\Model; | |
| trait WithUuidColumn | |
| { | |
| protected static function bootWithUuidColumn() | |
| { |
| <?php | |
| namespace App\Exceptions; | |
| use Illuminate\Database\Eloquent\ModelNotFoundException; | |
| use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; | |
| use Illuminate\Http\JsonResponse; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Http\Response; | |
| use Illuminate\Validation\ValidationException; |
| <?php | |
| namespace {{ namespace }}; | |
| use {{ rootNamespace }}Http\Controllers\Controller; | |
| use Illuminate\Http\Resources\Json\AnonymousResourceCollection; | |
| use Illuminate\Http\JsonResponse; | |
| use App\Repository\Contracts\{{ model }}Contract; | |
| /** |
| <?php | |
| namespace {{ namespace }}; | |
| use {{ namespacedModel }}; | |
| class {{ class }} | |
| { | |
| /** | |
| * Handle the {{ model }} "creating" event. |
| FROM jalallinux/laravel-9:php-80 | |
| LABEL maintainer="JalalLinuX" | |
| ENV TZ=Asia/Tehran | |
| RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
| COPY . /app/path | |
| WORKDIR /app/path |