Data dodania Pytanie
2017-06-08 12:06 Laravel Auth Login by company name, username, and password »
I like user to login by company name, username, and password - they need to enter all those fields. username, and password fields are in the users ta...
(2) odpowiedzi
2017-06-07 17:06 Eloquent laravel : Get JSON representation of entry in table with all his relations »
Model Ov.php <?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Ov extends Model { protected $table = 'ov'; pu...
(0) odpowiedzi
2017-06-07 12:06 Laravel HTTPS routes »
today I decided to move my website to HTTPS. Early my website work on HTTP. My problem is in misunderstood how Laravel pass HTTP and https in helpers...
(2) odpowiedzi
2017-06-07 10:06 what is the differences between updateOrCreate() and updateOrInsert() in laravel 5.4 »
Both methods seem to create a new record if not existed or update a record with provided data ...
(1) odpowiedzi
2017-06-06 20:06 Laravel json response not showing custom object data »
I have the following class: <?php namespace App\Libraries; use Illuminate\Contracts\Support\Arrayable; class ErrorResponse implements Arrayable ...
(1) odpowiedzi
2017-06-06 19:06 Attempt to assign property of non-object in Laravel 5 »
I have the following Laravel code which receive data from an API and store them on a database. $sample = Sample::findOrFail($id); $new_sample = $requ...
(1) odpowiedzi
2017-06-06 14:06 reuse mysql query code among few methods in same controller - Laravel 5.4 »
I have few queries which I would like to use it to few methods in the same controller.for example below code: $lastlogin = User::select('lastlogin')-...
(2) odpowiedzi
2017-06-05 22:06 Laravel retrieve status from pivot table »
i have tables ,Station & Equipment ,a third pivot table station_equipment with additional field "status" besides the respective table ids, the sta...
(1) odpowiedzi
2017-06-05 19:06 Invalid route in a Laravel search form »
Hi i'm following a tutorial bout how to set a search form but I'm getting a route error (NotFoundHttpException). form {!! Form::open(['method'=&g...
(2) odpowiedzi
2017-06-05 17:06 Call to undefined method Illuminate\Auth\GenericUser::fill() :: when update »
I want to update user password This is my function: public function modifiermdp(Request $request) { $userupdate = Auth::user(); $password = ...
(2) odpowiedzi
2017-06-05 14:06 Laravel 5.4 OrderBy through a relationship »
I´m triying to order by name through a relationship hasMany. If I order in second foreach, doesn't work, I´m understand that I have to do that on th...
(2) odpowiedzi
2017-06-04 19:06 How to deploy react laravel project? »
I use laravel framework as Restful API server, and react as SPA client render and for routing i have used react create app kit, I build react project....
(1) odpowiedzi
2017-06-04 06:06 Laravel 5.4 session is not being set if dd method is used »
I am using laravel 5.4. In a method of a controller I have setting a value in session. If I call the dd() right after setting the session the dd() is ...
(2) odpowiedzi
2017-06-04 04:06 Laravel How to make download link only for authenticate user? »
I have some files on public directory files folder. I want to send the user the link of a specific file.Right now I'm giving the link by following way...
(1) odpowiedzi
2017-06-03 17:06 How to properly add custom database support to Laravel 5? »
Suppose you want to add custom database support in Laravel 5. Whether it is MongoDB, Oracle or sqlite mod (SQLCipher). How would you go about it? Wha...
(0) odpowiedzi
2017-06-03 13:06 Laravel 5.4 Assert Mail Sent Not Working »
I'm trying to assert mail sent with Laravel 5.4 fakes. My test code is this: public function setUp() { parent::setUp(); $this->admin = c...
(1) odpowiedzi
2017-06-03 00:06 Query in Laravel with Relationships from blade? »
I have the following tables Users request servers Which are related in the following way. User has many request Sever has many request Now wh...
(1) odpowiedzi
2017-06-02 20:06 auth() method null on Exceptions »
I was playing around with Laravel 5.4.23 and i came across this scenario when i hit a 404 page the auth(), auth()->check(), auth()->user(), and ...
(1) odpowiedzi
2017-06-02 15:06 Laravel: Summing an attribute in a nested relation »
I want to sum a nested collection. I have the following tables: Venues Offers Orders A venue can have many offers and a offer can have many order...
(1) odpowiedzi
2017-06-02 14:06 Class 'Illuminate\Support\Facade\Mail' not found in laravel 5 »
I get this error message while trying to send email (Class 'Illuminate\Support\Facade\Mail' not found). in the controller, I have included 'use Illumi...
(5) odpowiedzi
2017-06-01 17:06 Laravel 5.4 Auth API route »
I'm trying to build an API authentication, I defined a controller for it and there's another one for the web login. I configured 2 different auth in c...
(1) odpowiedzi
2017-06-01 10:06 Laravel getStream - How to follow or add activity to a Company (non user) »
an app I am creating needs to follow Companies, aside from users. And let the companies have their own activities. How is this configured in Laravel...
(2) odpowiedzi
2017-06-01 09:06 The only supported ciphers - Laravel hosting on Fortrabbit »
This question is all over stackoverflow but I just had to post it again. Mine is actually on Fortrabbit, I've been having this error on Fortrabbit for...
(2) odpowiedzi
2017-05-31 17:05 Laravel crash on init with error 500 (no additional info) »
I have some problems with deploying app to a shared host. What i did till now: copy all public files to public_html/website/my-api copy all laravel...
(1) odpowiedzi
2017-05-31 09:05 How to track every user database interaction in laravel 5? »
If any logged in user accesses any service then I want to track all queries run by this user. Example: If user1 logs in and wants to delete his prof...
(1) odpowiedzi
2017-05-31 02:05 Why is Laravel Eloquent generating SQL without quotation marks? »
I'm trying to run sudo php artisan migrate db:seed on my Laravel installation and getting the following error: [Illuminate...
(1) odpowiedzi
2017-05-30 16:05 Laravel5, PHPUnit and Date Mutators: can't use mutator in data provider »
I've just noticed that we can't use date mutators in a test data provider. Example class FooTest extends TestCase { /** * @dataProvider baz...
(0) odpowiedzi
2017-05-30 11:05 Laravel 5 catching 400 response from PayPal API »
I asked a very specific question located here: Laravel 5 catching PayPal PHP API 400 errors on localhost:8000 As nobody could help I want to make it ...
(1) odpowiedzi
2017-05-30 09:05 composer require spatie/laravel-backup »
I keep getting errors when I type composer require spatie/laravel-backup Nessrines-MacBook-Pro-2:tfw nessrine$ composer require spatie/laravel-backu...
(1) odpowiedzi
2017-05-29 17:05 Does Laravel Framework instantiate every model class at boot? »
With, where, hasMany etc. methods of Eloquent class are not static. However we call these functions like that: // Post is a child of Model class. Po...
(1) odpowiedzi
2017-05-29 14:05 Laravel Routing Route::resource inside Route::group »
I am new in Laravel. routes/api.php I have written this function Route::group(['namespace' => "Catalogue"],function(){ Route::resource('pr...
(2) odpowiedzi
2017-05-29 10:05 Laravel 5.0 Custom Validation Method not Found »
i have a custom validation rules that works on my dev server but when i push it to my production server, it's become error. It said that Method [valid...
(2) odpowiedzi
2017-05-28 12:05 Two column values in same table Laravel 5.4 merge into Array »
I want to merge example_1 and example_2 values into array. example_1 and example_2 are of type int. User::select('example_1','example_2')->where(...
(2) odpowiedzi
2017-05-28 05:05 Laravel: error while seeding the database (Array to string conversion) »
I'm trying to seed the database. Following the User example I create a Emploi (Job) seeder but I'm having an error. seeding file $factory->define...
(2) odpowiedzi
2017-05-28 02:05 Laravel 5 return view not working »
I am trying to return a view that is located in a subfolder of views: I have a route that calls a controller and in the index function it returns t...
(1) odpowiedzi