faisal50x/laravel-bundle

这是我创建的包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

这里应放置您的描述。请限制为一两段话。可以考虑添加一个小示例。

安装

您可以通过composer安装此包

composer require faisal50x/laravel-bundle

您可以使用以下命令发布配置文件

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

这是发布配置文件的内容

// 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',
        ],
    ],
];

测试

composer test

变更日志

请参阅CHANGELOG了解最近更改的详细信息。

贡献

请参阅CONTRIBUTING以获取详细信息。

安全漏洞

请查阅我们的安全策略了解如何报告安全漏洞。

鸣谢

许可协议

MIT许可(MIT)。请参阅许可文件以获取更多信息。