I agree. Here's one of the advantages of Arkoren. It build on top of std, and does not force a unified architecture. I guess it's kinda the diff between a framework and a toolkit. You can pick or choose the modules you want in arkoren, or build it all from the ground up
Sadly, I broke some laravel installations for a whole day in a PR that was merged from me. The good thing is that it was caused by a common package missuse of the service container. Either way i felt like shit for a day
If i want to code in php why would I need to install Node? I mean, yes I dont need php, but I do need node lmao. At least use a compiled language with static dependencies if you want to claim that…
That could work very well indeed. Otherwise just pass a json to the blade view and use a js lib directly (chartjs, echarts, etc). Last but not least id your data takes long to compile, just offer the data in an endpoint and request it using JS and then use a js lib directly.
Yeah, my advice is to just use some raw js lib, I mean, frontend has advanced so much sin 2015 (when the project was released) so its a bit unpoint to use php for this nowadays.
The project was renamed to Chartisan and developed for a few years. I then got a trademark notice from a company named Chartisan and demandes I took the whole project down. So the version u see there was a reupload of the last version thst existed at least 3 or 4 years ago. In fact the composer pkg was also affected as u see, there is no older versions. Anyway, I just dont have the mental capacity to move on with it anymore.
Medialibrary also have a comercial license. Regardless, those projects from close friends (and I mean it without any offence) are or will be given permission (most likely).
You cannot define a const inside a function. You are not doing the same thing in both codes. Vonstanta must be places in the CSVImport class, not the run() function.
They are good when they are usefull. The following code is not:
class Foo {
protected string $bar;
public getBar(): string {
return $this->bar;
}
public setBar(string $bar): void {
$this->bar = $bar;
}
}
This code adds nothing, please don't do that.
It make sense when you have something like this for instance:
class SuperDate {
protected Carbon $date;
public json(): string {
return $this->date->toJSON();
}
public set(string|Carbon $date): static {
$this->bar = is_string($date) ? Carbon::parse($date) : $date;
return $this;
}
}
This make sense since you're in control of the data (Carbon instance) yet allow setting it from multiple formats (string or Carbon instance) and only get it as a JSON date.
Sanctum + same top level domain (TLD) with session based auth (cookies) - SPA mode in sanctum. Don't use passport for this. Don't use JWT for SPA auth.
I think you should have all the login system + shared api in a passport server and then have 2 first party passport clients (your apps) who use socialite to communicate with your login system. You do not need to remove your existing sanctum code. Each of your apps will have its own auth state tho, they are different apps at the end of the day with diferent encryption. It is judt that the çogin will be oauth trough your server
If I understand correctly those are two separate laravel projects, if so, you should probably use laravel socialite and laravel pssport to create your oauth server with first party apps
I agree. Here's one of the advantages of Arkoren. It build on top of std, and does not force a unified architecture. I guess it's kinda the diff between a framework and a toolkit. You can pick or choose the modules you want in arkoren, or build it all from the ground up
So does Arkoren, or Goravel
I assume you mean the vscode extension? If so, they are supported, but you need to enable it: https://code.visualstudio.com/docs/copilot/customization/agent-skills
If you mean copilot as a subscription, the copilot cli or opencode also support it, so idk what you mean?
No. You need agent skills. That’s v2 of boost.
Sadly, I broke some laravel installations for a whole day in a PR that was merged from me. The good thing is that it was caused by a common package missuse of the service container. Either way i felt like shit for a day
If i want to code in php why would I need to install Node? I mean, yes I dont need php, but I do need node lmao. At least use a compiled language with static dependencies if you want to claim that…
Not saying otherwise, but fighting over framework A vs framework B in performance reasons is quite nonsense imo. Choose the tool for the job.
If you want performance and choose php, you’re doing something wrong.
That could work very well indeed. Otherwise just pass a json to the blade view and use a js lib directly (chartjs, echarts, etc). Last but not least id your data takes long to compile, just offer the data in an endpoint and request it using JS and then use a js lib directly.
Yeah, my advice is to just use some raw js lib, I mean, frontend has advanced so much sin 2015 (when the project was released) so its a bit unpoint to use php for this nowadays.
The project was renamed to Chartisan and developed for a few years. I then got a trademark notice from a company named Chartisan and demandes I took the whole project down. So the version u see there was a reupload of the last version thst existed at least 3 or 4 years ago. In fact the composer pkg was also affected as u see, there is no older versions. Anyway, I just dont have the mental capacity to move on with it anymore.
I am the author. Don’t use it anymore.
Medialibrary also have a comercial license. Regardless, those projects from close friends (and I mean it without any offence) are or will be given permission (most likely).
You cannot define a const inside a function. You are not doing the same thing in both codes. Vonstanta must be places in the CSVImport class, not the run() function.
Python: Masonite
Typescript: Adonisjs
PHP: Laravel
Ruby: Ruby on Rails
Java: Spring
Elixir: Phoenix
Swift: Vapor
Generics and Pattern Matching.
They are good when they are usefull. The following code is not:
This code adds nothing, please don't do that.
It make sense when you have something like this for instance:
This make sense since you're in control of the data (Carbon instance) yet allow setting it from multiple formats (string or Carbon instance) and only get it as a JSON date.
REST
Are you sure you’re aware of what vite does? Based on your versioning comments seems you didn’t bother reading the vite docs
And now I lost the hability to create custom requests? :s
You dont even need JWT. Sanctum over HTTP only cookies (SPA mode) will be enough.
Sanctum + same top level domain (TLD) with session based auth (cookies) - SPA mode in sanctum. Don't use passport for this. Don't use JWT for SPA auth.
Why wouldn't you? Vite is years ahead in front-end tooling for development experience. Mix (Webpack) is nothing at all compared to it.
I think you should have all the login system + shared api in a passport server and then have 2 first party passport clients (your apps) who use socialite to communicate with your login system. You do not need to remove your existing sanctum code. Each of your apps will have its own auth state tho, they are different apps at the end of the day with diferent encryption. It is judt that the çogin will be oauth trough your server
If I understand correctly those are two separate laravel projects, if so, you should probably use laravel socialite and laravel pssport to create your oauth server with first party apps