Download the PHP package tiderjian/lara-for-tp without Composer

On this page you can find all versions of the php package tiderjian/lara-for-tp. 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 lara-for-tp

Lara for Tp

Travis (.com) style ci download lincense LICENSE Pull request welcome

介绍

由于还有很多老旧但又重要的项目依然采用tp3.2来实现,Lara for Tp就是为了让过时的tp能使用laravel的migrate数据库版本管理及laravel dusk的功能,以实现更科学的开发部署方法。

安装

安装qs_cmf

composer安装

安装后执行vendor/bin/larafortp 脚本,完成自动安装。

使用

目前支持的laravel功能有 migrate、make:model、make:seeder、db:seed,具体用法请自行查阅laravel手册。

migrate文件必须存放在lara/database/migrations下,在lara目录下的.env文件中配置要访问的数据库,然后在项目根目录执行php artisan migrate即可完成数据库的迁移,相关的migrate命令可查看laravel文档

测试脚本必须存放到lara/tests路径下,继承该目录下的TestCase类。配置phpunit.xml文件,设置可用于测试使用的数据库及web服务地址端口。最后运行phpunit,执行测试脚本。关于laravel dusk的使用请查阅laravel文档

文档

MenuGenerate

用于生成后台的菜单选项

案例一

案例二

Faker

laravel默认得Faker工具不支持zh_CN简体文本的生成,修复了该问题

Faker的image生成使用的lorempixel,生成某些尺寸的图片时很容易出现烂图。因此使用了placeimg替换掉该功能。

lincense

MIT License AND 996ICU License


All versions of lara-for-tp with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
laravel/framework Version ~5.8.0
phpunit/phpunit Version ^8.0
laravel/dusk Version ^5.0
mockery/mockery Version ^1.2
fzaninotto/faker Version ^1.4
doctrine/dbal Version 2.*
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 tiderjian/lara-for-tp contains the following files

Loading the files please wait ....