Giter Site home page Giter Site logo

darryldecode / laravel-starter-kit Goto Github PK

View Code? Open in Web Editor NEW
302.0 27.0 132.0 6.9 MB

Laravel 7.0~ Starter Kit Powered by VueJS + Material Design(Vuetify)

Home Page: https://laravel-starter-kit.darrylfernandez.com/

PHP 83.80% Vue 13.22% HTML 2.98%
laravel laravel-admin laravel-backpack laravel-users starterkit material vuetify vuejs dashboard-menu

laravel-starter-kit's People

Contributors

darryldecode avatar dependabot[bot] avatar dtolstyi avatar esquinas avatar xewl avatar zvermafia 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

laravel-starter-kit's Issues

Suggetions: Using spatie laravel-permission instead of a custom build

Firstly, thanks for this awesome starter kit.

I think it will be really nice if instead of having a custom developed permission/group management spatie:laravel-permission package is used. https://github.com/spatie/laravel-permission

Advantages

  • Better support for permission management
  • Easy to use as compared to the one used here.
  • Detailed documentation
  • Flexibility (like configurable table names for permission, roles etc)
  • Support for the cache which makes permission validation faster instead of querying for each permission.

Many developers are already familiar with this package, so adding I think adding it will certainly make this better.

Looking forward to hearing all of your opinions.

Retrieving data with a condition

I am liking this kit and everything works well but have hit a snag.
I have managed to add a Post model then Users will have many Posts.
I can retrieve the Posts but I want to click on a User and get a page with all the related users's Posts.

Using axios to get related User Posts lists with the following in Users.list vue

This is the link I use to open the Posts page.

<v-btn @click="$router.push({name:'posts.list',params:{id:item.id}})" class="ma-0" outlined fab small color="success" title="View Posts"> <v-icon>mdi-tray-full</v-icon>

axios.get('/admin/posts/' + self.propUserId,{params: params}).then(function(response) { self.items = response.data.data.data; self.totalItems = response.data.total; self.pagination.totalItems = response.data.total; (cb || Function)(); });

I am trying to pass the User Id to the router js through self.propUserId

                `path: '/:id',
                name: 'posts.list',
                component: require('./posts/components/PostLists'),
                props: (route) => ({propUserId: route.params.id}),`

I have the following router in the web router within the
Route::prefix('admin')->namespace('Admin')->middleware(['auth'])->group(function() { Route::resource('posts/{id}','PostController'); .....

I am not getting any Posts

Access to undeclared static property: App\Components\User\Models\UserMeta::$META_DATA

Hi!

Looks like an error is being thrown using with('getParseMeta') and User::find(1)->getParseMeta().
Access to undeclared static property: App\Components\User\Models\UserMeta::$META_DATA

If I remove the foreach loop, I get another error:
Call to undefined method stdClass::addEagerConstraints()

with('meta') works as expected.

If I do get()->getParseMeta() I get Method getParseMeta does not exist.

Am I doing something wrong here?

File Upload is not correct

Hi, this is my first time using GitHub in this way, im not sure if i do this correct but i think someone will correct me if needed.

The File-Upload is not working, i think you are using the wrong function in your BaseRepository.

It only works if you change the "delete" to destroy on your delete function.

At the SPAController you need some redirect if the session expires. If the User wont refresh there would be no problem, but if he does he would get a error message because the "setUser" function has no User instance anymore. Ugly workaround would be "if $user == null { redirect to login}".

Suggestion on where to check for permissions

Hi!

Thank you so much for this repository, it is a great starter kit for Vuetify + Laravel projects and I enjoy using it.

I was wondering what are your recommendations on where to check for user permissions and access levels. For example, if I wanted to limit file uploading to some users and not the others, how should I restrict access?

Thanks!

How to display created_by on the user listing view

Great starter template!

I have 1 issue:

I would like the user listing to show the name of the user who created that user record under the column name "Created By". It is not obvious to me how to update the listUsers function in UserRepository class to include addition columns or custom queries.

Thanks for suggestion.

can not use storage link

hi
Thank you for your excellent package
in file uploading I have got a trouble
I uploaded image to storage and tried to use it via storage link
other files in /public works well as assets but images in storage link doesnt work correctly
storage link has parsed as a route and laravel returns empty text/html contents
What can I do?

Front pages as SPA

What changes would you recommend for us if we also want the SPA on the front pages?
The procedure appears to be to duplicate the SinglePageController to have one for the front pages. Also adapt front.blade.php to be more like admin.blade.php. Write the routes on the web.php as are the routes of admin. What would really be a good practice? Could you please provide us with a little guide?

Page builder

Could we integrate a drag and drop page creation system?
Like a page builder

Filemanager error

The filemanager has an error.
You should add at the top of the file: App\Components\File\Models\File.php the line:
use App\Components\User\Models\User;

After that, the filemanager works OK.

Forgot Password Procedure

The forgot password procedure, sends the email, resets the password, BUT when logged out, you can't login again! It says wrong credentials.

Components not loading

I followed twice instruction on installing your laravel-starter-kit but unable to load any of the components.
I am using Laravel 6. Everything looks ok but cannot load and getting the following Vue errors ..

vendor.js:43683 [Vue warn]: Failed to mount component: template or render function not defined.
found in
---> <Anonymous>
<VContent>
<VApp>
<Root>

Change THEME_DEFAULTS

Hey I'd like to change the primary color in the public/js/admin.js file, but every time I change the color to a different value my PHPStorm says its been changed and then within moments it goes back to saying nothing has changed and I cannot commit the changes.

I am not familiar with webpack or any of the preprocessor tools that this project incorporates. Is this webpack's doing? Is there any way I can change this value and keep it persistent to commit to version control?

Thanks.

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.