Download the PHP package nayem1108/document-management without Composer

On this page you can find all versions of the php package nayem1108/document-management. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package document-management

Very short description of the package

Latest Version on Packagist Total Downloads GitHub Actions

This package provides a comprehensive solution for managing documents within a Laravel application. It includes essential features such as CRUD operations, event handling, and user notifications. Built with modern standards, this package supports PSR-1, PSR-2, and PSR-4, ensuring compatibility and ease of integration with other PHP libraries and frameworks. It is designed to be user-friendly and efficient, making it an ideal choice for developers looking to streamline document management tasks in their applications.

Installation

You can install the package via composer:

Usage

To use the Document Management package, you will need to follow these steps:

  1. Import the Package: In your controller, import the Document model provided by the package:

  2. Creating a Document: You can create a new document using the following code:

  3. Retrieving Documents: To retrieve all documents, use:

  4. Updating a Document: Update an existing document by finding it first:

  5. Deleting a Document: To delete a document, you can use:

  6. Using Events: You can listen for document events (like creation or deletion) in your application:

  7. Blade View Integration: In your Blade view, display the documents using DataTables, as previously described.

This package simplifies the management of documents in Laravel, making it easy to perform common operations with just a few lines of code.

Testing

To ensure the functionality of the Document Management package, you can run the provided tests using PHPUnit. Follow these steps:

  1. Run Tests: Execute the following command to run all tests:

  2. Test Coverage: To generate a code coverage report, use the following command:

  3. Writing Tests: You can find the test files located in the tests directory of the package. To add your own tests, create a new test class extending Tests\TestCase and place it in the appropriate directory. Here's an example of a basic test:

This testing framework ensures that your package is working as expected and helps you catch any issues early in the development process. Feel free to explore the existing tests for examples and best practices.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

This package is licensed under the MIT License (MIT). You can view the full text of the license in the License File.

By using this package, you agree to comply with the terms outlined in the license.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate. The boilerplate provides a solid foundation for developing Laravel packages, ensuring best practices and a structured approach to package development.

Key features of the boilerplate include:

Feel free to explore the boilerplate for additional features and tools that can enhance your package development experience.


All versions of document-management with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0|^8.1|^8.2
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nayem1108/document-management contains the following files

Loading the files please wait ....