laracasts / Laravel-5-Generators-Extended

This package extends the core file generators that are included with Laravel 5
https://laracasts.com/lessons/faster-workflow-with-generators
MIT License
2.45k stars 347 forks source link

add Laravel 10 support #200

Closed pxpm closed 1 year ago

GergoKormoczy commented 1 year ago

could you merge this one pls?

pxpm commented 1 year ago

This is raw dependency support.

Please remember that generators are used to generate files using Laravel conventions.

In Laravel 10 some stuff changed, and packages that generate files for Laravel need to adapt.

Take for example the $dates property on model, that should now generate an entry inside the $casts array. Probably some return types need to be added etc.

I just open the PR as a start of something, I don't expect that this would be final in this kind of package.

Cheers

Jaspur commented 1 year ago

@JeffreyWay Merge? :)

JeffreyWay commented 1 year ago

I don't understand why anyone is still using this package, but okay. :)

Jaspur commented 1 year ago

Thanks! Why? For easily making migrations via the command line with --schema :P @JeffreyWay