Admin CRUD generator package for Laravel 5.5 (LTS) and Laravel 5.6
Hey guys,
we have just released a new Admin template with CRUD generator for Laravel 5.5. We call it Craftable. It's a starter kit for building administration interfaces and it's completely free. With provided generator you can scaffold an CRUD administration for your existing eloquent models very quickly.
This is our first step into the world of open-source, so we are really looking for you feedback :) And if you really like it, we would be very happy to every star on https://github.com/BRACKETS-by-TRIAD/craftable :)
I just installed everything and followed the guide, I created a posts crud (the same one like in te examples) but when I navigate to it I get a "This action is unauthorized." error, can you help me out, or update the documentation?
@andreasbakir Thx for the feedback. artisan admin:generate command creates a new migration (that is attaching a permission to the default role), but it does not migrate it for you (in case you want to adjust it). So just try to run artisan migrate and that should help. We are considering an option the generate command is going to prompt you if it should automatically run the migration, because we understand that this may be confusing. Let me know if that helped :) Thanks
Okay i'll give it a try! So far it looks pretty nice, I actually started building my own crud-admin-panel but i never had the chance of finishing it, this package seems to have everything i wanted to build my self :) Good job guys!
Well i created a new project and followed all the steps once again, and I ran as you told me to php artisan migrate, but the terminal returns: "nothing to migrate" and i still have the same problem
@andreasbakir I can confirm this is a bug ( admin:generate command is not creating the permissions migration), fix will be released soon. As a work-around, you can create this migration manually with
@andreasbakir Did you get it working? We have just released the proper fix (for brackets/admin-generator). So if you - one more time :) - create a new project and follow the steps, generator should correctly ask you if you want to migrate the permissions - so just choose yes and you are all set. I hope you get it working :)
Is there any explanation on how to generate Relations?
A entry in the Schema like
$table->unsignedInteger('user_id');
$table->foreign('user_id')->references('id')->on('users');
leaves the Relations part in the model empty.
I found the Option --Belongs-to-many on admin:generate:model but how can i define the colum there?
Sorry @boehmli, this functionality is not yet finished and released. You're right there is already this option but currently it's only for one specific use case and it's not generic.
I just wanted to let you know that we are constantly improving Craftable. The biggest news is that it now supports two versions of Laravel - current LTS version (Laravel 5.5) and latest version (Laravel 5.6). No special upgrade is required, check it out:
https://docs.getcraftable.com/v2/#/upgrade-guide
We would be happy for your feedback. Pull Requests are welcome :)
Hey guys, we've got big update, we have released next-gen premium version of our package called Craftable PRO (https://craftable.pro/). It was rebuilt from scratch, using Tailwind, InertiaJS and VueJS and ships with much more powerful generator and more predefined modules like Media Library Manager and Roles & Permissions management. We'll be very glad if you tell us what you think.