faisal50x/laravel-bundle

This is my package laravel-bundle

v0.0.1-alpha 2024-02-02 10:55 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require faisal50x/laravel-bundle

You can publish the config file with:

php artisan vendor:publish --tag="bundle-config"

This is the contents of the published config file:

// config for Faisal50x/Laravel-bundle
return [
    'model_dir' => 'Models',
    'repository' => [
        /**
         * Define your repository directory here
         * Default path is app/Repositories
         */
        'dir' => 'Repositories',
        /**
         * Define your repository contract path here
         * Default path is app/Repositories/Contracts
         */
        'contract' => [
            'dir' => 'Contracts',
        ],
        'modules' => [
            /**
             * module base direct
             * default path is modules inside your project root directory
             */
            'base_dir' => 'modules',
            /**
             * Module source directory
             * default module/app/Repositories
             */
            'src_dir' => 'app',
        ],
    ],
];

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.