Data dodania Pytanie
2017-10-01 12:10 Can't change MAIL_DRIVER to mailgun in Laravel 5.4 »
I changed MAIL_DRIVER in .env file of production server like that: MAIL_DRIVER=mailgun MAIL_HOST=smtp.mailgun.org MAILGUN_DOMAIN=mg.xx.com MAILGUN_SE...
(1) odpowiedzi
2017-10-01 00:10 Laravel 5.5 dusk could not work »
I make a new Laravel project: composer create-project laravel/laravel testing_laravel composer require laravel/dusk --dev php artisan serve php arti...
(1) odpowiedzi
2017-09-30 22:09 Changing the type of last_activity column when using database session storage in Laravel 5 »
I've just started using the database session driver in Laravel 5.5 along with PostgreSQL, and I've ran into a slight inconvenience. I would like to k...
(1) odpowiedzi
2017-09-30 14:09 Laravel ajax deleting files fails »
IN my vue js ajax post am storing file like $imagename = sha1(time()).".".$request->profile_pic->extension(); $path = $request->profile_...
(1) odpowiedzi
2017-09-30 13:09 Laravel eloquent updateOrCreate(), do something only if create? »
I use in my laravel 5.5 app Model::updateOrCreate(), it works, but by 1 parameter I wish to do something only if entry is creating and not updating mo...
(1) odpowiedzi
2017-09-29 17:09 laravel whereHas results weird »
product model public function country() { return $this->hasMany('App\Models\ProductCountry', 'product_id', 'id'); } the controll...
(5) odpowiedzi
2017-09-29 14:09 Laravel Upload image by excel »
Hello friends i want to upload students data by excel in laravel with laravel excel plugin and i want to uploade image with excel file (By local path ...
(1) odpowiedzi
2017-09-29 12:09 Filter collection using like and wildcard »
I need to get all files which starts with desired letter, I'm trying to use a ->where filter adding 'like' as operator but wildcards doesn't work. ...
(1) odpowiedzi
2017-09-28 15:09 Array to SVG, flexible algorithm with PHP »
problem: I've a couple of different arrays - e.g.: [0.21, 0.001, 0.0245, 0.31, 0.05, ...] [1234, 1342, 1232, 1625, 2200, 2205, 1804, ...] [5, 12, 42...
(1) odpowiedzi
2017-09-28 13:09 Checking duplicated data in Laravel »
This code work as send to inn_db table from ext_db. but it cannot check if the data is the same or different in inn_db. So there posited same values...
(2) odpowiedzi
2017-09-28 08:09 Laravel event broadcasting with socketio and redis is not working in laravel 5.4? »
I am trying to show realtime message notification count when user logged in to the website. For this I am using socketio, redis and laravel event. Bu...
(1) odpowiedzi
2017-09-27 22:09 400 Bad Request When Adding Member to MailChimp List »
I am sending a POST request to the following resource and getting a 400. I understand what the error means, but still am unsure why I'm getting it whe...
(1) odpowiedzi
2017-09-27 17:09 Calling stored procedures in Laravel 5.5 using SQL Server with output »
I have the following stored procedure: declare @CodigoRet int exec Generator 'LancaContaContabil', @Codigo = @CodigoRet output Select @CodigoRet ...
(2) odpowiedzi
2017-09-27 09:09 How can I update laravel/laravel from 5.3 to 5.4? »
I have attempted to update laravel/laravel from 5.3 to 5.4, and to do so, I have modified composer.json to this: { "name" : "laravel/laravel...
(3) odpowiedzi
2017-09-26 18:09 How to handle a Login event for a specific auth guard? »
I have a Laravel 5 application with multiple authentication guards. I created a Illuminate\Auth\Events\Login event listener which handles the login e...
(1) odpowiedzi
2017-09-26 16:09 How can I configure an SCP/SFTP file storage? »
My Laravel application should copy files to another remote host. The remote host is accessible only via SCP with a private key. I would like to config...
(1) odpowiedzi
2017-09-26 05:09 Laravel 5.4 query builder Missing argument 2 when using orWhere clause »
Can someone tell me why im getting this error and how to fix it please. $lastDayPreviousMonth = date("Y-m-d", strtotime("last day of previous mon...
(1) odpowiedzi
2017-09-25 14:09 Laravel ignores select input validation if no option is selected »
I have a form with some fields which I want to validate using Laravel's validate() method. public function postSomething(Request $req) { ... ...
(3) odpowiedzi
2017-09-25 13:09 Laravel: POST method returns MethodNotAllowedHttpException »
I have a POST route in my api.php file, and it is like this: Route::group( ['namespace' => 'api'], function () { Route::post('parent/signu...
(2) odpowiedzi
2017-09-25 12:09 How to use Vue js to filter Laravel data collection then render them? »
I have a simple Laravel web site with à limited number of products (actually 15 smartphones) to display and there is no pagination needed. In the hom...
(1) odpowiedzi
2017-09-24 17:09 hasManyThrough with an intermediate pivot table »
Description: My application is structured as follows: Property has a Many-Many relationship with Manager, and a Unit has a One-Many relationship with...
(1) odpowiedzi
2017-09-24 17:09 Laravel 5 Paginator returns first page only »
I have a fairly simple chatlog viewer which uses a Laravel paginator to easily separate the returned logs into pages. Unfortunately, the paginator onl...
(1) odpowiedzi
2017-09-24 16:09 Laravel OR operator in filter PHP »
I'm following this tutorial to make filters on my site. I'm trying to add an OR statement within the filter in the HTML. For example, <a href="...
(1) odpowiedzi
2017-09-23 18:09 Laravel .env variable always returns null »
I added this variable to .env file STRIPE_SECRET=a12345 I would like to dump the variable using routes/web.php <?php dd(env('STRIPE_SECRET')...
(5) odpowiedzi
2017-09-23 08:09 fetch and push the data in new table »
I have the table 'project','user' and 'role_mapping'.I want to to fetch the project_owner_id from the project table and push the user_id which is fet...
(2) odpowiedzi
2017-09-23 04:09 How to store users that signed up with facebook? »
I added "Signup/Signin with Facebook" buttons to my website using Socialite on laravel 5.4. When a user signs up with facebook, i get his e-mail addre...
(0) odpowiedzi
2017-09-22 13:09 Getting TokenMismatchException when using nested AJAX calls. Laravel 5.4 »
I get TokenMismatchException when using nested AJAX calls. The first AJAX call works fine but the second always goes to error instead of success. Wha...
(1) odpowiedzi
2017-09-22 12:09 Write a query manually into the laravel »
I have a little problem, I want to try to take the data with a custom query on laravel but when I try foreach I can't get the data. anyone can help me...
(6) odpowiedzi
2017-09-22 03:09 How to get a specific grade data using Laravel Eloquent? »
What I want: To get the grade of what the user answered in the database if exists and get the grade of that answer. What I have: I have 3 tables...
(1) odpowiedzi
2017-09-22 02:09 laravel 5.5 best way to create data »
I have a codes for create new data, but im comfuse what is the best way to insert new data in database using laravel 5.5. Codes 1: $user = User::cr...
(3) odpowiedzi
2017-09-21 20:09 Multiple middleware in controller Laravel 5.4 »
I want to use two middleware in __construct method in my controller. I'm search in google last few hours. I didn't find any useful resource. Here is ...
(4) odpowiedzi
2017-09-21 14:09 Laravel chunk skipping 1 record from every chunk »
So I have weird problem, using Laravel Excel and importing some data. I want to split import by chunks, but every time I define chunk size it skip 1 r...
(1) odpowiedzi
2017-09-21 11:09 Error in Handler Class »
I am using Laravel 5.5 and trying to implement multi authentication for users and admin....I am getting this error when i try to call admin login form...
(1) odpowiedzi
2017-09-20 16:09 Vue.js 2 autoescape HTML »
I'm using Vue 2 js with Laravel 5.5. I have a component data - markdown text. And I have an vue instance new Vue({ el : '#lesson_edit', ...
(1) odpowiedzi
2017-09-20 14:09 How to provide subject in laravel mailer »
I am doing the laravel mailer to send email, here I need to send mail with subject. I tried $mailer = new Mail(); $mailer::to($email_id)->send((n...
(2) odpowiedzi