Skip to content

Commit

Permalink
Add .htaccess for URL redirection and public directory routing; updat…
Browse files Browse the repository at this point in the history
…e Laravel Sail version to ^1.39
  • Loading branch information
abdessamadbettal committed Dec 6, 2024
1 parent fe6404e commit 3ae9652
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 130 deletions.
10 changes: 10 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
RewriteOptions inherit
<IfModule mod_rewrite.c>

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.laravel-starter.com
RewriteRule (.*) https://laravel-starter.com/$1 [R=301,L]

RewriteEngine On
RewriteRule ^(.*) public/$1 [L]
</IfModule>
121 changes: 0 additions & 121 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
*/
override(new \Illuminate\Contracts\Container\Container, map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -261,7 +251,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -276,16 +265,6 @@
]));
override(\Illuminate\Container\Container::makeWith(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -524,7 +503,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -539,16 +517,6 @@
]));
override(\Illuminate\Contracts\Container\Container::get(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -787,7 +755,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -802,16 +769,6 @@
]));
override(\Illuminate\Contracts\Container\Container::make(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -1050,7 +1007,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -1065,16 +1021,6 @@
]));
override(\Illuminate\Contracts\Container\Container::makeWith(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -1313,7 +1259,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -1328,16 +1273,6 @@
]));
override(\App::get(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -1576,7 +1511,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -1591,16 +1525,6 @@
]));
override(\App::make(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -1839,7 +1763,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -1854,16 +1777,6 @@
]));
override(\App::makeWith(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -2102,7 +2015,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -2117,16 +2029,6 @@
]));
override(\app(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -2365,7 +2267,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -2380,16 +2281,6 @@
]));
override(\resolve(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -2628,7 +2519,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand All @@ -2643,16 +2533,6 @@
]));
override(\Psr\Container\ContainerInterface::get(0), map([
'' => '@',
'App\Settings\AboutSettings' => \App\Settings\AboutSettings::class,
'App\Settings\ContactSettings' => \App\Settings\ContactSettings::class,
'App\Settings\FooterSettings' => \App\Settings\FooterSettings::class,
'App\Settings\GeneralSettings' => \App\Settings\GeneralSettings::class,
'App\Settings\HeaderSettings' => \App\Settings\HeaderSettings::class,
'App\Settings\HeroSettings' => \App\Settings\HeroSettings::class,
'App\Settings\PrivacySettings' => \App\Settings\PrivacySettings::class,
'App\Settings\SeoSettings' => \App\Settings\SeoSettings::class,
'App\Settings\SocialSettings' => \App\Settings\SocialSettings::class,
'App\Settings\TermSettings' => \App\Settings\TermSettings::class,
'BladeUI\Icons\Factory' => \BladeUI\Icons\Factory::class,
'BladeUI\Icons\IconsManifest' => \BladeUI\Icons\IconsManifest::class,
'Filament\Http\Responses\Auth\Contracts\EmailVerificationResponse' => \Filament\Http\Responses\Auth\EmailVerificationResponse::class,
Expand Down Expand Up @@ -2891,7 +2771,6 @@
'queue.worker' => \Illuminate\Queue\Worker::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'redis.connection' => \Illuminate\Redis\Connections\PhpRedisConnection::class,
'router' => \Illuminate\Routing\Router::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
Expand Down
5 changes: 5 additions & 0 deletions _ide_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26957,6 +26957,11 @@ class SEOManager extends \RalphJSmit\Laravel\SEO\Facades\SEOManager {}
}


namespace Facades\Livewire\Features\SupportFileUploads {
/**
* @mixin \Livewire\Features\SupportFileUploads\GenerateSignedUploadUrl */
class GenerateSignedUploadUrl extends \Livewire\Features\SupportFileUploads\GenerateSignedUploadUrl {}
}



2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"laravel/breeze": "^2.2",
"laravel/pail": "^1.1",
"laravel/pint": "^1.13",
"laravel/sail": "^1.37",
"laravel/sail": "^1.39",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.1",
"pestphp/pest": "*",
Expand Down
Loading

0 comments on commit 3ae9652

Please sign in to comment.