Package Data | |
---|---|
Maintainer Username: | brackets |
Maintainer Contact: | pavol.perdik@brackets.sk (Pavol Perdík) |
Package Create Date: | 2017-09-06 |
Package Last Update: | 2023-10-30 |
Home Page: | https://getcraftable.com |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-08 03:01:23 |
Package Statistics | |
---|---|
Total Downloads: | 200,130 |
Monthly Downloads: | 2,758 |
Daily Downloads: | 130 |
Total Stars: | 984 |
Total Watchers: | 28 |
Total Forks: | 191 |
Total Open Issues: | 20 |
Hi Crafter, welcome to the official documentation for Craftable v3 - a Laravel-based open-source toolkit for building administration interfaces. It's an administration area minimalistic template. A starting point for developing back-office systems, intranets or a CMS systems.
You could call it CMS, but it's a very slim one, with as little content to manage as possible. It has:
We have created a demo for you to play around at https://demo.getcraftable.com.
Use these credentials to sign-in:
demo@getcraftable.com
demo123
You can see an administration of:
admin-generator
packagetranslatable
eloquent modelsOur intent was to split all the stuff into several packages with as least dependencies as possible. This is what we're coming with at the moment:
Craftable uses all the packages above. It also uses some other 3rd party packages (like Spatie's spatie/laravel-permission
) and provides some basic default configuration to speed up a development of a typical administration interface.
Craftable requires:
Craftable uses Laravel so you should check out its requirements too. It is compatible with Laravel 5.5, 5.6 and 5.7:
If you want to start on fresh Laravel, you can use our brackets/craftable-installer
that do all the tricks for you. Let's install it globally:
composer global require "brackets/craftable-installer"
Create an empty database of your choice (PostgreSQL or MySQL).
Now you can create a new Craftable project:
craftable new my_project
This will install Craftable using latest Laravel version (currently 5.7). If you prefer tu use latest LTS Laravel version (currently 5.5), use --lts
flag:
craftable new --lts my_project
The commands is going to ask for a database settings and then it will setup everything (install all dependencies, publish all important vendor configs, migrate, setup some configs, webpack config and run migrations).
Command is going to generate and print the password for the default administrator account. Save this password to your clipboard, we are going to need it soon.
Or alternatively, you can use your existing Laravel 5.5 application. Start with requiring these two main packages:
composer require brackets/craftable
composer require --dev brackets/admin-generator
To install this package use:
php artisan craftable:install
This is going to install all dependencies, publish all important vendor configs, migrate, setup some configs, webpack config and run migrations.
Command is going to generate and print the password for the default administrator account. Save this password to your clipboard, we are going to need it soon.
Once installed, navigate your browser to /admin/login
. You should be able to see a login screen.
Use these credentials to log in:
administrator@brackets.sk
craftable:install
command)After authorization you should be able to see a default homepage and two menu items:
You can find full documentation of this package and other our packages Craftable uses at https://docs.getcraftable.com/#/craftable.
At this point you are ready to start building your administration area. You probably want to start building a typical CRUD interface for your eloquent models. You should definitely check our Admin Generator documentation.
In case you rather want to create some atypical custom made administration, then you probably want to head over to Admin UI package.
Have fun & craft something awesome!
MIT Licence. Refer to the LICENSE file to get more info.