Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gocanto's avatar

@Snapey you do not need this, you can pass data throughout the component

1 like
eldwansy's avatar

I wish when I create the model he get the fillable from database when I give him PHP artisan make:model post --table posts and get $table name

1 like
ehben's avatar

Model data localization out of the box

2 likes
mskenderian's avatar
  1. Create Model(s) folder in app and place User model there
  2. I method to update the modified time on the $scheduler mutexPath return storage_path('framework'.DIRECTORY_SEPARATOR.'schedule-'.sha1($this->expression.$this->command));

we run really long cron jobs, and sometimes it crashes. i can write another cronjob to delete the schedule files in /storage/framework/schedule* but we dont know if its still running. if we had a method to to be able to update the modify time from within my code this would be solved

3 likes
jlrdw's avatar

Make laravel 4.2 compatible with PHP 7 and name it Laravel 5.3.

foxted's avatar
  • Built-in Oauth
  • Built in transient tokens (like Spark)
5 likes
arekpietrzyk's avatar

@imJohnBon I'm using current DatabaseSeeder with condition:

if (!App::environment('production')) { } else { }

Nothing special, but works like a charm :)

arekpietrzyk's avatar

@wells and @foxted did you tried "lucadegasperi/oauth2-server-laravel" ? It is not something you always need in application, so it should not be a part of out of the box configuration.

2 likes
llhilton's avatar

Definitely would like to se some more localization support. When you just need to do localization for pages, it's fine, but for models, it gets to be messy. We've cobbled something together for our current project, but I would love to see the full might of Laravel turned to the problem.

Would love to see better handling of failed migrations. Having to go back into the db and manually delete gets old.

Wonder if it's possible to do some version of have-many-through for many-to-many relationships.

1 like
jgravois's avatar
  1. I second "Create Model(s) folder in app and place User model there"

  2. Spark needs to be able to implement trials where a credit card is required up front to be verified and stored by Stripe ... there are so many requests for that in the wild

1 like
aihowes's avatar

Easy way to modularise parts of an app including hooking in migrations and routes for each module. (I'm aware there's probably a few packages to do this and probably a way to do this using composer)

Some front end components such as List View/Grid View would be cool to spin up some quick systems.

(Note: these ideas have been taken from Yii, probably some of the only things prevent my work from switching)

5 likes
tijsvanerp's avatar

I'm from the Netherlands and we build quite some websites for clients that operate in multiple countries. Some countries (like Belgium) already have 2 official languages. Implementing this in laravel is a bit of a pain. So:

  • standard localisation of model fields
  • better localisation of the app with for example a gettext implementation
2 likes
johanobergman's avatar

Migrate the database by diffing model definitions with the actual database table, like Doctrine's Schema Tool. The current approach gets a bit unwieldy when there are lots of small changes, and I keep having to refer to the actual database to check my current schema structure.

3 likes
Kostik's avatar

Taylor, we dont see any diferrense between register() and boot() functions in ServiceProvider(s). So - in 5.3 we must get first -> load all register() method for existing ServiceProviders (besides deferred) and only then call boot() methods.

It's so strange to have two methods making the same things and calling the same time.

Please, look here: link to example

2 likes
iRazaSyed's avatar
  • CRUD Generator with support for customization of the stubs. There are third-party packages attempting to do this but they aren't well supported.
  • Add to the above: Tests, API, Validation -- All these generated when it's generating controllers, views, routes and other things for the CRUD. So if we have a Post model and we fire this command. It'll create tests, views to read, create, update & delete (With Validation), Controller, API (Optional Flag) and ofc the routes itself.
  • Migrations Generator from Database (Like someone already requested +1).
7 likes
dschniepp's avatar

Native Event Sourcing support (Event Store).

2 likes
beerbuddha's avatar

@foxted agree with @arekpietrzyk oauth is just one of many authentication method and having it baked within Laravel will make it limited. Yes its an important authentication used by many application but "used by many but not used by all" doesn't imply that it needs to be implemented within the framework. Hence why application packages exists.

jiros's avatar

More about Laravel 5 CRUD generation (scaffolding) would be very nice to have :)

2 likes
Juukie's avatar

@Mevrael, not to start a discussion but to use 'Mail::sendConfirmationToUser($user)', I would create a seperate mailer class. It's been covered on Laracasts for sure. The way Laravel's mailer works is fine. The callbacks are easy to use. And if you don't want to use a template, you can always use 'Mail::raw()'. Good luck!

rieves's avatar

How about the ability to use dot notation in the get method of the Collection class?

1 like
Juukie's avatar

@Kostik There is a difference between boot and register. See: https://laravel.com/docs/master/providers#the-register-method for more details.

When you're logic depends on a service bound to the ioc container, you should place it in the boot method. Placing it in the register method would add the risk of the service not yet being bound to the ioc because it's service provider is loaded after the one with your logic. That explains why the first foreach loop only calls 'register()' and the the second 'boot()' :).

donpuerto's avatar

-Scaffolding for Roles and Permission like make:auth -Built in packages for SMS like twilio

3 likes
AleaRx's avatar

I'd like a simplified files structure like the file structure of rails simple and effective.

michaeldyrynda's avatar

Y'all know you can just add an app/Models directory and put your models in there, right?

The app folder is PSR-4 namespaced, meaning that as long as you follow the naming structure (StudlyCaps folders and class names), Composer will automatically load those classes for you.

1 like
king724's avatar

-Ability to turn off blade caching completely for dev env's

-Show blade file names when an error is thrown instead of the hash

27 likes

Please or to participate in this conversation.