Admin Panel | Build Blog with Laravel, Livewire & Filament #8

preview_player
Показать описание
Welcome to our laravel blog project series, in this comprehensive series we will build a blog from scratch using livewire 3 and filament 3.
Today we are going to build our admin panel, using filament 3 admin builder suit of tools. I will also cover how to auto generate slugs and also handle relationships inside our forms

We will cover how to install and customize jetstream, create layouts, setup database migrations and models, display posts, use livewire 3 to create dynamic components without page reloads and more.

Next Episodes (Playlist):

Html Template :

Project Code :

Filament Documentation :

Free Livewire 3 Course Playlist :

Livewire 3 website :

If you would like me to make more livewire videos, please let me know by liking the video and commenting what you like to learn next.

What is livewire:
Livewire is a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel. (Taken from Livewire Documentation)
Рекомендации по теме
Комментарии
Автор

I am trying to install Filament but I always get this error "Your requirements could not be resolve to an installable set of packages". How can I solve this issue? Thanks

francosimonini
Автор

I had a problem with filament installation saying that, "Your requirements could not be resolve to an installable set of packages". Is this a good solution?
I found that when I run this command, instead of the one in the documentation, it would install it:
composer require filament/filament:"^3.2.52" -W

daneymsjosh
Автор

@yelocode is there a way to stop the slug from automatically updating if it has been manually set by the admin to avoid overwritting it ?

RafaelSorto
Автор

Hi Nice Tutorials, but i have a question how to show suggestion when type like afterStateUpdated and just tab to complete it, because my laravel/vscode didn't show it and i must manually import use in my code otherwise it will error.

ahmoodrizale
Автор

I've done something dumb and it's showing this error, Is there any process to unistall filament and re-install it? if no then how do i fix this problem?
public static function make(): static
16▕ {
➜ 17▕ return new static('No default Filament panel is set. You may do this with the `default()` method inside
a Filament provider\'s `panel()` configuration.');
18▕ }

exeis
Автор

Hello, this is indeed a great video!
but i have some error, i get this
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'category_post.category_id' in 'on clause'
select distinct `categories`.* from `categories` left join `category_post` on `categories`.`id` = `category_post`.`category_id` where (`title` like %php%) order by `categories`.`title` asc limit 50"

kuroneko
Автор

hi!
I can't connect with my jetstream code on the admin panel, can you help me?

NathanNjaha
Автор

How can I make the Laravel button in the left top corner to redirect me to my website home page?

emobg
Автор

We now have 2 login routes: /login and /admin/login
The first uses Jetstream, the latter Filament. This rases 2 questions:

1. How will you eliminate one of them and make the other work for both?
2. How can you redirect users to the Admin panel after login on JetStream?

Thanks.

kreaweb-be
Автор

Nice tutorial but what is the best way to deploy this on a cpanel

frederickosei
Автор

I cant login to filament /admin, but when i try login using jetstream i can access /admin filament. Im using laravel 10 with filament 3

ReynaldoPutra-jw
Автор

Wow, i think filament is awesome but at same time it's simple but complicated 😂

WEESPlayzZz
Автор

please guys i am getting this error after working on the creating post with the Admin page

SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value

i need help

quamenass
Автор

the Select sould be not Select:make('author'),

ousssika
Автор

Hello, can you help? I am getting this error:

SELECT
`categories`.*,
`category_post`.`post_id` AS `pivot_post_id`,
`category_post`.`category_id` AS `pivot_category_id`
FROM
`categories`
INNER JOIN `category_post` ON `categories`.`id` = `category_post`.`category_id`
WHERE
`category_post`.`post_id` = 1


I followed your steps exactly, but I got this error after I added the relationships.

abdulrahmanalharthy
Автор

I'm following your tutorial starting for ep 1. When i create post I have an error "SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value" . Normally in laravel, Auth()->id works but in this case I canno't find what's wrong. How can I solve this issue? Thanks for creating valuable tutorials

yamonemyatmoe
Автор

Thanks for these. I have to just figure out why editing wants post_tag and I have tag_post in my database... migration file is good, have migrated fresh and seeded again...

SELECT
`tags`.*,
`post_tag`.`post_id` AS `pivot_post_id`,
`post_tag`.`tag_id` AS `pivot_tag_id`
FROM
`tags`
INNER JOIN `post_tag` ON `tags`.`id` = `post_tag`.`tag_id`
WHERE
`post_tag`.`post_id` = 1

jhalmu
Автор

<option data-id="5">abc</option>
livewire 3 Laravel data attribute how to get value

eramitgupta