laravel in the process of using want to achieve some functions, such as user rights authentication, how to find and use the methods we need, feel that the document is not very detailed. ...
use laravel Cache::get () Times error, version PHP7, error file vendor laravel framework src Illuminate Cache MemcachedStore.php igbinary extension is installed ...
I just started to learn the association model of laravel, and I was so confused that sometimes I really felt that it was not as convenient as writing sql directly. now there is a problem role tables admin_roles and admin_permissions tables have a man...
when using larave s gate for permission verification Admin_users (user table) Admin_roles (role table) Admin_permissions (permissions table) are many-to-many relationships first, register gate in App providers AuthServiceProvider $permissions=Admin...
problem description to develop single-choice, multiple-choice, right and wrong questions, how to design the database? How many watches should I design? I can t figure it out, for example, single selection and multiple selection are of the same type, ...
problem description to develop single-choice, multiple-choice, right and wrong questions, how to design the database? How many watches should I design? I can t figure it out, for example, single selection and multiple selection are of the same type, ...
python Code import requests url = "http: xxxx.cn file" files = {"file":open("demo.png", rb )} r = requests.post(url, files=files) print(r.text) php Code <?php public function upload(Request $request) ...
problem description my laravel migrates with database. Why can t you find the problem when creating the table? the environmental background of the problems and what methods you have tried related codes Please paste the code text below ...
the resource method is used in the laravel framework, but it seems to have been removed in the lumen framework; it has always been a good idea to use resource to standardize the code. try using ding go api in order to enable the lumen framework to use...
problem description Why can t my laravel get get data? the environmental background of the problems and what methods you have tried look at the picture related codes Please paste the code text below (do not replace the code with pictures)...
I mainly think that it is enough to create a database once. In the future, you can import directly under linux and windows using modified fields, using the mysql command line or navacate. It is also very simple to install doctrine dbal dependencies if yo...
1, I am a beginner ~ 2, recently I am doing something, developed with laravel+vue-cli. the problem I encountered is how to read the error message of validate validation failure directly in controller when carrying out form validation. the method I ...
1. Using the laravel framework, and then the port is 8088, in the server test upload is normal, but upload on other computers will report an error, prompting insufficient permissions, I posted the code below, please help. 2 Code Custom in filesystem...
1. Using the laravel framework, and then the port is 8088, in the server test upload is normal, but upload on other computers will report an error, prompting insufficient permissions, I posted the code below, please help. 2 Code Custom in filesystem...
problem description now a scenario is that GET requests a url, without cookie, so the session is passed through query, for example: https: www.example.com getxx. so, after getting the sessionid in the controller, how do I get the logged-in user? ...
reference documentation for example: class MyObserver { public function saving(Model $model) { $model } } this method is currently used to deal with it: protected $request; public function __construct(Request $request) ...
Queues in laravel can be assigned to different classes using onqueue . 1. Whether the queues under different classes are executed at the same time or in order. 2. What changes do you need to make to the queue.php configuration file in config w...
it s OK to use my own computer, but not a Linux host on the same LAN, and there s no problem with the online environment. the error is as follows: RequestCoreException: cURL resource: Resource id-sharp9; cURL error: Could not resolve: rans-7900.oss-c...
category classifies one-to-many commodities product, merchandise one-to-one commodity names productname $arr= Category::select ( id , name )-> with ([ products = > function ($query) {) $query->select( id , category_id );}]) ...
scenario is front-end separation (vue+laravel). When login verification is successful, the backend returns sessionID, using the default file storage session, that comes with laravel. Startsession, has been used in middleware. Here should be no problem. ...