skip to Main Content
author
270 views
0 votes

Php – Laravel – Enums decalred in a file with another class won't load until "main" class is called

I have a file. Let’s call it Foo.php. It looks like this:
namespace AppHelpers;

enum FooTypes: string {

169 views
0 votes

Laravel Attempt to read property "alias" on null

Route::get('catalog/{catname}', [MainController::class, 'getCatalog'])->name('catalog.page');
Route::get('catalog/{catname}/{alias}', [MainController::class, 'getItemsForList'])->name('catalog.view.item');

When I click on the link /catalog/table/table-black-and-white, I get an error
Attempt to

233 views
0 votes

filter url in laravel

current Url:
http://localhost:8000/filter-results?country_id=1&education_level_id=&employment_type_id=&language_id=&profession_id=&religion_id=1
how I wanted to looks like:
http://localhost:8000/filter-results?country_id=1&religion_id=1
how can I do that.
more details:
I have a

Back To Top
Search