Skip to content

Commit

Permalink
güncelleme
Browse files Browse the repository at this point in the history
  • Loading branch information
bulentsakarya committed Jan 15, 2025
1 parent 31eade1 commit 7cf3567
Show file tree
Hide file tree
Showing 255 changed files with 10,698 additions and 6,728 deletions.
6 changes: 4 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database

PHP_CLI_SERVER_WORKERS=4

BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
Expand All @@ -22,7 +24,7 @@ LOG_LEVEL=debug
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=saas
# DB_DATABASE=system
# DB_USERNAME=root
# DB_PASSWORD=

Expand All @@ -47,11 +49,11 @@ REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
/public/hot
/public/storage
/storage/*.key
/storage/pail
/vendor
.env
.env.backup
.env.production
.nvmrc
.phpactor.json
.phpunit.result.cache
Homestead.json
Expand All @@ -18,4 +18,6 @@ npm-debug.log
yarn-error.log
/.fleet
/.idea
/.nova
/.vscode
/.zed
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
67 changes: 66 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,66 @@
Herkobi RC1
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>

<p align="center">
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
</p>

## About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

- [Simple, fast routing engine](https://laravel.com/docs/routing).
- [Powerful dependency injection container](https://laravel.com/docs/container).
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).

Laravel is accessible, powerful, and provides tools required for large, robust applications.

## Learning Laravel

Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.

If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

## Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com).

### Premium Partners

- **[Vehikl](https://vehikl.com/)**
- **[Tighten Co.](https://tighten.co)**
- **[WebReinvent](https://webreinvent.com/)**
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
- **[64 Robots](https://64robots.com)**
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
- **[Cyber-Duck](https://cyber-duck.co.uk)**
- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
- **[Jump24](https://jump24.co.uk)**
- **[Redberry](https://redberry.international/laravel/)**
- **[Active Logic](https://activelogic.com)**
- **[byte5](https://byte5.de)**
- **[OP.GG](https://op.gg)**

## Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.

## License

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
24 changes: 24 additions & 0 deletions app/Actions/Admin/Cache/Event.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace App\Actions\Admin\Cache;

use App\Events\Admin\Tools\Cache\Event as EventEvent;
use App\Traits\AuthUser;
use Illuminate\Support\Facades\Artisan;

class Event
{
use AuthUser;
protected $userService;

public function __construct()
{
$this->initializeAuthUser();
}
public function execute()
{
$cache = Artisan::call('event:clear');
event(new EventEvent($this->user, $cache));
return $cache;
}
}
27 changes: 0 additions & 27 deletions app/Actions/Admin/Settings/User/ChangePassword.php

This file was deleted.

28 changes: 28 additions & 0 deletions app/Actions/Admin/Tools/Country/Create.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace App\Actions\Admin\Tools\Country;

use App\Models\Country;
use App\Services\Admin\Tools\CountryService;
use App\Events\Admin\Tools\Country\Create as Event;
use App\Traits\AuthUser;

class Create
{
use AuthUser;

protected $countryService;

public function __construct(CountryService $countryService)
{
$this->countryService = $countryService;
$this->initializeAuthUser();
}

public function execute(array $data): Country
{
$country = $this->countryService->createCountry($data);
event(new Event($country, $this->user));
return $country;
}
}
29 changes: 29 additions & 0 deletions app/Actions/Admin/Tools/Country/Delete.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

namespace App\Actions\Admin\Tools\Country;

use App\Services\Admin\Tools\CountryService;
use App\Events\Admin\Tools\Country\Delete as Event;
use App\Models\Country;
use App\Traits\AuthUser;

class Delete
{
use AuthUser;

protected $countryService;

public function __construct(CountryService $countryService)
{
$this->countryService = $countryService;
$this->initializeAuthUser();
}

public function execute(string $id): Country
{
$country = $this->countryService->getCountryById($id);
$this->countryService->deleteCountry($id);
event(new Event($country, $this->user));
return $country;
}
}
30 changes: 30 additions & 0 deletions app/Actions/Admin/Tools/Country/Update.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

namespace App\Actions\Admin\Tools\Country;

use App\Services\Admin\Tools\CountryService;
use App\Events\Admin\Tools\Country\Update as Event;
use App\Models\Country;
use App\Traits\AuthUser;

class Update
{
use AuthUser;

protected $countryService;

public function __construct(CountryService $countryService)
{
$this->countryService = $countryService;
$this->initializeAuthUser();
}

public function execute(string $id, array $data): Country
{
$oldCountry = $this->countryService->getCountryById($id);
$country = $this->countryService->updateCountry($id, $data);
$newCountry = $this->countryService->getCountryById($id);
event(new Event($country, $this->user, $oldCountry, $newCountry));
return $country;
}
}
28 changes: 28 additions & 0 deletions app/Actions/Admin/Tools/Language/Create.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace App\Actions\Admin\Tools\Language;

use App\Models\Language;
use App\Services\Admin\Tools\LanguageService;
use App\Events\Admin\Tools\Language\Create as Event;
use App\Traits\AuthUser;

class Create
{
use AuthUser;

protected $languageService;

public function __construct(LanguageService $languageService)
{
$this->languageService = $languageService;
$this->initializeAuthUser();
}

public function execute(array $data): Language
{
$language = $this->languageService->createLanguage($data);
event(new Event($language, $this->user));
return $language;
}
}
29 changes: 29 additions & 0 deletions app/Actions/Admin/Tools/Language/Delete.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

namespace App\Actions\Admin\Tools\Language;

use App\Services\Admin\Tools\LanguageService;
use App\Events\Admin\Tools\Language\Delete as Event;
use App\Models\Language;
use App\Traits\AuthUser;

class Delete
{
use AuthUser;

protected $languageService;

public function __construct(LanguageService $languageService)
{
$this->languageService = $languageService;
$this->initializeAuthUser();
}

public function execute(string $id): Language
{
$language = $this->languageService->getLanguageById($id);
$this->languageService->deleteLanguage($id);
event(new Event($language, $this->user));
return $language;
}
}
30 changes: 30 additions & 0 deletions app/Actions/Admin/Tools/Language/Update.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

namespace App\Actions\Admin\Tools\Language;

use App\Services\Admin\Tools\LanguageService;
use App\Events\Admin\Tools\Language\Update as Event;
use App\Models\Language;
use App\Traits\AuthUser;

class Update
{
use AuthUser;

protected $languageService;

public function __construct(LanguageService $languageService)
{
$this->languageService = $languageService;
$this->initializeAuthUser();
}

public function execute(string $id, array $data): Language
{
$oldLanguage = $this->languageService->getLanguageById($id);
$language = $this->languageService->updateLanguage($id, $data);
$newLanguage = $this->languageService->getLanguageById($id);
event(new Event($language, $this->user, $oldLanguage, $newLanguage));
return $language;
}
}
Loading

0 comments on commit 7cf3567

Please sign in to comment.