So... with the imminent release of L5 I'd like to bring this issue up once more. It's a bit weird this discussion was paid little (official) attention to, and the previous suggestions such as php artisan fresh aren't working anymore.
I cloned a clean L5 instance earlier, so I'm referring to the latest build that (no surprise, it's been in all recent episodes) does include Twitter Bootstrap for all the AuthController boilerplating.
My original concern still exists: For some projects I will certainly not mind using Bootstrap (and I sincerely appreciate it, and the AuthController, being there), but for most projects I would like to use Foundation.
As of yet, there doesn't seem to be a "clean" way to remove Bootstrap from the Laravel instance ("clean" as in "doesn't take 10 minutes to remove everything manually" or "doesn't take days for a rather inexperienced developer to code his own command to do it automatically").
Removing Bootstrap requires the following steps:
- remove
resources/assets/less/bootstrap
- remove
@import command from resources/assets/less/app.less
- remove/recompile
public/css/app.css
- add bower to
package.json
- add normalize.css and my frontend framework of choice to
bower.json
- run
bower install/update
- do quite a lot of tinkering with the gulpfile to get everything to work
- run
gulp
- remove boilerplate views / replace current classes to make it look good again
That's too much for my liking.
Also, what's the deal with hard coding version numbers for html5shiv and respond.js within app.blade.php? Shouldn't people be including these via Bower (and mixing them via Elixir?) anyway, instead of retrieving them from an external CDN server?
I would kindly like to point out that I do not like where this is going, we're somewhat being "patronized" (for the lack of a better term) to abide by the best practices Jeffrey found useful in his daily business. Plus, why emphasize the use Composer so much and Bower (in combination with Elixir) so little?
I was really looking forward to learning how to manage all of my frontend dependencies like a professional, streamlining the process of updating jQuery and whatnot throughout all of my projects in a blink. But instead I'm facing a clear case of double standards, with Composer being praised and Bower being ignored... and on top of that, almost being forced to use Bootstrap and literally make every web application look like each other in the future.