Giter Site home page Giter Site logo

nasirkhan / laravel-starter Goto Github PK

View Code? Open in Web Editor NEW
1.1K 45.0 394.0 50.37 MB

A CMS like modular starter application project built with Laravel 11.x.

Home Page: https://laravel.nasirkhn.com

License: GNU General Public License v3.0

PHP 52.73% Blade 46.04% JavaScript 1.17% CSS 0.03% SCSS 0.03%
laravel laravel-starter laravel-boilerplate laravel-application laravel-admin-panel dashboard starter-kit starter-template boilerplate-application coreui-laravel

laravel-starter's Introduction

Laravel Starter - A CMS like modular starter project built with the latest Laravel framework.

Laravel Starter (based on Laravel 11.x)

Laravel Starter is a Laravel 11.x based simple starter project. Most of the commonly needed features of an application like Authentication, Authorisation, Users and Role management, Application Backend, Backup, Log viewer are available here. It is modular, so you may use this project as a base and build your own modules. A module can be used in any Laravel Starter based project. Here Frontend and Backend are completely separated with separate routes, controllers, and themes as well.

Please let me know your feedback and comments.

Latest Stable Version StyleCI Build License PHP Version Require

Reporting a Vulnerability

If you discover any security-related issues, please send an e-mail to Nasir Khan Saikat via [email protected] instead of using the issue tracker.

Appplication Demo

Check the following demo project. It is just a straight installation of the project without any modification.

Demo URL: https://laravel.nasirkhn.com

You may use the following account credentials to access the application backend.

User: [email protected]
Pass: secret

User: [email protected]
Pass: secret

Demo Data

If you want to test the application on your local machine with additional demo data you may use the following command.

php artisan laravel-starter:insert-demo-data

There are options to truncate the posts, categories, tags, and comments tables and insert new demo data.

--fresh option will truncate the tables, without this command a new set of data will be inserted.

php artisan laravel-starter:insert-demo-data --fresh

Custom Commands

We have created a number of custom commands for the project. The commands are listed below with a brief about their use of it.

Create New module

To create a project use the following command, you have to replace the MODULE_NAME with the name of the module.

php artisan module:build MODULE_NAME

You may want to use --force option to overwrite the existing module. if you use this option, it will replace all the existing files with the default stub files.

php artisan module:build MODULE_NAME --force

Clear All Cache

composer clear-all

this is a shortcut command to clear all cache including config, route, and more

Code Style Fix

We are now using Laravel Pint to make the code style stay as clean and consistent as the Laravel Framework. Use the following command to apply CS-Fix.

composer pint

Role - Permissions

Several custom commands are available to add and update role-permissions. Please read the Role - Permission Wiki page, where you will find the list of commands with examples.

Features

The Laravel Starter comes with several features which are the most common in almost all applications. It is a template project which means it is intended to be built in a way that it can be used for other projects.

It is a modular application, and some modules are installed by default. It will be helpful to use it as a base for future applications.

  • Admin feature and public views are completely separated as Backend and Frontend namespace.
  • Major features are developed as Modules. A module like Posts, Comments, and Tags are separated from the core features like User, Role, Permission

Core Features

  • User Authentication
  • Social Login
    • Google
    • Facebook
    • Github
    • Build in a way adding more is much easier now
  • User Profile with Avatar
  • Role-Permissions for Users
  • Dynamic Menu System
  • Language Switcher
  • Localization enabled across the project
  • Backend Theme
    • Bootstrap 5, CoreUI
    • Fontawesome 6
    • Dark Mode
  • Frontend Theme
    • Tailwind
    • Fontawesome 6
    • Dark Mode
  • Article Module
    • Posts
    • Categories
    • Tags
    • Comments
    • wysiwyg editor
    • File browser
  • Application Settings
  • External Libraries
    • Bootstrap 5
    • Fontawesome 6
    • CoreUI
    • Tailwind
    • Datatables
    • Select2
    • Date Time Picker
  • Backup (Source, Files, Database as Zip)
  • Log Viewer
  • Notification
    • Dashboard and details view

User Guide

Installation

Follow the steps mentioned below to install and run the project. You may find more details about the installation in Installation Wiki.

  1. Open the terminal and run the following command, this will download and install the Laravel Starter and run the post-installation commands.
composer create-project nasirkhan/laravel-starter
  1. The default database is sqlite, if you want to change please update the database settings at .env file
  2. To create a link from the storage directory, run the following command from the project root:
php artisan storage:link
  1. If you run the create-project command from Laravel Hard then the site will be available at http://laravel-starter.test. You may create a virtualhost entry to access the application or run php artisan serve from the project root and visit http://127.0.0.1:8000

After creating the new permissions use the following commands to update cashed permissions.

php artisan cache:forget spatie.permission.cache

Docker and Laravel Sail

This project is configured with Laravel Sail (https://laravel.com/docs/sail). You can use all the docker functionalities here. To install using docker and sail:

  1. Clone or download the repository
  2. Go to the project directory and run composer install
  3. Create .env file by copying the .env-sail. You may use the command to do that cp .env-sail .env
  4. Update the database name and credentials in .env file
  5. Run the command sail up (consider adding this to your alias: alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail')
  6. Run the command sail artisan migrate --seed
  7. Link storage directory: sail artisan storage:link
  8. Since Sail is already up, you can just visit http://localhost:80

Screenshots

Home Page

Laravel Starter Homepage Dark Mode Laravel Starter Homepage

Login Page

Laravel Starter Login

Posts Page

Laravel Starter Posts Page

Backend Dashboard

Laravel Starter Admin Dashboard Dark Mode Laravel Starter Admin Dashboard


Laravel Starter Posts List


Edit-Posts-Laravel-Starter

laravel-starter's People

Contributors

0xant avatar danjosh0211 avatar dependabot[bot] avatar dungpxhtp avatar hdvinnie avatar ingen2 avatar kleindberg avatar lobz avatar nasirkhan avatar shreshtadev avatar sneherador avatar stylecibot avatar wikiccu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-starter's Issues

Backend sidebar

I have looking to find the sidebar and add some menu to it but it has been super difficult.Can anyone help me out.

issue in login with facebook

Thanks for the great laravel starter kit

I have found one issue when implementing login with facebook. If user facebook account does not have email ID than the laravel shows error:

Argument 1 passed to Illuminate\Auth\SessionGuard::login() must implement interface Illuminate\Contracts\Auth\Authenticatable, instance of Illuminate\Http\RedirectResponse given, called in /home3/papluwoq/digicard.paplu.tech/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php on line 307

logs problem

dear nashir
php version
PHP 7.4.3 (cli) (built: Feb 23 2020 07:24:28) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

comments area create not working on administrator

post_name != '')? $$module_name_singular->post_name : ''; $user_id_value = ($$module_name_singular->user_name != '')? $$module_name_singular->user_name : ''; $published_at_value = ($$module_name_singular->moderated_at != '')? $$module_name_singular->moderated_at->toDayDateTimeString() : ''; $moderated_at_value = ($$module_name_singular->moderated_at != '')? $$module_name_singular->moderated_at->toDayDateTimeString() : ''; } ?>

system is giving error $$module_name_singular) because tehre is no data on create. comments form.blade... do you think why?

Migrate problem

Migratings not working
code: php artisan migrate
When I write the above code, it does not migrate all the tables.
image

Create module make problem

Dear Nasir,

Cannot create some files.
Files that do not occur: Console, Database (Migrations and Factories), Entities, Http(Backend and Frontend need to build into), Middleware, Requests, Views

I wonder why there's no scaffold in the Asgard?

image

image

image not displaying

I tried uploading the image and displaying the same in the example of cool-cms with Sample Category 7. I was able to upload the image without any problem but I was unable to display the same in the front end .. need help and guidance.

I also like to know if i can integrate this in my application.

Regards,
Vijey

composer install giving me error and there is no vendor directory

PS C:\xampp\htdocs\laravel-starter-master> composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for spatie/pdf-to-image 2.0.1 -> satisfiable by spatie/pdf-to-image[2.0.1].
- spatie/pdf-to-image 2.0.1 requires ext-imagick * -> the requested PHP extension imagick is missing from your system.
Problem 2
- spatie/pdf-to-image 2.0.1 requires ext-imagick * -> the requested PHP extension imagick is missing from your system.
- spatie/laravel-medialibrary 7.19.3 requires spatie/pdf-to-image ^2.0 -> satisfiable by spatie/pdf-to-image[2.0.1].
- Installation request for spatie/laravel-medialibrary 7.19.3 -> satisfiable by spatie/laravel-medialibrary[7.19.3].

To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

"article" namespace and no assets are loading

command php artisan article:create-permissions is giving me the following error
There are no commands defined in the "article" namespace.

<html lang="en">
--
Β  | Β 
Β  | <head>
Β  | <meta charset="utf-8" />
Β  | <link rel="apple-touch-icon" sizes="76x76" href="http://localhost/laravel-starter/public/img/favicon.png">
Β  | <link rel="icon" type="image/png" href="http://localhost/laravel-starter/public/img/favicon.png">
Β  | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
Β  | <title>Awesome Laravel
Β  | \| Awesome Laravel</title>
Β  | <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
Β  | <meta name="description" content="Laravel Starter Application. A boilarplate to all type of application.">
Β  | <meta name="keyword" content="Web Application, Laravel,Laravel starter,Bootstrap,Admin,Template,Open,Source, nasir khan, nasirkhan">
Β  | Β 
Β  | <meta property="og:type" content="website" />
Β  | Β 
Β  | <!-- Facebook Meta -->
Β  | <meta property="og:url" content="http://localhost/laravel-starter/public" />
Β  | <meta property="og:title" content="Awesome Laravel
Β  | \| Awesome Laravel" />
Β  | <meta property="og:site_name" content="Awesome Laravel \| A Laravel Starter Project" />
Β  | <meta property="og:description" content="Laravel Starter Application. A boilarplate to all type of application." />
Β  | <meta property="og:image" content="http://localhost/laravel-starter/public/img/default_banner.jpg" />
Β  | <meta property="og:image:width" content="1200" />
Β  | <meta property="og:image:height" content="630" />
Β  | Β 
Β  | <!-- Twitter Meta -->
Β  | <meta name="twitter:card" content="summary_large_image">
Β  | <meta name="twitter:site" content="@nasir8891">
Β  | <meta name="twitter:url" content="http://localhost/laravel-starter/public" />
Β  | <meta name="twitter:creator" content="@nasir8891">
Β  | <meta name="twitter:title" content="Awesome Laravel
Β  | \| Awesome Laravel">
Β  | <meta name="twitter:description" content="Laravel Starter Application. A boilarplate to all type of application.">
Β  | <meta name="twitter:image" content="http://localhost/laravel-starter/public/img/default_banner.jpg">
Β  | Β 
Β  | <!--canonical link-->
Β  | <link type="text/plain" rel="author" href="http://localhost/laravel-starter/public/humans.txt" />
Β  | <link rel="canonical" href="http://localhost/laravel-starter/public">
Β  | Β 
Β  | <!-- Shortcut Icon -->
Β  | <link rel="shortcut icon" href="http://localhost/laravel-starter/public/img/favicon.png">
Β  | <link rel="icon" type="image/ico" href="http://localhost/laravel-starter/public/img/favicon.png" />
Β  | Β 
Β  | <!-- CSRF Token -->
Β  | <meta name="csrf-token" content="tGdew8EXrdYsJmf89tO4R9p1iTwocfHyOiSUTqy3">
Β  | Β 
Β  | Β 
Β  | <link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet" />
Β  | <link href="https://fonts.googleapis.com/css?family=Noto+Sans+Bengali+UI&display=swap" rel="stylesheet" />
Β  | Β 
Β  | <link rel="stylesheet" href="/css/frontend.css?id=2c2a07309430a74c7533">
Β  | Β 
Β  | Β 
Β  | </head>

Homepage is not loading any assets and showing blank markups only without any styling (image attached)
Annotation 2020-06-03 051945

feature image issue

9ac7b8c6-a08b-481e-b059-1bc62e291074
ffbc9ef6-f518-4a1a-aaba-11758e1c01d5
whenever i upload feature image in backend but in frontend feature image is not came there is an issue in storage links in this project . if anybody haave any idea about this issur please reply

File manager allows arbitrary file upload.

File manager is not configured by default.
It allows uploading .php file extensions.
Also it allows .zip files upload and extraction.

I've managed upload a web shell via direct shell.php upload and also shell.zip -> unzip method.

Consider strict rules against file extensions.

RTL

Hello
Excuse me , how to apply RTL template , when I added 'ar' locale , time and date turns to arabic , but template still LTR
Thank you :)

Upgrade Plans

There are a number of places where improvements are needed and more features can be added too. I a listing a few here and there are more. We may discuss those here plan and prepare a work plan as well.

  • Image Gallery Feature for Articles Module. (Create a new Image Gallery and add those in any part of the Posts)
  • Improve Documentation (Create docs for all the features)
  • Page Builder (Find or build a visual page builder, to make the pages easily)
  • Improved Module Manager (I started to create a new package and will publish it soon.)
  • Theme Manager (Find an easier way to use new themes)
  • Add More SEO features across the project, especially for the Articles Module
  • Remove the Profile view and update feature from User Module
  • Update datetime picker // https://getdatepicker.com
  • Improve frontend theme
  • Multisite: https://github.com/gecche/laravel-multidomain could be an option (Ref. #380 (comment))
  • Visual Menu Manager.

Everyone is welcome to contribute to this project. You can Work on the current project, and new features listed here and propose something new as well. Let's discuss here and improve this Laravel Starter.

managing users problems and errors

  • when show,editing,changing password etc from a user from admin panel

ErrorException thrown with message "compact(): Undefined variable: users"

Stacktrace:
#66 ErrorException in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/app/Http/Controllers/Backend/UserController.php:528
#65 compact in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/app/Http/Controllers/Backend/UserController.php:528
#64 App\Http\Controllers\Backend\UserController:edit in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
#63 call_user_func_array in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
#62 Illuminate\Routing\Controller:callAction in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/app/Authorizable.php:33
#61 App\Http\Controllers\Backend\UserController:callAction in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45
#60 Illuminate\Routing\ControllerDispatcher:dispatch in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219
#59 Illuminate\Routing\Route:runController in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176
#58 Illuminate\Routing\Route:run in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682
#57 Illuminate\Routing\Router:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
#56 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authorize.php:45
#55 Illuminate\Auth\Middleware\Authorize:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#54 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#53 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/app/Http/Middleware/GenerateMenus.php:201
#52 App\Http\Middleware\GenerateMenus:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#51 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#50 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41
#49 Illuminate\Routing\Middleware\SubstituteBindings:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#48 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#47 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php:43
#46 Illuminate\Auth\Middleware\Authenticate:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#45 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#44 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:75
#43 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#42 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#41 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49
#40 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#39 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#38 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63
#37 Illuminate\Session\Middleware\StartSession:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#36 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#35 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37
#34 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#32 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66
#31 Illuminate\Cookie\Middleware\EncryptCookies:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#29 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104
#28 Illuminate\Pipeline\Pipeline:then in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Router.php:684
#27 Illuminate\Routing\Router:runRouteWithinStack in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Router.php:659
#26 Illuminate\Routing\Router:runRoute in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625
#25 Illuminate\Routing\Router:dispatchToRoute in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Router.php:614
#24 Illuminate\Routing\Router:dispatch in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176
#23 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
#22 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:65
#21 Barryvdh\Debugbar\Middleware\InjectDebugbar:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#20 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#19 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/fideloper/proxy/src/TrustProxies.php:57
#18 Fideloper\Proxy\TrustProxies:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#16 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31
#15 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#13 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31
#12 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#10 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27
#9 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#8 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#7 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62
#6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
#5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#4 Illuminate\Routing\Pipeline:Illuminate\Routing{closure} in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104
#3 Illuminate\Pipeline\Pipeline:then in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151
#2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116
#1 Illuminate\Foundation\Http\Kernel:handle in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/public/index.php:53
#0 require_once in /Applications/MAMP/htdocs/LARAVEL/laravel-starter/server.php:19

  • accessing a profile of a registered user from the admin panel:

ErrorException (E_ERROR)
Trying to get property 'name' of non-object (View: /Applications/MAMP/htdocs/LARAVEL/laravel-starter/resources/views/backend/users/profile.blade.php)

For languages

dear Nasir please add config/App under 'Locale'
'locales' => [
'en' => 'English',
'tr' => 'Turkish',
//'fr' => 'French',
//'de' => 'Germany',
],

and the in Language controller add this
image

    $list_lang = config('app.locales');
    //dd($list_lang);

    if(!isset($list_lang[$language]))
    {
        abort('403', 'Language is not in Your Selection Please Check APP');
    }

it will check the language for support other wise if y ou add forexample zz, zzz , zzzz etc.. it will return always

New Module Manager/ Generator

Create a new package to manage the modules. This package will be used to create new modules and add new components into the module.

Error with composer install command

PS C:\Users\Admin\Downloads\laravel-starter> composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- Root composer.json requires php ^7.3.0 but your php version (8.0.3) does not satisfy that requirement.
Problem 2
- intervention/image is locked to version 2.5.1 and an update of this package was not requested.
- intervention/image 2.5.1 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 3
- league/flysystem is locked to version 1.1.4 and an update of this package was not
requested.
- league/flysystem 1.1.4 requires ext-fileinfo * -> it is missing from your system.
Install or enable PHP's fileinfo extension.
Problem 4
- league/mime-type-detection is locked to version 1.7.0 and an update of this package was not requested.
- league/mime-type-detection 1.7.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 5
- phpoffice/phpspreadsheet is locked to version 1.18.0 and an update of this package was not requested.
- phpoffice/phpspreadsheet 1.18.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 6
- spatie/image is locked to version 1.10.5 and an update of this package was not requested.
- spatie/image 1.10.5 requires ext-exif * -> it is missing from your system. Install or enable PHP's exif extension.
Problem 7
- spatie/image-optimizer is locked to version 1.4.0 and an update of this package was not requested.
- spatie/image-optimizer 1.4.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 8
- spatie/laravel-feed is locked to version 2.7.1 and an update of this package was not requested.
- spatie/laravel-feed 2.7.1 requires php ^7.3 -> your php version (8.0.3) does not satisfy that requirement.
Problem 9
- spatie/laravel-medialibrary is locked to version 8.10.2 and an update of this package was not requested.
- spatie/laravel-medialibrary 8.10.2 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 10
- intervention/image 2.5.1 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- league/glide 1.7.0 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.5.1].
- league/glide is locked to version 1.7.0 and an update of this package was not requested.

To enable extensions, verify that they are enabled in your .ini files:
- C:\Program Files\PHP 8.0.3\php.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

How do I create crud operation from my existing table

Hello, I need to create another modules by keep using (laravel-starter), so when I see code for user model, I am shocked, because too much files there for just one User Model (backend, frontend also), so please tell me the command for another models.

Limits of license

Thank you for your contribution. Can I use this project to make my system and sell it

hi setting-fields

we used a below section to make checkbox but its not working can you check it. is there any problem

<input name="{{ $field['name'] }}" value="1" type="checkbox" @if(old($field['name'], setting($field['name']))) checked="checked" @endif >

        'elements' => [
            [
                'type'  => 'checkbox',
                'data'  => 'int',
                'name'  => 'mac',
                'label' => 'Mac Control',
                'rules' => '',
                'class' => 'switch-input',
                'value' => '1',
            ],

Problem with 'npm run dev '

Hi and thanks for your great job.
I have a problem: if i run the command
** npm run dev **
It's break the website, we loose the CSS and the JS files.
Only fews script are generated ...
We may not do this, but I wanted to change the colors ...

The use statement with non-compound name 'Auth' has no effect

`root@550dfcc993b8:/var/www/html# composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package jeremeamia/superclosure is abandoned, you should avoid using it. Use opis/closure instead.
Generating optimized autoload files

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
Script Illuminate\Foundation\ComposerScripts::postAutoloadDump handling the post-autoload-dump event terminated with an exception

                                                                 
  [ErrorException]                                               
  The use statement with non-compound name 'Auth' has no effect 

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...

root@550dfcc993b8:/var/www/html#
`

Verify email route

Hi, after registration, we click on the Verify email address button but instead of go to route verify-email it went straight to login. Also the column email_verified_at is not updated. Is there missing something?

app name

Hi
when i change app name in settings it doesnt change but other fields change.
also when i press save button in settings the successfully message doesnt show

Trying to get property 'bio' of non-object

When a user create an account that email is not verified and try to visit the profile page at the frontend, you get this error.
Also i have realize that, you are using the ids of the users in the profile page to get their information on the page. So i tried changing the values of the ids in the url and i was actually able to get the information of those users that existed in the database. This could be a security issue.

Creating default object from empty value

I also the above error when updating user info or when deleting to trash in the backend section.

How put translate files in the project

Hi, I recently started using the project for another in the place that I work.
I want to know how can add the files of the translation to Brazilian Portuguese in the project to future send a PR.

session problem with new project

hi Nasir there is a problem on Session with this project with new Laravel i download and made test with your project and for example on main page if you make refresh sometimes system is reading REGISTER are sometimes not.

multi language

dear Nashir do you think to integrate multilanguage package to the system?

module:make

php artisan module:make not working.. also stubs not true

laravel file manager use for image gallery by id and module

Dear Nasir,

i need to integrate this LFM to your Article section there is only one image i need to make gallery on this area can you check image for this. How can i integrate it or will i use other codes.. I can make with manually but i wat to use this script if possible . what you think?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.