Data dodania Pytanie
2017-01-05 19:01 Using multiple webpack methods on laravel elixir »
I'm using Laravel 5.3 and Elixir: "laravel-elixir": "^6.0.0-9", "laravel-elixir-rollup-official": "^1.0.5", "laravel-elixir-vue": "^0.1.4", "laravel-...
(1) odpowiedzi
2017-01-05 19:01 Laravel - query builder - left join polymorphic relationship, distinct only »
So I'm using Vue 2.0 and Laravel 5.3 to create an application. I've implemented my own sortable table with Vue, using the built-in pagination provid...
(2) odpowiedzi
2017-01-05 18:01 Laravel Eloquent ORM whereHas with a foreach loop »
Here are the relationships: A user has many skills, there is a join table user_skills. I need to search this table to return the profiles that have t...
(1) odpowiedzi
2017-01-05 12:01 Laravel Carbon Group by Month »
Can anyone see what I'm doing wrong? I'm trying to output all the months but group them so they are unique. $months = NewsItem::select(DB::raw('MON...
(3) odpowiedzi
2017-01-05 08:01 Correct way to use mws api with laravel »
Can any body help me out, to understand the correct and standard way to use mws order api library with laravel 5.3 Actually I'm confused in that beca...
(0) odpowiedzi
2017-01-04 14:01 Where is Vue.use(VueResource) string in Laravel project? »
In many tutorials about VueJS I see this example: import VueResource from 'vue-resource'; Vue.use(VueResource); But in newly created Laravel 5.3 pr...
(1) odpowiedzi
2017-01-04 13:01 Laravel project folder size is to big? »
After finished my project I checked project folder size is more than 550mb. I delete cache from project but still folder size more than 535mb. And I a...
(1) odpowiedzi
2017-01-04 02:01 Object of class Carbon\Carbon could not be converted to int »
I have already search for this, and i did find some topics discussing this problem, however none of which I felt like was the way I want to go, so the...
(1) odpowiedzi
2017-01-04 02:01 How to allow users to dynamically set the scheduled time for email reports within a web framework? »
Right now, I am using crontab to send out scheduled emails. The way I have been doing it is using a web framework like Django, CakePHP, or Laravel, a...
(1) odpowiedzi
2017-01-04 01:01 User registration for API/SPA »
I am creating an API and a separate front-end app that will consume said API. In my particular case I'm using Laravel Passport for my API and some Vue...
(3) odpowiedzi
2017-01-03 23:01 How to pass value from vue.js to controlller? »
So i have an array of values in vue.js, but problem is that i need to pass that values to controller. Any suggestion how can i do that, or is that a w...
(1) odpowiedzi
2017-01-03 22:01 Laravel Relationships -Trying to get property of non-object »
I am coding an RP cms and I am trying to do the following. So in my MySQL database I have two tables that are important to this question. srp_user_s...
(2) odpowiedzi
2017-01-03 17:01 vue.js 2.0 load component dynamically in laravel 5.3 »
Is it possible to load a component dynamically when clicking a list item in vuejs 2.0 and laravel 5.3? I have a standard Laravel app but on one sectio...
(1) odpowiedzi
2017-01-03 14:01 Check for the status and the verified email in laravel »
In my laravel project I am checking for status and verified_email after login.but shows the error for username password not match only do not checking...
(1) odpowiedzi
2017-01-03 10:01 Laravel - force logout of specific user by user id »
I use Laravel 5.2. I want to know how can I force a user to logout by id? I'm building an admin panel with the option to dis-active specific user ...
(1) odpowiedzi
2017-01-02 19:01 Laravel pluck and findOrFail not returning correct row »
I am using the Gate facade to check whether a user can delete a row, or not. Gate::define('delete-cons', function ($user, $cons) { $c_id = ...
(1) odpowiedzi
2017-01-02 10:01 Checking folder already existed and if not create a new folder by id in laravel »
i want to store my image to a specific folder and the folder will named by page id. For example if Page id=1, the folder location should be public/pag...
(3) odpowiedzi
2017-01-02 09:01 How to join results from with operator in Laravel? »
I use query builder for execution inquiries to db like as: $result = Order::with("product", "images"); As result I get response with two nested ob...
(1) odpowiedzi
2017-01-02 08:01 form details are stored into the database but will make an automatic logout laravel 5.3 »
I created a FORM to add employee using laravel 5.3. when I fill the details and submit form ,all the data are inserted into the database. but after s...
(1) odpowiedzi
2017-01-01 13:01 Listing middleware in kernel.php »
I have an admin middlware AdminMiddleware.php public function handle($request, Closure $next, $guard = null) { if(Auth::check()) ...
(2) odpowiedzi
2017-01-01 13:01 Merge fields laravel collections »
I have two Laravel collections. Mi first collection called $custom_product: Collection {#313 ▼ #items: array:1 [▼ 0 => array:1 [▼ ...
(3) odpowiedzi
2017-01-01 13:01 How does check of authentication work in laravel? »
I have the following line of code in my controller: public function __construct() { $this->middleware('auth'); } So basically what this li...
(4) odpowiedzi
2017-01-01 11:01 Unexepected error in laravel method when index method is called »
I have the following code in my Notices controller: public function index() { $notices = Notice::all(); return view('notices.index' ,...
(1) odpowiedzi
2016-12-31 13:12 Disable Auto Login after registration in Laravel 5.3 »
Please can someone help me. How do I disable auto login after registration in laravel 5.3. I can do it in 5.2, but not in 5.3. ...
(4) odpowiedzi
2016-12-31 10:12 How to get specific value from many <p> »
I have make a list with query result with Laravel. The code is : @foreach(array_chunk($result->all(), 3) as $row) <...
(2) odpowiedzi
2016-12-31 09:12 Laravel: Best way to implement dynamic routing in routes.php based on environment variable? »
My aim is to roll out a big re-theming / re-skinning (including new URL routing) for a Laravel v5 project without touching the existing business logic...
(2) odpowiedzi
2016-12-31 00:12 Call AJAX with Vue.js and Vue resource in Laravel »
I'm making AJAX request in Laravel with Vue.js and Vue resource. I have view: {{Form::open(['method' => 'post', 'class' => 'form-inline', 'id'...
(1) odpowiedzi
2016-12-30 23:12 Laravel Eloquent: how to get related records via whereHas() method? »
For example, I can check every post with concrete date. $users = User::whereHas('posts', function($q){ $q->where('created_at', '>=', '2015...
(2) odpowiedzi
2016-12-30 22:12 Upgraded to Laravel 5.3 - Route Not Defined Error »
When previewing the app, I get a route not defined error after the Laravel 5.3 upgrade. It worked in version 5.2. Route [admin.properties.index] not...
(1) odpowiedzi
2016-12-30 19:12 Vue-if conditional not working. if-Else block appears to be skipped »
This is a follow up question to one I posted here: (I have 2 records in a database Vue outputs 8 records). In that question, was having trouble fetchi...
(1) odpowiedzi
2016-12-30 12:12 How to unlock the file after AWS S3 Helper uploading file? »
I am using the official PHP SDK with the official service provider for laravel to upload an image to Amazon S3. The image is temporarily stored on my ...
(2) odpowiedzi
2016-12-30 08:12 How to use Basic Routing methods in Laravel? »
I have get some documents from Laravel Documentation.But i can't get details clearly from that. There are lot of routing methods and how to use that f...
(2) odpowiedzi
2016-12-30 01:12 Is possible to check how many times collaborator's static method was called in PhpSpec? »
What I'm trying to achieve is: to check if factory method was called on ContextItem to check if provided entity exists in the collection Questions...
(0) odpowiedzi
2016-12-29 14:12 How to access a column in laravel query result »
I'm getting an error in my controller Undefined property: Illuminate\Database\Eloquent\Collection::$created_at How can I access a column created_at ...
(3) odpowiedzi
2016-12-29 14:12 syntax error, unexpected 'firstOrCreate' (T_STRING), expecting variable (T_VARIABLE) or '$ »
Im getting this error when i try to do this: $additional_features = $request->input('additional_features'); foreach($additional_features...
(1) odpowiedzi