Skip to content

By installing this package you don't need to make your custom site settings methods.

License

Notifications You must be signed in to change notification settings

kajal98/laravel-site-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just type your entity name and generate model, views, controller

create new directory in your root folder

$ composer create-project --prefer-dist laravel/laravel blog

go to your directory

$ cd blog

move .env.example file to .env

$ mv .env.example .env

generate your app key

$ php artisan key:generate

set your database configuration in .env file

run localhost:8000 in your browser

if all working good then put this line to your composer.json file

"kajalpandya/generate_laravel_crud": "dev-master",

update composer

$ composer update

Register provider and aliases

then put this line to your config/app.php file in providers array Youcandothis\Crud\CrudServiceProvider::class, Intervention\Image\ImageServiceProvider::class,

and this in aliases array 'Image' => Intervention\Image\Facades\Image::class,

Remove below files

database/migrations database/seeds

Clear the cache

$ php artisan config:cache

Auto load files

$ composer dump-autoload

Clear the cache again

$ php artisan config:cache

Finaly publish the provider

$ php artisan vendor:publish --provider="Youcandothis\Crud\CrudServiceProvider"

copy routes from below file

vendor/kajalpandya/youcandothis/crud/src/web.php

Register middleware in app\Http\Kernel.php in $routeMiddleware group

'admin' => \App\Http\Middleware\AdminOnly::class,

autoload helper file in your composer.json file under "autoload" array

"files": [ "app/helpers.php" ]

put this in DatabaseSeeder run function

$this->call(SiteSettingsTableSeeder::class); $this->call(UsersTableSeeder::class); $this->call(BlogCategoriesTableSeeder::class); $this->call(BlogsTableSeeder::class); $this->call(ExtrasTableSeeder::class); $this->call(TestimonialsTableSeeder::class);

then run

$ php artisan migrate && php artisan db:seed

make tmp folder in public

then run localhost:8000

Have fun..!!!!!

clone direct repository from below url

https://github.com/kajal98/laravel-ready-admin-panel

Screenshots

Register register
Login login
Dashboard 1
User Listing 2
Change Profile 3
Change Password 4
Site Settings 5
Blog Listing 6
Add new blog 7
Edit Blog 8
Show Blog 9
Inquiries Listing 10
Extra Pages 11
Edit Extra Pages 12
FAQs 13
Testimonials 14
Forgot Password 15
Reset Password 16

About

By installing this package you don't need to make your custom site settings methods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published