Data dodania Pytanie
2017-02-21 21:02 View Not Found when deployed on Heroku »
I have a page that loading perfectly locally. I deploy same code to Heroku, I got this I can't really check if the actual file is there, since ...
(2) odpowiedzi
2017-02-21 16:02 How can I check i 2 fields of a form have the same content using a rule array of laravelcollective/html validator? »
I am pretty new in Laravel and I have the following problem. I have this method that handle the submit of a form: public function store(Request $req...
(2) odpowiedzi
2017-02-21 10:02 Why if I don't put a {{csrf_field()}} at the end of a form (in a Laravel 5 view) I obtain a TokenMismatchException? »
I am pretty new to PHP and Laravel and I have the following doubt about the {{csrf_field()}} notation inserted into a <form>. Into a view I hav...
(3) odpowiedzi
2017-02-20 12:02 Laravel Composer Update Changed Files »
I need to discus a very important thing for me (probably for all users who uses composer in their projects). I am working on laravel. Whenever i work ...
(3) odpowiedzi
2017-02-20 09:02 Why does Laravel have a contract/interface for nearly everything? »
I was going through the Laravel's Illuminate and I noticed it has an interface for nearly every implementation. What's the exact purpose of this? Doe...
(1) odpowiedzi
2017-02-20 07:02 Pass Variable from Component to Model Scope »
I'm using OctoberCMS based on Laravel. I'm trying to get the identifier from URL and pass it to the Scope to filter database results. $this->propert...
(1) odpowiedzi
2017-02-19 22:02 Laravel Migrations - Column already exists »
I am running Laravel Framework version 5.2.45 and want to migrate my database migrations. I have two migrations. One is the standard 2014_10_12_10000...
(1) odpowiedzi
2017-02-19 13:02 Laravel 5.3 - Social login doubts »
I am developing a mobile app and currently depending on JWT to maintain the statelessness of the API. The API is consumed by mobile and web devices. T...
(0) odpowiedzi
2017-02-19 10:02 How exactly works the register() method of Laravel ServiceProvider? »
I am pretty new in PHP and Laravel. I am following this tutorial to add reCAPTCHA support to a page inside my Laravel applicatin: http://tutsnare.com...
(1) odpowiedzi
2017-02-18 21:02 How do I get the value of multiple IDs in a Laravel API request »
I have Laravel acting as an API serving a request from an Emberjs app. The app requests multiple ID's vipExperiences?ids=6&ids=4 In my Larave...
(1) odpowiedzi
2017-02-18 07:02 Error in Object injection »
I am working on a Laravel 5.4 Project. I am facing an issue. I would like to know more about the issue. Below code is working. PostController.php ...
(1) odpowiedzi
2017-02-18 06:02 Route [signup] not defined in laravel »
I am new to Laravel. I am learning how to create user registration page. Everything works fine but I am stuck in a simple problem. ErrorException...
(3) odpowiedzi
2017-02-17 16:02 Authorization from model »
I have a Board.php model with a method checkViewAccess() i.e @if($board->checkViewAccess()) render board @endif It does a few checks, and o...
(1) odpowiedzi
2017-02-17 14:02 Laravel Polymorphic relationship getting different models »
I have a Laravel model called "Area" which contains "Elements". Elements can be different Models (in this case a FreetextElement and a CheckboxElement...
(1) odpowiedzi
2017-02-17 11:02 Save select value onchange Laravel »
I am building a multi language app with Laravel, and I need the users to be able to log in and select their preferred language(table "languages") from...
(3) odpowiedzi
2017-02-16 23:02 file_put_contents(.../bootstrap/cache/services.json): failed to open stream: No such file or directory »
I kept getting this error when running any php artisan commands. [ErrorException] file_put_contents(/Applications/MAMP/htdocs/code/bheng/md-b...
(1) odpowiedzi
2017-02-16 14:02 How to compare a string value to another string value? »
I have a problem in comparing a string of single word to another string within a sentence or phrase.I want to get the whole string from address if the...
(1) odpowiedzi
2017-02-16 10:02 Laravel Update Route »
Laravel newbie here, I want to create an update route in Laravel, without the resource controller. I have the route for the editing Route::get('/ind...
(1) odpowiedzi
2017-02-15 17:02 What is the best way to cleanly emogrify a Laravel blade template file? »
I'm using an emogrifier to format the results of a blade template so I can send it in an email. $html = View::make('emails.notification', [ 'dat...
(1) odpowiedzi
2017-02-15 14:02 You can have your API and eat (consume) it in Laravel? »
I have made an API that returns json in Laravel. (routes/api.php) Now I want to consume said API inside my web-side of the project (routes/web.php (i...
(1) odpowiedzi
2017-02-15 09:02 Laravel Migration Error : Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes »
Migration error on Laravel 5.4 with php artisan make:auth [Illuminate\Database\QueryException] ...
(2) odpowiedzi
2017-02-14 19:02 Call to a member function count() on array in "laravel backpack crud" after update from 3.1.54 to 3.2.3 »
I have build my admin panel with laravel backpack packages.Last night I had run composer update which updated my backpack-crud package from 3.1.54 to ...
(1) odpowiedzi
2017-02-14 16:02 Laravel 5: Alternative for Eloquent's 'orWhere' method for querying collections »
So I have a collection of products ($this->products) which I'm getting as a result of a Model query and I want to filter it by some of its attribut...
(2) odpowiedzi
2017-02-14 03:02 Laravel Migration table not created »
I am a new learner of Laravel.And I follow the tutorial to create a articles table.Here's part of my code in /database/migrations/2017_02_13_145946_cr...
(1) odpowiedzi
2017-02-13 20:02 Nested hasMany eager loading Laravel function »
Current logical setup: A room can have many objects. An object can have many scores. -- The problem is that the objects may/may not have any sc...
(1) odpowiedzi
2017-02-13 17:02 using form input value in form action, Laravel 5.4 »
I've written some code to retrieve some data from database when a user visits a url. For example, When someone visits this : http://localhost:8000/h...
(1) odpowiedzi
2017-02-13 07:02 Create an subquery alias to use it in Laravel Query Builder »
I want to create something like an alias to SQL subquery so I can use it like a plain SQL field. For example, I've got 3 tables: user, user_comments a...
(1) odpowiedzi
2017-02-12 23:02 Query Queried Table Laravel »
I was wondering if we could query already queried table. Like this: $results = Table::where('name','like', '%'.$request['name'].'%')->get(); $resu...
(1) odpowiedzi
2017-02-12 21:02 Elequoent relationship is not selecting releated rows »
I have 2 tables: products and images Products table: CREATE TABLE `products` ( `id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAU...
(1) odpowiedzi
2017-02-12 12:02 view cannot access variable defined in controller in laravel »
I could not think how to write question for this problem. So this is my problem. I have two views store-side-menu.blade.php <a href="javascript...
(1) odpowiedzi
2017-02-11 18:02 Difference between {!! !!} and {{}} »
I am curious between the difference between {!! !!} and {{ }} In laravel, Model-View-Controller it is used in View where the user declare the variabl...
(1) odpowiedzi
2017-02-11 18:02 Auth::user() returns null Laravel 5.1 oauth 2.0 »
I know this may seem duplicated. I have already checked these threads: https://laracasts.com/discuss/channels/laravel/authuser-returns-null-in-larav...
(1) odpowiedzi
2017-02-11 15:02 Laravel 5.4 redirection to custom url after login »
I am using Laravel Framework 5.4.10, and I am using the regular authentication that php artisan make:auth provides. I want to protect the entire a...
(1) odpowiedzi
2017-02-10 18:02 MethodNotAllowedHttpException not found when I paginate in Laravel »
Hello this is my first question here. I am using php laravel framework and I am getting this error MethodNotAllowedHttpException in RouteCollection....
(2) odpowiedzi
2017-02-10 13:02 Difference between Request (Facade) and Illuminate\Http\Request »
I'm starting to use Laravel and I would like to know how I should choose one over the other. As of version 5.0 Laravel documentation changed request...
(2) odpowiedzi