Download the PHP package free2one/laravel-php-accessor without Composer

On this page you can find all versions of the php package free2one/laravel-php-accessor. 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 laravel-php-accessor

快速入门

安装

发布配置

项目composer.json 文件中配置以下信息信息

通过#[Data]注解原始类

更多注解的使用说明,详见PHP Accessor.

配置项说明

is_dev_mode

设置为true时,将在每次请求时重新生成访问器代理类,否则将在第一次请求时生成访问器代理类,后续请求将直接使用代理类.

scan_directories

需要扫描的目录,默认为app目录.

proxy_root_directory

访问器代理类存放目录,默认为.php-accessor目录.

gen_meta

是否生成访问器元数据,生产环境可设置为no.

gen_proxy

是否生成访问器代理类

log_level

日志级别,默认为debug.

注意事项

跳转 or 查找不生效

需要确保APP_ENV在本地环境的设置为local,否则请自行修改配置文件php-accessor.php中的genMeta判断.

相关资源

PHP Accessor: 访问器生成器

PHP Accessor IDEA Plugin: Phpstorm插件,文件保存时自动生成访问器.支持访问器的跳转,代码提示,查找及类字段重构等.

Hyperf PHP Accessor: Hyperf框架SDK

Laravel PHP Accessor: Laravel框架SDK


All versions of laravel-php-accessor with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
illuminate/support Version ^9.0|^10.0
illuminate/console Version ^9.0|^10.0
free2one/php-accessor Version ~0.5.0
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 free2one/laravel-php-accessor contains the following files

Loading the files please wait ....