Coder Social home page Coder Social logo

laravel-terms's People

Contributors

bmillertitul avatar bryanrscott avatar cyrillkalita avatar modernben avatar nowendwell avatar

Stargazers

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

Watchers

 avatar  avatar

laravel-terms's Issues

Does not install with laravel 9.40

Here is the composer error:

  Problem 1
    - nowendwell/laravel-terms v2.1.0 requires illuminate/support 6.*|7.*|8.* -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - nowendwell/laravel-terms v2.1.1 requires illuminate/support 7.*|8.* -> found illuminate/support[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires nowendwell/laravel-terms ^2.1 -> satisfiable by nowendwell/laravel-terms[v2.1.0, v2.1.1].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require nowendwell/laravel-terms:*" to figure out if any version is installable, or "composer require nowendwell/laravel-terms:^2.1" if you know which you need.

Could you bump the script ?
Thanks, denis

Add page/route to display current terms

Hi

The current page always displays an accept option. This is true even if the user has already accepted the current terms.
adding a route to display terms only. Useful to display to users before login, and if a user wants to review

Make name of route configurable

@cyrillkalita Do you mean the path?

Instead of /latest? Or do you mean the actual route name (terms.show)?

If it is the latter can you give me some background on why this would be needed?

Allow for configurable models

model needs to be configurable (i am like a super fan of how spatie does that). something along the lines of config\terms.php

/*
 * The classname of the model to be used. The class should equal or extend
 * Namespace\Contracts\Terms
 */
'model' => \Namespace\Models\Model::class,

Create terms agreed view

Speaking of routes, sometimes is is important to also show the past terms and conditions, when someone has agreed to multiple versions - so that one can record and display the wordings

@cyrillkalita Help me out on this one. Are you just looking for a blade view table that shows the date the model signed?

Publish migrations

I would prefer migrations to be publishable. not a problem when I can update the migration later, but since most of the time I know what changes i want to add, publishable migrations work better for me

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.