I have a website with a few 100 users which had to be patched. When I told my girlfriend why it appearantly was more important than going to bed, she said they had mentioned it on the national news here in Denmark...
It's a matter of this being a side project, next to three kids, work, commute and everything else, this does not take priority and if I'm lucky, i can get 1 hour of uninterrupted work in, in my sparetime. So if I can get a boost from ai and save a few hours of research or doing boilerplate stuff, I'm more than happy to do so.
It saved me the time to read what changed between versions, what I needed to change and find a fix for every little thing.
It saved me the time to figure out how to eliminate the n+1 issues and test it. And the for my multiple identical query-problem. It also set up tests, and fixed some weird frontend-issues.
I have been in the "old man screams at AI"-camp for a while, sure, I would use it to convert json to sql or other such tedious tasks, butnever really pressed it to find the limits. I had an old project I had neglected, because, who wants to spend the time upgrading from Laravel 9 to 12, and find and eliminate obscure n+1-issues and finding out how to eliminate the numerous duplicate queries? I installed the GEmini cli-tool and let it loose on my project, and in 2 day I had more progress on my project than the last 3 years. It also helped me fix some weird frontend issues, set up a new server from scratch.
All in all, it's a matter of making sure it knows your project, use the proper tool (gemini or claude is far better at coding than chatgpt for instance), and make sure to tell it to outline a plan before execution. I had several instances where I had input, suggestions or questions which it was able to work with.
Now I just lament, that due to data-protections at work (government contractor in Europe), we are extremely limited in which ways we can use AI in our daily work.
abwsolutely agree, I use chatgpt for debuggning error messages "I get this in my docker-log. Heres the log messages and my docker-compose. What is wrong with this?"
or "What's the difference between $array == null and is_null($array) and is_empty($array)?"
Postman was caught sending login credentials back "home". To me postman is dead. I work as a government contractor, and everyone in our department was told to immediately pugørge postman from our computers.
I'd say it's the minimal requirement for any programming job, unless you find someone working with an outdated and ancient codebase.... Or you like doing things like embedded.
I'm in the same place as you. I've resorted to sticking to blade templates and using tailwind. Recently I've seen the light and started using components which so far has been a positive experience.
Haven't read the article, just skimmed it. Have you checked out Laravel sail? It pretty much condenses the entire setup into a handful of commands which sets up containers, database, scaffolding, installation of composer-packages and running artisan commands.
I've used docker-compose for my Laravel development for 4-5 years, and sail makes everything SO much easier...
Either you have to install phpmyadmin on your live server and go from there. Or you have to make sure your mysql-database has a user that can connect to the database from your local machine, and then connect from your local phpmyadmin installation (recommended)
Personally I'd prefer to use mysql workbench to connect to the live database...
I have a website with a few 100 users which had to be patched. When I told my girlfriend why it appearantly was more important than going to bed, she said they had mentioned it on the national news here in Denmark...
Vi figure out, as part of the job how many things are subject to change, creation or deletion, and then we compare to the actual number afterwards.
And then also log what changed. "updateUserrRecords-job is finished, 200 profiles updated, 10 profiles deleted. Ran for 2200ms."
cakephp FTW!
I've had work situations, where I had to work in an ide on a client's server over remote desktop via vpn - not fun...
It's a matter of this being a side project, next to three kids, work, commute and everything else, this does not take priority and if I'm lucky, i can get 1 hour of uninterrupted work in, in my sparetime. So if I can get a boost from ai and save a few hours of research or doing boilerplate stuff, I'm more than happy to do so.
It saved me the time to read what changed between versions, what I needed to change and find a fix for every little thing.
It saved me the time to figure out how to eliminate the n+1 issues and test it. And the for my multiple identical query-problem. It also set up tests, and fixed some weird frontend-issues.
I have been in the "old man screams at AI"-camp for a while, sure, I would use it to convert json to sql or other such tedious tasks, butnever really pressed it to find the limits. I had an old project I had neglected, because, who wants to spend the time upgrading from Laravel 9 to 12, and find and eliminate obscure n+1-issues and finding out how to eliminate the numerous duplicate queries? I installed the GEmini cli-tool and let it loose on my project, and in 2 day I had more progress on my project than the last 3 years. It also helped me fix some weird frontend issues, set up a new server from scratch.
All in all, it's a matter of making sure it knows your project, use the proper tool (gemini or claude is far better at coding than chatgpt for instance), and make sure to tell it to outline a plan before execution. I had several instances where I had input, suggestions or questions which it was able to work with.
Now I just lament, that due to data-protections at work (government contractor in Europe), we are extremely limited in which ways we can use AI in our daily work.
Bootstrap and Fontawesome (v5) ftw!
it's only over the christmas I updated my pet project from laravel 9 to 12 (thanks gemini). And moved from Apache/php to nginx/php-fpm....
Tests that doesn't exist can't fail...
abwsolutely agree, I use chatgpt for debuggning error messages "I get this in my docker-log. Heres the log messages and my docker-compose. What is wrong with this?"
or "What's the difference between $array == null and is_null($array) and is_empty($array)?"
For now we're using swagger. The project automatically build the necessary docs so we have a swagger backend were we can test our endpoints.
Postman was caught sending login credentials back "home". To me postman is dead. I work as a government contractor, and everyone in our department was told to immediately pugørge postman from our computers.
Yeah, when I moved from php (in-house) to .net consulting, my pay moved up 25%.
Code navigation, seeing where funtions/classes are used, embedded database tool, testing tools, y'know, nothing important...
Anything else but notepad is for wannabes...
Yes, I'm old enough to actually having used notepad for development...)
I'd say it's the minimal requirement for any programming job, unless you find someone working with an outdated and ancient codebase.... Or you like doing things like embedded.
I'm in the same place as you. I've resorted to sticking to blade templates and using tailwind. Recently I've seen the light and started using components which so far has been a positive experience.
Wouldn't it be better to have that in a service?
I run them from the migration. In my view, migrations are for søchanges to the database, and seeders are just another tool towards that goal.
I usually go for ctrl-shift-n for opening a file, or ctrl-n to open a class
Haven't read the article, just skimmed it. Have you checked out Laravel sail? It pretty much condenses the entire setup into a handful of commands which sets up containers, database, scaffolding, installation of composer-packages and running artisan commands.
I've used docker-compose for my Laravel development for 4-5 years, and sail makes everything SO much easier...
Either you have to install phpmyadmin on your live server and go from there. Or you have to make sure your mysql-database has a user that can connect to the database from your local machine, and then connect from your local phpmyadmin installation (recommended)
Personally I'd prefer to use mysql workbench to connect to the live database...
Also, if you have to rollback a deploy for some reason, the down method is priceless.
You can get sail to run detached by running
Thst way it will run but not show output from your containers. I usually just run something like
(or whatever the docker-container is called)
Let mailchimp handle it...
Life's too short to be creating html-emails, plus you'll have to handle sign up, confirmation, unsubscrption, and tons of other stuff...