wislem / berrier
A fruitful crud generator
Installs: 90
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.5.9
- bkwld/croppa: ~4.0
- caffeinated/menus: ~2.0
- devfactory/minify: 1.0.*
- illuminate/console: ^5.2
- illuminate/pagination: ^5.2
- illuminate/support: ^5.2
- kalnoy/nestedset: ^4.0
- mcamara/laravel-localization: 1.1.*
- propaganistas/laravel-translatable-bootforms: ~1.1
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
- dev-master / 1.0.x-dev
- v1.0.8.8
- v1.0.8.7
- v1.0.8.6
- v1.0.8.5
- v1.0.8.4
- v1.0.8.3
- v1.0.8.2
- v1.0.8.1
- v1.0.8
- v1.0.7.8
- v1.0.7.7
- v1.0.7.6
- v1.0.7.5
- v1.0.7.4
- v1.0.7.3
- v1.0.7.2
- v1.0.7.1
- v1.0.7
- v1.0.6.9
- v1.0.6.8
- v1.0.6.7
- v1.0.6.6
- v1.0.6.5
- v1.0.6.4
- v1.0.6.3
- v1.0.6.2
- v1.0.6.1
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-spatie-translatable
This package is not auto-updated.
Last update: 2024-11-09 19:19:48 UTC
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Install
Via Composer
$ composer require wislem/berrier
Main Setup steps
Step 1
Add
Wislem\Berrier\BerrierServiceProvider::class
to your config/app.php
file
Step 2
Publish various files needed
php artisan vendor:publish
Step 4
Run composer dump-autoload
Step 5
Change your database/DatabaseSeeder.php to this:
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $this->call(UsersTableSeeder::class); $this->call(CategoriesTableSeeder::class); $this->call(PagesTableSeeder::class); $this->call(SettingsTableSeeder::class); } }
Delete default migrations of Laravel 5 inside database/migrations
Run php artisan migrate
Run php artisan db:seed
Step 6
In your User model, delete this line
use Illuminate\Foundation\Auth\User as Authenticatable;
and change
class User extends Authenticatable
to
class User extends \Wislem\Berrier\Models\User
Step 7
Edit the locales inside config/translatable.php
to look like this
'locales' => [ 'en', 'el', 'de', ],
since Berrier has these locales upon setup. Also change the config('app.url') to your proper url so that you can move to your website through Berrier's list pages.
Make sure to check the published config/berrier.php
file for more options.
Step 8
Create a folder in the storage/app/public
folder named uploads
Then run:
ln -s storage/app/public/uploads public/
Berrier uploads everything to the storage/app/public/uploads
folder.
Those uploads need to reside inside your /public folder so a link is necessary between the two.
Step 9
Log in http://your.path/admin
using
Email: admin@example.com
Password: admin
Enjoy!
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email peter.lazaridis@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.