deepak0023/todo
最新稳定版本:1.5
Composer 安装命令:
composer require deepak0023/todo
包简介
This package is created for testing purpose
README 文档
README
This package was mainly created for tesing how the larvel package scafolding and psr4 namespace works
Steps to be followed
Install package
composer require deepak0023/todo
Create dummy database
- Get into mysql terminal
- Login with credentials
create database <database-name>
Update composer.json
- Inside composer.json add the follwing entry inside autoload psr4 mapping
"Deepak0023\\Todo\\": "vendor/deepak0023/todo/src"
Add Service provider
- Inside config/app.php, add the follwing entries inside the provider array list
- Since the auto package discovery is added the below settings is not needed . but if it not working you can go for it
Deepak0023\Todo\TestServiceProvider::class
Publish package
- After hitting the command publish the pacakge for the above service provider
php artisan vendor:publish
Migrate tables
php artisan migrate
Please add the following values in the .env with your name
TODO_NAME=<your-name>
Features
- Adding todo text to a dummy todos table
Enjoy !!!
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-31