rappasoft / laravel-boilerplate

The Laravel Boilerplate Project - https://laravel-boilerplate.com
https://rappasoft.com
5.59k stars 1.58k forks source link

Laravel 5.8 #1204

Closed rappasoft closed 5 years ago

rappasoft commented 5 years ago

So far this is what's queued up for the Laravel 5.8 Boilerplate Release:

Let me know if there's anymore requests over the next couple days while I tidy things up.

netwrkx commented 5 years ago

Any luck with the history functionality, I think it would be a great addition

rappasoft commented 5 years ago

@netwrkx I was thinking of adding this: http://laravel-auditing.com

But only as a base install without any UI, and leaving the UI up to the person building the project.

Edit: Something like this: https://github.com/rappasoft/laravel-5-boilerplate/commit/41b2f01fe77a9071326980d0103f3fa5e4d51647

poseso commented 5 years ago

How about getting back DataTables? it's very useful for any kind of project

rappasoft commented 5 years ago

Datatables caused me nothing but headaches. Plus I didn't want to handcuff people to it. Though I haven't really made a decision.

Shuyinsama commented 5 years ago

I agree on the Datatables part. Normal tables are fine for this boilerplate. It's up to the user to implement their own Datatables or something else. I understand having it implemented is really handy but it bloats the boilerplate for something that might not be used for every project.

poseso commented 5 years ago

@Shuyinsama I agree with you, but it doesn't force the user to use it, it can be used in normal stuff the boilerplate has, and everything else is up to the user to implement their own stuff or using normal tables, it's like some people i know that uses the boilerplate that doesnt even work with repositories and just use the kickstart of the bp to start working since it has an admin template and user permissions/roles, anyways i always implement it in all my projects but it's ok if you guys think it would be a pain in the ass hehe

Shuyinsama commented 5 years ago

It’s not that it’s a pain in the ass perse (altough maintaining the updates and all takes time) But more of a “use case” thing.

The purpose of datatables is to provide a nice and fast way to browse large sets of data inside tables with the use of search/filtering and pagination.

Now while I think Datatables is awesome and I still use it in most of my projects when I need to, this boilerplate does not provide any large sets of data, so there is no incentive from the boilerplates viewpoint to keep using it.

We just can’t keep assuming that anyone who forks this and uses the boilerplate will start to work with big sets of data. With that in mind it makes more sense to not add it to the boilerplate but leave it up to the user to implement their own idea of displaying lrge datatsets. It’s also not a very difficult package to implement so that helps.

@rappasoft it might be a good idea to at least make a single doc page with a very basic implementation of datatables just to let the user know it is supported and how to go about it? Obviously it’s a very popular package and it is still wanted, but I do consider it a “nice to have”

poseso commented 5 years ago

Agree

rivajunior commented 5 years ago

@Shuyinsama I agree with you, but it doesn't force the user to use it, it can be used in normal stuff the boilerplate has, and everything else is up to the user to implement their own stuff or using normal tables, it's like some people i know that uses the boilerplate that doesnt even work with repositories and just use the kickstart of the bp to start working since it has an admin template and user permissions/roles, anyways i always implement it in all my projects but it's ok if you guys think it would be a pain in the ass hehe

Bootstrap is dropping their use of jQuery in the next major release. So, on this package we use CoreUI that uses Bootstrap. It means when Bootstrap gets upgraded on CoreUI template, we will not need to use jQuery anymore. But DataTables is heavily based on jQuery and I haven't seen they planning to drop jQuery too.

Which means that DataTables in addiction to the other negative points, of use it on this boilerplate, will bring one extra dependence (jQuery).

That is only my point of view.

rappasoft commented 5 years ago

Maybe unpopular opinion: am I the only one who doesn't like CoreUI?

Are there any other open source BS4 admin templates you guys know of?

I just found this one: https://github.com/tabler/tabler

poseso commented 5 years ago

I don't like it either, haven't tested tabler but what about https://adminlte.io/themes/dev/AdminLTE/index.html

AdminLTE3 ?

rappasoft commented 5 years ago

@poseso Is it BS4? It would also be nice if theres an NPM package for it. As well as it has to be sass not less.

bringrainfire commented 5 years ago

could ditch boostrap altogether and go with metro ui https://builder.metroui.org.ua/ nevermind on this, they only use less, no sass

poseso commented 5 years ago

@poseso Is it BS4? It would also be nice if theres an NPM package for it. As well as it has to be sass not less.

Tabler doesnt look good hehe

yes it's BS4 but i can check if there are any other good options since is not officially released yet

rivajunior commented 5 years ago

@rappasoft I found this one: stisla-theme that can be used by importing from node_modules.

And Material Dashboard who is the one most voted Bootstrap admin template on Product Hunt. But it is from Creative Tim and all of his templates aren't downloadable by npm.

rappasoft commented 5 years ago

@rivajunior They're both nice but i'll be honest they might be a little too material for me haha.

I wish I could think of a way to swap themes.

bringrainfire commented 5 years ago

@rappasoft There's a good article about multiple theming here -> https://z900collector.wordpress.com/2017/08/29/laravel-5-implementing-themes/

bringrainfire commented 5 years ago

I found this package https://github.com/igaster/laravel-theme It appears to have been updated to work with laravel 5.8 https://github.com/igaster/laravel-theme/wiki/1.-Installation

This is a Laravel package that adds basic support for managing themes. It allows you to build your views & your assets in seperate folders, and supports for theme extending! Awesome :)

Features:

Views & Asset separation in theme folders Theme inheritance: Extend any theme and create Theme hierarchies (WordPress style!) Integrates Orchestra/Asset to provide Asset dependencies managment Your App & Views remain theme-agnostic. Include new themes with (almost) no modifications Themes are distributable! Create a single-file theme Package and install it on any Laravel application. Ships with console commands to manage themes

rivajunior commented 5 years ago

@bringrainfire It seams to me very painful to do on first time, but it can worth it

cytech commented 5 years ago

@rappasoft I don't mind coreui (or others) if you could just set color themes. in the past i created a "skin" composer in laravel which set backgorund colors from the exposed bs4 colors and navbar class, set from a stored config item, and overwrote the navbar-light/navbar-dark and bg-{{$color}} when loading the blade template. its a hack but its fairly simple and at least gives an option other than dark grey...