Navigation

    SOFTWARE TESTING

    • Register
    • Login
    • Search
    • Job Openings
    • Freelance Jobs
    • Companies
    • Conferences
    • Courses
    1. Home
    2. Tags
    3. artisan
    Log in to post

    • Y

      How do you change the location of the sgenerated model through artisan?
      Software Programming • laravel model artisan • • yajahira  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Laycee

      Create the directory. app/ModelsCreate the models with p.1: php artisan make:model Models/MyModelYou're doing your job. MyModel space App\Models Total app/Models/MyModel.phpTo reschedule User There's a change. namespace and where this class is used (e.g. in config/auth.php)
    • R

      ConEmu does not see artisan (Laravel)
      Software Programming • php laravel artisan • • Rossere  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      Well, the copy led to that conclusion. Standard cmd.exe doesn't work with artisan either. The Open Server is in principle the same ConEmu, which works with artisan and can build colour boxes : But! If you add ConEmu to the mortgages and start from under the OpenServer to the mainframe, it's working. By the way, phpStorm should also be launched.
    • emmalee

      composer update not available
      Software Programming • laravel composer artisan • • emmalee  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Mystic

      It was likely that a mistake had been made in adding information to composer.json. Like a comma missed.
    • K

      Lost composer and artisan in Laravel 8 after migration
      Software Programming • php laravel web programming composer artisan • • Kadir  

      2
      0
      Votes
      2
      Posts
      0
      Views

      K

      solved the problem by simply changing the port. 8000 ♪ 8001♪Why? 8000 I don't know.
    • T

      laravel, migration error
      Software Programming • laravel composer install artisan migrate • • Trenton  

      2
      0
      Votes
      2
      Posts
      0
      Views

      T

      I may be wrong, but it looks like your project is using homestead. Read it here. For your version of the laravel, of course. Maybe help. https://laravel.ru/docs/v5/homestead P.S., but not exactly)
    • A

      Laravel. Doctrine DBall, what's up?
      Software Programming • php laravel artisan oscomper freymworth • • authera  

      2
      0
      Votes
      2
      Posts
      0
      Views

      S

      Maybe it's late, but someone might need to. Try the project file on the consoles: composer dumpautoload
    • R

      Laratrust error route:list
      Software Programming • laravel route artisan • • rosemadder  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      You're looking for a class. Controllers\UsersControllerI should. Controllers\Admin\UsersController♪ Check whether namespace for the route.
    • M

      SQLSTATE[42S02] Laravel error
      Software Programming • laravel phpmyadmin artisan • • meriah  

      2
      0
      Votes
      2
      Posts
      0
      Views

      C

      For defolt, the Laravel model uses a table based on the name of the class in multiple numbers. If you have a model Project to the table projects♪ You can hand-written the table using the properties in the model class.protected $table = 'project';Recommended https://laravel.com/docs/7.x/eloquent#eloquent-model-conventions ♪
    • J

      Terminal error php
      Software Programming • php laravel docker artisan • • juvenalb  

      2
      0
      Votes
      2
      Posts
      0
      Views

      E

      The problem in the variable environment, the wrong path to bin php was indicated
    • F

      How do composer clear the list of downloaded classes and then call new syderes?
      Software Programming • php composer laravel5 artisan • • fbio  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Alberto

      UPD: non-working optionA little digging in the originals. Laravel I found out at what stage he doesn't know where to find a class and found a method through which to legally point out a freymvort to your class.Subject Seeder contains intra-executive properties container type Illuminate\Container♪ This facility stores information on downloaded classes in the mass instances♪Method https://github.com/illuminate/container/blob/master/Container.php#L407 the required class may be added to the mass instances♪ For that, I need to get it ♪ full journey to the required class and its copy.Subsequent to this, when calling the method call yours. Sida this one. https://github.com/illuminate/container/blob/master/Container.php#L669 We'll find the right class.Your code should look like this:$this->container->instance('AddNewSeeder', new Database\Seeds\AddNewSeeder()); $this->call('AddNewSeeder');
    • A

      At the launch of php artisan db:seed makes a mistake
      Software Programming • php laravel artisan laravel 5.7 • • authera  

      2
      0
      Votes
      2
      Posts
      0
      Views

      T

      1 Check the director's presence. public/products♪ If she's gone, make it.2 Use the chopper. public_path() to indicate the way.// Берем изображение по адресу http://lorempixel.com/640/480/nature/ // Сохраняем в public/products $faker->image(public_path('products'), 640, 480, 'nature'); 3 Details of the method https://github.com/fzaninotto/Faker#fakerproviderimage
    • K

      Setting the right of access to the Docker fixed catalogue
      Software Programming • php laravel docker artisan • • kalena  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      That's right, because in the doker-container, the user rootand your car is different.I didn't see you in the dockerfile directive. https://docs.docker.com/engine/reference/builder/#volume which allows switch In your docker-container, that file.Accordingly, connect your folder with the project in the container and already in it (the disk cap) with artisan commanders who will create files from under your user.Read the docker-compose and the whole Docker-containers philosophy.You're in the same container trying to turn around like you're working with a virtual machine. Docker says you have to. each The element of your environment to use a separate container (apache + database + cache server + project is all different containers) and to encroach them among themselves. UPD♪ You can also access the files created in the container by launching a container from your user:Get your user's ID... id or echo $UID (in terminal)Start the container from your user-- docker run --user <id>A more automated version of this decision is described https://stackoverflow.com/questions/45696676/set-docker-image-username-at-container-creation-time ♪
    • C

      Not working php artisan
      Software Programming • php laravel artisan • • charlenef  

      2
      0
      Votes
      2
      Posts
      0
      Views

      Demir

      There may be some... Check the connections to the bd. .envand of course there's a migration file. For the future, don't ever remove the tables in the folds in Laravel, there are tools for this:migrate:refresh Сбросить и повторно запустить все миграции migrate:reset Откат всех миграций базы данных migrate:rollback Откат последней миграции базы данных migrate:status Показывать статус каждой миграции
    • K

      laravel 5.0.* - make:command MyCom is created in app/Commands instead of app/Console/Commands
      Software Programming • laravel artisan • • kalyn  

      2
      0
      Votes
      2
      Posts
      0
      Views

      A

      The symptoms were caused by a mistake in the creation of a new project that originated from conflict by names in phpparser and php7. The solution is to update phpparser'a and to re-establish the project.$ sudo apt-get update $ sudo apt-get install php-parser
    • Z

      Fp artisan tinker reintroduction
      Software Programming • php laravel artisan • • zymir  

      2
      0
      Votes
      2
      Posts
      0
      Views

      D

      I've had this mistake, too, and I've closed the console with a baptism, and I couldn't start a tinker anymore. As the commentaries say, the problem is not in the Freamworth, but in the Openserver. In my case, he's been reset. In fact, the options for getting out of the Tinker are:exit(); or exit; or ExitCtrl + DCtrl + C
    • K

      php artisan migrate does not perform migration laravel
      Software Programming • php laravel migration artisan • • kalyn  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      Looks like PDO's off.OpenServer - Additional - Configuration - PHP7x64 In the configuration file, ; before line extension=php_pdo_mysql.dll and reboot the server. Alternatively, another version of PHP - 7.0 (x32) or 7.1/7 can be tried. 2. To see if the PDO works at all, get the phpinfo out and find this block.
    • K

      Laravel, Artisan, we need to ask a question during migration through console.
      Software Programming • php laravel migration artisan • • Kadyn  

      2
      0
      Votes
      2
      Posts
      0
      Views

      emmalee

      Why would you create a user when you migrate? Migration is intended only to change the structure of the tables. Especially when the method works down By logic, you need an admin created to remove what?I think the team can be set up in a calm manner when it's required (for example, after the tables are in place).
    • G

      Rotate artisan inside shell script linux
      Software Programming • linux laravel bash artisan • • guilherme  

      2
      0
      Votes
      2
      Posts
      0
      Views

      S

      Would it be something like that you need?#!/bin/bash /usr/bin/php /pasta/root/projeto/artisan cache:clear
    • irl

      Script linux Artisan Laravel
      Software Programming • linux laravel cron shell sc languageript artisan • • irl  

      2
      0
      Votes
      2
      Posts
      0
      Views

      J

      It has several ways to vc do this, but I will explain the two simplest:Alternative 1:Create a php page on your server, for example http://seudominio/crontab.php place the command you want to run within this php script. Create a tareva in your crontab for char that url in the time set by vc.* */1 * * * root wget -q --spider http://<seudominio|localhost>/crontab.php >/dev/null 2>&1 Alternative 2:Create a crontab task with the following syntax:* */1 * * * root /usr/sbin/php /caminho/completo/do/script.php See more in https://linux.die.net/man/5/crontab Obs:For security issues change the user who will run the script.Make sure that the user who will run the script has the due execution permissions.Be happy!! !
    • E

      Laravel problem with php artisan serves
      Software Programming • php laravel github artisan • • emran  

      2
      0
      Votes
      2
      Posts
      0
      Views

      R

      Define what this "standard used in the market" is. Generally to have Laravel on your machine,please note if the composer is installed it does so there is the command to start the project with the framework. Keep an eye out for cloning projects,check if any file is missing or there is a versioning problemIf you need more details: https://laravel.com/docs/5.7/installation
    • 1
    • 2
    • 3
    • 4
    • 1 / 4