kajalpandya / generate_laravel_crud
Run command in terminal and make ready made crud for your entity
Installs: 1 473
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 2
Forks: 1
Open Issues: 0
Language:JavaScript
Type:crud
Requires
- php: ^8.1.0
- cviebrock/eloquent-sluggable: ^10.0.0
- illuminate/config: ^10.0.3
- illuminate/console: ^10.0.3
- illuminate/database: ^10.0.3
- illuminate/filesystem: ^10.0.3
- illuminate/http: ^10.0.3
- illuminate/pagination: ^10.0.3
- illuminate/support: ^10.0.3
- intervention/image: ^2.7.2
- laravelcollective/html: ^6.4.0
- spatie/laravel-newsletter: ^5.1.1
This package is not auto-updated.
Last update: 2025-03-03 22:58:59 UTC
README
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
Login
Dashboard
User Listing
Change Profile
Change Password
Site Settings
Blog Listing
Add new blog
Edit Blog
Show Blog
Inquiries Listing
Extra Pages
Edit Extra Pages
FAQs
Testimonials
Forgot Password
Reset Password