pkg-support | Support classes for creating laravel packages

 by   spescina PHP Version: Current License: No License

kandi X-RAY | pkg-support Summary

kandi X-RAY | pkg-support Summary

pkg-support is a PHP library. pkg-support has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Support classes for creating laravel packages
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pkg-support has a low active ecosystem.
              It has 1 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              pkg-support has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pkg-support is current.

            kandi-Quality Quality

              pkg-support has no bugs reported.

            kandi-Security Security

              pkg-support has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pkg-support does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              pkg-support releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pkg-support
            Get all kandi verified functions for this library.

            pkg-support Key Features

            No Key Features are available at this moment for pkg-support.

            pkg-support Examples and Code Snippets

            No Code Snippets are available at this moment for pkg-support.

            Community Discussions

            No Community Discussions are available at this moment for pkg-support.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pkg-support

            Add in the target package composer.json. Let the main package class implements the Spescina\PkgSupport\PackageInterface. In the same class import the Spescina\PkgSupport\PkgTrait trait. Now the constructor has to respect the interface definition. Then you should take care of these dependencies when instantiating the object, usually in the package service provider. This constructor force the creation of a config and a lang object keeping the registration key for your package. With them, it will be possible to use Laravel Config and Lang facades from the package classes without having to specify the package prefix every time. Assuming your class has a facade, you can now make these calls.
            MyPackage::conf() equal to Config::get('mypackage::mypackage')
            MyPackage::conf('key') equal to Config::get('mypackage::mypackage.key')
            MyPackage::conf('key', 'section') equal to Config::get('mypackage::section.key')
            MyPackage::lang('key') equal to Lang::get('mypackage::mypackage.key')
            MyPackage::lang('key', 'section') equal to Lang::get('mypackage::section.key')

            Support

            Support config and language classes for creating laravel packages.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/spescina/pkg-support.git

          • CLI

            gh repo clone spescina/pkg-support

          • sshUrl

            git@github.com:spescina/pkg-support.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link