All Questions
57
questions
-1
votes
1
answer
210
views
Laravel: (Session?) Pass value from admin side to user
I have a value called 'goal' in admin.blade page that can be changed by the admin who is logged in. I want to be able to pass that new value on a user's page(user.blade). (There is no registered user, ...
0
votes
4
answers
1k
views
Laravel update record where something has been changed
I want write method to update records where something has been changed. I have forms:
The problem is when I change the name, surname or email but don't change the user login. In my validation I write:...
2
votes
1
answer
1k
views
How to update my Pivot Table with addition field in laravel
My table with eloquent relationship in laravel 5.3
User
--id
--name
Gallery
--id
--name
Video
--id
--name
Tags *pivot ...
0
votes
2
answers
588
views
Composer/Laravel: Not update specific folder inside vendor
I have installed laravel latest version ..In my application i have used barryvdh/laravel-dompdf package. And i made some font changes in the pdf packages..
Now my problem is while giving composer ...
1
vote
1
answer
150
views
Image are not showing and cant update my image in laravel
I am doing a project. In this project I want to update name, websit and image field. I want that if a user choose new one then the field upadted otherwise it retains the past value. this works ...
87
votes
3
answers
160k
views
Laravel: Listen for Model save or update (after or before they're done)
I need to generate a function to call after or before save() or update() but i don't know how to do.
I think I need a callback from save() update() but I don't know how to do.
Thanks
0
votes
2
answers
4k
views
How to run "composer update" on test/production server?
I'm developing an application in laravel, I have completed it on localhost, but when I run it on test server it shows me error
Class 'Collective\Html\HtmlServiceProvider' not found
I think it need ...
2
votes
3
answers
2k
views
Composer Update - Could not load package shopware/shopware in http://packagist.org:
When i do composer update on my Laravel 5.1 it come out with this error
> Downloading http://packagist.org/p/symfony/polyfill-mbstring$...
2
votes
1
answer
2k
views
How to use mutators in laravel mass update?
I am currently updating multiple rows in my database by doing the following:
I take an array in a post and loop through it, each member is an array of fieldname=>value and I am doing an update on ...
1
vote
1
answer
425
views
Laravel Update - Crashes Unless I add RememberToken code to every model
I just have a question about add the three "RememberToken" public functions (getRememberToken(), setRememberToken(), and getRememberTokenName() ). For some reason if I tried to log in and create a new ...
0
votes
1
answer
239
views
How to: upgrade Laravel 4 beta without git clone?
Is there some way to upgrade Laravel 4 beta framework's base (or skeleton) without using git clone?
2
votes
4
answers
4k
views
Laravel 4: php artisan down not defined
I've updated my Laravel installation with the following commands today (which is a few days after Laravel 4's release date):
php composer self-update
php composer update
You can have a look at my ...