Git Product home page Git Product logo

laravelnotes's Introduction

Laravel Notes Packagist License For Laravel

Github Workflow Status Coverage Status Scrutinizer Code Quality SensioLabs Insight Github Issues

Packagist Packagist Release Packagist Downloads

By ARCANEDEV©

This Laravel Notes will allow you to add a notes system into your Laravel project.

Features

  • A very flexible notes system.
  • Easy setup & configuration.
  • Well documented & IDE Friendly.
  • Well tested with maximum code quality.
  • Laravel 5.1 to 9.x are supported.
  • Made with ❤️ & ☕.

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

Contribution

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the contribution guidelines.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

laravelnotes's People

Contributors

arcanedev-maroc avatar ebebbington avatar johannesschobel avatar kamaroly avatar underdpt avatar uovidiu 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

Watchers

 avatar  avatar  avatar  avatar

laravelnotes's Issues

Install failure

Its always failing to install. After a search I have deleted the Vendor folder, composer.lock but still no luck. I have logviewer and noCaptcha on my system:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Can only install one of: arcanedev/support[4.4.0, 4.3.0].
- Can only install one of: arcanedev/support[4.4.0, 4.3.0].
- Can only install one of: arcanedev/support[4.4.0, 4.3.0].
- arcanedev/laravel-notes 4.0.0 requires arcanedev/support ~4.4.0 -> satisfiable by arcanedev/support[4.4.0].
- Installation request for arcanedev/laravel-notes ^4.0 -> satisfiable by arcanedev/laravel-notes[4.0.0].
- Installation request for arcanedev/support (locked at 4.3.0) -> satisfiable by arcanedev/support[4.3.0].

Can the author_id column name be configurable?

Given the ability to publish migrations #16, it would be desirable to be able to incorporate outside libraries with this one, such as the Userstamps library found here.

This would mean making author_id configurable as a column name.

Publishable Migrations

Please, would be great to have:

php artisan vendor:publish --provider="Arcanedev\LaravelNotes\LaravelNotesServiceProvider" --tag=migrations

Thank you anyway!

Laravel 9

Upgrading to Laravel 9, the version 8.1 does not work anymore

Your requirements could not be resolved to an installable set of packages.

Problem 1
- arcanedev/support 8.0.0 requires laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.0).
- arcanedev/support 8.0.1 requires php ^7.3 -> your php version (8.1.1) does not satisfy that requirement.
- illuminate/contracts[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.1) does not satisfy that requirement.
- Only one of these can be installed: illuminate/contracts[dev-master, v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it.
- arcanedev/support 8.1.0 requires illuminate/contracts ^8.0 -> satisfiable by illuminate/contracts[v8.0.0, ..., 8.x-dev].
- arcanedev/laravel-notes 8.1.0 requires arcanedev/support ^8.0 -> satisfiable by arcanedev/support[8.0.0, 8.0.1, 8.1.0].
- Root composer.json requires arcanedev/laravel-notes ^8.1 -> satisfiable by arcanedev/laravel-notes[8.1.0].
- Root composer.json requires laravel/framework ^9.0 -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].

Package does not support Laravel < 5.4

The package claims to have support for lower versions of Laravel than 5.4, but depends on the arcanedev/support v4.0.0 package, which itself depends on illuminate/support v5.4.0.

Lint issues with docblocks

Running into lint issues that properties dont exist on the Note model because the @property declarations in src/Model/Note is missing the $ prefix for the proeprty names

Be great is this project fixed that so I (and possibly many others) don't have to manually add it - in my case, i'm using ecs to lint the project, that picks up class properties from migrations, but if there isn't a migration, it will use docblocks

Will open a pr soon and see if you want agree or not

Laravel 8 support

    - Conclusion: remove arcanedev/laravel-notes 7.0.0
    - Conclusion: don't install laravel/framework v8.11.2
    - Conclusion: don't install laravel/framework v8.11.1
    - Conclusion: don't install laravel/framework v8.11.0
    - Installation request for arcanedev/laravel-notes ^7.0 -> satisfiable by arcanedev/laravel-notes[7.0.0].
    - Conclusion: don't install laravel/framework v8.10.0
    - arcanedev/laravel-notes 7.0.0 requires arcanedev/support ^7.0 -> satisfiable by arcanedev/support[7.1.2, 7.0.0, 7.1.0, 7.1.1].

Publish Migrations

This package uses automatic migration discovery, but this has two drawbacks.

  1. It will only work if you run php artisan migrate without any parameters, if you run something like php artisan migrate --path="some/path" it will not run the package migration.
  2. It is not possible to modify the notes table.

Sometimes you need to specify the migration path, or make some modifications to the notes table so I think is better to publish the migration file the same way the config file is published.

Class 'App\User' not found

I have updated the notes.php to this:

'authors' => [
        'table' => 'users',
        'model' => App\Models\User::class,
    ],

But it's not working, I already tried doing php artisan config:clear and php artisan config:cache and composer dump-autoload

Can only install one of: arcanedev/support[4.3.0, 4.2.2]

Attempting to install LaravelNotes on a homestead installation. Already have arcanedev/laravel-settings installed.

Using version ^3.0 for arcanedev/laravel-notes
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: arcanedev/support[4.3.0, 4.2.2].
    - Can only install one of: arcanedev/support[4.3.0, 4.2.2].
    - Can only install one of: arcanedev/support[4.3.0, 4.2.2].
    - arcanedev/laravel-notes 3.0.0 requires arcanedev/support ~4.3.0 -> satisfiable by arcanedev/support[4.3.0].
    - Installation request for arcanedev/laravel-notes ^3.0 -> satisfiable by arcanedev/laravel-notes[3.0.0].
    - Installation request for arcanedev/support (locked at 4.2.2) -> satisfiable by arcanedev/support[4.2.2].


Installation failed, reverting ./composer.json to its original content.

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.