Support the ongoing development of Laravel.io →

2,050 Threads

FatalErrorException syntax error, unexpected 'public' (T_PUBLIC) in Product.php (line 14)

<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Slide; use App\Produ...

0 Likes
0 Replies

pagination in some pages number internal server error

Hi Guys, showing error as example when click pagination number 6 show blank page and see in console...

0 Likes
0 Replies

Include js files in the project

I have added in my public folder one folder called js and inside a script.js. In the view: <scrip...

0 Likes
2 Replies

Custom View path with wildcard

I'm wanting to modularize the app I'm building in Laravel so I've created the app/Modules directory....

0 Likes
1 Replies
Solved

Pass data to view inside a view

To be honest I'm not exactly sure how to ask this but I'll do my best. I have my master.blade.php wh...

0 Likes
2 Replies
Solved

Laravel & Vue Workflow

Hello! I'm kinda interested in using Vue in a large-scale application, it have a lot of pages and st...

0 Likes
2 Replies

automtcly add the picture in <img> element when upload it by laravel

using axios with vuejs and laravel i can upload the picture to the storage folder but i want to be d...

0 Likes
0 Replies

Class 'Html' not found

Hello! I am starting a new project in Laravel via Laragon I create in views' folder layouts for my p...

0 Likes
5 Replies

Populating a dropdown menu from MySQL database

I'm trying to populate a drop down menu with database results in Laravel 4. I'm extremely new to Lar...

0 Likes
29 Replies
Solved

Is there a way to pass every variable in a controller action, to the view automatically?

Is there a way to pass every variable in a controller action, to the view automatically? So if I hav...

0 Likes
11 Replies

Laravel Template creator

I want to create template for my company's website .Which are the best template creator for Laravel...

0 Likes
2 Replies

How to set up and sync the CSRF token with a Vue.js SPA?

I'd like to use Laravel CSRF tokens in my Vue.js SPA. I'm using plain HTML for views (i.e. no Blade...

0 Likes
2 Replies

How to make migration flexable in laravel ??

How do i do it ?? without loosing my earlier data and my earlier migration ??

0 Likes
1 Replies

How to provide old value of a form, if it is populated with snippets

Hi, I have a following pice of code in the snippets, that I am using jQuery Datepicker. But, if the...

0 Likes
0 Replies

Why Choose Laravel PHP Development For Your Business

With the ever rising technology and the increasing competition in the web world, it has become hard...

0 Likes
0 Replies

How do I go about refactoring this code?

Hi I am still learning and would just like to ask how I would refactor the following? $propertie...

0 Likes
1 Replies
posted 6 years ago

Hello everyone, I need to call an image from outside the framework

Hello everyone, I need to call an image from outside the framework and display in my view how do I d...

0 Likes
4 Replies

New Vue Component Not Working

I have tried creating new vue component with the same template with the Example.vue scaffolding. Inv...

0 Likes
1 Replies
posted 6 years ago

multiple compact error

my controller public function create() { //$cities = City::lists('name' , 'id'); $cities...

0 Likes
0 Replies

Laravel 5 Sort data in Alphabetical Order

What is the best approach to display data in Alphabetical order using Laravel. what is the best way...

0 Likes
1 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.