Support the ongoing development of Laravel.io →

896 Threads

detect if the uploaded file is an image

any idea on simple function to know if the file uploaded is an image? I know you can do geMimeType b...

0 Likes 4 Replies

Using Command options throwing error

Hi, I'm using Laravel commands, everything is well with the arguments, when I work with it all is go...

0 Likes 2 Replies

Fortrabbit issue with angular post

Hi, I have just uploaded my Laravel backend and Angularjs front to Fortrabbit and I am having issues...

0 Likes 4 Replies

Assigning Variable to URL

Route::get('/p/{id}/{name?}', array( 'as' => 'viewItem', 'uses' => '[email protected]

0 Likes 4 Replies

Jquery auto-complete - bridge table - best practice.

This is a noob question but I hope you can help. I have a table of reference data (places, events, p...

0 Likes 0 Replies

Getting 'undefined method error for orderBy()' on new repository

With the help of some nice folks over on Reddit I was able to get most of my controller functionalit...

0 Likes 1 Replies

Guardar Usuario

public function store() { $input = Input::all(); $validation = Validator::make($input, Usuario::$rul...

0 Likes 1 Replies

Laravel + Angular Js : File Data problem

Hello I develop a website with Laravel and AngularJs for my studies, But i've a problem with "f...

0 Likes 0 Replies

Advanced ajax pagination - what to do when there is option to show 5/10/25/50 itesm per page and there are delete operations as well

Hi all. Found this: https://gist.github.com/dariodiaz/7598665 Works great. Questions: How should I...

0 Likes 3 Replies

Ideas on how to handle form with files

Hi all. I am thinking on how to deal with form handling which contains files and which can be submit...

0 Likes 0 Replies

How to clean up this code? Dynamically setting property names, eager loading, handling arrays

WARNING: NASTY PROCEDURAL CODE AHEAD. Let's say I have an ajaxified to-do list app. I have this rout...

0 Likes 0 Replies

Laravel-Binput

What Is Laravel Binput? Laravel Binput is an input protector for Laravel 4.1. Laravel Binput was cr...

0 Likes 0 Replies

Laravel-Security

What Is Laravel Security? Laravel Security is a port of the security class from Codeigniter 2.1 for...

0 Likes 0 Replies

Question about Query Strings

Hello all, first off love the new forums. Looks absolutely awesome and love the Github idea. (Who do...

0 Likes 5 Replies

Resource-controller storing data in both the database and posting it to an external api

Hi Guys, so im very new to laravel (approx 2wks) and in all fairness i havent been programming for y...

0 Likes 2 Replies

Getting preg_replace() error when creating a new post using Stapler

I have built a simple application laravel 4. I have scaffolding setup for adding posts which seems t...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.