β prev | next β
2020-11-29 15:14:04
Laracast refer it
ouboros 2020-11-29 16:10:54
Hello buddies. php artisan passport:install command returns with an error; SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known (SQL: insert into…
rizvisharis 2020-11-29 19:00:42

how to get product name..? because its object to object
rizvisharis 2020-11-29 19:00:56
for search purpose.. any ideas???
samprogrammer 2020-11-29 19:05:18
Help with brother tagging system, send a source
datlechin 2020-11-29 19:20:49
How to display php errors on ubuntu (apache2, php8.0)
I have On display_error enabled in php.ini but the browser still shows page 500
datlechin 2020-11-29 19:21:00
datlechin 2020-11-29 19:21:11
i want like this
datlechin 2020-11-29 19:21:46
datlechin 2020-11-29 19:21:56
but my browser shows this
# 2020-11-29 21:35:37
Hello,
How to redirect user based on login type in laravel 8 (SuperAdmin, Admin, User, etc) with single login page
# 2020-11-29 21:37:27
SuperAdmin -> SuperAdmin Panel
Admin -> Admin panel
User-> User panel
# 2020-11-29 21:38:01
Any one helpme
amirvalhalla 2020-11-29 21:49:25
Hey guys, I hope you have a good day,
I made a custom package for category of website so made CRUD for that and related things to it but my problem is I’ve made the seeder and factory for that and when i seeded it I’m facing by this error factory or seeder not found but I’ve defining the name space for these files and seem every thing is ok please help meβ€οΈ
DesolatorMagno 2020-11-29 21:50:21
did you try dump-autoload ?
amirvalhalla 2020-11-29 21:53:03
DesolatorMagno 2020-11-29 21:50:21
did you try dump-autoload ?
Yeah but i can’t send auto load here because bots remove it i send it to your pv can i send?
DesolatorMagno 2020-11-29 21:53:55
Nope, if you try it and it did the job without error them there is not problem there.
amirvalhalla 2020-11-29 21:56:56
DesolatorMagno 2020-11-29 21:53:55
Nope, if you try it and it did the job without error them there is not problem there.
“autoload”: {
“psr-4”: {
“Srilearn\Categories\”: “src/”,
“Srilearn\Categories\Database\Factories\”: “src/database/factories”,
“Srilearn\Categories\Database\Seeds\”: “src/database/seeds”
}
},
amirvalhalla 2020-11-29 21:57:21
DesolatorMagno 2020-11-29 21:53:55
Nope, if you try it and it did the job without error them there is not problem there.
My autoload could you please check it? π
amirvalhalla 2020-11-29 22:00:24
# 2020-11-29 21:35:37
Hello,
How to redirect user based on login type in laravel 8 (SuperAdmin, Admin, User, etc) with single login page
Hey buddy, You can define ACL for your site then by middleware you can check the user permission and then redirect it to your specific route or page
DesolatorMagno 2020-11-29 22:11:09
There are various place where it could be wrong, you could have the wrong name space in those files, for example.
DesolatorMagno 2020-11-29 22:11:57
I am busy now, but surelly you can find a tutorial or a video about packages (they are not so common, but exist.)
DesolatorMagno 2020-11-29 22:14:19
# 2020-11-29 21:35:37
Hello,
How to redirect user based on login type in laravel 8 (SuperAdmin, Admin, User, etc) with single login page
If you are using Jetstream, it should be edit in Fortify.
DesolatorMagno 2020-11-29 22:14:32
https://jetstream.laravel.com/1.x/features/authentication.html#customizing-view-rendering
Authentication | Laravel Jetstream –
LaravelBeautifully designed application scaffolding for Laravel
amirvalhalla 2020-11-29 22:43:58
DesolatorMagno 2020-11-29 22:11:57
I am busy now, but surelly you can find a tutorial or a video about packages (they are not so common, but exist.)
Thanks but I’ve checked a lot of videos on YouTube for custom package and they didn’t explain seeder in custom package and I’m sure the name space is true but another tip is when I’m writing this command
Composer dump-autoload
It said the categoryseeder or factory can’t find and then send them to vendor and told please check your auto load
# 2020-11-30 06:21:07
amirvalhalla 2020-11-29 22:00:24
Hey buddy, You can define ACL for your site then by middleware you can check the user permission and then redirect it to your specific route or page
Im not understanding exactly, can u provide link or tut for that
# 2020-11-30 06:22:22
DesolatorMagno 2020-11-29 22:14:19
If you are using Jetstream, it should be edit in Fortify.
With Jetstream is possible with one login page for all user types?
amirvalhalla 2020-11-30 06:29:56
# 2020-11-30 06:21:07
Im not understanding exactly, can u provide link or tut for that
ACL means Access Controll List so you have to define admin , etc then by middleware you can pass which user access to specific route ,
for ACL you can use spatie/laravel-permission and after you installed it , please read the documentation , in that said define middleware for every route then passing some parameters to middleware and etc but of course you can policy for checking user permission and then redirect them π
for policy:
https://laravel.com/docs/8.x/authorization
spatie/laravel-permission:
https://github.com/spatie/laravel-permission
GitHub – spatie/laravel-permission: Associate users with roles and permissions –
GitHubAssociate users with roles and permissions. Contribute to spatie/laravel-permission development by creating an account on GitHub.
samprogrammer 2020-11-30 10:34:04
Tagging system If anyone posts, they give the tag below, then add it along
samprogrammer 2020-11-30 11:13:54
samprogrammer 2020-11-30 11:14:05
Brother Laravel Project, I have made such an input where if the user writes any input, then the tag is created and if anyone searches, that tag is visible.
rmkmasterdev 2020-11-30 11:32:54
Laravel secure Amazon s3 bucket files – Stack Overflow
https://stackoverflow.com/questions/40168221/laravel-secure-amazon-s3-bucket-files/40246804
Laravel secure Amazon s3 bucket files –
Stack OverflowI am using Amazon s3 but here i am facing two problems
1.I can’t directly upload files to amazon server when i submit form.I mean i have to upload images to an upload folder on my PHP server and f…
amirvalhalla 2020-11-30 12:41:35
you’re welcome , be successful π
samprogrammer 2020-11-30 12:48:38
samprogrammer 2020-11-30 11:14:05
Brother Laravel Project, I have made such an input where if the user writes any input, then the tag is created and if anyone searches, that tag is visible.
Please help @mrahb313
amirvalhalla 2020-11-30 13:10:11
samprogrammer 2020-11-30 12:48:38
Please help @mrahb313
unfortunately,i don’t understand what is your problem?
samprogrammer 2020-11-30 13:12:26
amirvalhalla 2020-11-30 13:10:11
unfortunately,i don’t understand what is your problem?
Brother, come to the inbox, I understand
Rajat Agrawal 2020-11-30 14:51:42
for composer install which php should i choose the manually installes php or xampp
Rajat Agrawal 2020-11-30 14:51:59
in installation process
Dkhicher 2020-11-30 15:08:17
Rajat Agrawal 2020-11-30 14:51:42
for composer install which php should i choose the manually installes php or xampp
Use laragon
mohsen 2020-11-30 16:03:38

hi this code every time return true
why?what is wrong ?
β prev | next β