What's this?
Some core class libraries of laravel cannot meet the needs and do not provide extended interfaces. If they cannot be implemented in the form of events, they can only be implemented through service extensions.
The main principle of a class library is: do not destroy the original functions and mainly use class inheritance to expand.
According to laravel's directory structure, it is easy to find the corresponding component directory in src, and each component has a README.
installation method:
Enter the laravel root directory and execute the composer command:
composer require keepeye/laravel:0.*
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
27 Dec 2016
This article mainly introduces three ways to use self-written class libraries in Laravel. This article explains three ways to add classes that can be directly instantiated, add functions that can be directly called, and add slightly more complex class libraries. Friends who need them can For reference
13 Jul 2016
3 ways to use your own class library in Laravel, laravel class library. 3 ways to write your own class library in Laravel, laravel class library Although Composer allows us to reuse many existing class libraries (such as those in packagist.org), we may still use
16 May 2016
AppBaseJs class library. One is written based on commonly used functions and other js libraries on the Internet to facilitate everyone's call.
06 Jul 2016
I have seen many open source projects in the form of class.classname.php, but I have also seen many frameworks in the form of classname.class.php. Where should I place this class? I personally prefer the .class.php form, because in some frameworks, after importing third-party class libraries and specifying class libraries...
14 Apr 2023
Laravel is a very popular PHP framework that provides many class libraries for developers to use. However, sometimes when using Laravel, class library loading fails, which may cause the application to not run properly. Well, in this article, we will explore this situation and provide solutions. 1. Error message When the Laravel class library fails to load, an error message is usually output in the browser. These error messages may come in many forms, such as: - Class 'xxxx' not f
14 Apr 2020
Class libraries are the core part of ThinkPHP, and ThinkPHP manages all system class libraries together through the concept of base class libraries. The core base class library includes basic classes and common tool classes necessary to complete the universal development of the framework.
Hot Tools
PHP library for dependency injection containers
PHP library for dependency injection containers
A collection of 50 excellent classic PHP algorithms
Classic PHP algorithm, learn excellent ideas and expand your thinking
Small PHP library for optimizing images
Small PHP library for optimizing images