PackagePages/LaravelPackage.com
关于
LaravelPackage.com 文档:遵循这份开放文档,从零开始学习如何创建 Laravel 专用的 PHP 包。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Developing Laravel Packages
This is the repo for the Laravel Package project. A central place to learn how to create a package from scratch.
All provided examples are available as an accompanying example package named "BlogPackage", which you can find and clone here: https://github.com/Jhnbrn90/BlogPackage.
Contributing
Contributions are highly welcomed.
The documentation site is generated using MkDocs, so you’ll need either a local Python setup or Docker to get started.
Option 1 - Local Python setup
To start contributing with a local Python setup, follow these steps:
- Fork this repository and clone it locally
- Create a new virtual environment:
python3 -m venv venv - Activate the virtual environment:
source venv/bin/activate - Install the requirements:
pip install -r requirements.txt - Start the local development server:
mkdocs serve - Open http://localhost:8000 in your browser to view the documentation site.
Option 2 - Docker
If you prefer not to install Python and MkDocs locally, you can contribute using Docker:
- Fork this repository and clone it locally
- Ensure Docker is installed and running.
- From the project root, run:
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material - Open http://localhost:8000 in your browser to view the documentation site.
When satisfied, commit your changes and submit the PR to the master branch
Credits
探索相关项目
加载中…