Skip to content

Commit 10c9e52

Browse files
committed
clean up
1 parent 2153037 commit 10c9e52

File tree

162 files changed

+4395
-10893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+4395
-10893
lines changed

.editorconfig

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ root = true
33
[*]
44
charset = utf-8
55
end_of_line = lf
6-
insert_final_newline = true
7-
indent_style = space
86
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

1111
[*.md]
1212
trim_trailing_whitespace = false
1313

1414
[*.{yml,yaml}]
1515
indent_size = 2
16+
17+
[docker-compose.yml]
18+
indent_size = 4

.env.example

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@ APP_DEBUG=true
55
APP_URL=http://localhost
66

77
LOG_CHANNEL=stack
8+
LOG_DEPRECATIONS_CHANNEL=null
89
LOG_LEVEL=debug
910

1011
DB_CONNECTION=mysql
1112
DB_HOST=127.0.0.1
1213
DB_PORT=3306
13-
DB_DATABASE=laravel_localization
14+
DB_DATABASE=laravel
1415
DB_USERNAME=root
1516
DB_PASSWORD=
1617

1718
BROADCAST_DRIVER=log
1819
CACHE_DRIVER=file
20+
FILESYSTEM_DISK=local
1921
QUEUE_CONNECTION=sync
2022
SESSION_DRIVER=file
2123
SESSION_LIFETIME=120
@@ -27,23 +29,31 @@ REDIS_PASSWORD=null
2729
REDIS_PORT=6379
2830

2931
MAIL_MAILER=smtp
30-
MAIL_HOST=mailhog
32+
MAIL_HOST=mailpit
3133
MAIL_PORT=1025
3234
MAIL_USERNAME=null
3335
MAIL_PASSWORD=null
3436
MAIL_ENCRYPTION=null
35-
MAIL_FROM_ADDRESS=null
37+
MAIL_FROM_ADDRESS="hello@example.com"
3638
MAIL_FROM_NAME="${APP_NAME}"
3739

3840
AWS_ACCESS_KEY_ID=
3941
AWS_SECRET_ACCESS_KEY=
4042
AWS_DEFAULT_REGION=us-east-1
4143
AWS_BUCKET=
44+
AWS_USE_PATH_STYLE_ENDPOINT=false
4245

4346
PUSHER_APP_ID=
4447
PUSHER_APP_KEY=
4548
PUSHER_APP_SECRET=
49+
PUSHER_HOST=
50+
PUSHER_PORT=443
51+
PUSHER_SCHEME=https
4652
PUSHER_APP_CLUSTER=mt1
4753

48-
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
49-
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
54+
VITE_APP_NAME="${APP_NAME}"
55+
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
56+
VITE_PUSHER_HOST="${PUSHER_HOST}"
57+
VITE_PUSHER_PORT="${PUSHER_PORT}"
58+
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
59+
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

.env.testing

Lines changed: 0 additions & 46 deletions
This file was deleted.

.gitattributes

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
* text=auto
2-
*.css linguist-vendored
3-
*.scss linguist-vendored
4-
*.js linguist-vendored
1+
* text=auto eol=lf
2+
3+
*.blade.php diff=html
4+
*.css diff=css
5+
*.html diff=html
6+
*.md diff=markdown
7+
*.php diff=php
8+
9+
/.github export-ignore
510
CHANGELOG.md export-ignore
11+
.styleci.yml export-ignore

.github/renovate.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1+
/.phpunit.cache
12
/node_modules
3+
/public/build
24
/public/hot
35
/public/storage
46
/storage/*.key
57
/vendor
68
.env
79
.env.backup
10+
.env.production
811
.phpunit.result.cache
9-
docker-compose.override.yml
1012
Homestead.json
1113
Homestead.yaml
14+
auth.json
1215
npm-debug.log
1316
yarn-error.log
17+
/.fleet
18+
/.idea
19+
/.vscode

.styleci.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
1-
<h1 align="center"><a href="https://laravel.com" target="_blank">Localized University Website</a>
2-
</h1>
1+
# Academy Website
32

4-
<p align="center">
5-
<a href="#"><img src="https://github.com/alphaolomi/laravel-localization/workflows/Laravel/badge.svg" alt="Build Status"></a>
6-
<a href="#"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
7-
</p>
3+
Demostrting how to localizate a Laravel application using the package [Laravel Localization](https://github.com/mcamara/laravel-localization)
84

9-
## Case study
10-
11-
- University website
12-
13-
## Supported Languages
14-
15-
- English
16-
- Swahili
17-
18-
## Contributing
19-
20-
Thank you for considering contributing to the this project! The contribution guide can be found in the [Contribution guide](#).
21-
22-
## Security Vulnerabilities
23-
24-
If you discover a security vulnerability within this project, please send an e-mail to Alpha Olomi via [hello@alphaolom.com](mailto:hello@alphaolom.com). All security vulnerabilities will be promptly addressed.
25-
26-
## License
27-
28-
This project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
5+
![Screenshot](./public/Screenshot_2024-01-15%20205459.png)

app/Console/Kernel.php

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,18 @@
77

88
class Kernel extends ConsoleKernel
99
{
10-
/**
11-
* The Artisan commands provided by your application.
12-
*
13-
* @var array
14-
*/
15-
protected $commands = [
16-
//
17-
];
18-
1910
/**
2011
* Define the application's command schedule.
21-
*
22-
* @param \Illuminate\Console\Scheduling\Schedule $schedule
23-
* @return void
2412
*/
25-
protected function schedule(Schedule $schedule)
13+
protected function schedule(Schedule $schedule): void
2614
{
2715
// $schedule->command('inspire')->hourly();
2816
}
2917

3018
/**
3119
* Register the commands for the application.
32-
*
33-
* @return void
3420
*/
35-
protected function commands()
21+
protected function commands(): void
3622
{
3723
$this->load(__DIR__.'/Commands');
3824

0 commit comments

Comments
 (0)